SecretNET.Token Namespace

Snip20Tx..::..SetMinters Method (MsgSetMinters, Nullable<(Of <(<'TxOptions>)>)>)

This function MUST only be allowed for authorized accounts. The list of addresses in the message will be set to the list of minters in the contract. This completely overrides the previously saved list.

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

Syntax


public Task<SingleSecretTx<SetMintersResponse>> SetMinters(
	MsgSetMinters msg,
	Nullable<TxOptions> txOptions
)
Public Function SetMinters ( _
	msg As MsgSetMinters, _
	txOptions As Nullable(Of TxOptions) _
) As Task(Of SingleSecretTx(Of SetMintersResponse))
public:
Task<SingleSecretTx<SetMintersResponse^>^>^ SetMinters(
	MsgSetMinters^ msg, 
	Nullable<TxOptions^> txOptions
)

Parameters

msg
Type: SecretNET.Token..::..MsgSetMinters
The MSG.
txOptions
Type: Nullable<(Of <(<'TxOptions>)>)>
The tx options.

Return Value

SecretTx<SetMintersResponse>.