Expand description
The ‘remittance’ submodule contains logic for the remittance canister
Modules§
Functions§
- get_
available_ balance - Retrieves the available balance for an account associated with a canister
- get_
canister_ balance - Retrieves the canister balance for a specific token and chain
- get_
reciept - Get the reciept of a successfull withdrawal
- get_
withheld_ balance - Retrieves the withheld balance for an account on a specified canister and chain
- init
- Initializes the remittance canister state
- name
- Returns the name of the contract
- owner
- Returns the owner of the contract
- public_
key - Get the public key associated with this particular canister
- remit
- Creates a remittance request
- subscribe_
to_ dc - Subscribes to a DC canister using its canister_id
- subscribe_
to_ pdc - Subscribes to a PCD canister using its canister_id
- update_
remittance - Validates and updates user and canister balances