Snip20Tx..::..Deposit Method
Overload List
Name | Description | |
---|---|---|
![]() |
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.
|
![]() |
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.
|