pub enum DataKey {
Show 33 variants
ChainDetails,
ChainSigners,
ChainSignersMap(Address),
ChainSignersRequired,
ViaSigners,
ViaSignersMap(Address),
ViaSignersRequired,
ProjectSigners(Address),
ProjectSignersMap(Address, Address),
ProjectSignersRequired(Address),
Relayers,
RelayersMap(Address),
RelayersRequired,
ContractRelayers(Address),
ContractRelayersMap(Address, Address),
ContractRelayersEnabled(Address),
ProcessedTransfers(u128),
FeeHandler,
ProcessFeeCalledFor(Address),
FeesOffline,
CustomSourceFee(Address),
MaxFeeAmount(Address),
FeeTokenContract(Address),
GasHandler,
MaxGasAmount(Address),
ProcessGasRefundCalledFor(Address, Address),
GasTokenContract(Address),
UnwrapToken(Address),
PosHandler,
MessageValidateResult,
GatewayContractAddress,
ChainsEndpoints(u64),
BlockTip,
}Variants§
ChainDetails
Storage key for chain details (chain ID and next transaction ID)
ChainSigners
Storage key for the list of chain signers
ChainSignersMap(Address)
Storage key for mapping chain signer addresses to their status
ChainSignersRequired
Storage key for the required number of chain signatures
ViaSigners
Storage key for the list of VIA signers
ViaSignersMap(Address)
Storage key for mapping VIA signer addresses to their status
ViaSignersRequired
Storage key for the required number of VIA signatures
ProjectSigners(Address)
Storage key for project signers list for a specific contract
ProjectSignersMap(Address, Address)
Storage key for mapping project signer addresses to their status for a specific contract
ProjectSignersRequired(Address)
Storage key for the required number of project signatures for a specific contract
Relayers
Storage key for the list of relayers
RelayersMap(Address)
Storage key for mapping relayer addresses to their status
RelayersRequired
Storage key indicating whether relayers are required
ContractRelayers(Address)
Storage key for contract-specific relayers list
ContractRelayersMap(Address, Address)
Storage key for mapping contract-specific relayer addresses to their status
ContractRelayersEnabled(Address)
Storage key indicating whether relayers are enabled for a specific contract
ProcessedTransfers(u128)
Storage key for tracking processed transfers by transaction ID
FeeHandler
Storage key for the fee handler contract address
ProcessFeeCalledFor(Address)
Storage key for tracking if process_fee was called for a specific address
FeesOffline
Storage key for fees offline status
CustomSourceFee(Address)
Storage key for custom source fee amount for a specific client contract
MaxFeeAmount(Address)
Storage key for maximum fee amount for a specific client contract
FeeTokenContract(Address)
Storage key for fee token contract address for a specific client contract
GasHandler
Storage key for the gas handler contract address
MaxGasAmount(Address)
Storage key for maximum gas amount for a specific client contract
ProcessGasRefundCalledFor(Address, Address)
Storage key for tracking if process_gas_refund was called for a specific contract and relayer
GasTokenContract(Address)
Storage key for gas token contract address for a specific client contract
UnwrapToken(Address)
Storage key for unwrap token contract address
PosHandler
Storage key for the POS (Proof of Stake) handler contract address
MessageValidateResult
Storage key for message validation result
GatewayContractAddress
Storage key for gateway contract address (used in message clients)
ChainsEndpoints(u64)
Storage key for chain endpoint address for a specific chain ID
BlockTip
Storage key for block tip information
Implementations§
Trait Implementations§
impl StructuralPartialEq for DataKey
Source§impl TryFromVal<Env, &DataKey> for Val
impl TryFromVal<Env, &DataKey> for Val
type Error = ConversionError
fn try_from_val(env: &Env, val: &&DataKey) -> Result<Self, ConversionError>
Source§impl TryFromVal<Env, DataKey> for Val
impl TryFromVal<Env, DataKey> for Val
type Error = ConversionError
fn try_from_val(env: &Env, val: &DataKey) -> Result<Self, ConversionError>
Source§impl TryFromVal<Env, Val> for DataKey
impl TryFromVal<Env, Val> for DataKey
type Error = ConversionError
fn try_from_val(env: &Env, val: &Val) -> Result<Self, ConversionError>
Auto Trait Implementations§
impl !RefUnwindSafe for DataKey
impl !Send for DataKey
impl !Sync for DataKey
impl !UnwindSafe for DataKey
impl Freeze for DataKey
impl Unpin for DataKey
impl UnsafeUnpin for DataKey
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T, U, V, W, E, C> Compare<(T, U, V, W)> for C
impl<T, U, V, W, E, C> Compare<(T, U, V, W)> for C
type Error = E
fn compare( &self, a: &(T, U, V, W), b: &(T, U, V, W), ) -> Result<Ordering, <C as Compare<(T, U, V, W)>>::Error>
Source§impl<T, U, V, W, X, E, C> Compare<(T, U, V, W, X)> for C
impl<T, U, V, W, X, E, C> Compare<(T, U, V, W, X)> for C
type Error = E
fn compare( &self, a: &(T, U, V, W, X), b: &(T, U, V, W, X), ) -> Result<Ordering, <C as Compare<(T, U, V, W, X)>>::Error>
Source§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.Source§impl<E, T, U> FromVal<E, T> for Uwhere
E: Env,
U: TryFromVal<E, T>,
impl<E, T, U> FromVal<E, T> for Uwhere
E: Env,
U: TryFromVal<E, T>,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more