package
0.11.0
Repository: https://github.com/oasisprotocol/oasis-sdk.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

CompressCode performs code compression using Snappy.
DecodeEvent decodes a contract event.
NewCallTx generates a new contracts.Call transaction.
NewChangeUpgradePolicyTx generates a new contracts.ChangeUpgradePolicy transaction.
NewInstantiateTx generates a new contracts.Instantiate transaction.
NewUpgradeTx generates a new contracts.Upgrade transaction.
NewUploadTx generates a new contracts.Upload transaction.
NewV1 generates a V1 client helper for the contracts module.

# Constants

ABIOasisV1 is the custom Oasis SDK-specific ABI (v1).
ModuleName is the contracts module name.
PublicKeyTransaction is the transaction public key kind.
These constants represent the kinds of store that the queries support.
StoreKindConfidentialName is a human-readable name for confidential store kind.
These constants represent the kinds of store that the queries support.
StoreKindPublicName is a human-readable name for public store kind.

# Structs

Call is the body of the contracts.Call call.
ChangeUpgradePolicy is the body of the contracts.ChangeUpgradePolicy call.
Code is stored code information.
CodeQuery is the body of the contracts.Code query.
CodeStorageQuery is the body of the contracts.CodeStorage query.
CodeStorageQueryResult is the result of the contracts.CodeStorage query.
CustomQuery is the body of the contracts.Custom query.
Event is an event emitted by a contract.
GasCosts are the contracts module gas costs.
Instance is deployed code instance information.
InstanceQuery is the body of the contracts.Instance query.
InstanceRawStorageQuery is the body of the contracts.InstanceRawStorage query.
InstanceRawStorageQueryResult is the result of the contracts.InstanceRawStorage query.
InstanceStorageKeyValue is used as a tuple type for the contract storage.
InstanceStorageQuery is the body of the contracts.InstanceStorage query.
InstanceStorageQueryResult is the result of the contracts.InstanceStorage query.
Instantiate is the body of the contracts.Instantiate call.
InstantiateResult is the result of the contracts.Instantiate call.
Parameters are the parameters for the contracts module.
Policy is a generic policy that specifies who is allowed to perform an action.
PublicKeyQuery is the body of the contracts.PublicKey query.
PublicKeyQueryResult is the result of the contracts.PublicKey query.
Upgrade is the body of the contracts.Upgrade call.
Upload is the body of the contracts.Upload call.
UploadResult is the result of the contracts.Upload call.

# Interfaces

V1 is the v1 contracts module interface.

# Type aliases

ABI is the ABI that the given contract should conform to.
CallResult is the result of the contracts.Call call.
CodeID is the unique stored code identifier.
CustomQueryResult is the result of the contracts.Custom query.
InstanceID is the unique deployed code instance identifier.
PublicKeyKind is the public key kind.
StoreKind defines the public or confidential store type for performing queries.