SecretNET.Token Namespace

Snip20TxSimulate..::..Deposit Method (String, array<Coin>[]()[][], Nullable<(Of <(<'String>)>)>, Nullable<(Of <(<'String>)>)>, Nullable<(Of <(<'TxOptions>)>)>)

Simulates "Deposit".

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

Syntax


public Task<SimulateResponse> Deposit(
	string contractAddress,
	Coin[] sentFunds,
	Nullable<string> padding,
	Nullable<string> codeHash,
	Nullable<TxOptions> txOptions
)
Public Function Deposit ( _
	contractAddress As String, _
	sentFunds As Coin(), _
	padding As Nullable(Of String), _
	codeHash As Nullable(Of String), _
	txOptions As Nullable(Of TxOptions) _
) As Task(Of SimulateResponse)
public:
Task<SimulateResponse^>^ Deposit(
	String^ contractAddress, 
	array<Coin^>^ sentFunds, 
	Nullable<String^> padding, 
	Nullable<String^> codeHash, 
	Nullable<TxOptions^> txOptions
)

Parameters

contractAddress
Type: String
The contract address.
sentFunds
Type: array<Coin>[]()[][]
The sent funds.
padding
Type: Nullable<(Of <(<'String>)>)>
The padding.
codeHash
Type: Nullable<(Of <(<'String>)>)>
The code hash.
txOptions
Type: Nullable<(Of <(<'TxOptions>)>)>
The tx options.

Return Value

SimulateResponse.