Module concordium_base::smart_contracts
source · Expand description
Type definitions related to use of smart contracts.
Re-exports§
pub use concordium_contracts_common;
Structs§
- An event logged by a smart contract initialization.
- Re-export of common helper functionality for smart contract, such as types and serialization specific for smart contracts. A contract name. Expected format: “init_<contract_name>”.
- Re-export of common helper functionality for smart contract, such as types and serialization specific for smart contracts.
- Data generated as part of updating a single contract instance. In general a single Update transaction will generate one or more of these events, together with possibly some transfers.
- Unparsed Wasm module source.
- Re-export of common helper functionality for smart contract, such as types and serialization specific for smart contracts. A contract name (owned version). Expected format: “init_<contract_name>”.
- Re-export of common helper functionality for smart contract, such as types and serialization specific for smart contracts. Parameter to the init function or entrypoint. Owned version.
- Re-export of common helper functionality for smart contract, such as types and serialization specific for smart contracts. A receive name (owned version). Expected format: “<contract_name>.<func_name>”. Most methods are available only on the
ReceiveName
type, the intention is to access those via theas_receive_name
method. - Re-export of common helper functionality for smart contract, such as types and serialization specific for smart contracts. A receive name. Expected format: “<contract_name>.<func_name>”.
- Unparsed module with a version indicating what operations are allowed.
Enums§
- A successful contract invocation produces a sequence of effects on smart contracts and possibly accounts (if any contract transfers CCD to an account).
- Version of the module. This determines the chain API that the module can access.
Type Aliases§
- ModuleRefDeprecatedDeprecated: Replaced by
ModuleReference
for consistency. Use it instead. - Re-export of common helper functionality for smart contract, such as types and serialization specific for smart contracts. A reference to a smart contract module deployed on the chain.
- ParameterDeprecatedDeprecated: Replaced by
OwnedParameter
for consistency. Use it instead.