
pool-vault
List of Core Functions:
transfer: Transfers a specified amount of tokens to a recipient.get-contract-owner: Retrieves the current contract owner.set-contract-owner: Sets a new contract owner.is-contract-owner: Checks if a given principal is the contract owner.is-approved-contract: Checks if a contract is approved to interact with this contract.
Detailed Tables:
transfer
transferTransfers a specified amount of tokens to a recipient.
amount
uint
The amount of tokens to be transferred.
recipient
principal
The principal to receive the tokens.
f-t
<ft>
The fungible token to transfer.
get-contract-owner
get-contract-ownerRetrieves the current contract owner.
No parameters.
set-contract-owner
set-contract-ownerSets a new contract owner.
owner
principal
The new owner of the contract.
is-contract-owner
is-contract-ownerChecks if a given principal is the contract owner.
caller
principal
The principal to check for ownership.
is-approved-contract
is-approved-contractChecks if a contract is approved to interact with this contract.
contract
principal
The contract to check for approval.
Last updated