Structs§
- Whitelisted
Attributes - The set of attributes that can be passed to call builder or call forwarder in the codegen.
Functions§
- duplicate_
config_ err - Return an error to notify about duplicate ink! configuration arguments.
- ensure_
pub_ visibility - Ensures that the given visibility is
pub
and otherwise returns an appropriate error. - extract_
cfg_ attributes - Extracts
cfg
attributes from the given set of attributes - extract_
cfg_ syn_ attributes - Extracts
cfg
attributes from the given set of attributes - extract_
name_ override - Returns
syn::LitStr
value if it’s an “identifier-like” string. - find_
storage_ key_ salt - Finds the salt of a struct, enum or union.
The salt is any generic that has bound
StorageKey
. In most cases it is the parent storage key or the auto-generated storage key. - local_
message_ id - Returns a local ID unique to the ink! trait definition for the identifier.