Source Code
Overview
MATIC Balance
0 MATIC
More Info
ContractCreator:
Multichain Info
N/A
Latest 25 from a total of 296 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
Value | ||||
---|---|---|---|---|---|---|---|---|---|
Deploy Contract | 28099407 | 562 days ago | IN | 0.0001 MATIC | 0.22599765 | ||||
Deploy Contract | 28098160 | 562 days ago | IN | 0.0001 MATIC | 0.22301685 | ||||
Deploy Contract | 27995451 | 568 days ago | IN | 0.0001 MATIC | 0.2259886 | ||||
Deploy Contract | 27994248 | 568 days ago | IN | 0.0007 MATIC | 0.22600185 | ||||
Deploy Contract | 27960813 | 570 days ago | IN | 0.0001 MATIC | 0.01107406 | ||||
Deploy Contract | 27958427 | 570 days ago | IN | 0.0001 MATIC | 0.22600185 | ||||
Deploy Contract | 27902079 | 573 days ago | IN | 0.0007 MATIC | 0.22600065 | ||||
Deploy Contract | 27890698 | 574 days ago | IN | 0.0001 MATIC | 0.22600425 | ||||
Deploy Contract | 27856363 | 576 days ago | IN | 0 MATIC | 0.06159935 | ||||
Deploy Contract | 27855224 | 576 days ago | IN | 0.0005 MATIC | 0.22501465 | ||||
Mint NFT | 27840772 | 577 days ago | IN | 0.01002 MATIC | 0.0116667 | ||||
Deploy Contract | 27840753 | 577 days ago | IN | 0.0001 MATIC | 0.17192755 | ||||
Deploy Contract | 27771010 | 582 days ago | IN | 0.0001 MATIC | 0.17192635 | ||||
Deploy Contract | 27768013 | 582 days ago | IN | 0.002 MATIC | 0.1995336 | ||||
Deploy Contract | 27758622 | 583 days ago | IN | 0.0001 MATIC | 0.22600065 | ||||
Deploy Contract | 27756158 | 583 days ago | IN | 0.0001 MATIC | 0.22600065 | ||||
Deploy Contract | 27754963 | 583 days ago | IN | 0.0001 MATIC | 0.22600125 | ||||
Deploy Contract | 27751049 | 583 days ago | IN | 0 MATIC | 0.06159935 | ||||
Deploy Contract | 27751033 | 583 days ago | IN | 0 MATIC | 0.06159935 | ||||
Mint NFT | 27743506 | 584 days ago | IN | 0.00002 MATIC | 0.01110015 | ||||
Deploy Contract | 27743484 | 584 days ago | IN | 0.0001 MATIC | 0.10368158 | ||||
Mint NFT | 27690203 | 588 days ago | IN | 0.00102 MATIC | 0.0116667 | ||||
Deploy Contract | 27690195 | 588 days ago | IN | 0.0001 MATIC | 0.17193055 | ||||
Deploy Contract | 27672321 | 589 days ago | IN | 0.002 MATIC | 0.199536 | ||||
Deploy Contract | 27671987 | 589 days ago | IN | 0.0001 MATIC | 0.2259946 |
Latest 25 internal transactions (View All)
Parent Txn Hash | Block | From | To | Value | ||
---|---|---|---|---|---|---|
28099407 | 562 days ago | Contract Creation | 0.0001 MATIC | |||
28098160 | 562 days ago | Contract Creation | 0.0001 MATIC | |||
27995451 | 568 days ago | Contract Creation | 0.0001 MATIC | |||
27994248 | 568 days ago | Contract Creation | 0.0007 MATIC | |||
27960813 | 570 days ago | Contract Creation | 0.0001 MATIC | |||
27958427 | 570 days ago | Contract Creation | 0.0001 MATIC | |||
27902079 | 573 days ago | Contract Creation | 0.0007 MATIC | |||
27890698 | 574 days ago | Contract Creation | 0.0001 MATIC | |||
27856363 | 576 days ago | Contract Creation | 0 MATIC | |||
27855224 | 576 days ago | Contract Creation | 0.0005 MATIC | |||
27840772 | 577 days ago | 0.01 MATIC | ||||
27840772 | 577 days ago | 0.00002 MATIC | ||||
27840753 | 577 days ago | Contract Creation | 0.0001 MATIC | |||
27771010 | 582 days ago | Contract Creation | 0.0001 MATIC | |||
27768013 | 582 days ago | Contract Creation | 0.002 MATIC | |||
27758622 | 583 days ago | Contract Creation | 0.0001 MATIC | |||
27756158 | 583 days ago | Contract Creation | 0.0001 MATIC | |||
27754963 | 583 days ago | Contract Creation | 0.0001 MATIC | |||
27751049 | 583 days ago | Contract Creation | 0 MATIC | |||
27751033 | 583 days ago | Contract Creation | 0 MATIC | |||
27743506 | 584 days ago | 0.00002 MATIC | ||||
27743484 | 584 days ago | Contract Creation | 0.0001 MATIC | |||
27690203 | 588 days ago | 0.001 MATIC | ||||
27690203 | 588 days ago | 0.00002 MATIC | ||||
27690195 | 588 days ago | Contract Creation | 0.0001 MATIC |
Loading...
Loading
Similar Match Source Code This contract matches the deployed Bytecode of the Source Code for Contract 0x335101C9...C23D41B92 The constructor portion of the code might be different and could alter the actual behaviour of the contract
Contract Name:
CoinService
Compiler Version
v0.8.7+commit.e28d00a7
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: GPL-3.0 pragma solidity >=0.7.0 <0.9.0; import "@openzeppelin/contracts/utils/Counters.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; interface NFTCollectible { function mint(address receiver) external payable; } contract CoinService { using Counters for Counters.Counter; using SafeMath for uint256; Counters.Counter private _tokenIdCounter = Counters.Counter(0); address private _addressFactory; address private _addressRouter; address payable private _feeAddress; event CreatedContract(address tokenAddress, address tokenOwner); event PairCreated( address _liquidityOwner, address _pairAddress, uint256 _amoumntLiquidityTokens ); event MultiTransfer( address indexed _from, uint256 indexed _value, address _to, uint256 _amount ); event MultiERC20Transfer( address indexed _from, uint256 indexed _value, address _to, uint256 _amount, IERC20 _token ); event ContractCreation(address contractAddress); event MultiERC721Transfer( address _from, address _to, uint256 _tokenId, IERC721 _token ); event MultiERC1155Transfer( address _from, address _to, uint256[] _tokenIds, uint256[] _amounts, IERC1155 _token ); constructor( address payable router, address payable facfory, address payable feeAddress ) { _addressRouter = router; _feeAddress = feeAddress; _addressFactory = facfory; } /** * @notice deploy contract using bytecode */ function deployContract(bytes memory contractBytecode) public payable returns (address) { address newContract = _createContract(contractBytecode, msg.value); emit CreatedContract(newContract, msg.sender); return newContract; } function addLiquidity( uint256 feeAmount, address addressToken, uint256 amountToken ) external payable { _payFee(feeAmount); uint256 amountWETH = SafeMath.sub(msg.value, feeAmount); IERC20(addressToken).transferFrom( msg.sender, address(this), amountToken ); IERC20(addressToken).approve(_addressRouter, amountToken); (, , uint256 liquidity) = IUniswapV2Router(_addressRouter) .addLiquidityETH{value: amountWETH}( addressToken, amountToken, amountToken, amountWETH, address(msg.sender), block.timestamp ); address addressWETH = IUniswapV2Router(_addressRouter).WETH(); address addressLiquidity = IUniswapV2Factory(_addressFactory).getPair( addressWETH, addressToken ); emit PairCreated(msg.sender, addressLiquidity, liquidity); } function getLiquidityPairAddress(address _addressToken) external view returns (address) { address addressWETH = IUniswapV2Router(_addressRouter).WETH(); address addressLiquidity = IUniswapV2Factory(_addressFactory).getPair( addressWETH, _addressToken ); return addressLiquidity; } /** * @notice Send to multiple addresses using two arrays which * includes the address and the amount. * @param addresses Array of addresses to send to * @param amounts Array of amounts to send * @param feeAmount Amount of fee to collect */ function multiTransfer( uint256 feeAmount, address[] memory addresses, uint256[] memory amounts ) public payable returns (bool) { _payFee(feeAmount); uint256 toReturn = SafeMath.sub(msg.value, feeAmount); for (uint256 i = 0; i < addresses.length; i++) { _safeTransfer(addresses[i], amounts[i]); toReturn = SafeMath.sub(toReturn, amounts[i]); emit MultiTransfer(msg.sender, msg.value, addresses[i], amounts[i]); } _safeTransfer(msg.sender, toReturn); return true; } /** * @notice Send ERC20 tokens to multiple contracts * using two arrays which includes the address and the amount. * Ther is no fee param as fee is strictly msg.value. * @param token The token to send * @param addresses Array of addresses to send to * @param amounts Array of token amounts to send * Bytecode from deploy transaction is required if constructor has args. */ function multiERC20Transfer( IERC20 token, address[] memory addresses, uint256[] memory amounts ) public payable { _payFee(msg.value); for (uint256 i = 0; i < addresses.length; i++) { _safeERC20Transfer(token, addresses[i], amounts[i]); emit MultiERC20Transfer( msg.sender, msg.value, addresses[i], amounts[i], token ); } } function multiERC721Transfer( IERC721 token, address[] memory addresses, uint256[] memory tokenIds ) public payable { _payFee(msg.value); for (uint256 i = 0; i < addresses.length; i++) { token.safeTransferFrom(msg.sender, addresses[i], tokenIds[i]); emit MultiERC721Transfer( msg.sender, addresses[i], tokenIds[i], token ); } } struct BatchTransfer { address to; uint256[] tokenIds; uint256[] amounts; } function multiERC1155Transfer( IERC1155 token, address[] memory addresses, BatchTransfer[] memory transfers ) public payable { _payFee(msg.value); for (uint256 i = 0; i < addresses.length; i++) { token.safeBatchTransferFrom( msg.sender, addresses[i], transfers[i].tokenIds, transfers[i].amounts, "" ); emit MultiERC1155Transfer( msg.sender, addresses[i], transfers[i].tokenIds, transfers[i].amounts, token ); } } /** * @notice Method to mint nft * Message sender is required to pay fee. * Under the hood method is invoking mint on ERC721 contract * @param tokenAddress - address of NFT contract to mint tokens * @param feeAmount - amount of fee that message sender is required to cover */ function mintNFT(address tokenAddress, uint256 feeAmount) public payable { _payFee(feeAmount); uint256 amountToPayForMint = SafeMath.sub(msg.value, feeAmount); NFTCollectible(tokenAddress).mint{value: amountToPayForMint}( msg.sender ); } /** * @notice Pay service fee and send funds to fee address */ function _payFee(uint256 amount) internal { require(amount > 0, "Insufficient WEI amount"); _safeTransfer(_feeAddress, amount); } /** * @notice method which is used internally to transfer funds safely. */ function _safeTransfer(address to, uint256 amount) internal { require(to != address(0x0)); payable(to).transfer(amount); } /** * @notice method which is used internally to * transfer a quantity of ERC20 tokens safely. */ function _safeERC20Transfer( IERC20 token, address to, uint256 amount ) internal { require(to != address(0x0)); require(token.transferFrom(msg.sender, to, amount)); } /** * @notice Creation of the contract using bytecode. * @dev This uses create opcode to create contract using bytecode. * @param contractBytecode Bytecode from deploy transaction is required if constructor has args. */ function _createContract(bytes memory contractBytecode, uint256 feeAmount) internal returns (address newContract) { // solhint-disable-next-line no-inline-assembly assembly { newContract := create( feeAmount, add(contractBytecode, 0x20), mload(contractBytecode) ) } require(newContract != address(0), "Could not deploy contract"); } } interface IUniswapV2Router { function WETH() external pure returns (address); function addLiquidityETH( address token, uint256 amountTokenDesired, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline ) external payable returns ( uint256 amountToken, uint256 amountETH, uint256 liquidity ); } interface IUniswapV2Factory { function getPair(address tokenA, address tokenB) external view returns (address pair); } interface IERC1155 { function safeBatchTransferFrom( address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) external; } interface IERC721 { function safeTransferFrom( address from, address to, uint256 tokenId ) external; } interface IERC20 { function totalSupply() external view returns (uint256); function balanceOf(address account) external view returns (uint256); function transfer(address recipient, uint256 amount) external returns (bool); function allowance(address owner, address spender) external view returns (uint256); function approve(address spender, uint256 amount) external returns (bool); function transferFrom( address sender, address recipient, uint256 amount ) external returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Counters.sol) pragma solidity ^0.8.0; /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number * of elements in a mapping, issuing ERC721 ids, or counting request ids. * * Include with `using Counters for Counters.Counter;` */ library Counters { struct Counter { // This variable should never be directly accessed by users of the library: interactions must be restricted to // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add // this feature: see https://github.com/ethereum/solidity/issues/4637 uint256 _value; // default: 0 } function current(Counter storage counter) internal view returns (uint256) { return counter._value; } function increment(Counter storage counter) internal { unchecked { counter._value += 1; } } function decrement(Counter storage counter) internal { uint256 value = counter._value; require(value > 0, "Counter: decrement overflow"); unchecked { counter._value = value - 1; } } function reset(Counter storage counter) internal { counter._value = 0; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/math/SafeMath.sol) pragma solidity ^0.8.0; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the substraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
[{"inputs":[{"internalType":"address payable","name":"router","type":"address"},{"internalType":"address payable","name":"facfory","type":"address"},{"internalType":"address payable","name":"feeAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"contractAddress","type":"address"}],"name":"ContractCreation","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"tokenAddress","type":"address"},{"indexed":false,"internalType":"address","name":"tokenOwner","type":"address"}],"name":"CreatedContract","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_from","type":"address"},{"indexed":false,"internalType":"address","name":"_to","type":"address"},{"indexed":false,"internalType":"uint256[]","name":"_tokenIds","type":"uint256[]"},{"indexed":false,"internalType":"uint256[]","name":"_amounts","type":"uint256[]"},{"indexed":false,"internalType":"contract IERC1155","name":"_token","type":"address"}],"name":"MultiERC1155Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_from","type":"address"},{"indexed":true,"internalType":"uint256","name":"_value","type":"uint256"},{"indexed":false,"internalType":"address","name":"_to","type":"address"},{"indexed":false,"internalType":"uint256","name":"_amount","type":"uint256"},{"indexed":false,"internalType":"contract IERC20","name":"_token","type":"address"}],"name":"MultiERC20Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_from","type":"address"},{"indexed":false,"internalType":"address","name":"_to","type":"address"},{"indexed":false,"internalType":"uint256","name":"_tokenId","type":"uint256"},{"indexed":false,"internalType":"contract IERC721","name":"_token","type":"address"}],"name":"MultiERC721Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_from","type":"address"},{"indexed":true,"internalType":"uint256","name":"_value","type":"uint256"},{"indexed":false,"internalType":"address","name":"_to","type":"address"},{"indexed":false,"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"MultiTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_liquidityOwner","type":"address"},{"indexed":false,"internalType":"address","name":"_pairAddress","type":"address"},{"indexed":false,"internalType":"uint256","name":"_amoumntLiquidityTokens","type":"uint256"}],"name":"PairCreated","type":"event"},{"inputs":[{"internalType":"uint256","name":"feeAmount","type":"uint256"},{"internalType":"address","name":"addressToken","type":"address"},{"internalType":"uint256","name":"amountToken","type":"uint256"}],"name":"addLiquidity","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"bytes","name":"contractBytecode","type":"bytes"}],"name":"deployContract","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"_addressToken","type":"address"}],"name":"getLiquidityPairAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"uint256","name":"feeAmount","type":"uint256"}],"name":"mintNFT","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"contract IERC1155","name":"token","type":"address"},{"internalType":"address[]","name":"addresses","type":"address[]"},{"components":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"internalType":"struct CoinService.BatchTransfer[]","name":"transfers","type":"tuple[]"}],"name":"multiERC1155Transfer","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"address[]","name":"addresses","type":"address[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"name":"multiERC20Transfer","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"contract IERC721","name":"token","type":"address"},{"internalType":"address[]","name":"addresses","type":"address[]"},{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"multiERC721Transfer","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"feeAmount","type":"uint256"},{"internalType":"address[]","name":"addresses","type":"address[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"name":"multiTransfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"payable","type":"function"}]
Deployed Bytecode
0x60806040526004361061007b5760003560e01c8063667167901161004e5780636671679014610104578063798133dd146101415780639aa5d46214610171578063e08e1e761461018d5761007b565b80630ecf388c1461008057806335a217281461009c5780633c168eab146100b857806352b0f196146100d4575b600080fd5b61009a600480360381019061009591906114c0565b6101a9565b005b6100b660048036038101906100b19190611435565b6102eb565b005b6100d260048036038101906100cd91906112f4565b6103df565b005b6100ee60048036038101906100e9919061159e565b610467565b6040516100fb9190611a0c565b60405180910390f35b34801561011057600080fd5b5061012b6004803603810190610126919061129a565b61059f565b60405161013891906117c4565b60405180910390f35b61015b60048036038101906101569190611361565b6106ff565b60405161016891906117c4565b60405180910390f35b61018b6004803603810190610186919061154b565b610750565b005b6101a760048036038101906101a291906113aa565b610afe565b005b6101b234610c88565b60005b82518110156102e5578373ffffffffffffffffffffffffffffffffffffffff166342842e0e338584815181106101ee576101ed611d60565b5b602002602001015185858151811061020957610208611d60565b5b60200260200101516040518463ffffffff1660e01b815260040161022f939291906118cf565b600060405180830381600087803b15801561024957600080fd5b505af115801561025d573d6000803e3d6000fd5b505050507feef23399f516834e46adb04548c78224bc8adce298ab0475b2935c3183babec93384838151811061029657610295611d60565b5b60200260200101518484815181106102b1576102b0611d60565b5b6020026020010151876040516102ca9493929190611906565b60405180910390a180806102dd90611ce8565b9150506101b5565b50505050565b6102f434610c88565b60005b82518110156103d95761033f8484838151811061031757610316611d60565b5b602002602001015184848151811061033257610331611d60565b5b6020026020010151610cfa565b343373ffffffffffffffffffffffffffffffffffffffff167ffc01e439ca3c7015e18b8adea39e270034ba32f41fc788a4ff659842f0f37a9385848151811061038b5761038a611d60565b5b60200260200101518585815181106103a6576103a5611d60565b5b6020026020010151886040516103be93929190611974565b60405180910390a380806103d190611ce8565b9150506102f7565b50505050565b6103e881610c88565b60006103f43483610dd1565b90508273ffffffffffffffffffffffffffffffffffffffff16636a62784282336040518363ffffffff1660e01b815260040161043091906117c4565b6000604051808303818588803b15801561044957600080fd5b505af115801561045d573d6000803e3d6000fd5b5050505050505050565b600061047284610c88565b600061047e3486610dd1565b905060005b8451811015610588576104ca8582815181106104a2576104a1611d60565b5b60200260200101518583815181106104bd576104bc611d60565b5b6020026020010151610de7565b6104ee828583815181106104e1576104e0611d60565b5b6020026020010151610dd1565b9150343373ffffffffffffffffffffffffffffffffffffffff167f319e0008dcdeba1f31169497fb0f35d31b2b2f481c714d1f50640e86ac6c3bb087848151811061053c5761053b611d60565b5b602002602001015187858151811061055757610556611d60565b5b602002602001015160405161056d92919061194b565b60405180910390a3808061058090611ce8565b915050610483565b506105933382610de7565b60019150509392505050565b600080600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b15801561060a57600080fd5b505afa15801561061e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061064291906112c7565b90506000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663e6a4390583866040518363ffffffff1660e01b81526004016106a39291906117df565b60206040518083038186803b1580156106bb57600080fd5b505afa1580156106cf573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106f391906112c7565b90508092505050919050565b60008061070c8334610e6c565b90507faf218eb9d453c327711e4c1e9521430f9b06c0250253f7c6c2b5668146450fbc813360405161073f9291906117df565b60405180910390a180915050919050565b61075983610c88565b60006107653485610dd1565b90508273ffffffffffffffffffffffffffffffffffffffff166323b872dd3330856040518463ffffffff1660e01b81526004016107a4939291906118cf565b602060405180830381600087803b1580156107be57600080fd5b505af11580156107d2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107f69190611334565b508273ffffffffffffffffffffffffffffffffffffffff1663095ea7b3600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16846040518363ffffffff1660e01b815260040161085492919061194b565b602060405180830381600087803b15801561086e57600080fd5b505af1158015610882573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108a69190611334565b506000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663f305d719838686878733426040518863ffffffff1660e01b815260040161090f969594939291906119ab565b6060604051808303818588803b15801561092857600080fd5b505af115801561093c573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906109619190611629565b925050506000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b1580156109cf57600080fd5b505afa1580156109e3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a0791906112c7565b90506000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663e6a4390583886040518363ffffffff1660e01b8152600401610a689291906117df565b60206040518083038186803b158015610a8057600080fd5b505afa158015610a94573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ab891906112c7565b90507fc1db9ba7c4b7ce660fe8d17bbcf07167549381df2abd694a970bd1402d86d313338285604051610aed939291906118cf565b60405180910390a150505050505050565b610b0734610c88565b60005b8251811015610c82578373ffffffffffffffffffffffffffffffffffffffff16632eb2c2d633858481518110610b4357610b42611d60565b5b6020026020010151858581518110610b5e57610b5d611d60565b5b602002602001015160200151868681518110610b7d57610b7c611d60565b5b6020026020010151604001516040518563ffffffff1660e01b8152600401610ba89493929190611869565b600060405180830381600087803b158015610bc257600080fd5b505af1158015610bd6573d6000803e3d6000fd5b505050507fe0ee65f13b6c025dd597e466a6817683c0e83961d44793c455781cc7d9b5d62433848381518110610c0f57610c0e611d60565b5b6020026020010151848481518110610c2a57610c29611d60565b5b602002602001015160200151858581518110610c4957610c48611d60565b5b60200260200101516040015188604051610c67959493929190611808565b60405180910390a18080610c7a90611ce8565b915050610b0a565b50505050565b60008111610ccb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cc290611a27565b60405180910390fd5b610cf7600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1682610de7565b50565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610d3457600080fd5b8273ffffffffffffffffffffffffffffffffffffffff166323b872dd3384846040518463ffffffff1660e01b8152600401610d71939291906118cf565b602060405180830381600087803b158015610d8b57600080fd5b505af1158015610d9f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dc39190611334565b610dcc57600080fd5b505050565b60008183610ddf9190611b9c565b905092915050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610e2157600080fd5b8173ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015610e67573d6000803e3d6000fd5b505050565b600082516020840183f09050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610ee8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610edf90611a47565b60405180910390fd5b92915050565b6000610f01610efc84611a8c565b611a67565b90508083825260208201905082856020860282011115610f2457610f23611dcd565b5b60005b85811015610f545781610f3a888261109e565b845260208401935060208301925050600181019050610f27565b5050509392505050565b6000610f71610f6c84611ab8565b611a67565b90508083825260208201905082856020860282011115610f9457610f93611dcd565b5b60005b85811015610fe257813567ffffffffffffffff811115610fba57610fb9611dbe565b5b808601610fc789826111d4565b85526020850194506020840193505050600181019050610f97565b5050509392505050565b6000610fff610ffa84611ae4565b611a67565b9050808382526020820190508285602086028201111561102257611021611dcd565b5b60005b8581101561105257816110388882611270565b845260208401935060208301925050600181019050611025565b5050509392505050565b600061106f61106a84611b10565b611a67565b90508281526020810184848401111561108b5761108a611dd2565b5b611096848285611ca8565b509392505050565b6000813590506110ad81611e47565b92915050565b6000815190506110c281611e47565b92915050565b600082601f8301126110dd576110dc611dbe565b5b81356110ed848260208601610eee565b91505092915050565b600082601f83011261110b5761110a611dbe565b5b813561111b848260208601610f5e565b91505092915050565b600082601f83011261113957611138611dbe565b5b8135611149848260208601610fec565b91505092915050565b60008151905061116181611e5e565b92915050565b600082601f83011261117c5761117b611dbe565b5b813561118c84826020860161105c565b91505092915050565b6000813590506111a481611e75565b92915050565b6000813590506111b981611e8c565b92915050565b6000813590506111ce81611ea3565b92915050565b6000606082840312156111ea576111e9611dc3565b5b6111f46060611a67565b905060006112048482850161109e565b600083015250602082013567ffffffffffffffff81111561122857611227611dc8565b5b61123484828501611124565b602083015250604082013567ffffffffffffffff81111561125857611257611dc8565b5b61126484828501611124565b60408301525092915050565b60008135905061127f81611eba565b92915050565b60008151905061129481611eba565b92915050565b6000602082840312156112b0576112af611ddc565b5b60006112be8482850161109e565b91505092915050565b6000602082840312156112dd576112dc611ddc565b5b60006112eb848285016110b3565b91505092915050565b6000806040838503121561130b5761130a611ddc565b5b60006113198582860161109e565b925050602061132a85828601611270565b9150509250929050565b60006020828403121561134a57611349611ddc565b5b600061135884828501611152565b91505092915050565b60006020828403121561137757611376611ddc565b5b600082013567ffffffffffffffff81111561139557611394611dd7565b5b6113a184828501611167565b91505092915050565b6000806000606084860312156113c3576113c2611ddc565b5b60006113d186828701611195565b935050602084013567ffffffffffffffff8111156113f2576113f1611dd7565b5b6113fe868287016110c8565b925050604084013567ffffffffffffffff81111561141f5761141e611dd7565b5b61142b868287016110f6565b9150509250925092565b60008060006060848603121561144e5761144d611ddc565b5b600061145c868287016111aa565b935050602084013567ffffffffffffffff81111561147d5761147c611dd7565b5b611489868287016110c8565b925050604084013567ffffffffffffffff8111156114aa576114a9611dd7565b5b6114b686828701611124565b9150509250925092565b6000806000606084860312156114d9576114d8611ddc565b5b60006114e7868287016111bf565b935050602084013567ffffffffffffffff81111561150857611507611dd7565b5b611514868287016110c8565b925050604084013567ffffffffffffffff81111561153557611534611dd7565b5b61154186828701611124565b9150509250925092565b60008060006060848603121561156457611563611ddc565b5b600061157286828701611270565b93505060206115838682870161109e565b925050604061159486828701611270565b9150509250925092565b6000806000606084860312156115b7576115b6611ddc565b5b60006115c586828701611270565b935050602084013567ffffffffffffffff8111156115e6576115e5611dd7565b5b6115f2868287016110c8565b925050604084013567ffffffffffffffff81111561161357611612611dd7565b5b61161f86828701611124565b9150509250925092565b60008060006060848603121561164257611641611ddc565b5b600061165086828701611285565b935050602061166186828701611285565b925050604061167286828701611285565b9150509250925092565b600061168883836117a6565b60208301905092915050565b61169d81611bd0565b82525050565b60006116ae82611b51565b6116b88185611b69565b93506116c383611b41565b8060005b838110156116f45781516116db888261167c565b97506116e683611b5c565b9250506001810190506116c7565b5085935050505092915050565b61170a81611be2565b82525050565b61171981611c4e565b82525050565b61172881611c60565b82525050565b61173781611c72565b82525050565b600061174a601783611b8b565b915061175582611df2565b602082019050919050565b600061176d601983611b8b565b915061177882611e1b565b602082019050919050565b6000611790600083611b7a565b915061179b82611e44565b600082019050919050565b6117af81611c44565b82525050565b6117be81611c44565b82525050565b60006020820190506117d96000830184611694565b92915050565b60006040820190506117f46000830185611694565b6118016020830184611694565b9392505050565b600060a08201905061181d6000830188611694565b61182a6020830187611694565b818103604083015261183c81866116a3565b9050818103606083015261185081856116a3565b905061185f6080830184611710565b9695505050505050565b600060a08201905061187e6000830187611694565b61188b6020830186611694565b818103604083015261189d81856116a3565b905081810360608301526118b181846116a3565b905081810360808301526118c481611783565b905095945050505050565b60006060820190506118e46000830186611694565b6118f16020830185611694565b6118fe60408301846117b5565b949350505050565b600060808201905061191b6000830187611694565b6119286020830186611694565b61193560408301856117b5565b611942606083018461172e565b95945050505050565b60006040820190506119606000830185611694565b61196d60208301846117b5565b9392505050565b60006060820190506119896000830186611694565b61199660208301856117b5565b6119a3604083018461171f565b949350505050565b600060c0820190506119c06000830189611694565b6119cd60208301886117b5565b6119da60408301876117b5565b6119e760608301866117b5565b6119f46080830185611694565b611a0160a08301846117b5565b979650505050505050565b6000602082019050611a216000830184611701565b92915050565b60006020820190508181036000830152611a408161173d565b9050919050565b60006020820190508181036000830152611a6081611760565b9050919050565b6000611a71611a82565b9050611a7d8282611cb7565b919050565b6000604051905090565b600067ffffffffffffffff821115611aa757611aa6611d8f565b5b602082029050602081019050919050565b600067ffffffffffffffff821115611ad357611ad2611d8f565b5b602082029050602081019050919050565b600067ffffffffffffffff821115611aff57611afe611d8f565b5b602082029050602081019050919050565b600067ffffffffffffffff821115611b2b57611b2a611d8f565b5b611b3482611de1565b9050602081019050919050565b6000819050602082019050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b6000611ba782611c44565b9150611bb283611c44565b925082821015611bc557611bc4611d31565b5b828203905092915050565b6000611bdb82611c24565b9050919050565b60008115159050919050565b6000611bf982611bd0565b9050919050565b6000611c0b82611bd0565b9050919050565b6000611c1d82611bd0565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b6000611c5982611c84565b9050919050565b6000611c6b82611c84565b9050919050565b6000611c7d82611c84565b9050919050565b6000611c8f82611c96565b9050919050565b6000611ca182611c24565b9050919050565b82818337600083830152505050565b611cc082611de1565b810181811067ffffffffffffffff82111715611cdf57611cde611d8f565b5b80604052505050565b6000611cf382611c44565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415611d2657611d25611d31565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f496e73756666696369656e742057454920616d6f756e74000000000000000000600082015250565b7f436f756c64206e6f74206465706c6f7920636f6e747261637400000000000000600082015250565b50565b611e5081611bd0565b8114611e5b57600080fd5b50565b611e6781611be2565b8114611e7257600080fd5b50565b611e7e81611bee565b8114611e8957600080fd5b50565b611e9581611c00565b8114611ea057600080fd5b50565b611eac81611c12565b8114611eb757600080fd5b50565b611ec381611c44565b8114611ece57600080fd5b5056fea26469706673582212207e279ebf52631e989ce37947efbc79c566191ac124df9d7aecd625e89ab9c22164736f6c63430008070033
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.