false
false
0

Contract Address Details

0x112c37126c035E1De37346f5b6005494Ef80506e

Contract Name
Bankroll
Creator
0xc95ce5–f2b68d at 0xbdcc54–f91dc5
Balance
999 FTN ($3,816.18 USD)
Tokens
Fetching tokens...
Transactions
10 Transactions
Transfers
0 Transfers
Gas Used
318,520
Last Balance Update
4554207
Warning! Contract bytecode has been changed and doesn't match the verified one. Therefore, interaction with this smart contract may be risky.
Contract name:
Bankroll




Optimization enabled
true
Compiler version
v0.8.20+commit.a1b79de6




Optimization runs
200
EVM Version
london




Verified at
2024-05-20T14:20:17.725337Z

Contract source code

pragma solidity 0.8.20;
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
return msg.sender;
}
function _msgData() internal view virtual returns (bytes calldata) {
return msg.data;
}
}
abstract contract Ownable is Context {
address private _owner;
/**
* @dev The caller account is not authorized to perform an operation.
*/
error OwnableUnauthorizedAccount(address account);
/**
* @dev The owner is not a valid owner account. (eg. `address(0)`)
*/
error OwnableInvalidOwner(address owner);
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
/**
* @dev Initializes the contract setting the address provided by the deployer as the initial owner.
*/
constructor(address initialOwner) {
if (initialOwner == address(0)) {
revert OwnableInvalidOwner(address(0));
}
_transferOwnership(initialOwner);
}
/**
* @dev Throws if called by any account other than the owner.
*/
 
 
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Contract ABI

[{"type":"constructor","stateMutability":"nonpayable","inputs":[]},{"type":"error","name":"AddressEmptyCode","inputs":[{"type":"address","name":"target","internalType":"address"}]},{"type":"error","name":"AddressInsufficientBalance","inputs":[{"type":"address","name":"account","internalType":"address"}]},{"type":"error","name":"FailedInnerCall","inputs":[]},{"type":"error","name":"OwnableInvalidOwner","inputs":[{"type":"address","name":"owner","internalType":"address"}]},{"type":"error","name":"OwnableUnauthorizedAccount","inputs":[{"type":"address","name":"account","internalType":"address"}]},{"type":"error","name":"SafeERC20FailedOperation","inputs":[{"type":"address","name":"token","internalType":"address"}]},{"type":"event","name":"OwnershipTransferred","inputs":[{"type":"address","name":"previousOwner","internalType":"address","indexed":true},{"type":"address","name":"newOwner","internalType":"address","indexed":true}],"anonymous":false},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"gameContracts","inputs":[{"type":"address","name":"","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"owner","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"renounceOwnership","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"sendERC20","inputs":[{"type":"address","name":"_token","internalType":"contract IERC20"},{"type":"address","name":"_to","internalType":"address"},{"type":"uint256","name":"_amount","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"sendERC721","inputs":[{"type":"address","name":"_token","internalType":"contract IERC721"},{"type":"address","name":"_to","internalType":"address"},{"type":"uint256","name":"_id","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"sendFTN","inputs":[{"type":"address","name":"_to","internalType":"address"},{"type":"uint256","name":"_amount","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setGameContract","inputs":[{"type":"address","name":"_gameContract","internalType":"address"},{"type":"bool","name":"_status","internalType":"bool"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"transferOwnership","inputs":[{"type":"address","name":"newOwner","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"withdrawERC721","inputs":[{"type":"address","name":"_token","internalType":"contract IERC721"},{"type":"uint256","name":"_tokenId","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"withdrawFTN","inputs":[{"type":"uint256","name":"_amount","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"withdrawToken","inputs":[{"type":"address","name":"_token","internalType":"contract IERC20"},{"type":"uint256","name":"_amount","internalType":"uint256"}]},{"type":"receive","stateMutability":"payable"}]
              

Contract Creation Code

Verify & Publish
0x608060405234801561001057600080fd5b50338061003757604051631e4fbdf760e01b81526000600482015260240160405180910390fd5b61004081610046565b50610096565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b610948806100a56000396000f3fe6080604052600436106100a05760003560e01c80638f975a64116100645780638f975a64146101705780639e281a9814610190578063b2c30afa146101b0578063b72ac8ea146101d0578063f2fde38b146101f0578063f3e414f81461021057600080fd5b8063030f8a09146100ac5780633a8aa684146100ce5780636ddd474d146100ee578063715018a6146101335780638da5cb5b1461014857600080fd5b366100a757005b600080fd5b3480156100b857600080fd5b506100cc6100c73660046107a2565b610230565b005b3480156100da57600080fd5b506100cc6100e93660046107db565b610263565b3480156100fa57600080fd5b5061011e6101093660046107f4565b60016020526000908152604090205460ff1681565b60405190151581526020015b60405180910390f35b34801561013f57600080fd5b506100cc610278565b34801561015457600080fd5b506000546040516001600160a01b03909116815260200161012a565b34801561017c57600080fd5b506100cc61018b366004610811565b61028c565b34801561019c57600080fd5b506100cc6101ab366004610852565b6102dd565b3480156101bc57600080fd5b506100cc6101cb366004610852565b6102fd565b3480156101dc57600080fd5b506100cc6101eb366004610811565b61033f565b3480156101fc57600080fd5b506100cc61020b3660046107f4565b6103db565b34801561021c57600080fd5b506100cc61022b366004610852565b610416565b610238610488565b6001600160a01b03919091166000908152600160205260409020805460ff1916911515919091179055565b61026b610488565b61027533826104b5565b50565b610280610488565b61028a600061054c565b565b3360009081526001602052604090205460ff166102c45760405162461bcd60e51b81526004016102bb9061087e565b60405180910390fd5b6102d86001600160a01b038416838361059c565b505050565b6102e5610488565b6102f96001600160a01b038316338361059c565b5050565b3360009081526001602052604090205460ff1661032c5760405162461bcd60e51b81526004016102bb9061087e565b6102f96001600160a01b038316826104b5565b3360009081526001602052604090205460ff1661036e5760405162461bcd60e51b81526004016102bb9061087e565b604051632142170760e11b81523060048201526001600160a01b038381166024830152604482018390528416906342842e0e90606401600060405180830381600087803b1580156103be57600080fd5b505af11580156103d2573d6000803e3d6000fd5b50505050505050565b6103e3610488565b6001600160a01b03811661040d57604051631e4fbdf760e01b8152600060048201526024016102bb565b6102758161054c565b61041e610488565b604051632142170760e11b8152306004820152336024820152604481018290526001600160a01b038316906342842e0e90606401600060405180830381600087803b15801561046c57600080fd5b505af1158015610480573d6000803e3d6000fd5b505050505050565b6000546001600160a01b0316331461028a5760405163118cdaa760e01b81523360048201526024016102bb565b804710156104d85760405163cd78605960e01b81523060048201526024016102bb565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114610525576040519150601f19603f3d011682016040523d82523d6000602084013e61052a565b606091505b50509050806102d857604051630a12f52160e11b815260040160405180910390fd5b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b604080516001600160a01b03848116602483015260448083018590528351808403909101815260649092019092526020810180516001600160e01b031663a9059cbb60e01b1790526102d8918591906000906105fa90841683610648565b9050805160001415801561061f57508080602001905181019061061d91906108c6565b155b156102d857604051635274afe760e01b81526001600160a01b03841660048201526024016102bb565b60606106568383600061065d565b9392505050565b6060814710156106825760405163cd78605960e01b81523060048201526024016102bb565b600080856001600160a01b0316848660405161069e91906108e3565b60006040518083038185875af1925050503d80600081146106db576040519150601f19603f3d011682016040523d82523d6000602084013e6106e0565b606091505b50915091506106f08683836106fa565b9695505050505050565b60608261070f5761070a82610756565b610656565b815115801561072657506001600160a01b0384163b155b1561074f57604051639996b31560e01b81526001600160a01b03851660048201526024016102bb565b5080610656565b8051156107665780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b6001600160a01b038116811461027557600080fd5b801515811461027557600080fd5b600080604083850312156107b557600080fd5b82356107c08161077f565b915060208301356107d081610794565b809150509250929050565b6000602082840312156107ed57600080fd5b5035919050565b60006020828403121561080657600080fd5b81356106568161077f565b60008060006060848603121561082657600080fd5b83356108318161077f565b925060208401356108418161077f565b929592945050506040919091013590565b6000806040838503121561086557600080fd5b82356108708161077f565b946020939093013593505050565b60208082526028908201527f53656e646572206973206e6f74206120726567697374657265642067616d652060408201526718dbdb9d1c9858dd60c21b606082015260800190565b6000602082840312156108d857600080fd5b815161065681610794565b6000825160005b8181101561090457602081860181015185830152016108ea565b50600092019182525091905056fea26469706673582212200a040436723099898011fa7e9980a21c9e77efc3b530e8c9233b756c23d12e7464736f6c63430008140033

Deployed ByteCode

0x6080604052600436106100a05760003560e01c80638f975a64116100645780638f975a64146101705780639e281a9814610190578063b2c30afa146101b0578063b72ac8ea146101d0578063f2fde38b146101f0578063f3e414f81461021057600080fd5b8063030f8a09146100ac5780633a8aa684146100ce5780636ddd474d146100ee578063715018a6146101335780638da5cb5b1461014857600080fd5b366100a757005b600080fd5b3480156100b857600080fd5b506100cc6100c73660046107a2565b610230565b005b3480156100da57600080fd5b506100cc6100e93660046107db565b610263565b3480156100fa57600080fd5b5061011e6101093660046107f4565b60016020526000908152604090205460ff1681565b60405190151581526020015b60405180910390f35b34801561013f57600080fd5b506100cc610278565b34801561015457600080fd5b506000546040516001600160a01b03909116815260200161012a565b34801561017c57600080fd5b506100cc61018b366004610811565b61028c565b34801561019c57600080fd5b506100cc6101ab366004610852565b6102dd565b3480156101bc57600080fd5b506100cc6101cb366004610852565b6102fd565b3480156101dc57600080fd5b506100cc6101eb366004610811565b61033f565b3480156101fc57600080fd5b506100cc61020b3660046107f4565b6103db565b34801561021c57600080fd5b506100cc61022b366004610852565b610416565b610238610488565b6001600160a01b03919091166000908152600160205260409020805460ff1916911515919091179055565b61026b610488565b61027533826104b5565b50565b610280610488565b61028a600061054c565b565b3360009081526001602052604090205460ff166102c45760405162461bcd60e51b81526004016102bb9061087e565b60405180910390fd5b6102d86001600160a01b038416838361059c565b505050565b6102e5610488565b6102f96001600160a01b038316338361059c565b5050565b3360009081526001602052604090205460ff1661032c5760405162461bcd60e51b81526004016102bb9061087e565b6102f96001600160a01b038316826104b5565b3360009081526001602052604090205460ff1661036e5760405162461bcd60e51b81526004016102bb9061087e565b604051632142170760e11b81523060048201526001600160a01b038381166024830152604482018390528416906342842e0e90606401600060405180830381600087803b1580156103be57600080fd5b505af11580156103d2573d6000803e3d6000fd5b50505050505050565b6103e3610488565b6001600160a01b03811661040d57604051631e4fbdf760e01b8152600060048201526024016102bb565b6102758161054c565b61041e610488565b604051632142170760e11b8152306004820152336024820152604481018290526001600160a01b038316906342842e0e90606401600060405180830381600087803b15801561046c57600080fd5b505af1158015610480573d6000803e3d6000fd5b505050505050565b6000546001600160a01b0316331461028a5760405163118cdaa760e01b81523360048201526024016102bb565b804710156104d85760405163cd78605960e01b81523060048201526024016102bb565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114610525576040519150601f19603f3d011682016040523d82523d6000602084013e61052a565b606091505b50509050806102d857604051630a12f52160e11b815260040160405180910390fd5b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b604080516001600160a01b03848116602483015260448083018590528351808403909101815260649092019092526020810180516001600160e01b031663a9059cbb60e01b1790526102d8918591906000906105fa90841683610648565b9050805160001415801561061f57508080602001905181019061061d91906108c6565b155b156102d857604051635274afe760e01b81526001600160a01b03841660048201526024016102bb565b60606106568383600061065d565b9392505050565b6060814710156106825760405163cd78605960e01b81523060048201526024016102bb565b600080856001600160a01b0316848660405161069e91906108e3565b60006040518083038185875af1925050503d80600081146106db576040519150601f19603f3d011682016040523d82523d6000602084013e6106e0565b606091505b50915091506106f08683836106fa565b9695505050505050565b60608261070f5761070a82610756565b610656565b815115801561072657506001600160a01b0384163b155b1561074f57604051639996b31560e01b81526001600160a01b03851660048201526024016102bb565b5080610656565b8051156107665780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b6001600160a01b038116811461027557600080fd5b801515811461027557600080fd5b600080604083850312156107b557600080fd5b82356107c08161077f565b915060208301356107d081610794565b809150509250929050565b6000602082840312156107ed57600080fd5b5035919050565b60006020828403121561080657600080fd5b81356106568161077f565b60008060006060848603121561082657600080fd5b83356108318161077f565b925060208401356108418161077f565b929592945050506040919091013590565b6000806040838503121561086557600080fd5b82356108708161077f565b946020939093013593505050565b60208082526028908201527f53656e646572206973206e6f74206120726567697374657265642067616d652060408201526718dbdb9d1c9858dd60c21b606082015260800190565b6000602082840312156108d857600080fd5b815161065681610794565b6000825160005b8181101561090457602081860181015185830152016108ea565b50600092019182525091905056fea26469706673582212200a040436723099898011fa7e9980a21c9e77efc3b530e8c9233b756c23d12e7464736f6c63430008140033