Snip721Tx..::..SetContractStatus Method
SetContractStatus allows the contract admin to define which messages the contract will execute.
This can only be called by the admin address.
Namespace:
SecretNET.NFTAssembly: SecretNET.NFT (in SecretNET.NFT.dll)
Syntax
public Task<SingleSecretTx<SetContractStatusResponse>> SetContractStatus( MsgSetContractStatus msg, Nullable<TxOptions> txOptions )
Public Function SetContractStatus ( _ msg As MsgSetContractStatus, _ txOptions As Nullable(Of TxOptions) _ ) As Task(Of SingleSecretTx(Of SetContractStatusResponse))
public: Task<SingleSecretTx<SetContractStatusResponse^>^>^ SetContractStatus( MsgSetContractStatus^ msg, Nullable<TxOptions^> txOptions )
Parameters
- msg
- Type: SecretNET.NFT..::..MsgSetContractStatus
The MSG.
- txOptions
- Type: Nullable<(Of <(<'TxOptions>)>)>
The tx options.