Skip to content

Instantly share code, notes, and snippets.

View sachin10venkat's full-sized avatar

sachin10venkat

View GitHub Profile
@sachin10venkat
sachin10venkat / Babygenie.sol
Created August 1, 2021 03:58
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.6.2+commit.bacdbe57.js&optimize=true&runs=200&gist=
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.2;
/*
* @dev Provides information about the current execution context, including the
* sender of the transaction and its data. While these are generally available
* via msg.sender and msg.data, they should not be accessed in such a direct
* manner, since when dealing with meta-transactions the account sending and
* paying for execution may not be the actual sender (as far as an application
@sachin10venkat
sachin10venkat / artifacts...BabyGenie.json
Created August 1, 2021 03:56
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.6.2+commit.bacdbe57.js&optimize=true&runs=200&gist=
{
"deploy": {
"VM:-": {
"linkReferences": {
"Babygenie.sol": {
"IterableMapping": "<address>"
}
},
"autoDeployLib": true
},
@sachin10venkat
sachin10venkat / Babygenie.sol
Created July 31, 2021 20:26
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.6.2+commit.bacdbe57.js&optimize=true&runs=200&gist=
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.2;
/*
* @dev Provides information about the current execution context, including the
* sender of the transaction and its data. While these are generally available
* via msg.sender and msg.data, they should not be accessed in such a direct
* manner, since when dealing with meta-transactions the account sending and
* paying for execution may not be the actual sender (as far as an application