pragma ever-solidity >= 0.68.0; pragma AbiHeader expire; pragma AbiHeader pubkey; import "../access/ExternalOwner.tsol"; import "../utils/RandomNonce.tsol"; import "../utils/CheckPubKey.tsol"; /* @title Sample giver contract. Store TONs on the balance and send it on the owner's request */ contract Giver is ExternalOwner, RandomNonce, CheckPubKey { constructor(uint _owner) checkPubKey { tvm.accept(); setOwnership(_owner); } function sendGrams( address dest, uint64 amount ) public view onlyOwner { tvm.accept(); dest.transfer(amount, false, 1); } }