ExecuteMsg: {
    receive: Cw20ReceiveMsg;
} | {
    update_config: {
        owner?: Addr | null;
        rewarder?: Addr | null;
    };
} | {
    register_asset: {
        asset_info: AssetInfo;
        staking_token: Addr;
    };
} | {
    deprecate_staking_token: {
        asset_info: AssetInfo;
        new_staking_token: Addr;
    };
} | {
    update_rewards_per_sec: {
        asset_info: AssetInfo;
        assets: Asset[];
    };
} | {
    deposit_reward: {
        rewards: Asset[];
    };
} | {
    unbond: {
        amount: Uint128;
        asset_info: AssetInfo;
    };
} | {
    withdraw: {
        asset_info?: AssetInfo | null;
    };
} | {
    withdraw_others: {
        asset_info?: AssetInfo | null;
        staker_addrs: Addr[];
    };
} | {
    auto_stake: {
        assets: [Asset, Asset];
        slippage_tolerance?: Decimal | null;
    };
} | {
    auto_stake_hook: {
        asset_info: AssetInfo;
        prev_staking_token_amount: Uint128;
        staker_addr: Addr;
        staking_token: Addr;
    };
} | {
    update_list_stakers: {
        asset_info: AssetInfo;
        stakers: Addr[];
    };
}

©2020 - 2023 Oraichain Foundation