stellar-axelar-operators 1.1.3

AxelarOperators contract, responsible for managing operators and enabling invoking functions with access control and upgradeability.
Documentation
1
2
3
4
5
6
7
8
9
10
11
use stellar_axelar_std::{contracterror, soroban_sdk};

#[contracterror]
#[derive(Copy, Clone, Debug, Eq, PartialEq)]
#[repr(u32)]
pub enum ContractError {
    MigrationNotAllowed = 1,
    OperatorAlreadyAdded = 2,
    NotAnOperator = 3,
    MigrationInProgress = 4,
}