Skip to main content

defuse/
admin_call.rs

1use defuse_near_promise::NearPromise;
2use near_sdk::ext_contract;
3
4#[ext_contract(ext_admin_call)]
5pub trait AdminCallManager {
6    /// Allows the caller to execute an arbitrary promise on behalf of this contract.
7    fn admin_call(&mut self, promises: Vec<NearPromise>);
8}