stellar-multicall 1.0.3

Multicall contract, responsible for executing multiple contract calls in a single transaction.
Documentation
1
2
3
4
5
6
7
8
9
10
11
use stellar_axelar_std::{contracttype, soroban_sdk, Address, Symbol, Val, Vec};

#[contracttype]
#[derive(Clone, Debug, PartialEq, Eq)]
pub struct FunctionCall {
    pub contract: Address,
    /// There must be an address authorizing each function call, even if the function call itself doesn't need authorization, to prevent frontrunning of individual calls within a multicall
    pub approver: Address,
    pub function: Symbol,
    pub args: Vec<Val>,
}