erc20_payment_lib 0.1.0

Payment processor for ERC20 tokens
Documentation
1
2
3
4
5
6
7
8
9
10
use web3::types::U256;

#[derive(Debug)]
pub struct AllowanceRequest {
    pub owner: String,
    pub token_addr: String,
    pub spender_addr: String,
    pub chain_id: i64,
    pub amount: U256,
}