pub struct RailBinding {
pub chain_id: u64,
pub token_contract: String,
pub payee_address: String,
pub token_decimals: u8,
pub token_symbol: String,
}Expand description
Resolved EVM rail parameters sourced from operator config.
Carries the on-chain identity of a seller’s payment rail (chain, token
contract, payee address) as resolved by the CLI/control-plane layer from
the operator-configured seller-to-rail table. The kernel adapter stays
rail-agnostic; the caller resolves and validates the rail before bridging
to ApprovalBinding via approval_binding_from_governed.
Fields§
§chain_id: u64EVM chain id for the target payment rail.
token_contract: StringToken contract address for the stablecoin on this rail (e.g. USDC).
payee_address: StringPayee (seller) address that receives the transfer on this rail.
token_decimals: u8Token decimal precision (informational; not asserted at the binding layer).
token_symbol: StringToken symbol (e.g. "USDC"). Asserted case-insensitively by the
token-symbol binding check on the approval.
Trait Implementations§
Source§impl Clone for RailBinding
impl Clone for RailBinding
Source§fn clone(&self) -> RailBinding
fn clone(&self) -> RailBinding
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more