More Info
Private Name Tags
ContractCreator
Latest 25 internal transactions (View All)
Advanced mode:
Parent Transaction Hash | Block | From | To | |||
---|---|---|---|---|---|---|
18599929 | 349 days ago | 0.0065 ETH | ||||
18569326 | 354 days ago | 0.002495 ETH | ||||
17697094 | 476 days ago | 0.0105 ETH | ||||
17393506 | 518 days ago | 0.014 ETH | ||||
17197742 | 546 days ago | 0.015 ETH | ||||
17183844 | 548 days ago | 0.057496 ETH | ||||
17183844 | 548 days ago | 0.229984 ETH | ||||
17145249 | 553 days ago | 0.011 ETH | ||||
17127602 | 556 days ago | 0.0075 ETH | ||||
17063426 | 565 days ago | 0.006 ETH | ||||
17048285 | 567 days ago | 0.0045 ETH | ||||
17028428 | 570 days ago | 0.02 ETH | ||||
17028101 | 570 days ago | 0.00944 ETH | ||||
17026484 | 570 days ago | 0.007 ETH | ||||
17025749 | 570 days ago | 0.0313975 ETH | ||||
17023798 | 571 days ago | 0.0075 ETH | ||||
17019778 | 571 days ago | 0.005 ETH | ||||
17013661 | 572 days ago | 0.00825 ETH | ||||
17011143 | 572 days ago | 0.00745 ETH | ||||
17009763 | 573 days ago | 0.0055 ETH | ||||
17009307 | 573 days ago | 0.006 ETH | ||||
17008823 | 573 days ago | 0.0049475 ETH | ||||
17008757 | 573 days ago | 0.00495 ETH | ||||
17005433 | 573 days ago | 0.000395 ETH | ||||
17004799 | 573 days ago | 0.00495 ETH |
Loading...
Loading
Similar Match Source Code This contract matches the deployed Bytecode of the Source Code for Contract 0xdB940Fc3...e3aed2437 The constructor portion of the code might be different and could alter the actual behaviour of the contract
Contract Name:
PaymentDistributor
Compiler Version
v0.8.18+commit.87f61d96
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT // Copyright (c) 2022 Fellowship pragma solidity ^0.8.7; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; /// @title Payment Distributor /// @notice Distributes tokens to payees according to their shares /// @dev While `owner` already has full control, this contract uses `ReentrancyGuard` to prevent any footgun shenanigans /// that could result from calling `setShares` during `withdraw` contract PaymentDistributor is Ownable, ReentrancyGuard { uint256 private shareCount; address[] private payees; mapping(address => PayeeInfo) private payeeInfo; struct PayeeInfo { uint128 index; uint128 shares; } error NoBalance(); error PaymentsNotConfigured(); error OnlyPayee(); error FailedPaying(address payee, bytes data); /// @dev Check that caller is owner or payee modifier onlyPayee() { if (shareCount == 0) revert PaymentsNotConfigured(); if (msg.sender != owner()) { // Get the stored index for the sender uint256 index = payeeInfo[msg.sender].index; // Check that they are actually at that index if (payees[index] != msg.sender) revert OnlyPayee(); } _; } modifier paymentsConfigured() { if (shareCount == 0) revert PaymentsNotConfigured(); _; } receive() external payable {} // PAYEE FUNCTIONS /// @notice Distributes the balance of this contract to the `payees` function withdraw() external onlyPayee nonReentrant { // CHECKS: don't bother with zero transfers uint256 shareSplit = address(this).balance / shareCount; if (shareSplit == 0) revert NoBalance(); // INTERACTIONS bool success; bytes memory data; for (uint256 i = 0; i < payees.length; i++) { address payee = payees[i]; unchecked { (success, data) = payee.call{value: shareSplit * payeeInfo[payee].shares}(""); } if (!success) revert FailedPaying(payee, data); } } /// @notice Distributes tokens held by this contract to the `payees` function withdrawToken(IERC20 token) external onlyPayee nonReentrant { // CHECKS inputs require(address(token).code.length > 0, "Token address must be a contract"); // INTERACTIONS: external call to get token balance, then pass off to _withdrawToken for the transfers _withdrawToken(token, token.balanceOf(address(this))); } /// @notice Distributes a fixed number of tokens held by this contract to the `payees` /// @dev Safety measure for exotic ERC20 contracts that charge a fee in addition to transfer, or other cases where /// the whole balance may not be transferable. function withdrawToken(IERC20 token, uint256 balance) external onlyPayee nonReentrant { // CHECKS inputs require(address(token).code.length > 0, "Token address must be a contract"); // INTERACTIONS: pass off to _withdrawToken for transfers _withdrawToken(token, balance); } // OWNER FUNCTIONS /// @notice Sets `payees_` who receive funds from this contract in accordance with shares in the `shares` array /// @dev `payees_` and `shares` must have the same length and non-zero values function setShares(address[] calldata payees_, uint128[] calldata shares) external onlyOwner nonReentrant { // CHECKS inputs require(payees_.length > 0, "Must set at least one payee"); require(payees_.length < type(uint128).max, "Too many payees"); require(payees_.length == shares.length, "Payees and shares must have the same length"); // CHECKS + EFFECTS: check each payee before setting values shareCount = 0; payees = payees_; unchecked { // Unchecked arithmetic: already checked that the number of payees is less than uint128 max for (uint128 i = 0; i < payees_.length; i++) { address payee = payees_[i]; uint128 payeeShares = shares[i]; require(payee != address(0), "Payees must not be the zero address"); require(payeeShares > 0, "Payees shares must not be zero"); // Unchecked arithmetic: since number of payees is less than uint128 max and share values are uint128, // `shareCount` cannot exceed uint256 max. shareCount += payeeShares; PayeeInfo storage info = payeeInfo[payee]; info.index = i; info.shares = payeeShares; } } } // PRIVATE FUNCTIONS function _withdrawToken(IERC20 token, uint256 balance) private { // CHECKS: don't bother with zero transfers uint256 shareSplit = balance / shareCount; if (shareSplit == 0) revert NoBalance(); // INTERACTIONS for (uint256 i = 0; i < payees.length; i++) { address payee = payees[i]; // Based on token/ERC20/utils/SafeERC20.sol and utils/Address.sol from OpenZeppelin Contracts v4.7.0 (bool success, bytes memory data) = address(token).call( abi.encodeWithSelector(token.transfer.selector, payee, shareSplit * payeeInfo[payee].shares) ); if (!success) { if (data.length > 0) revert FailedPaying(payee, data); revert FailedPaying(payee, "Transfer reverted"); } else if (data.length > 0 && !abi.decode(data, (bool))) { revert FailedPaying(payee, "Transfer failed"); } } } }
// Copyright (c) 2022 Fellowship // // Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated // documentation files (the "Software"), to deal in the Software without restriction, including without limitation the // rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to // permit persons to whom the Software is furnished to do so, subject to the following conditions: // // The above copyright notice and this permission notice (including the next paragraph) shall be included in all copies // or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE // WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR // COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR // OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
// OpenZeppelin Contracts // // Copyright (c) 2016-2023 zOS Global Limited and contributors // // Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated // documentation files (the "Software"), to deal in the Software without restriction, including without limitation the // rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to // permit persons to whom the Software is furnished to do so, subject to the following conditions: // // The above copyright notice and this permission notice shall be included in all copies or substantial portions of the // Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE // WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR // COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR // OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { _nonReentrantBefore(); _; _nonReentrantAfter(); } function _nonReentrantBefore() private { // On the first call to nonReentrant, _status will be _NOT_ENTERED require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; } function _nonReentrantAfter() private { // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } /** * @dev Returns true if the reentrancy guard is currently set to "entered", which indicates there is a * `nonReentrant` function in the call stack. */ function _reentrancyGuardEntered() internal view returns (bool) { return _status == _ENTERED; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `from` to `to` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 amount ) external returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @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 * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"payee","type":"address"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"FailedPaying","type":"error"},{"inputs":[],"name":"NoBalance","type":"error"},{"inputs":[],"name":"OnlyPayee","type":"error"},{"inputs":[],"name":"PaymentsNotConfigured","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"payees_","type":"address[]"},{"internalType":"uint128[]","name":"shares","type":"uint128[]"}],"name":"setShares","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"}],"name":"withdrawToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"uint256","name":"balance","type":"uint256"}],"name":"withdrawToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Deployed Bytecode
0x6080604052600436106100745760003560e01c8063894760691161004e57806389476069146100cc5780638da5cb5b146100ec5780639e281a9814610118578063f2fde38b1461013857600080fd5b8063214b660b146100805780633ccfd60b146100a2578063715018a6146100b757600080fd5b3661007b57005b600080fd5b34801561008c57600080fd5b506100a061009b366004610cef565b610158565b005b3480156100ae57600080fd5b506100a0610402565b3480156100c357600080fd5b506100a06105c6565b3480156100d857600080fd5b506100a06100e7366004610d70565b6105d8565b3480156100f857600080fd5b50600054604080516001600160a01b039092168252519081900360200190f35b34801561012457600080fd5b506100a0610133366004610d94565b610754565b34801561014457600080fd5b506100a0610153366004610d70565b610868565b6101606108de565b610168610938565b826101ba5760405162461bcd60e51b815260206004820152601b60248201527f4d75737420736574206174206c65617374206f6e65207061796565000000000060448201526064015b60405180910390fd5b6001600160801b0383106102025760405162461bcd60e51b815260206004820152600f60248201526e546f6f206d616e792070617965657360881b60448201526064016101b1565b8281146102655760405162461bcd60e51b815260206004820152602b60248201527f50617965657320616e6420736861726573206d7573742068617665207468652060448201526a0e6c2daca40d8cadccee8d60ab1b60648201526084016101b1565b600060025561027660038585610c2b565b5060005b6001600160801b0381168411156103f25760008585836001600160801b03168181106102a8576102a8610dc0565b90506020020160208101906102bd9190610d70565b905060008484846001600160801b03168181106102dc576102dc610dc0565b90506020020160208101906102f19190610dd6565b90506001600160a01b0382166103555760405162461bcd60e51b815260206004820152602360248201527f506179656573206d757374206e6f7420626520746865207a65726f206164647260448201526265737360e81b60648201526084016101b1565b6000816001600160801b0316116103ae5760405162461bcd60e51b815260206004820152601e60248201527f50617965657320736861726573206d757374206e6f74206265207a65726f000060448201526064016101b1565b600280546001600160801b039283169081019091556001600160a01b039092166000908152600460205260409020600160801b90920290831617905560010161027a565b506103fc60018055565b50505050565b600254600003610425576040516317a69a0d60e31b815260040160405180910390fd5b6000546001600160a01b0316331461049d5733600081815260046020526040902054600380546001600160801b0390921692918390811061046857610468610dc0565b6000918252602090912001546001600160a01b03161461049b57604051630f9f8bb160e21b815260040160405180910390fd5b505b6104a5610938565b6000600254476104b59190610e15565b9050806000036104d857604051636165515360e11b815260040160405180910390fd5b6000606060005b6003548110156105b7576000600382815481106104fe576104fe610dc0565b6000918252602080832091909101546001600160a01b0316808352600490915260408083205490519193508392600160801b9091046001600160801b03168802919081818185875af1925050503d8060008114610577576040519150601f19603f3d011682016040523d82523d6000602084013e61057c565b606091505b509094509250836105a457808360405163cd797a4160e01b81526004016101b1929190610e5b565b50806105af81610e9d565b9150506104df565b505050506105c460018055565b565b6105ce6108de565b6105c46000610991565b6002546000036105fb576040516317a69a0d60e31b815260040160405180910390fd5b6000546001600160a01b031633146106735733600081815260046020526040902054600380546001600160801b0390921692918390811061063e5761063e610dc0565b6000918252602090912001546001600160a01b03161461067157604051630f9f8bb160e21b815260040160405180910390fd5b505b61067b610938565b6000816001600160a01b03163b116106d55760405162461bcd60e51b815260206004820181905260248201527f546f6b656e2061646472657373206d757374206265206120636f6e747261637460448201526064016101b1565b6040516370a0823160e01b81523060048201526107489082906001600160a01b038216906370a0823190602401602060405180830381865afa15801561071f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107439190610eb6565b6109e1565b61075160018055565b50565b600254600003610777576040516317a69a0d60e31b815260040160405180910390fd5b6000546001600160a01b031633146107ef5733600081815260046020526040902054600380546001600160801b039092169291839081106107ba576107ba610dc0565b6000918252602090912001546001600160a01b0316146107ed57604051630f9f8bb160e21b815260040160405180910390fd5b505b6107f7610938565b6000826001600160a01b03163b116108515760405162461bcd60e51b815260206004820181905260248201527f546f6b656e2061646472657373206d757374206265206120636f6e747261637460448201526064016101b1565b61085b82826109e1565b61086460018055565b5050565b6108706108de565b6001600160a01b0381166108d55760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016101b1565b61075181610991565b6000546001600160a01b031633146105c45760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016101b1565b60026001540361098a5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016101b1565b6002600155565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000600254826109f19190610e15565b905080600003610a1457604051636165515360e11b815260040160405180910390fd5b60005b6003548110156103fc57600060038281548110610a3657610a36610dc0565b60009182526020808320909101546001600160a01b039081168084526004909252604083205491935082919088169063a9059cbb60e01b908590610a8b906001600160801b03600160801b9091041689610ecf565b6040516001600160a01b039092166024830152604482015260640160408051601f198184030181529181526020820180516001600160e01b03166001600160e01b0319909416939093179092529051610ae49190610eec565b6000604051808303816000865af19150503d8060008114610b21576040519150601f19603f3d011682016040523d82523d6000602084013e610b26565b606091505b509150915081610ba257805115610b5457828160405163cd797a4160e01b81526004016101b1929190610e5b565b6040805163cd797a4160e01b81526001600160a01b038516600482015260248101919091526011604482015270151c985b9cd9995c881c995d995c9d1959607a1b60648201526084016101b1565b60008151118015610bc4575080806020019051810190610bc29190610f08565b155b15610c15576040805163cd797a4160e01b81526001600160a01b03851660048201526024810191909152600f60448201526e151c985b9cd9995c8819985a5b1959608a1b60648201526084016101b1565b5050508080610c2390610e9d565b915050610a17565b828054828255906000526020600020908101928215610c7e579160200282015b82811115610c7e5781546001600160a01b0319166001600160a01b03843516178255602090920191600190910190610c4b565b50610c8a929150610c8e565b5090565b5b80821115610c8a5760008155600101610c8f565b60008083601f840112610cb557600080fd5b50813567ffffffffffffffff811115610ccd57600080fd5b6020830191508360208260051b8501011115610ce857600080fd5b9250929050565b60008060008060408587031215610d0557600080fd5b843567ffffffffffffffff80821115610d1d57600080fd5b610d2988838901610ca3565b90965094506020870135915080821115610d4257600080fd5b50610d4f87828801610ca3565b95989497509550505050565b6001600160a01b038116811461075157600080fd5b600060208284031215610d8257600080fd5b8135610d8d81610d5b565b9392505050565b60008060408385031215610da757600080fd5b8235610db281610d5b565b946020939093013593505050565b634e487b7160e01b600052603260045260246000fd5b600060208284031215610de857600080fd5b81356001600160801b0381168114610d8d57600080fd5b634e487b7160e01b600052601160045260246000fd5b600082610e3257634e487b7160e01b600052601260045260246000fd5b500490565b60005b83811015610e52578181015183820152602001610e3a565b50506000910152565b60018060a01b03831681526040602082015260008251806040840152610e88816060850160208701610e37565b601f01601f1916919091016060019392505050565b600060018201610eaf57610eaf610dff565b5060010190565b600060208284031215610ec857600080fd5b5051919050565b8082028115828204841417610ee657610ee6610dff565b92915050565b60008251610efe818460208701610e37565b9190910192915050565b600060208284031215610f1a57600080fd5b81518015158114610d8d57600080fdfea26469706673582212203d54637ef92befedc706c0d05c49eee95f242a7a2dd908914ab722de3bd6490f64736f6c63430008120033
Deployed Bytecode Sourcemap
550:5222:6:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3458:1311;;;;;;;;;;-1:-1:-1;3458:1311:6;;;;;:::i;:::-;;:::i;:::-;;1619:595;;;;;;;;;;;;;:::i;1831:101:1:-;;;;;;;;;;;;;:::i;2293:360:6:-;;;;;;;;;;-1:-1:-1;2293:360:6;;;;;:::i;:::-;;:::i;1201:85:1:-;;;;;;;;;;-1:-1:-1;1247:7:1;1273:6;1201:85;;;-1:-1:-1;;;;;1273:6:1;;;1728:51:7;;1201:85:1;;;;;1716:2:7;1201:85:1;;;2921:309:6;;;;;;;;;;-1:-1:-1;2921:309:6;;;;;:::i;:::-;;:::i;2081:198:1:-;;;;;;;;;;-1:-1:-1;2081:198:1;;;;;:::i;:::-;;:::i;3458:1311:6:-;1094:13:1;:11;:13::i;:::-;2261:21:2::1;:19;:21::i;:::-;3607:18:6::0;3599:58:::2;;;::::0;-1:-1:-1;;;3599:58:6;;2594:2:7;3599:58:6::2;::::0;::::2;2576:21:7::0;2633:2;2613:18;;;2606:30;2672:29;2652:18;;;2645:57;2719:18;;3599:58:6::2;;;;;;;;;-1:-1:-1::0;;;;;3675:34:6;::::2;3667:62;;;::::0;-1:-1:-1;;;3667:62:6;;2950:2:7;3667:62:6::2;::::0;::::2;2932:21:7::0;2989:2;2969:18;;;2962:30;-1:-1:-1;;;3008:18:7;;;3001:45;3063:18;;3667:62:6::2;2748:339:7::0;3667:62:6::2;3747:31:::0;;::::2;3739:87;;;::::0;-1:-1:-1;;;3739:87:6;;3294:2:7;3739:87:6::2;::::0;::::2;3276:21:7::0;3333:2;3313:18;;;3306:30;3372:34;3352:18;;;3345:62;-1:-1:-1;;;3423:18:7;;;3416:41;3474:19;;3739:87:6::2;3092:407:7::0;3739:87:6::2;3918:1;3905:10;:14:::0;3929:16:::2;:6;3938:7:::0;;3929:16:::2;:::i;:::-;;4088:9;4083:670;-1:-1:-1::0;;;;;4103:18:6;::::2;::::0;-1:-1:-1;4083:670:6::2;;;4146:13;4162:7;;4170:1;-1:-1:-1::0;;;;;4162:10:6::2;;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;4146:26;;4190:19;4212:6;;4219:1;-1:-1:-1::0;;;;;4212:9:6::2;;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;4190:31:::0;-1:-1:-1;;;;;;4247:19:6;::::2;4239:67;;;::::0;-1:-1:-1;;;4239:67:6;;4144:2:7;4239:67:6::2;::::0;::::2;4126:21:7::0;4183:2;4163:18;;;4156:30;4222:34;4202:18;;;4195:62;-1:-1:-1;;;4273:18:7;;;4266:33;4316:19;;4239:67:6::2;3942:399:7::0;4239:67:6::2;4346:1;4332:11;-1:-1:-1::0;;;;;4332:15:6::2;;4324:58;;;::::0;-1:-1:-1;;;4324:58:6;;4548:2:7;4324:58:6::2;::::0;::::2;4530:21:7::0;4587:2;4567:18;;;4560:30;4626:32;4606:18;;;4599:60;4676:18;;4324:58:6::2;4346:354:7::0;4324:58:6::2;4579:10;:25:::0;;-1:-1:-1;;;;;4579:25:6;;::::2;::::0;;::::2;::::0;;;-1:-1:-1;;;;;4647:16:6;;::::2;4579:10;4647:16:::0;;;:9:::2;:16;::::0;;;;-1:-1:-1;;;4713:25:6;;::::2;4681:14:::0;;::::2;4713:25;::::0;;-1:-1:-1;4123:3:6::2;4083:670;;;;2303:20:2::1;1716:1:::0;2809:22;;2629:209;2303:20:::1;3458:1311:6::0;;;;:::o;1619:595::-;1022:10;;1036:1;1022:15;1018:51;;1046:23;;-1:-1:-1;;;1046:23:6;;;;;;;;;;;1018:51;1247:7:1;1273:6;-1:-1:-1;;;;;1273:6:1;1083:10:6;:21;1079:269;;1197:10;1171:13;1187:21;;;:9;:21;;;;;:27;1290:6;:13;;-1:-1:-1;;;;;1187:27:6;;;;1197:10;1187:27;;1290:13;;;;;;:::i;:::-;;;;;;;;;;;-1:-1:-1;;;;;1290:13:6;:27;1286:51;;1326:11;;-1:-1:-1;;;1326:11:6;;;;;;;;;;;1286:51;1106:242;1079:269;2261:21:2::1;:19;:21::i;:::-;1733:18:6::2;1778:10;;1754:21;:34;;;;:::i;:::-;1733:55;;1802:10;1816:1;1802:15:::0;1798:39:::2;;1826:11;;-1:-1:-1::0;;;1826:11:6::2;;;;;;;;;;;1798:39;1872:12;1894:17;1926:9;1921:287;1945:6;:13:::0;1941:17;::::2;1921:287;;;1979:13;1995:6;2002:1;1995:9;;;;;;;;:::i;:::-;;::::0;;;::::2;::::0;;;;;;::::2;::::0;-1:-1:-1;;;;;1995:9:6::2;2095:16:::0;;;:9:::2;:16:::0;;;;;;;:23;2064:59;;1995:9;;-1:-1:-1;1995:9:6;;-1:-1:-1;;;2095:23:6;;::::2;-1:-1:-1::0;;;;;2095:23:6::2;2082:36:::0;::::2;::::0;2064:59;;1995:9;2064:59;2082:36;1995:9;2064:59:::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1::0;2046:77:6;;-1:-1:-1;2046:77:6;-1:-1:-1;2046:77:6;2151:46:::2;;2185:5;2192:4;2172:25;;-1:-1:-1::0;;;2172:25:6::2;;;;;;;;;:::i;2151:46::-;-1:-1:-1::0;1960:3:6;::::2;::::0;::::2;:::i;:::-;;;;1921:287;;;;1671:543;;;2303:20:2::1;1716:1:::0;2809:22;;2629:209;2303:20:::1;1619:595:6:o:0;1831:101:1:-;1094:13;:11;:13::i;:::-;1895:30:::1;1922:1;1895:18;:30::i;2293:360:6:-:0;1022:10;;1036:1;1022:15;1018:51;;1046:23;;-1:-1:-1;;;1046:23:6;;;;;;;;;;;1018:51;1247:7:1;1273:6;-1:-1:-1;;;;;1273:6:1;1083:10:6;:21;1079:269;;1197:10;1171:13;1187:21;;;:9;:21;;;;;:27;1290:6;:13;;-1:-1:-1;;;;;1187:27:6;;;;1197:10;1187:27;;1290:13;;;;;;:::i;:::-;;;;;;;;;;;-1:-1:-1;;;;;1290:13:6;:27;1286:51;;1326:11;;-1:-1:-1;;;1326:11:6;;;;;;;;;;;1286:51;1106:242;1079:269;2261:21:2::1;:19;:21::i;:::-;2434:1:6::2;2413:5;-1:-1:-1::0;;;;;2405:26:6::2;;:30;2397:75;;;::::0;-1:-1:-1;;;2397:75:6;;6362:2:7;2397:75:6::2;::::0;::::2;6344:21:7::0;;;6381:18;;;6374:30;6440:34;6420:18;;;6413:62;6492:18;;2397:75:6::2;6160:356:7::0;2397:75:6::2;2615:30;::::0;-1:-1:-1;;;2615:30:6;;2639:4:::2;2615:30;::::0;::::2;1728:51:7::0;2593:53:6::2;::::0;2608:5;;-1:-1:-1;;;;;2615:15:6;::::2;::::0;::::2;::::0;1701:18:7;;2615:30:6::2;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;2593:14;:53::i;:::-;2303:20:2::1;1716:1:::0;2809:22;;2629:209;2303:20:::1;2293:360:6::0;:::o;2921:309::-;1022:10;;1036:1;1022:15;1018:51;;1046:23;;-1:-1:-1;;;1046:23:6;;;;;;;;;;;1018:51;1247:7:1;1273:6;-1:-1:-1;;;;;1273:6:1;1083:10:6;:21;1079:269;;1197:10;1171:13;1187:21;;;:9;:21;;;;;:27;1290:6;:13;;-1:-1:-1;;;;;1187:27:6;;;;1197:10;1187:27;;1290:13;;;;;;:::i;:::-;;;;;;;;;;;-1:-1:-1;;;;;1290:13:6;:27;1286:51;;1326:11;;-1:-1:-1;;;1326:11:6;;;;;;;;;;;1286:51;1106:242;1079:269;2261:21:2::1;:19;:21::i;:::-;3079:1:6::2;3058:5;-1:-1:-1::0;;;;;3050:26:6::2;;:30;3042:75;;;::::0;-1:-1:-1;;;3042:75:6;;6362:2:7;3042:75:6::2;::::0;::::2;6344:21:7::0;;;6381:18;;;6374:30;6440:34;6420:18;;;6413:62;6492:18;;3042:75:6::2;6160:356:7::0;3042:75:6::2;3193:30;3208:5;3215:7;3193:14;:30::i;:::-;2303:20:2::1;1716:1:::0;2809:22;;2629:209;2303:20:::1;2921:309:6::0;;:::o;2081:198:1:-;1094:13;:11;:13::i;:::-;-1:-1:-1;;;;;2169:22:1;::::1;2161:73;;;::::0;-1:-1:-1;;;2161:73:1;;6912:2:7;2161:73:1::1;::::0;::::1;6894:21:7::0;6951:2;6931:18;;;6924:30;6990:34;6970:18;;;6963:62;-1:-1:-1;;;7041:18:7;;;7034:36;7087:19;;2161:73:1::1;6710:402:7::0;2161:73:1::1;2244:28;2263:8;2244:18;:28::i;1359:130::-:0;1247:7;1273:6;-1:-1:-1;;;;;1273:6:1;719:10:4;1422:23:1;1414:68;;;;-1:-1:-1;;;1414:68:1;;7319:2:7;1414:68:1;;;7301:21:7;;;7338:18;;;7331:30;7397:34;7377:18;;;7370:62;7449:18;;1414:68:1;7117:356:7;2336:287:2;1759:1;2468:7;;:19;2460:63;;;;-1:-1:-1;;;2460:63:2;;7680:2:7;2460:63:2;;;7662:21:7;7719:2;7699:18;;;7692:30;7758:33;7738:18;;;7731:61;7809:18;;2460:63:2;7478:355:7;2460:63:2;1759:1;2598:7;:18;2336:287::o;2433:187:1:-;2506:16;2525:6;;-1:-1:-1;;;;;2541:17:1;;;-1:-1:-1;;;;;;2541:17:1;;;;;;2573:40;;2525:6;;;;;;;2573:40;;2506:16;2573:40;2496:124;2433:187;:::o;4801:969:6:-;4926:18;4957:10;;4947:7;:20;;;;:::i;:::-;4926:41;;4981:10;4995:1;4981:15;4977:39;;5005:11;;-1:-1:-1;;;5005:11:6;;;;;;;;;;;4977:39;5056:9;5051:713;5075:6;:13;5071:17;;5051:713;;;5109:13;5125:6;5132:1;5125:9;;;;;;;;:::i;:::-;;;;;;;;;;;;;-1:-1:-1;;;;;5125:9:6;;;5403:16;;;:9;:16;;;;;;:23;5125:9;;-1:-1:-1;5125:9:6;;5298:19;;;;-1:-1:-1;;;5358:23:6;5125:9;;5390:36;;-1:-1:-1;;;;;;;;5403:23:6;;;;5390:10;:36;:::i;:::-;5335:92;;-1:-1:-1;;;;;8203:32:7;;;5335:92:6;;;8185:51:7;8252:18;;;8245:34;8158:18;;5335:92:6;;;-1:-1:-1;;5335:92:6;;;;;;;;;;;;;;-1:-1:-1;;;;;5335:92:6;-1:-1:-1;;;;;;5335:92:6;;;;;;;;;;5298:143;;;;5335:92;5298:143;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5262:179;;;;5460:7;5455:299;;5491:11;;:15;5487:53;;5528:5;5535:4;5515:25;;-1:-1:-1;;;5515:25:6;;;;;;;;;:::i;5487:53::-;5565:40;;;-1:-1:-1;;;5565:40:6;;-1:-1:-1;;;;;8811:32:7;;5565:40:6;;;8793:51:7;8860:18;;;8853:30;;;;8919:2;8899:18;;;8892:30;-1:-1:-1;;;8938:18:7;;;8931:47;8995:19;;5565:40:6;8582:438:7;5455:299:6;5644:1;5630:4;:11;:15;:44;;;;;5661:4;5650:24;;;;;;;;;;;;:::i;:::-;5649:25;5630:44;5626:128;;;5701:38;;;-1:-1:-1;;;5701:38:6;;-1:-1:-1;;;;;9536:32:7;;5701:38:6;;;9518:51:7;9585:18;;;9578:30;;;;9644:2;9624:18;;;9617:30;-1:-1:-1;;;9663:18:7;;;9656:45;9718:19;;5701:38:6;9307:436:7;5626:128:6;5095:669;;;5090:3;;;;;:::i;:::-;;;;5051:713;;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:367:7;77:8;87:6;141:3;134:4;126:6;122:17;118:27;108:55;;159:1;156;149:12;108:55;-1:-1:-1;182:20:7;;225:18;214:30;;211:50;;;257:1;254;247:12;211:50;294:4;286:6;282:17;270:29;;354:3;347:4;337:6;334:1;330:14;322:6;318:27;314:38;311:47;308:67;;;371:1;368;361:12;308:67;14:367;;;;;:::o;386:773::-;508:6;516;524;532;585:2;573:9;564:7;560:23;556:32;553:52;;;601:1;598;591:12;553:52;641:9;628:23;670:18;711:2;703:6;700:14;697:34;;;727:1;724;717:12;697:34;766:70;828:7;819:6;808:9;804:22;766:70;:::i;:::-;855:8;;-1:-1:-1;740:96:7;-1:-1:-1;943:2:7;928:18;;915:32;;-1:-1:-1;959:16:7;;;956:36;;;988:1;985;978:12;956:36;;1027:72;1091:7;1080:8;1069:9;1065:24;1027:72;:::i;:::-;386:773;;;;-1:-1:-1;1118:8:7;-1:-1:-1;;;;386:773:7:o;1164:139::-;-1:-1:-1;;;;;1247:31:7;;1237:42;;1227:70;;1293:1;1290;1283:12;1308:269;1381:6;1434:2;1422:9;1413:7;1409:23;1405:32;1402:52;;;1450:1;1447;1440:12;1402:52;1489:9;1476:23;1508:39;1541:5;1508:39;:::i;:::-;1566:5;1308:269;-1:-1:-1;;;1308:269:7:o;1790:337::-;1872:6;1880;1933:2;1921:9;1912:7;1908:23;1904:32;1901:52;;;1949:1;1946;1939:12;1901:52;1988:9;1975:23;2007:39;2040:5;2007:39;:::i;:::-;2065:5;2117:2;2102:18;;;;2089:32;;-1:-1:-1;;;1790:337:7:o;3504:127::-;3565:10;3560:3;3556:20;3553:1;3546:31;3596:4;3593:1;3586:15;3620:4;3617:1;3610:15;3636:301;3695:6;3748:2;3736:9;3727:7;3723:23;3719:32;3716:52;;;3764:1;3761;3754:12;3716:52;3803:9;3790:23;-1:-1:-1;;;;;3846:5:7;3842:46;3835:5;3832:57;3822:85;;3903:1;3900;3893:12;4705:127;4766:10;4761:3;4757:20;4754:1;4747:31;4797:4;4794:1;4787:15;4821:4;4818:1;4811:15;4837:217;4877:1;4903;4893:132;;4947:10;4942:3;4938:20;4935:1;4928:31;4982:4;4979:1;4972:15;5010:4;5007:1;5000:15;4893:132;-1:-1:-1;5039:9:7;;4837:217::o;5269:250::-;5354:1;5364:113;5378:6;5375:1;5372:13;5364:113;;;5454:11;;;5448:18;5435:11;;;5428:39;5400:2;5393:10;5364:113;;;-1:-1:-1;;5511:1:7;5493:16;;5486:27;5269:250::o;5524:491::-;5728:1;5724;5719:3;5715:11;5711:19;5703:6;5699:32;5688:9;5681:51;5768:2;5763;5752:9;5748:18;5741:30;5662:4;5800:6;5794:13;5843:6;5838:2;5827:9;5823:18;5816:34;5859:79;5931:6;5926:2;5915:9;5911:18;5906:2;5898:6;5894:15;5859:79;:::i;:::-;5999:2;5978:15;-1:-1:-1;;5974:29:7;5959:45;;;;6006:2;5955:54;;5524:491;-1:-1:-1;;;5524:491:7:o;6020:135::-;6059:3;6080:17;;;6077:43;;6100:18;;:::i;:::-;-1:-1:-1;6147:1:7;6136:13;;6020:135::o;6521:184::-;6591:6;6644:2;6632:9;6623:7;6619:23;6615:32;6612:52;;;6660:1;6657;6650:12;6612:52;-1:-1:-1;6683:16:7;;6521:184;-1:-1:-1;6521:184:7:o;7838:168::-;7911:9;;;7942;;7959:15;;;7953:22;;7939:37;7929:71;;7980:18;;:::i;:::-;7838:168;;;;:::o;8290:287::-;8419:3;8457:6;8451:13;8473:66;8532:6;8527:3;8520:4;8512:6;8508:17;8473:66;:::i;:::-;8555:16;;;;;8290:287;-1:-1:-1;;8290:287:7:o;9025:277::-;9092:6;9145:2;9133:9;9124:7;9120:23;9116:32;9113:52;;;9161:1;9158;9151:12;9113:52;9193:9;9187:16;9246:5;9239:13;9232:21;9225:5;9222:32;9212:60;;9268:1;9265;9258:12
Swarm Source
ipfs://3d54637ef92befedc706c0d05c49eee95f242a7a2dd908914ab722de3bd6490f
Loading...
Loading
Loading...
Loading
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.