SecretNET.Token Namespace

Snip20Tx..::..Deposit Method

Overload List


  Name Description
Public method Deposit(MsgDeposit, Nullable<(Of <<'(TxOptions>)>>))
Deposits a native coin into the contract, which will mint an equivalent amount of tokens to be created. The amount MUST be sent in the sent_funds field of the transaction itself, as coins must really be sent to the contract's native address. The minted amounts MUST match the exchange rate specified by the ExchangeRate query. The deposit MUST return an error if any coins that do not match expected denominations are sent.
Public method Deposit(String, array<Coin>[]()[][], Nullable<(Of <<'(String>)>>), Nullable<(Of <<'(String>)>>), Nullable<(Of <<'(TxOptions>)>>))
Deposits a native coin into the contract, which will mint an equivalent amount of tokens to be created. The amount MUST be sent in the sent_funds field of the transaction itself, as coins must really be sent to the contract's native address. The minted amounts MUST match the exchange rate specified by the ExchangeRate query. The deposit MUST return an error if any coins that do not match expected denominations are sent.