Skip to content

Instantly share code, notes, and snippets.

View devtosxn's full-sized avatar

Tosin Ayodele devtosxn

View GitHub Profile
// SPDX-License-Identifier: GPL-3.0
pragma solidity ^0.8.0;
contract Vault {
// a contract where the owner create grant for a beneficiary;
//allows beneficiary to withdraw only when time elapse
//allows owner to withdraw before time elapse
//get information of a beneficiary
//amount of ethers in the smart contract
// SPDX-License-Identifier: MIT
pragma solidity 0.8.4;
contract Vault {
// a contract where the owner create grant for a beneficiary:
// allows beneficiary to withdraw only when time elapse
// allows owner to withdraw before time elapse
// get information of the beneficiary
// amount of ethers in the smart contract
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
contract Bridge is ERC20{
address owner;
modifier onlyOnwer(){