Zebec
Search…
Deposit To treasury
You can swap your Zebec Pay sol to your multisig treasury. Multisig escrow is returned during creation of safe.
Note: Deposit means simply swapping token from zebec vault to your multisig treasury.
// deposit to safe
const response = await multisiginit.deposit({
sender: publicKey.toString(),
multisig_escrow: "HLyoecREXXhQ8Xb5QUhmocpG9gtVCdmULjDNzi6Eg6x2",
amount: 0.01,
});
console.log(response);

Deposit Token

SPL tokens can be swapped from zebec wallet to the treasury section.
// deposit token to safe
const response = await multisiginitToken.deposit({
sender: publicKey.toString(),
multisig_escrow: "HLyoecREXXhQ8Xb5QUhmocpG9gtVCdmULjDNzi6Eg6x2",
amount: 0.01,
token_mint_address:'token mint address'
});
console.log(response);
Copy link
On this page
Deposit Token