SecretNET.Token Namespace

Snip20Tx..::..DecreaseAllowance Method

Overload List


  Name Description
Public method DecreaseAllowance(MsgDecreaseAllowance, Nullable<(Of <<'(TxOptions>)>>))
Decrease or clear the allowance by a sent amount. This may optionally come with an expiration time, which if set limits when the approval can be used. If amount is equal or greater than the current allowance, this action MUST set the allowance to zero, and return a "success" response.
Public method DecreaseAllowance(String, String, String, Nullable<(Of <<'(Int32>)>>), Nullable<(Of <<'(String>)>>), Nullable<(Of <<'(String>)>>), Nullable<(Of <<'(TxOptions>)>>))
Decrease or clear the allowance by a sent amount. This may optionally come with an expiration time, which if set limits when the approval can be used. If amount is equal or greater than the current allowance, this action MUST set the allowance to zero, and return a "success" response.