pub type Call = Call;

Aliased Type§

enum Call {
    create_swap {
        target: AccountId32,
        hashed_proof: [u8; 32],
        action: BalanceSwapAction<AccountId32>,
        duration: u32,
    },
    claim_swap {
        proof: Vec<u8>,
        action: BalanceSwapAction<AccountId32>,
    },
    cancel_swap {
        target: AccountId32,
        hashed_proof: [u8; 32],
    },
}

Variants§

§

create_swap

Fields

§target: AccountId32
§hashed_proof: [u8; 32]
§action: BalanceSwapAction<AccountId32>
§duration: u32
§

claim_swap

Fields

§proof: Vec<u8>
§action: BalanceSwapAction<AccountId32>
§

cancel_swap

Fields

§target: AccountId32
§hashed_proof: [u8; 32]