Function coreledger_backend::mng_owner
pub fn mng_owner(contract_id: ContractId) -> Option<Principal>
Expand description
Returns the owner of the contract.
§Parameters
contract_id
: Target contract id.
§Result
The owner of the contract.
§Sample request
CONTRACT_ID=1_376_994_832_725_996_537_612_682_825_051_864_610_558_585_037_795
dfx canister call coreledger_backend mng_owner "($CONTRACT_ID)"
§Sample response
(
opt principal "r63pu-qjqo3-yvyrr-xhymp-63lj4-oycfx-7r4yr-mspkh-guhdl-vrjkr-cae"
)