Crate concordium_std_derive

Crate concordium_std_derive 

Source

Macros§

account_address
Procedural macro for instantiating account addresses. Input must be a valid base58-encoding.
account_address_env
Procedural macro for instantiating account addresses from an environment variable. Input must be the key of an environment variable whose value is set to a valid base58-encoding of an account address.
contract_address
Procedural macro for instantiating contract addresses. Input must be of the form “<index,subindex>”, where index and subindex are integers.
contract_address_env
Procedural macro for instantiating contract addresses from an environment variable. Input must be the key of an environment variable whose value is set to a contract address of the form “<index,subindex>”, where index and subindex are integers
module_reference
Procedural macro for instantiating module references. Input must be a (case-insensitive) hex-encoding and have a length of 64 characters representing 32 bytes.
module_reference_env
Procedural macro for instantiating module references from an environment variable. Input must be the key of an environment variable whose value is set to a hex-encoded module reference which must have a length of 64 characters representing 32 bytes.
public_key_ecdsa
Procedural macro for instantiating PublicKeyEcdsaSecp256k1 public keys. Input must be a (case-insensitive) hex-encoding and have a length of 66 characters representing 33 bytes.
public_key_ecdsa_env
Procedural macro for instantiating PublicKeyEcdsaSecp256k1 public keys from an environment variable. Input must be the key of an environment variable whose value is set to a hex-encoded public key which must have a length of 66 characters representing 33 bytes.
public_key_ed25519
Procedural macro for instantiating PublicKeyEd25519 public keys. Input must be a (case-insensitive) hex-encoding and have a length of 64 characters representing 32 bytes.
public_key_ed25519_env
Procedural macro for instantiating PublicKeyEd25519 public keys from an environment variable. Input must be the key of an environment variable whose value is set to a hex-encoded public key which must have a length of 64 characters representing 32 bytes.
signature_ecdsa
Procedural macro for instantiating SignatureEcdsaSecp256k1 signatures. Input must be a (case-insensitive) hex-encoding and have a length of 128 characters representing 64 bytes.
signature_ecdsa_env
Procedural macro for instantiating SignatureEcdsaSecp256k1 signatures from an environment variable. Input must be the key of an environment variable whose value is set to a hex-encoded signature which must have a length of 128 characters representing 64 bytes.
signature_ed25519
Procedural macro for instantiating SignatureEd25519 signatures. Input must be a (case-insensitive) hex-encoding and have a length of 128 characters representing 64 bytes.
signature_ed25519_env
Procedural macro for instantiating SignatureEd25519 signatures from an environment variable. Input must be the key of an environment variable whose value is set to a hex-encoded signature which must have a length of 128 characters representing 64 bytes.