SecretNET.Token Namespace

DecreaseAllowanceRequest Constructor

Initializes a new instance of the DecreaseAllowanceRequest class.

Namespace:  SecretNET.Token
Assembly:  SecretNET.Token (in SecretNET.Token.dll)

Syntax


public DecreaseAllowanceRequest(
	string spender,
	string amount,
	Nullable<int> expiration,
	Nullable<string> padding
)
Public Sub New ( _
	spender As String, _
	amount As String, _
	expiration As Nullable(Of Integer), _
	padding As Nullable(Of String) _
)
public:
DecreaseAllowanceRequest(
	String^ spender, 
	String^ amount, 
	Nullable<int^> expiration, 
	Nullable<String^> padding
)

Parameters

spender
Type: String
The address of the account getting access to the funds.
amount
Type: String
The number of tokens to decrease allowance by (Uint128).
expiration
Type: Nullable<(Of <(<'Int32>)>)>
Time at which the allowance expires. Counts the number of seconds from epoch, 1.1.1970 encoded as uint64.
padding
Type: Nullable<(Of <(<'String>)>)>
Ignored string used to maintain constant-length messages.