Expand description
Types used to allow creation of Wasm contracts and tests for use on the Casper Platform.
Re-exports§
pub use account::Account;
pub use global_state::Pointer;
pub use runtime_footprint::RuntimeFootprint;
pub use system::mint::METHOD_TRANSFER;
pub use crypto::*;
Modules§
- account
- Contains types and constants associated with user accounts.
- addressable_
entity - Data types for supporting contract headers feature.
- api_
error - Contains
ApiError
and associated helper functions. - bytesrepr
- Contains serialization and deserialization code for types used throughout the system.
- checksummed_
hex - Checksummed hex encoding following an EIP-55-like scheme.
- contract_
messages - Data types for interacting with contract level messages.
- contracts
- Data types for supporting contract headers feature.
- crypto
- Cryptographic types and operations on them
- execution
- Types related to execution of deploys.
- file_
utils std-fs-io
- Utilities for handling reading from and writing to files.
- gens
testing
orgens
- Contains functions for generating arbitrary values for use by
Proptest
. - global_
state - Types for global state.
- runtime_
footprint - serde_
option_ time_ diff std
- A module for the
[serde(with = serde_option_time_diff)]
attribute, to serialize and deserializeOption<TimeDiff>
treatingNone
as 0. - system
- System modules, formerly known as “system contracts”
- testing
testing
- An RNG for testing purposes.
Macros§
- runtime_
args - Macro that makes it easier to construct named arguments.
Structs§
- Access
Rights - A struct which behaves like a set of bitflags to define access rights associated with a
URef
. - Account
Config std
- Configuration of an individial account in accounts.toml
- Accounts
Config std
- Configuration values associated with accounts.toml
- Addressable
Entity - Methods and type signatures supported by a contract.
- Addressable
Entity Hash - A newtype wrapping a
HashAddr
which references anAddressableEntity
in the global state. - Administrator
Account std
- Special account in the system that is useful only for some private chains.
- Approval
- A struct containing a signature of a transaction hash and the public key of the signer.
- Approvals
Hash - The cryptographic hash of the bytesrepr-encoded set of approvals for a single [``].
- Auction
Costs std
- Description of the costs of calling auction entrypoints.
- Auction
State Deprecated - Data structure summarizing auction contract data.
- Available
Block Range - An unbroken, inclusive range of blocks.
- Block
Body V1 - The body portion of a block. Version 1.
- Block
Body V2 - The body portion of a block. Version 2.
- Block
Hash - The cryptographic hash of a
Block
. - Block
Hash AndHeight - The block hash and height of a given block.
- Block
Header V1 - The header portion of a block.
- Block
Header V2 - The header portion of a block.
- Block
Header With Signatures - A block header and collection of signatures of a given block.
- Block
Signatures V1 - A collection of signatures for a single block, along with the associated block’s hash and era ID.
- Block
Signatures V2 - A collection of signatures for a single block, along with the associated block’s hash and era ID.
- Block
Sync Status - The status of syncing an individual block.
- Block
Synchronizer Status - The status of the block synchronizer.
- Block
Time - A newtype wrapping a
u64
which represents the block time. - BlockV1
- A block after execution, with the resulting global state root hash. This is the core component of the Casper linear blockchain. Version 1.
- BlockV2
- A block after execution, with the resulting global state root hash. This is the core component of the Casper linear blockchain. Version 2.
- Block
With Signatures - A block and signatures for that block.
- BrTable
Cost std
- Definition of a cost table for a Wasm
br_table
opcode. - Byte
Code - A container for contract’s Wasm bytes.
- Byte
Code Hash - A newtype wrapping a
HashAddr
which is the raw bytes of the ByteCodeHash - CLType
Mismatch - Error while converting a
CLValue
into a given type. - CLValue
- A Casper value, i.e. a value which can be stored and manipulated by smart contracts.
- CLValue
Dictionary - Wraps a
CLValue
for storage in a dictionary. - Chain
Name Digest - A cryptographic hash of a chain name.
- Chainspec
std
- A collection of configuration settings describing the state of the system at genesis and after upgrades to basic system functionality occurring after genesis.
- Chainspec
RawBytes std
- The raw bytes of the chainspec.toml, genesis accounts.toml, and global_state.toml files.
- Chainspec
Registry std
- The chainspec registry.
- Checksum
Registry - The checksum registry.
- Chunk
With Proof - Represents a chunk of data with attached proof.
- Context
Access Rights - Access rights for a given runtime context.
- Contract
- Methods and type signatures supported by a contract.
- Contract
Wasm - A container for contract’s WASM bytes.
- Contract
Wasm Hash - A newtype wrapping a
HashAddr
which is the raw bytes of the ContractWasmHash - Control
Flow Costs std
- Definition of a cost table for a Wasm control flow opcodes.
- Core
Config std
- Configuration values associated with the core protocol.
- Delegator
Config std
- Configuration values related to a delegator.
- Deploy
- A signed smart contract.
- Deploy
Config std
- Configuration values associated with deploys.
- Deploy
Excessive Size Error - Error returned when a Deploy is too large.
- Deploy
Hash - The cryptographic hash of a
Deploy
. - Deploy
Header - The header portion of a
Deploy
. - Deploy
Id - The unique identifier of a
Deploy
, comprising itsDeployHash
andApprovalsHash
. - Deploy
Info - Information relating to the given Deploy.
- Digest
- The output of the hash function.
- Display
Iter - A helper to allow
Display
printing the items of an iterator with a comma and space between each. - Entity
Entry Point - Type signature of a method. Order of arguments matter since can be referenced by index as well as name.
- Entity
Version Key - Major element of
ProtocolVersion
combined withEntityVersion
. - Entity
Versions - Collection of entity versions.
- Entry
Points - Collection of named entry points.
- EraEnd
V1 - Information related to the end of an era, and validator weights for the following era.
- EraEnd
V2 - Information related to the end of an era, and validator weights for the following era.
- EraId
- Era ID newtype.
- EraReport
- Equivocation, reward and validator inactivity information.
- Execution
Info - The block hash and height in which a given deploy was executed, along with the execution result if known.
- Finality
Signature Id - An identifier for a
FinalitySignature
. - Finality
Signature V1 - A validator’s signature of a block, confirming it is finalized.
- Finality
Signature V2 - A validator’s signature of a block, confirming it is finalized.
- Gas
- The
Gas
struct represents aU512
amount of gas. - Genesis
Config std
- Represents the details of a genesis process.
- Genesis
Validator std
- Represents details about genesis account’s validator status.
- Global
State Update std
- Type storing the information about modifications to be applied to the global state.
- Global
State Update Config std
- Type storing global state update entries.
- Group
- A (labelled) “user group”. Each method of a versioned contract may be associated with one or more user groups which are allowed to call it.
- Groups
- Collection of named groups.
- Handle
Payment Costs std
- Description of the costs of calling
handle_payment
entrypoints. - Highway
Config std
- Configuration values relevant to Highway consensus.
- Holds
Epoch - Holds epoch type.
- Host
Function std
- Representation of a host function cost.
- Host
Function Costs V1 std
- Definition of a host function cost table.
- Host
Function Costs V2 std
- Definition of a host function cost table.
- Host
Function V2 std
- Representation of a host function cost.
- Indexed
Merkle Proof - A Merkle proof of the given chunk.
- Json
Block With Signatures std
andjson-schema
- A JSON-friendly representation of a block and the signatures for that block.
- Json
EraValidators Deprecated - The validators for the given era.
- Json
Validator Weights Deprecated - A validator’s weight.
- Message
Limits std
- Configuration for messages limits.
- Mint
Costs std
- Description of the costs of calling mint entry points.
- Motes
- A struct representing a number of
Motes
. - Named
Arg - Named arguments to a contract.
- Named
Keys - A collection of named keys.
- Network
Config std
- Configuration values associated with the network.
- Next
Upgrade std
- Information about the next protocol upgrade.
- Opcode
Costs std
- Definition of a cost table for Wasm opcodes.
- Package
- Entity definition, metadata, and security container.
- Package
Hash - A newtype wrapping a
HashAddr
which references aPackage
in the global state. - Parameter
- Parameter to a method
- Peer
Entry - Node peer entry.
- Peers
- Map of peer IDs to network addresses.
- Protocol
Config std
- Configuration values associated with the protocol.
- Protocol
Upgrade Config std
- Represents the configuration of a protocol upgrade.
- Protocol
Version - A newtype wrapping a
SemVer
which represents a Casper Platform protocol version. - Rewarded
Signatures - Describes finality signatures that will be rewarded in a block. Consists of a vector of
SingleBlockRewardedSignatures
, each of which describes signatures for a single ancestor block. The first entry represents the signatures for the parent block, the second for the parent of the parent, and so on. - Runtime
Args - Represents a collection of arguments passed to a smart contract.
- SemVer
- A struct for semantic versioning.
- Single
Block Rewarded Signatures - List of identifiers for finality signatures for a particular past block.
- Standard
Payment Costs std
- Description of the costs of calling standard payment entry points.
- Storage
Costs std
- Represents a cost table for storage costs.
- Stored
Value Type Mismatch - An error struct representing a type mismatch in
StoredValue
operations. - System
Config std
- Definition of costs in the system.
- System
Hash Registry - The system entity registry.
- Test
Block Builder std
andtesting
- A helper to build the blocks with various properties required for tests.
- Test
Block V1Builder std
andtesting
- A helper to build the blocks with various properties required for tests.
- Time
Diff - A time difference between two timestamps.
- Timestamp
- A timestamp type, representing a concrete moment in time.
- Transaction
Config std
- Configuration values associated with Transactions.
- Transaction
Id - The unique identifier of a
Transaction
, comprising itsTransactionHash
andApprovalsHash
. - Transaction
Lane Definition std
- Structured limits imposed on a transaction lane
- Transaction
V1 - A unit of work sent by a client to the network, which when executed can cause global state to be altered.
- Transaction
V1Config std
- Configuration values associated with V1 Transactions.
- Transaction
V1Excessive Size Error - Error returned when a transaction is too large.
- Transaction
V1Hash - The cryptographic hash of a
TransactionV1
. - Transaction
V1Payload - Structure aggregating internal data of V1 transaction.
- Transfer
Addr - A newtype wrapping a
[u8; TRANSFER_ADDR_LENGTH]
which is the raw bytes of the transfer address. - Transfer
V1 - Represents a version 1 transfer from one purse to another.
- Transfer
V2 - Represents a version 2 transfer from one purse to another.
- U128
- Little-endian large integer type
- U256
- Little-endian large integer type
- U512
- Little-endian large integer type
- URef
- Represents an unforgeable reference, containing an address in the network’s global storage and
the
AccessRights
of the reference. - Vacancy
Config std
- The configuration to determine gas price based on block vacancy.
- Validator
Config std
- Validator account configuration.
- Wasm
Config std
- Configuration of the Wasm execution environment.
- Wasm
V1Config std
- Configuration of the Wasm execution environment for V1 execution machine.
- Wasm
V2Config std
- Configuration of the Wasm execution environment for V2 execution machine.
Enums§
- Activation
Point std
- The first era to which the associated protocol version applies.
- Addressable
Entity Identifier - Identifier for the contract object within a
TransactionTarget::Stored
or anExecutableDeployItem
. - ApiError
- Errors which can be encountered while running a smart contract.
- Block
- A block after execution.
- Block
Body - The versioned body portion of a block. It encapsulates different variants of the BlockBody struct.
- Block
Global Addr - Address for singleton values associated to specific block. These are values which are calculated or set during the execution of a block such as the block timestamp, or the total count of messages emitted during the execution of the block, and so on.
- Block
Global Addr Tag - Serialization tag for BlockGlobalAddr variants.
- Block
Header - The versioned header portion of a block. It encapsulates different variants of the BlockHeader struct.
- Block
Header With Signatures Validation Error - An error which can result from validating a
BlockHeaderWithSignatures
. - Block
Identifier - Identifier for possible ways to retrieve a block.
- Block
Signatures - A collection of signatures for a single block, along with the associated block’s hash and era ID.
- Block
Signatures Merge Error - An error returned during an attempt to merge two incompatible
BlockSignaturesV1
. - Block
Validation Error - An error that can arise when validating a block’s cryptographic integrity using its hashes.
- Byte
Code Addr - An address for ByteCode records stored in global state.
- Byte
Code Kind - The type of Byte code.
- CLType
- Casper types, i.e. types which can be stored and manipulated by smart contracts.
- CLValue
Error - Error relating to
CLValue
operations. - Chunk
With Proof Verification Error - Error validating a chunk with proof.
- Consensus
Protocol Name std
- Consensus protocol name.
- Contract
Runtime Tag - Deploy
Decode From Json Error - Error while decoding a
Deploy
from JSON. - Deploy
Error - Errors other than validation failures relating to
Deploy
s. - Digest
Error - Possible hashing errors.
- Entity
Addr - The address for an AddressableEntity which contains the 32 bytes and tagging information.
- Entity
Kind - The type of Package.
- Entry
Point Access - Enum describing the possible access control options for a contract entry point (method).
- Entry
Point Addr - The entry point address.
- Entry
Point Payment - An enum specifying who pays for the invocation and execution of the entrypoint.
- Entry
Point Type - Context of method execution
- Entry
Point Value - The encaspulated representation of entrypoints.
- EraEnd
- The versioned era end of a block, storing the data for a switch block. It encapsulates different variants of the EraEnd struct.
- Executable
Deploy Item - The executable component of a
Deploy
. - Executable
Deploy Item Identifier - Identifier for an
ExecutableDeployItem
. - FeeHandling
std
- Defines how fees are handled in the system.
- Finality
Signature - A validator’s signature of a block, confirming it is finalized.
- Genesis
Account std
- This enum represents possible states of a genesis account.
- Global
State Identifier - Identifier for possible ways to query Global State
- Global
State Update Error std
- Error loading global state update file.
- Granted
Access - Used to indicate if a granted
URef
was already held by the context. - Hold
Balance Handling std
- Defines how a given network handles holds when calculating available balances. There may be multiple types of holds (such as Processing and Gas currently, and potentially other kinds in the future), and each type of hold can differ on how it applies to available balance calculation.
- Initiator
Addr - The address of the initiator of a
crate::Transaction
. - Invalid
Deploy - A representation of the way in which a deploy failed validation checks.
- Invalid
Transaction - A representation of the way in which a transaction failed validation checks.
- Invalid
Transaction V1 - Returned when a
TransactionV1
fails validation. - Key
- The key under which data (e.g.
CLValue
s, smart contracts, user accounts) are stored in global state. - KeyFrom
StrError - Errors produced when converting a
String
into aKey
. - KeyTag
- Legacy
Required Finality std
- Which finality a legacy block needs during a fast sync.
- Merkle
Construction Error - Error during the construction of a Merkle proof.
- Merkle
Verification Error - Error validating a Merkle proof of a chunk.
- Package
Identifier - Identifier for the package object within a
TransactionTarget::Stored
or anExecutableDeployItem
. - Package
Status - A enum to determine the lock status of the package.
- Parse
SemVer Error - Parsing error when creating a SemVer.
- Phase
- The phase in which a given contract is executing.
- Pricing
Handling std
- Defines what pricing mode a network allows. Correlates to the PricingMode of a
crate::Transaction
. Nodes will not accept transactions whose pricing mode does not match. - Pricing
Mode - The pricing mode of a
Transaction
. - Pricing
Mode Error - Errors that can occur when calling PricingMode functions
- Refund
Handling std
- Defines how refunds are calculated.
- Rewards
- Rewards distributed to validators.
- Stored
Value - A value stored in Global State.
- Stored
Value Tag - Tag used to discriminate between different variants of
StoredValue
. - Transaction
- A versioned wrapper for a transaction or deploy.
- Transaction
Args - The arguments of a transaction, which can be either a named set of runtime arguments or a chunked bytes.
- Transaction
Entry Point - The entry point of a
crate::Transaction
. - Transaction
Hash - A versioned wrapper for a transaction hash or deploy hash.
- Transaction
Invocation Target - The identifier of a
crate::TransactionTarget::Stored
. - Transaction
Runtime Params - Transaction
Scheduling - The scheduling mode of a
crate::Transaction
. - Transaction
Target - The execution target of a
crate::Transaction
. - Transaction
V1Decode From Json Error - Error while decoding a
TransactionV1
from JSON. - Transaction
V1Error - Errors other than validation failures relating to Transactions.
- Transfer
- A versioned wrapper for a transfer.
- Transfer
From StrError - Error returned when decoding a
TransferAddr
from a formatted string. - Transfer
Target - The various types which can be used as the
target
runtime argument of a native transfer. - Transferred
To - The result of a successful transfer between purses.
- UInt
Parse Error - Error type for parsing
U128
,U256
,U512
from a string. - URef
From StrError - Error while parsing a URef from a formatted string.
- Validator
Change - A change to a validator’s status between two eras.
- Version
Check Result - The result of
ProtocolVersion::check_next_version
.
Constants§
- ACCESS_
RIGHTS_ SERIALIZED_ LENGTH - The number of bytes in a serialized
AccessRights
. - AUCTION_
LANE_ ID - The lane identifier for the native auction interaction.
- BLAK
E2B_ DIGEST_ LENGTH - The number of bytes in a Blake2b hash
- BLOCKTIME_
SERIALIZED_ LENGTH - The number of bytes in a serialized
BlockTime
. - DEFAULT_
ADD_ BID_ COST std
andtesting
- Default cost of the
add_bid
auction entry point. - DEFAULT_
ADD_ COST std
andtesting
- Default cost of the
add
Wasm opcode. - DEFAULT_
BASELINE_ MOTES_ AMOUNT std
- Default baseline motes amount.
- DEFAULT_
BIT_ COST std
andtesting
- Default cost of the
bit
Wasm opcode. - DEFAULT_
CONST_ COST std
andtesting
- Default cost of the
const
Wasm opcode. - DEFAULT_
CONTROL_ FLOW_ BLOCK_ OPCODE std
andtesting
- Default cost of the
block
Wasm opcode. - DEFAULT_
CONTROL_ FLOW_ BR_ IF_ OPCODE std
andtesting
- Default cost of the
br_if
Wasm opcode. - DEFAULT_
CONTROL_ FLOW_ BR_ OPCODE std
andtesting
- Default cost of the
br
Wasm opcode. - DEFAULT_
CONTROL_ FLOW_ BR_ TABLE_ MULTIPLIER std
andtesting
- Default multiplier for the size of targets in
br_table
Wasm opcode. - DEFAULT_
CONTROL_ FLOW_ BR_ TABLE_ OPCODE std
andtesting
- Default fixed cost of the
br_table
Wasm opcode. - DEFAULT_
CONTROL_ FLOW_ CALL_ INDIRECT_ OPCODE std
andtesting
- Default cost of the
call_indirect
Wasm opcode. - DEFAULT_
CONTROL_ FLOW_ CALL_ OPCODE std
andtesting
- Default cost of the
call
Wasm opcode. - DEFAULT_
CONTROL_ FLOW_ DROP_ OPCODE std
andtesting
- Default cost of the
drop
Wasm opcode. - DEFAULT_
CONTROL_ FLOW_ ELSE_ OPCODE std
andtesting
- Default cost of the
else
Wasm opcode. - DEFAULT_
CONTROL_ FLOW_ END_ OPCODE std
andtesting
- Default cost of the
end
Wasm opcode. - DEFAULT_
CONTROL_ FLOW_ IF_ OPCODE std
andtesting
- Default cost of the
if
Wasm opcode. - DEFAULT_
CONTROL_ FLOW_ LOOP_ OPCODE std
andtesting
- Default cost of the
loop
Wasm opcode. - DEFAULT_
CONTROL_ FLOW_ RETURN_ OPCODE std
andtesting
- Default cost of the
return
Wasm opcode. - DEFAULT_
CONTROL_ FLOW_ SELECT_ OPCODE std
andtesting
- Default cost of the
select
Wasm opcode. - DEFAULT_
CONVERSION_ COST std
andtesting
- Default cost of the
conversion
Wasm opcode. - DEFAULT_
CURRENT_ MEMORY_ COST std
andtesting
- Default cost of the
current_memory
Wasm opcode. - DEFAULT_
DELEGATE_ COST std
andtesting
- Default cost of the
delegate
auction entry point. - DEFAULT_
DIV_ COST std
andtesting
- Default cost of the
div
Wasm opcode. - DEFAULT_
ENTRY_ POINT_ NAME - Default name for an entry point.
- DEFAULT_
FEE_ HANDLING std
andtesting
- Default fee handling.
- DEFAULT_
GAS_ HOLD_ INTERVAL std
- Default gas hold interval.
- DEFAULT_
GLOBAL_ COST std
andtesting
- Default cost of the
global
Wasm opcode. - DEFAULT_
GROW_ MEMORY_ COST std
andtesting
- Default cost of the
grow_memory
Wasm opcode. - DEFAULT_
HOST_ FUNCTION_ NEW_ DICTIONARY std
- Host function cost unit for a new dictionary.
- DEFAULT_
INTEGER_ COMPARISON_ COST std
andtesting
- Default cost of the
integer_comparison
Wasm opcode. - DEFAULT_
LARGE_ TRANSACTION_ GAS_ LIMIT std
andtesting
- Default gas limit of standard transactions
- DEFAULT_
LOAD_ COST std
andtesting
- Default cost of the
load
Wasm opcode. - DEFAULT_
LOCAL_ COST std
andtesting
- Default cost of the
local
Wasm opcode. - DEFAULT_
MAX_ PAYMENT_ MOTES std
andtesting
- The default maximum number of motes that payment code execution can cost.
- DEFAULT_
MAX_ STACK_ HEIGHT std
andtesting
- Default maximum stack height.
- DEFAULT_
MINIMUM_ BID_ AMOUNT std
- Default value for minimum bid amount in motes.
- DEFAULT_
MIN_ TRANSFER_ MOTES std
andtesting
- The default minimum number of motes that can be transferred.
- DEFAULT_
MUL_ COST std
andtesting
- Default cost of the
mul
Wasm opcode. - DEFAULT_
NEW_ DICTIONARY_ COST std
andtesting
- Default cost for a new dictionary.
- DEFAULT_
NOP_ COST std
andtesting
- Default cost of the
nop
Wasm opcode. - DEFAULT_
REFUND_ HANDLING std
- Default refund handling.
- DEFAULT_
STORE_ COST std
andtesting
- Default cost of the
store
Wasm opcode. - DEFAULT_
TRANSFER_ COST std
andtesting
- Default cost of the
transfer
mint entry point. - DEFAULT_
UNREACHABLE_ COST std
andtesting
- Default cost of the
unreachable
Wasm opcode. - DEFAULT_
WASM_ MAX_ MEMORY std
andtesting
- Default maximum number of pages of the Wasm memory.
- DICTIONARY_
ITEM_ KEY_ MAX_ LENGTH - The maximum length for a
dictionary_item_key
. - ENTITY_
INITIAL_ VERSION - Within each discrete major
ProtocolVersion
, entity version resets to this value. - INSTALL_
UPGRADE_ LANE_ ID - The lane identifier for the install/upgrade auction interaction.
- KEY_
DICTIONARY_ LENGTH - The number of bytes in a
Key::Dictionary
. - KEY_
HASH_ LENGTH - The number of bytes in a
Key::Hash
. - MINT_
LANE_ ID - The lane identifier for the native mint interaction.
- PHASE_
SERIALIZED_ LENGTH - The number of bytes in a serialized
Phase
. - SEM_
VER_ SERIALIZED_ LENGTH - Length of SemVer when serialized
- TRANSFER_
ADDR_ LENGTH - The length of a version 1 transfer address.
- UREF_
ADDR_ LENGTH - The number of bytes in a
URef
address. - UREF_
SERIALIZED_ LENGTH - The number of bytes in a serialized
URef
where theAccessRights
are notNone
.
Statics§
- OS_
PAGE_ SIZE std
- OS page size.
Traits§
- CLTyped
- A type which can be described as a
CLType
. - GasLimited
std
- Calculates gas limit.
- Tagged
- The quality of having a tag
Functions§
- calculate_
lane_ id_ for_ deploy std
- Calculate lane id for deploy
- calculate_
transaction_ lane std
- Calculates the laned based on properties of the transaction
- cl_
value_ to_ json json-schema
- Returns a best-effort attempt to convert the
CLValue
into a meaningful JSON value. - handle_
stored_ dictionary_ value - Inspects
key
argument whether it contains a dictionary variant, and checks ifstored_value
contains aCLValue
, then it will attempt a conversion from the held clvalue intoDictionaryValue
and returns the realCLValue
held by it. - json_
pretty_ print json-schema
- Serializes the given data structure as a pretty-printed
String
of JSON usingserde_json::to_string_pretty()
, but after first reducing any large hex-string values. - named_
key_ type - Returns the
CLType
describing a “named key” on the system, i.e. a(String, Key)
.
Type Aliases§
- Dictionary
Addr - An alias for
Key
s dictionary variant. - Entity
Version - Automatically incremented value for a contract version within a major
ProtocolVersion
. - Hash
Addr - An alias for
Key
s hash variant. - Host
Function Cost std
- Representation of argument’s cost.
- Package
Addr - An alias for
Key
s package variant. - Parameters
- Collection of entry point parameters.
- Transfer
Result - The result of an attempt to transfer between purses.
- URef
Addr - The address of a
URef
(unforgeable reference) on the network.