Feature Tip: Add private address tag to any address under My Name Tag !
More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 4,696 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Purchase IDO | 19385588 | 245 days ago | IN | 0 ETH | 0.00476155 | ||||
Purchase IDO | 19385587 | 245 days ago | IN | 0 ETH | 0.00488861 | ||||
Purchase IDO | 19320484 | 254 days ago | IN | 0 ETH | 0.00312387 | ||||
Purchase IDO | 19320483 | 254 days ago | IN | 0 ETH | 0.00314397 | ||||
Purchase IDO | 19320483 | 254 days ago | IN | 0 ETH | 0.00817447 | ||||
Purchase IDO | 19320482 | 254 days ago | IN | 0 ETH | 0.00759045 | ||||
Purchase IDO | 19320482 | 254 days ago | IN | 0 ETH | 0.00755221 | ||||
Purchase IDO | 19320482 | 254 days ago | IN | 0 ETH | 0.00759255 | ||||
Purchase IDO | 19320482 | 254 days ago | IN | 0 ETH | 0.00782011 | ||||
Purchase IDO | 19320481 | 254 days ago | IN | 0 ETH | 0.0079349 | ||||
Purchase IDO | 19320480 | 254 days ago | IN | 0 ETH | 0.00837967 | ||||
Purchase IDO | 19320479 | 254 days ago | IN | 0 ETH | 0.00820465 | ||||
Purchase IDO | 19320478 | 254 days ago | IN | 0 ETH | 0.00773941 | ||||
Purchase IDO | 19320478 | 254 days ago | IN | 0 ETH | 0.00774193 | ||||
Purchase IDO | 19320478 | 254 days ago | IN | 0 ETH | 0.00798874 | ||||
Purchase IDO | 19320477 | 254 days ago | IN | 0 ETH | 0.00801877 | ||||
Purchase IDO | 19320477 | 254 days ago | IN | 0 ETH | 0.00801837 | ||||
Purchase IDO | 19320477 | 254 days ago | IN | 0 ETH | 0.00806119 | ||||
Purchase IDO | 19320477 | 254 days ago | IN | 0 ETH | 0.00838484 | ||||
Purchase IDO | 19320476 | 254 days ago | IN | 0 ETH | 0.00791478 | ||||
Purchase IDO | 19320476 | 254 days ago | IN | 0 ETH | 0.00791528 | ||||
Purchase IDO | 19320474 | 254 days ago | IN | 0 ETH | 0.00826505 | ||||
Purchase IDO | 19320473 | 254 days ago | IN | 0 ETH | 0.00801623 | ||||
Purchase IDO | 19320473 | 254 days ago | IN | 0 ETH | 0.00801895 | ||||
Purchase IDO | 19320472 | 254 days ago | IN | 0 ETH | 0.00844727 |
Advanced mode: Intended for advanced users or developers and will display all Internal Transactions including zero value transfers. Name tag integration is not available in advanced view.
Latest 25 internal transactions (View All)
Advanced mode:
Parent Transaction Hash | Block | From | To | ||||
---|---|---|---|---|---|---|---|
19320483 | 254 days ago | 0 ETH | |||||
19320483 | 254 days ago | 0 ETH | |||||
19320482 | 254 days ago | 0 ETH | |||||
19320482 | 254 days ago | 0 ETH | |||||
19320482 | 254 days ago | 0 ETH | |||||
19320482 | 254 days ago | 0 ETH | |||||
19320482 | 254 days ago | 0 ETH | |||||
19320482 | 254 days ago | 0 ETH | |||||
19320482 | 254 days ago | 0 ETH | |||||
19320482 | 254 days ago | 0 ETH | |||||
19320481 | 254 days ago | 0 ETH | |||||
19320481 | 254 days ago | 0 ETH | |||||
19320480 | 254 days ago | 0 ETH | |||||
19320480 | 254 days ago | 0 ETH | |||||
19320479 | 254 days ago | 0 ETH | |||||
19320479 | 254 days ago | 0 ETH | |||||
19320478 | 254 days ago | 0 ETH | |||||
19320478 | 254 days ago | 0 ETH | |||||
19320478 | 254 days ago | 0 ETH | |||||
19320478 | 254 days ago | 0 ETH | |||||
19320478 | 254 days ago | 0 ETH | |||||
19320478 | 254 days ago | 0 ETH | |||||
19320477 | 254 days ago | 0 ETH | |||||
19320477 | 254 days ago | 0 ETH | |||||
19320477 | 254 days ago | 0 ETH |
Loading...
Loading
Contract Name:
ApeInvestment
Compiler Version
v0.8.21+commit.d9974bed
Optimization Enabled:
Yes with 1 runs
Other Settings:
paris EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
pragma solidity 0.8.21; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol"; import "@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol"; import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; import "@openzeppelin/contracts/security/Pausable.sol"; import "./ReentrancyGuard.sol"; import "hardhat/console.sol"; contract ApeInvestment is Ownable,Pausable,ReentrancyGuard { using SafeERC20 for IERC20; struct Project{ string name; address owner; address token; uint256 price; address[] paymentOptions; uint256 totalAmount2Raise; uint256 ticketCost; uint256 amountInvested; uint256 refundAmount; uint256 participantsCount; bytes32 merkleRoot; } struct ProjectInvestment{ uint256 id; uint256 amount; uint256 maxInvestment; uint8 _paymentOption; } struct userInvestment { uint256 amount; uint8 _paymentOption; } struct projectVesting{ uint256 vestingId; uint256 vestedAmount; uint32 vestingEndTime; uint8[] vestingPercent; } mapping (uint256=>Project) public projects; mapping (uint256=>mapping (address=>userInvestment)) public userInvestments; mapping (uint256=>projectVesting) public projectVestings; mapping (uint256=>mapping (uint256=>mapping (address=>bool))) public userClaimedVesting; // mapping(string=>uint256) public mapping (bytes32=>bool) public isRedeemed; // uint256 [] projectList; uint256 idCounter = 0; uint256 constant WEI = 10**18; address public multiSig; event ProjectRegistered(uint256 id,string name, address owner,uint256 totalAmount2Raise,uint256 ticketCost, address[] paymentOptions); event IDOInvested(address investor,uint256 id,uint256 amount,uint256 maxAmount,uint256 _paymentOption); event MerkleRootSet(uint256 id, address setter, bytes32 merkleRoot); event GenerateToken(uint256 id, uint256 amount,uint256 price, address token, address sender); event VestingScheduleSet(uint256 id,uint256 vestingId,uint32 vestingEnd, uint8 vestingPercent); event IDOClaimed(uint256 id, uint256 vestingid,uint256 amount); event RefundAmountAdded(uint256 id, uint256 refundAmount); constructor(address _multiSig) { multiSig = _multiSig; } // ticketCost and Amount2Raise in 18 Decimals function registerProject(address[] memory _paymentOptions,string calldata name, address owner,uint256 totalAmount2Raise,uint256 ticketCost) external onlyOwner{ require(_paymentOptions[0]!=address(0),"Invalid Option"); Project memory pr = Project(name,owner,address(0),0,_paymentOptions,totalAmount2Raise,ticketCost,0,0,0,bytes32(0)); projects[idCounter] = pr; idCounter++; emit ProjectRegistered(idCounter-1,name,owner,totalAmount2Raise,ticketCost,_paymentOptions); } function setMerkleRoot(uint256 id,bytes32 _merkleRoot) external { address sender = msg.sender; require(sender==owner() || sender==projects[id].owner,"Unauthorized Sender"); require(projects[id].owner!=address(0),"Project Not Initialized"); projects[id].merkleRoot = _merkleRoot; emit MerkleRootSet(id,sender,_merkleRoot); } function purchaseIDO(ProjectInvestment calldata pi,bytes32[] calldata proof) external whenNotPaused nonReentrant{ Project memory project = projects[pi.id]; require(project.merkleRoot!=bytes32(0),"Merkle Root Not Initialized"); require(project.owner!=address(0),"Invalid Project"); require(projects[pi.id].token==address(0),"No TGE"); require(project.amountInvested<project.totalAmount2Raise,"Participation Limit Reached"); require(pi.amount<=pi.maxInvestment && (pi.amount+project.amountInvested)<=project.totalAmount2Raise,"Invalid Amount"); uint256 amountLeft2Invest = project.totalAmount2Raise-project.amountInvested; require(pi.amount>=project.ticketCost || (amountLeft2Invest<project.ticketCost && amountLeft2Invest==pi.amount),"Min Amount Exceeds Amount"); address sender = msg.sender; bytes32 leaf = keccak256(abi.encode(pi.id,sender,pi.maxInvestment,address(this))); require(!isRedeemed[leaf],"Leaf Already redeemed"); bool verified = MerkleProof.verify(proof, projects[pi.id].merkleRoot, leaf); require(verified,"Incorrect Leaf"); isRedeemed[leaf] = true; projects[pi.id].participantsCount +=1; projects[pi.id].amountInvested +=pi.amount; uint256 paymentDecimal = IERC20Metadata(projects[pi.id].paymentOptions[pi._paymentOption]).decimals(); uint256 paymentAmount = (pi.amount * (10** paymentDecimal))/(10**18); userInvestments[pi.id][sender] = userInvestment(paymentAmount,pi._paymentOption); IERC20(projects[pi.id].paymentOptions[pi._paymentOption]).safeTransferFrom(sender,multiSig,paymentAmount); emit IDOInvested(sender,pi.id,paymentAmount,pi.maxInvestment,pi._paymentOption); } function TGE(uint256 id, uint256 amount, address token, uint256 price) external { address sender = msg.sender; require(sender==owner() || sender==projects[id].owner,"Unauthorized Sender"); require(projects[id].token==address(0),"TGE already done"); projects[id].token = token; projects[id].price = price; IERC20(token).safeTransferFrom(sender,address(this),amount); emit GenerateToken(id,amount,price,token,sender); } function setVestingSchedule(uint256 id,uint32 vestingEndTime, uint8 vestingPercent) external { address sender = msg.sender; require(sender==owner() || sender==projects[id].owner,"Unauthorized Sender"); require(projects[id].token!=address(0),"No TGE"); require(vestingPercent<=100 && vestingPercent!=0,"Invalid %"); if(projectVestings[id].vestingEndTime!=0){ require(block.timestamp>projectVestings[id].vestingEndTime,"vesting in progress"); projectVestings[id].vestingId+=1; } projectVestings[id].vestingEndTime = vestingEndTime; projectVestings[id].vestingPercent.push(vestingPercent); emit VestingScheduleSet(id,projectVestings[id].vestingId,vestingEndTime,vestingPercent); } function claimTGE(uint256 id) external { address sender = msg.sender; uint256 vestingId = projectVestings[id].vestingId; require(userInvestments[id][sender].amount!=0,"Cannot Claim"); require(!userClaimedVesting[id][vestingId][sender],"Already Claimed"); require(projectVestings[id].vestingPercent[vestingId]!=0,"No Vesting in progress"); uint256 tokenDecimal = IERC20Metadata(projects[id].token).decimals(); uint256 payDecimal = IERC20Metadata(projects[id].paymentOptions[userInvestments[id][sender]._paymentOption]).decimals(); // uint256 totalclaimAmount1 = (userInvestments[id][sender].amount * (10**tokenDecimal))/(projects[id].price); // uint256 totalclaimAmount = (totalclaimAmount1*10**tokenDecimal)/(10**payDecimal); uint256 totalclaimAmountFinal =((userInvestments[id][sender].amount * (10**18) * (10**tokenDecimal))/(10**payDecimal))/projects[id].price; // uint256 amountClaimable = (projectVestings[id].vestingPercent *totalAmount)/100; uint256 amountClaimable = 0; for(uint256 i=0;i<=vestingId;i++){ // console.log(totalAmount,decimal); if(!userClaimedVesting[id][i][sender]){ amountClaimable += (projectVestings[id].vestingPercent[i] *totalclaimAmountFinal)/100; userClaimedVesting[id][i][sender] = true; } } console.log(amountClaimable); IERC20(projects[id].token).safeTransfer(sender,amountClaimable); emit IDOClaimed(id,vestingId,amountClaimable); } function refund(uint256 id) external { address sender = msg.sender; uint256 vestingId = projectVestings[id].vestingId; require(userInvestments[id][sender].amount!=0 && !userClaimedVesting[id][vestingId][sender],"Cannot Refund"); require(vestingId<=1,"Too late"); uint256 totalAmount = userInvestments[id][sender].amount; console.log("total Amount"); console.log(totalAmount); uint256 refundAmount; if(vestingId==1 && userClaimedVesting[id][0][sender]){ console.log("total Amount + Project"); console.log(projectVestings[id].vestingPercent[0],totalAmount); refundAmount = totalAmount-((projectVestings[id].vestingPercent[0] *totalAmount)/100); } else{ refundAmount = totalAmount; console.log(refundAmount); } console.log(refundAmount,projects[id].refundAmount); require(refundAmount<=projects[id].refundAmount,"Unsuff for Refund"); uint256 payDecimal = IERC20Metadata(projects[id].paymentOptions[userInvestments[id][sender]._paymentOption]).decimals(); uint256 defaultPayDecimal = IERC20Metadata(projects[id].paymentOptions[0]).decimals(); refundAmount = (refundAmount * 10**defaultPayDecimal)/(10**payDecimal); userInvestments[id][sender].amount = 0; console.log(refundAmount); projects[id].refundAmount -= refundAmount; IERC20(projects[id].paymentOptions[0]).safeTransfer(sender,refundAmount); } function depositRefund(uint256 id, uint256 refundAmount) external { address sender = msg.sender; require(sender==owner() || sender==projects[id].owner,"Unauthorized Sender"); require(projects[id].token!=address(0),"No TGE"); IERC20(projects[id].paymentOptions[0]).transferFrom(sender,address(this),refundAmount); projects[id].refundAmount += refundAmount; emit RefundAmountAdded(id,refundAmount); } function pause() external onlyOwner { _pause(); } function unPause() external onlyOwner { _unpause(); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.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. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby disabling 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.7.0) (security/Pausable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which allows children to implement an emergency stop * mechanism that can be triggered by an authorized account. * * This module is used through inheritance. It will make available the * modifiers `whenNotPaused` and `whenPaused`, which can be applied to * the functions of your contract. Note that they will not be pausable by * simply including this module, only once the modifiers are put in place. */ abstract contract Pausable is Context { /** * @dev Emitted when the pause is triggered by `account`. */ event Paused(address account); /** * @dev Emitted when the pause is lifted by `account`. */ event Unpaused(address account); bool private _paused; /** * @dev Initializes the contract in unpaused state. */ constructor() { _paused = false; } /** * @dev Modifier to make a function callable only when the contract is not paused. * * Requirements: * * - The contract must not be paused. */ modifier whenNotPaused() { _requireNotPaused(); _; } /** * @dev Modifier to make a function callable only when the contract is paused. * * Requirements: * * - The contract must be paused. */ modifier whenPaused() { _requirePaused(); _; } /** * @dev Returns true if the contract is paused, and false otherwise. */ function paused() public view virtual returns (bool) { return _paused; } /** * @dev Throws if the contract is paused. */ function _requireNotPaused() internal view virtual { require(!paused(), "Pausable: paused"); } /** * @dev Throws if the contract is not paused. */ function _requirePaused() internal view virtual { require(paused(), "Pausable: not paused"); } /** * @dev Triggers stopped state. * * Requirements: * * - The contract must not be paused. */ function _pause() internal virtual whenNotPaused { _paused = true; emit Paused(_msgSender()); } /** * @dev Returns to normal state. * * Requirements: * * - The contract must be paused. */ function _unpause() internal virtual whenPaused { _paused = false; emit Unpaused(_msgSender()); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol) pragma solidity ^0.8.0; import "../IERC20.sol"; /** * @dev Interface for the optional metadata functions from the ERC20 standard. * * _Available since v4.1._ */ interface IERC20Metadata is IERC20 { /** * @dev Returns the name of the token. */ function name() external view returns (string memory); /** * @dev Returns the symbol of the token. */ function symbol() external view returns (string memory); /** * @dev Returns the decimals places of the token. */ function decimals() external view returns (uint8); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/extensions/IERC20Permit.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612]. * * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't * need to send a transaction, and thus is not required to hold Ether at all. */ interface IERC20Permit { /** * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens, * given ``owner``'s signed approval. * * IMPORTANT: The same issues {IERC20-approve} has related to transaction * ordering also apply here. * * Emits an {Approval} event. * * Requirements: * * - `spender` cannot be the zero address. * - `deadline` must be a timestamp in the future. * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner` * over the EIP712-formatted function arguments. * - the signature must use ``owner``'s current nonce (see {nonces}). * * For more information on the signature format, see the * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP * section]. */ function permit( address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) external; /** * @dev Returns the current nonce for `owner`. This value must be * included whenever a signature is generated for {permit}. * * Every successful call to {permit} increases ``owner``'s nonce by one. This * prevents a signature from being used multiple times. */ function nonces(address owner) external view returns (uint256); /** * @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}. */ // solhint-disable-next-line func-name-mixedcase function DOMAIN_SEPARATOR() external view returns (bytes32); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.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 (last updated v4.9.3) (token/ERC20/utils/SafeERC20.sol) pragma solidity ^0.8.0; import "../IERC20.sol"; import "../extensions/IERC20Permit.sol"; import "../../../utils/Address.sol"; /** * @title SafeERC20 * @dev Wrappers around ERC20 operations that throw on failure (when the token * contract returns false). Tokens that return no value (and instead revert or * throw on failure) are also supported, non-reverting calls are assumed to be * successful. * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract, * which allows you to call the safe operations as `token.safeTransfer(...)`, etc. */ library SafeERC20 { using Address for address; /** * @dev Transfer `value` amount of `token` from the calling contract to `to`. If `token` returns no value, * non-reverting calls are assumed to be successful. */ function safeTransfer(IERC20 token, address to, uint256 value) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value)); } /** * @dev Transfer `value` amount of `token` from `from` to `to`, spending the approval given by `from` to the * calling contract. If `token` returns no value, non-reverting calls are assumed to be successful. */ function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value)); } /** * @dev Deprecated. This function has issues similar to the ones found in * {IERC20-approve}, and its usage is discouraged. * * Whenever possible, use {safeIncreaseAllowance} and * {safeDecreaseAllowance} instead. */ function safeApprove(IERC20 token, address spender, uint256 value) internal { // safeApprove should only be called when setting an initial allowance, // or when resetting it to zero. To increase and decrease it, use // 'safeIncreaseAllowance' and 'safeDecreaseAllowance' require( (value == 0) || (token.allowance(address(this), spender) == 0), "SafeERC20: approve from non-zero to non-zero allowance" ); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value)); } /** * @dev Increase the calling contract's allowance toward `spender` by `value`. If `token` returns no value, * non-reverting calls are assumed to be successful. */ function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal { uint256 oldAllowance = token.allowance(address(this), spender); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, oldAllowance + value)); } /** * @dev Decrease the calling contract's allowance toward `spender` by `value`. If `token` returns no value, * non-reverting calls are assumed to be successful. */ function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal { unchecked { uint256 oldAllowance = token.allowance(address(this), spender); require(oldAllowance >= value, "SafeERC20: decreased allowance below zero"); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, oldAllowance - value)); } } /** * @dev Set the calling contract's allowance toward `spender` to `value`. If `token` returns no value, * non-reverting calls are assumed to be successful. Meant to be used with tokens that require the approval * to be set to zero before setting it to a non-zero value, such as USDT. */ function forceApprove(IERC20 token, address spender, uint256 value) internal { bytes memory approvalCall = abi.encodeWithSelector(token.approve.selector, spender, value); if (!_callOptionalReturnBool(token, approvalCall)) { _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, 0)); _callOptionalReturn(token, approvalCall); } } /** * @dev Use a ERC-2612 signature to set the `owner` approval toward `spender` on `token`. * Revert on invalid signature. */ function safePermit( IERC20Permit token, address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) internal { uint256 nonceBefore = token.nonces(owner); token.permit(owner, spender, value, deadline, v, r, s); uint256 nonceAfter = token.nonces(owner); require(nonceAfter == nonceBefore + 1, "SafeERC20: permit did not succeed"); } /** * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement * on the return value: the return value is optional (but if data is returned, it must not be false). * @param token The token targeted by the call. * @param data The call data (encoded using abi.encode or one of its variants). */ function _callOptionalReturn(IERC20 token, bytes memory data) private { // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since // we're implementing it ourselves. We use {Address-functionCall} to perform this call, which verifies that // the target address contains contract code and also asserts for success in the low-level call. bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed"); require(returndata.length == 0 || abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed"); } /** * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement * on the return value: the return value is optional (but if data is returned, it must not be false). * @param token The token targeted by the call. * @param data The call data (encoded using abi.encode or one of its variants). * * This is a variant of {_callOptionalReturn} that silents catches all reverts and returns a bool instead. */ function _callOptionalReturnBool(IERC20 token, bytes memory data) private returns (bool) { // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since // we're implementing it ourselves. We cannot use {Address-functionCall} here since this should return false // and not revert is the subcall reverts. (bool success, bytes memory returndata) = address(token).call(data); return success && (returndata.length == 0 || abi.decode(returndata, (bool))) && Address.isContract(address(token)); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * * Furthermore, `isContract` will also return true if the target contract within * the same transaction is already scheduled for destruction by `SELFDESTRUCT`, * which only has an effect at the end of a transaction. * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://consensys.net/diligence/blog/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.8.0/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract. * * _Available since v4.8._ */ function verifyCallResultFromTarget( address target, bool success, bytes memory returndata, string memory errorMessage ) internal view returns (bytes memory) { if (success) { if (returndata.length == 0) { // only check isContract if the call was successful and the return data is empty // otherwise we already know that it was a contract require(isContract(target), "Address: call to non-contract"); } return returndata; } else { _revert(returndata, errorMessage); } } /** * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason or using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { _revert(returndata, errorMessage); } } function _revert(bytes memory returndata, string memory errorMessage) private pure { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } }
// 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; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.2) (utils/cryptography/MerkleProof.sol) pragma solidity ^0.8.0; /** * @dev These functions deal with verification of Merkle Tree proofs. * * The tree and the proofs can be generated using our * https://github.com/OpenZeppelin/merkle-tree[JavaScript library]. * You will find a quickstart guide in the readme. * * WARNING: You should avoid using leaf values that are 64 bytes long prior to * hashing, or use a hash function other than keccak256 for hashing leaves. * This is because the concatenation of a sorted pair of internal nodes in * the merkle tree could be reinterpreted as a leaf value. * OpenZeppelin's JavaScript library generates merkle trees that are safe * against this attack out of the box. */ library MerkleProof { /** * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree * defined by `root`. For this, a `proof` must be provided, containing * sibling hashes on the branch from the leaf to the root of the tree. Each * pair of leaves and each pair of pre-images are assumed to be sorted. */ function verify(bytes32[] memory proof, bytes32 root, bytes32 leaf) internal pure returns (bool) { return processProof(proof, leaf) == root; } /** * @dev Calldata version of {verify} * * _Available since v4.7._ */ function verifyCalldata(bytes32[] calldata proof, bytes32 root, bytes32 leaf) internal pure returns (bool) { return processProofCalldata(proof, leaf) == root; } /** * @dev Returns the rebuilt hash obtained by traversing a Merkle tree up * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt * hash matches the root of the tree. When processing the proof, the pairs * of leafs & pre-images are assumed to be sorted. * * _Available since v4.4._ */ function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { computedHash = _hashPair(computedHash, proof[i]); } return computedHash; } /** * @dev Calldata version of {processProof} * * _Available since v4.7._ */ function processProofCalldata(bytes32[] calldata proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { computedHash = _hashPair(computedHash, proof[i]); } return computedHash; } /** * @dev Returns true if the `leaves` can be simultaneously proven to be a part of a merkle tree defined by * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}. * * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details. * * _Available since v4.7._ */ function multiProofVerify( bytes32[] memory proof, bool[] memory proofFlags, bytes32 root, bytes32[] memory leaves ) internal pure returns (bool) { return processMultiProof(proof, proofFlags, leaves) == root; } /** * @dev Calldata version of {multiProofVerify} * * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details. * * _Available since v4.7._ */ function multiProofVerifyCalldata( bytes32[] calldata proof, bool[] calldata proofFlags, bytes32 root, bytes32[] memory leaves ) internal pure returns (bool) { return processMultiProofCalldata(proof, proofFlags, leaves) == root; } /** * @dev Returns the root of a tree reconstructed from `leaves` and sibling nodes in `proof`. The reconstruction * proceeds by incrementally reconstructing all inner nodes by combining a leaf/inner node with either another * leaf/inner node or a proof sibling node, depending on whether each `proofFlags` item is true or false * respectively. * * CAUTION: Not all merkle trees admit multiproofs. To use multiproofs, it is sufficient to ensure that: 1) the tree * is complete (but not necessarily perfect), 2) the leaves to be proven are in the opposite order they are in the * tree (i.e., as seen from right to left starting at the deepest layer and continuing at the next layer). * * _Available since v4.7._ */ function processMultiProof( bytes32[] memory proof, bool[] memory proofFlags, bytes32[] memory leaves ) internal pure returns (bytes32 merkleRoot) { // This function rebuilds the root hash by traversing the tree up from the leaves. The root is rebuilt by // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of // the merkle tree. uint256 leavesLen = leaves.length; uint256 proofLen = proof.length; uint256 totalHashes = proofFlags.length; // Check proof validity. require(leavesLen + proofLen - 1 == totalHashes, "MerkleProof: invalid multiproof"); // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop". bytes32[] memory hashes = new bytes32[](totalHashes); uint256 leafPos = 0; uint256 hashPos = 0; uint256 proofPos = 0; // At each step, we compute the next hash using two values: // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we // get the next hash. // - depending on the flag, either another value from the "main queue" (merging branches) or an element from the // `proof` array. for (uint256 i = 0; i < totalHashes; i++) { bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]; bytes32 b = proofFlags[i] ? (leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]) : proof[proofPos++]; hashes[i] = _hashPair(a, b); } if (totalHashes > 0) { require(proofPos == proofLen, "MerkleProof: invalid multiproof"); unchecked { return hashes[totalHashes - 1]; } } else if (leavesLen > 0) { return leaves[0]; } else { return proof[0]; } } /** * @dev Calldata version of {processMultiProof}. * * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details. * * _Available since v4.7._ */ function processMultiProofCalldata( bytes32[] calldata proof, bool[] calldata proofFlags, bytes32[] memory leaves ) internal pure returns (bytes32 merkleRoot) { // This function rebuilds the root hash by traversing the tree up from the leaves. The root is rebuilt by // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of // the merkle tree. uint256 leavesLen = leaves.length; uint256 proofLen = proof.length; uint256 totalHashes = proofFlags.length; // Check proof validity. require(leavesLen + proofLen - 1 == totalHashes, "MerkleProof: invalid multiproof"); // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop". bytes32[] memory hashes = new bytes32[](totalHashes); uint256 leafPos = 0; uint256 hashPos = 0; uint256 proofPos = 0; // At each step, we compute the next hash using two values: // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we // get the next hash. // - depending on the flag, either another value from the "main queue" (merging branches) or an element from the // `proof` array. for (uint256 i = 0; i < totalHashes; i++) { bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]; bytes32 b = proofFlags[i] ? (leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]) : proof[proofPos++]; hashes[i] = _hashPair(a, b); } if (totalHashes > 0) { require(proofPos == proofLen, "MerkleProof: invalid multiproof"); unchecked { return hashes[totalHashes - 1]; } } else if (leavesLen > 0) { return leaves[0]; } else { return proof[0]; } } function _hashPair(bytes32 a, bytes32 b) private pure returns (bytes32) { return a < b ? _efficientHash(a, b) : _efficientHash(b, a); } function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) { /// @solidity memory-safe-assembly assembly { mstore(0x00, a) mstore(0x20, b) value := keccak256(0x00, 0x40) } } }
pragma solidity ^0.8.20; /** * @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; /** * @dev Unauthorized reentrant call. */ error ReentrancyGuardReentrantCall(); 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 if (_status == ENTERED) { revert ReentrancyGuardReentrantCall(); } // 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 pragma solidity >=0.4.22 <0.9.0; library console { address constant CONSOLE_ADDRESS = 0x000000000000000000636F6e736F6c652e6c6f67; function _sendLogPayloadImplementation(bytes memory payload) internal view { address consoleAddress = CONSOLE_ADDRESS; /// @solidity memory-safe-assembly assembly { pop( staticcall( gas(), consoleAddress, add(payload, 32), mload(payload), 0, 0 ) ) } } function _castToPure( function(bytes memory) internal view fnIn ) internal pure returns (function(bytes memory) pure fnOut) { assembly { fnOut := fnIn } } function _sendLogPayload(bytes memory payload) internal pure { _castToPure(_sendLogPayloadImplementation)(payload); } function log() internal pure { _sendLogPayload(abi.encodeWithSignature("log()")); } function logInt(int256 p0) internal pure { _sendLogPayload(abi.encodeWithSignature("log(int256)", p0)); } function logUint(uint256 p0) internal pure { _sendLogPayload(abi.encodeWithSignature("log(uint256)", p0)); } function logString(string memory p0) internal pure { _sendLogPayload(abi.encodeWithSignature("log(string)", p0)); } function logBool(bool p0) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bool)", p0)); } function logAddress(address p0) internal pure { _sendLogPayload(abi.encodeWithSignature("log(address)", p0)); } function logBytes(bytes memory p0) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bytes)", p0)); } function logBytes1(bytes1 p0) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bytes1)", p0)); } function logBytes2(bytes2 p0) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bytes2)", p0)); } function logBytes3(bytes3 p0) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bytes3)", p0)); } function logBytes4(bytes4 p0) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bytes4)", p0)); } function logBytes5(bytes5 p0) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bytes5)", p0)); } function logBytes6(bytes6 p0) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bytes6)", p0)); } function logBytes7(bytes7 p0) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bytes7)", p0)); } function logBytes8(bytes8 p0) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bytes8)", p0)); } function logBytes9(bytes9 p0) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bytes9)", p0)); } function logBytes10(bytes10 p0) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bytes10)", p0)); } function logBytes11(bytes11 p0) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bytes11)", p0)); } function logBytes12(bytes12 p0) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bytes12)", p0)); } function logBytes13(bytes13 p0) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bytes13)", p0)); } function logBytes14(bytes14 p0) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bytes14)", p0)); } function logBytes15(bytes15 p0) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bytes15)", p0)); } function logBytes16(bytes16 p0) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bytes16)", p0)); } function logBytes17(bytes17 p0) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bytes17)", p0)); } function logBytes18(bytes18 p0) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bytes18)", p0)); } function logBytes19(bytes19 p0) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bytes19)", p0)); } function logBytes20(bytes20 p0) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bytes20)", p0)); } function logBytes21(bytes21 p0) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bytes21)", p0)); } function logBytes22(bytes22 p0) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bytes22)", p0)); } function logBytes23(bytes23 p0) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bytes23)", p0)); } function logBytes24(bytes24 p0) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bytes24)", p0)); } function logBytes25(bytes25 p0) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bytes25)", p0)); } function logBytes26(bytes26 p0) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bytes26)", p0)); } function logBytes27(bytes27 p0) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bytes27)", p0)); } function logBytes28(bytes28 p0) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bytes28)", p0)); } function logBytes29(bytes29 p0) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bytes29)", p0)); } function logBytes30(bytes30 p0) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bytes30)", p0)); } function logBytes31(bytes31 p0) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bytes31)", p0)); } function logBytes32(bytes32 p0) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bytes32)", p0)); } function log(uint256 p0) internal pure { _sendLogPayload(abi.encodeWithSignature("log(uint256)", p0)); } function log(string memory p0) internal pure { _sendLogPayload(abi.encodeWithSignature("log(string)", p0)); } function log(bool p0) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bool)", p0)); } function log(address p0) internal pure { _sendLogPayload(abi.encodeWithSignature("log(address)", p0)); } function log(uint256 p0, uint256 p1) internal pure { _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256)", p0, p1)); } function log(uint256 p0, string memory p1) internal pure { _sendLogPayload(abi.encodeWithSignature("log(uint256,string)", p0, p1)); } function log(uint256 p0, bool p1) internal pure { _sendLogPayload(abi.encodeWithSignature("log(uint256,bool)", p0, p1)); } function log(uint256 p0, address p1) internal pure { _sendLogPayload(abi.encodeWithSignature("log(uint256,address)", p0, p1)); } function log(string memory p0, uint256 p1) internal pure { _sendLogPayload(abi.encodeWithSignature("log(string,uint256)", p0, p1)); } function log(string memory p0, string memory p1) internal pure { _sendLogPayload(abi.encodeWithSignature("log(string,string)", p0, p1)); } function log(string memory p0, bool p1) internal pure { _sendLogPayload(abi.encodeWithSignature("log(string,bool)", p0, p1)); } function log(string memory p0, address p1) internal pure { _sendLogPayload(abi.encodeWithSignature("log(string,address)", p0, p1)); } function log(bool p0, uint256 p1) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bool,uint256)", p0, p1)); } function log(bool p0, string memory p1) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bool,string)", p0, p1)); } function log(bool p0, bool p1) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bool,bool)", p0, p1)); } function log(bool p0, address p1) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bool,address)", p0, p1)); } function log(address p0, uint256 p1) internal pure { _sendLogPayload(abi.encodeWithSignature("log(address,uint256)", p0, p1)); } function log(address p0, string memory p1) internal pure { _sendLogPayload(abi.encodeWithSignature("log(address,string)", p0, p1)); } function log(address p0, bool p1) internal pure { _sendLogPayload(abi.encodeWithSignature("log(address,bool)", p0, p1)); } function log(address p0, address p1) internal pure { _sendLogPayload(abi.encodeWithSignature("log(address,address)", p0, p1)); } function log(uint256 p0, uint256 p1, uint256 p2) internal pure { _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,uint256)", p0, p1, p2)); } function log(uint256 p0, uint256 p1, string memory p2) internal pure { _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,string)", p0, p1, p2)); } function log(uint256 p0, uint256 p1, bool p2) internal pure { _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,bool)", p0, p1, p2)); } function log(uint256 p0, uint256 p1, address p2) internal pure { _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,address)", p0, p1, p2)); } function log(uint256 p0, string memory p1, uint256 p2) internal pure { _sendLogPayload(abi.encodeWithSignature("log(uint256,string,uint256)", p0, p1, p2)); } function log(uint256 p0, string memory p1, string memory p2) internal pure { _sendLogPayload(abi.encodeWithSignature("log(uint256,string,string)", p0, p1, p2)); } function log(uint256 p0, string memory p1, bool p2) internal pure { _sendLogPayload(abi.encodeWithSignature("log(uint256,string,bool)", p0, p1, p2)); } function log(uint256 p0, string memory p1, address p2) internal pure { _sendLogPayload(abi.encodeWithSignature("log(uint256,string,address)", p0, p1, p2)); } function log(uint256 p0, bool p1, uint256 p2) internal pure { _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,uint256)", p0, p1, p2)); } function log(uint256 p0, bool p1, string memory p2) internal pure { _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,string)", p0, p1, p2)); } function log(uint256 p0, bool p1, bool p2) internal pure { _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,bool)", p0, p1, p2)); } function log(uint256 p0, bool p1, address p2) internal pure { _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,address)", p0, p1, p2)); } function log(uint256 p0, address p1, uint256 p2) internal pure { _sendLogPayload(abi.encodeWithSignature("log(uint256,address,uint256)", p0, p1, p2)); } function log(uint256 p0, address p1, string memory p2) internal pure { _sendLogPayload(abi.encodeWithSignature("log(uint256,address,string)", p0, p1, p2)); } function log(uint256 p0, address p1, bool p2) internal pure { _sendLogPayload(abi.encodeWithSignature("log(uint256,address,bool)", p0, p1, p2)); } function log(uint256 p0, address p1, address p2) internal pure { _sendLogPayload(abi.encodeWithSignature("log(uint256,address,address)", p0, p1, p2)); } function log(string memory p0, uint256 p1, uint256 p2) internal pure { _sendLogPayload(abi.encodeWithSignature("log(string,uint256,uint256)", p0, p1, p2)); } function log(string memory p0, uint256 p1, string memory p2) internal pure { _sendLogPayload(abi.encodeWithSignature("log(string,uint256,string)", p0, p1, p2)); } function log(string memory p0, uint256 p1, bool p2) internal pure { _sendLogPayload(abi.encodeWithSignature("log(string,uint256,bool)", p0, p1, p2)); } function log(string memory p0, uint256 p1, address p2) internal pure { _sendLogPayload(abi.encodeWithSignature("log(string,uint256,address)", p0, p1, p2)); } function log(string memory p0, string memory p1, uint256 p2) internal pure { _sendLogPayload(abi.encodeWithSignature("log(string,string,uint256)", p0, p1, p2)); } function log(string memory p0, string memory p1, string memory p2) internal pure { _sendLogPayload(abi.encodeWithSignature("log(string,string,string)", p0, p1, p2)); } function log(string memory p0, string memory p1, bool p2) internal pure { _sendLogPayload(abi.encodeWithSignature("log(string,string,bool)", p0, p1, p2)); } function log(string memory p0, string memory p1, address p2) internal pure { _sendLogPayload(abi.encodeWithSignature("log(string,string,address)", p0, p1, p2)); } function log(string memory p0, bool p1, uint256 p2) internal pure { _sendLogPayload(abi.encodeWithSignature("log(string,bool,uint256)", p0, p1, p2)); } function log(string memory p0, bool p1, string memory p2) internal pure { _sendLogPayload(abi.encodeWithSignature("log(string,bool,string)", p0, p1, p2)); } function log(string memory p0, bool p1, bool p2) internal pure { _sendLogPayload(abi.encodeWithSignature("log(string,bool,bool)", p0, p1, p2)); } function log(string memory p0, bool p1, address p2) internal pure { _sendLogPayload(abi.encodeWithSignature("log(string,bool,address)", p0, p1, p2)); } function log(string memory p0, address p1, uint256 p2) internal pure { _sendLogPayload(abi.encodeWithSignature("log(string,address,uint256)", p0, p1, p2)); } function log(string memory p0, address p1, string memory p2) internal pure { _sendLogPayload(abi.encodeWithSignature("log(string,address,string)", p0, p1, p2)); } function log(string memory p0, address p1, bool p2) internal pure { _sendLogPayload(abi.encodeWithSignature("log(string,address,bool)", p0, p1, p2)); } function log(string memory p0, address p1, address p2) internal pure { _sendLogPayload(abi.encodeWithSignature("log(string,address,address)", p0, p1, p2)); } function log(bool p0, uint256 p1, uint256 p2) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,uint256)", p0, p1, p2)); } function log(bool p0, uint256 p1, string memory p2) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,string)", p0, p1, p2)); } function log(bool p0, uint256 p1, bool p2) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,bool)", p0, p1, p2)); } function log(bool p0, uint256 p1, address p2) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,address)", p0, p1, p2)); } function log(bool p0, string memory p1, uint256 p2) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bool,string,uint256)", p0, p1, p2)); } function log(bool p0, string memory p1, string memory p2) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bool,string,string)", p0, p1, p2)); } function log(bool p0, string memory p1, bool p2) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bool,string,bool)", p0, p1, p2)); } function log(bool p0, string memory p1, address p2) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bool,string,address)", p0, p1, p2)); } function log(bool p0, bool p1, uint256 p2) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint256)", p0, p1, p2)); } function log(bool p0, bool p1, string memory p2) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,string)", p0, p1, p2)); } function log(bool p0, bool p1, bool p2) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,bool)", p0, p1, p2)); } function log(bool p0, bool p1, address p2) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,address)", p0, p1, p2)); } function log(bool p0, address p1, uint256 p2) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bool,address,uint256)", p0, p1, p2)); } function log(bool p0, address p1, string memory p2) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bool,address,string)", p0, p1, p2)); } function log(bool p0, address p1, bool p2) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bool,address,bool)", p0, p1, p2)); } function log(bool p0, address p1, address p2) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bool,address,address)", p0, p1, p2)); } function log(address p0, uint256 p1, uint256 p2) internal pure { _sendLogPayload(abi.encodeWithSignature("log(address,uint256,uint256)", p0, p1, p2)); } function log(address p0, uint256 p1, string memory p2) internal pure { _sendLogPayload(abi.encodeWithSignature("log(address,uint256,string)", p0, p1, p2)); } function log(address p0, uint256 p1, bool p2) internal pure { _sendLogPayload(abi.encodeWithSignature("log(address,uint256,bool)", p0, p1, p2)); } function log(address p0, uint256 p1, address p2) internal pure { _sendLogPayload(abi.encodeWithSignature("log(address,uint256,address)", p0, p1, p2)); } function log(address p0, string memory p1, uint256 p2) internal pure { _sendLogPayload(abi.encodeWithSignature("log(address,string,uint256)", p0, p1, p2)); } function log(address p0, string memory p1, string memory p2) internal pure { _sendLogPayload(abi.encodeWithSignature("log(address,string,string)", p0, p1, p2)); } function log(address p0, string memory p1, bool p2) internal pure { _sendLogPayload(abi.encodeWithSignature("log(address,string,bool)", p0, p1, p2)); } function log(address p0, string memory p1, address p2) internal pure { _sendLogPayload(abi.encodeWithSignature("log(address,string,address)", p0, p1, p2)); } function log(address p0, bool p1, uint256 p2) internal pure { _sendLogPayload(abi.encodeWithSignature("log(address,bool,uint256)", p0, p1, p2)); } function log(address p0, bool p1, string memory p2) internal pure { _sendLogPayload(abi.encodeWithSignature("log(address,bool,string)", p0, p1, p2)); } function log(address p0, bool p1, bool p2) internal pure { _sendLogPayload(abi.encodeWithSignature("log(address,bool,bool)", p0, p1, p2)); } function log(address p0, bool p1, address p2) internal pure { _sendLogPayload(abi.encodeWithSignature("log(address,bool,address)", p0, p1, p2)); } function log(address p0, address p1, uint256 p2) internal pure { _sendLogPayload(abi.encodeWithSignature("log(address,address,uint256)", p0, p1, p2)); } function log(address p0, address p1, string memory p2) internal pure { _sendLogPayload(abi.encodeWithSignature("log(address,address,string)", p0, p1, p2)); } function log(address p0, address p1, bool p2) internal pure { _sendLogPayload(abi.encodeWithSignature("log(address,address,bool)", p0, p1, p2)); } function log(address p0, address p1, address p2) internal pure { _sendLogPayload(abi.encodeWithSignature("log(address,address,address)", p0, p1, p2)); } function log(uint256 p0, uint256 p1, uint256 p2, uint256 p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,uint256,uint256)", p0, p1, p2, p3)); } function log(uint256 p0, uint256 p1, uint256 p2, string memory p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,uint256,string)", p0, p1, p2, p3)); } function log(uint256 p0, uint256 p1, uint256 p2, bool p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,uint256,bool)", p0, p1, p2, p3)); } function log(uint256 p0, uint256 p1, uint256 p2, address p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,uint256,address)", p0, p1, p2, p3)); } function log(uint256 p0, uint256 p1, string memory p2, uint256 p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,string,uint256)", p0, p1, p2, p3)); } function log(uint256 p0, uint256 p1, string memory p2, string memory p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,string,string)", p0, p1, p2, p3)); } function log(uint256 p0, uint256 p1, string memory p2, bool p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,string,bool)", p0, p1, p2, p3)); } function log(uint256 p0, uint256 p1, string memory p2, address p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,string,address)", p0, p1, p2, p3)); } function log(uint256 p0, uint256 p1, bool p2, uint256 p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,bool,uint256)", p0, p1, p2, p3)); } function log(uint256 p0, uint256 p1, bool p2, string memory p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,bool,string)", p0, p1, p2, p3)); } function log(uint256 p0, uint256 p1, bool p2, bool p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,bool,bool)", p0, p1, p2, p3)); } function log(uint256 p0, uint256 p1, bool p2, address p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,bool,address)", p0, p1, p2, p3)); } function log(uint256 p0, uint256 p1, address p2, uint256 p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,address,uint256)", p0, p1, p2, p3)); } function log(uint256 p0, uint256 p1, address p2, string memory p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,address,string)", p0, p1, p2, p3)); } function log(uint256 p0, uint256 p1, address p2, bool p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,address,bool)", p0, p1, p2, p3)); } function log(uint256 p0, uint256 p1, address p2, address p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,address,address)", p0, p1, p2, p3)); } function log(uint256 p0, string memory p1, uint256 p2, uint256 p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(uint256,string,uint256,uint256)", p0, p1, p2, p3)); } function log(uint256 p0, string memory p1, uint256 p2, string memory p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(uint256,string,uint256,string)", p0, p1, p2, p3)); } function log(uint256 p0, string memory p1, uint256 p2, bool p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(uint256,string,uint256,bool)", p0, p1, p2, p3)); } function log(uint256 p0, string memory p1, uint256 p2, address p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(uint256,string,uint256,address)", p0, p1, p2, p3)); } function log(uint256 p0, string memory p1, string memory p2, uint256 p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(uint256,string,string,uint256)", p0, p1, p2, p3)); } function log(uint256 p0, string memory p1, string memory p2, string memory p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(uint256,string,string,string)", p0, p1, p2, p3)); } function log(uint256 p0, string memory p1, string memory p2, bool p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(uint256,string,string,bool)", p0, p1, p2, p3)); } function log(uint256 p0, string memory p1, string memory p2, address p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(uint256,string,string,address)", p0, p1, p2, p3)); } function log(uint256 p0, string memory p1, bool p2, uint256 p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(uint256,string,bool,uint256)", p0, p1, p2, p3)); } function log(uint256 p0, string memory p1, bool p2, string memory p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(uint256,string,bool,string)", p0, p1, p2, p3)); } function log(uint256 p0, string memory p1, bool p2, bool p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(uint256,string,bool,bool)", p0, p1, p2, p3)); } function log(uint256 p0, string memory p1, bool p2, address p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(uint256,string,bool,address)", p0, p1, p2, p3)); } function log(uint256 p0, string memory p1, address p2, uint256 p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(uint256,string,address,uint256)", p0, p1, p2, p3)); } function log(uint256 p0, string memory p1, address p2, string memory p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(uint256,string,address,string)", p0, p1, p2, p3)); } function log(uint256 p0, string memory p1, address p2, bool p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(uint256,string,address,bool)", p0, p1, p2, p3)); } function log(uint256 p0, string memory p1, address p2, address p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(uint256,string,address,address)", p0, p1, p2, p3)); } function log(uint256 p0, bool p1, uint256 p2, uint256 p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,uint256,uint256)", p0, p1, p2, p3)); } function log(uint256 p0, bool p1, uint256 p2, string memory p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,uint256,string)", p0, p1, p2, p3)); } function log(uint256 p0, bool p1, uint256 p2, bool p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,uint256,bool)", p0, p1, p2, p3)); } function log(uint256 p0, bool p1, uint256 p2, address p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,uint256,address)", p0, p1, p2, p3)); } function log(uint256 p0, bool p1, string memory p2, uint256 p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,string,uint256)", p0, p1, p2, p3)); } function log(uint256 p0, bool p1, string memory p2, string memory p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,string,string)", p0, p1, p2, p3)); } function log(uint256 p0, bool p1, string memory p2, bool p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,string,bool)", p0, p1, p2, p3)); } function log(uint256 p0, bool p1, string memory p2, address p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,string,address)", p0, p1, p2, p3)); } function log(uint256 p0, bool p1, bool p2, uint256 p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,bool,uint256)", p0, p1, p2, p3)); } function log(uint256 p0, bool p1, bool p2, string memory p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,bool,string)", p0, p1, p2, p3)); } function log(uint256 p0, bool p1, bool p2, bool p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,bool,bool)", p0, p1, p2, p3)); } function log(uint256 p0, bool p1, bool p2, address p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,bool,address)", p0, p1, p2, p3)); } function log(uint256 p0, bool p1, address p2, uint256 p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,address,uint256)", p0, p1, p2, p3)); } function log(uint256 p0, bool p1, address p2, string memory p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,address,string)", p0, p1, p2, p3)); } function log(uint256 p0, bool p1, address p2, bool p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,address,bool)", p0, p1, p2, p3)); } function log(uint256 p0, bool p1, address p2, address p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,address,address)", p0, p1, p2, p3)); } function log(uint256 p0, address p1, uint256 p2, uint256 p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(uint256,address,uint256,uint256)", p0, p1, p2, p3)); } function log(uint256 p0, address p1, uint256 p2, string memory p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(uint256,address,uint256,string)", p0, p1, p2, p3)); } function log(uint256 p0, address p1, uint256 p2, bool p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(uint256,address,uint256,bool)", p0, p1, p2, p3)); } function log(uint256 p0, address p1, uint256 p2, address p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(uint256,address,uint256,address)", p0, p1, p2, p3)); } function log(uint256 p0, address p1, string memory p2, uint256 p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(uint256,address,string,uint256)", p0, p1, p2, p3)); } function log(uint256 p0, address p1, string memory p2, string memory p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(uint256,address,string,string)", p0, p1, p2, p3)); } function log(uint256 p0, address p1, string memory p2, bool p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(uint256,address,string,bool)", p0, p1, p2, p3)); } function log(uint256 p0, address p1, string memory p2, address p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(uint256,address,string,address)", p0, p1, p2, p3)); } function log(uint256 p0, address p1, bool p2, uint256 p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(uint256,address,bool,uint256)", p0, p1, p2, p3)); } function log(uint256 p0, address p1, bool p2, string memory p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(uint256,address,bool,string)", p0, p1, p2, p3)); } function log(uint256 p0, address p1, bool p2, bool p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(uint256,address,bool,bool)", p0, p1, p2, p3)); } function log(uint256 p0, address p1, bool p2, address p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(uint256,address,bool,address)", p0, p1, p2, p3)); } function log(uint256 p0, address p1, address p2, uint256 p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(uint256,address,address,uint256)", p0, p1, p2, p3)); } function log(uint256 p0, address p1, address p2, string memory p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(uint256,address,address,string)", p0, p1, p2, p3)); } function log(uint256 p0, address p1, address p2, bool p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(uint256,address,address,bool)", p0, p1, p2, p3)); } function log(uint256 p0, address p1, address p2, address p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(uint256,address,address,address)", p0, p1, p2, p3)); } function log(string memory p0, uint256 p1, uint256 p2, uint256 p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(string,uint256,uint256,uint256)", p0, p1, p2, p3)); } function log(string memory p0, uint256 p1, uint256 p2, string memory p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(string,uint256,uint256,string)", p0, p1, p2, p3)); } function log(string memory p0, uint256 p1, uint256 p2, bool p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(string,uint256,uint256,bool)", p0, p1, p2, p3)); } function log(string memory p0, uint256 p1, uint256 p2, address p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(string,uint256,uint256,address)", p0, p1, p2, p3)); } function log(string memory p0, uint256 p1, string memory p2, uint256 p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(string,uint256,string,uint256)", p0, p1, p2, p3)); } function log(string memory p0, uint256 p1, string memory p2, string memory p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(string,uint256,string,string)", p0, p1, p2, p3)); } function log(string memory p0, uint256 p1, string memory p2, bool p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(string,uint256,string,bool)", p0, p1, p2, p3)); } function log(string memory p0, uint256 p1, string memory p2, address p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(string,uint256,string,address)", p0, p1, p2, p3)); } function log(string memory p0, uint256 p1, bool p2, uint256 p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(string,uint256,bool,uint256)", p0, p1, p2, p3)); } function log(string memory p0, uint256 p1, bool p2, string memory p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(string,uint256,bool,string)", p0, p1, p2, p3)); } function log(string memory p0, uint256 p1, bool p2, bool p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(string,uint256,bool,bool)", p0, p1, p2, p3)); } function log(string memory p0, uint256 p1, bool p2, address p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(string,uint256,bool,address)", p0, p1, p2, p3)); } function log(string memory p0, uint256 p1, address p2, uint256 p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(string,uint256,address,uint256)", p0, p1, p2, p3)); } function log(string memory p0, uint256 p1, address p2, string memory p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(string,uint256,address,string)", p0, p1, p2, p3)); } function log(string memory p0, uint256 p1, address p2, bool p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(string,uint256,address,bool)", p0, p1, p2, p3)); } function log(string memory p0, uint256 p1, address p2, address p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(string,uint256,address,address)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, uint256 p2, uint256 p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(string,string,uint256,uint256)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, uint256 p2, string memory p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(string,string,uint256,string)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, uint256 p2, bool p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(string,string,uint256,bool)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, uint256 p2, address p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(string,string,uint256,address)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, string memory p2, uint256 p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(string,string,string,uint256)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, string memory p2, string memory p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(string,string,string,string)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, string memory p2, bool p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(string,string,string,bool)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, string memory p2, address p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(string,string,string,address)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, bool p2, uint256 p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(string,string,bool,uint256)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, bool p2, string memory p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(string,string,bool,string)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, bool p2, bool p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(string,string,bool,bool)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, bool p2, address p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(string,string,bool,address)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, address p2, uint256 p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(string,string,address,uint256)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, address p2, string memory p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(string,string,address,string)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, address p2, bool p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(string,string,address,bool)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, address p2, address p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(string,string,address,address)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, uint256 p2, uint256 p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(string,bool,uint256,uint256)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, uint256 p2, string memory p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(string,bool,uint256,string)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, uint256 p2, bool p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(string,bool,uint256,bool)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, uint256 p2, address p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(string,bool,uint256,address)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, string memory p2, uint256 p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(string,bool,string,uint256)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, string memory p2, string memory p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(string,bool,string,string)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, string memory p2, bool p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(string,bool,string,bool)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, string memory p2, address p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(string,bool,string,address)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, bool p2, uint256 p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(string,bool,bool,uint256)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, bool p2, string memory p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(string,bool,bool,string)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, bool p2, bool p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(string,bool,bool,bool)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, bool p2, address p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(string,bool,bool,address)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, address p2, uint256 p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(string,bool,address,uint256)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, address p2, string memory p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(string,bool,address,string)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, address p2, bool p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(string,bool,address,bool)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, address p2, address p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(string,bool,address,address)", p0, p1, p2, p3)); } function log(string memory p0, address p1, uint256 p2, uint256 p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(string,address,uint256,uint256)", p0, p1, p2, p3)); } function log(string memory p0, address p1, uint256 p2, string memory p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(string,address,uint256,string)", p0, p1, p2, p3)); } function log(string memory p0, address p1, uint256 p2, bool p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(string,address,uint256,bool)", p0, p1, p2, p3)); } function log(string memory p0, address p1, uint256 p2, address p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(string,address,uint256,address)", p0, p1, p2, p3)); } function log(string memory p0, address p1, string memory p2, uint256 p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(string,address,string,uint256)", p0, p1, p2, p3)); } function log(string memory p0, address p1, string memory p2, string memory p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(string,address,string,string)", p0, p1, p2, p3)); } function log(string memory p0, address p1, string memory p2, bool p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(string,address,string,bool)", p0, p1, p2, p3)); } function log(string memory p0, address p1, string memory p2, address p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(string,address,string,address)", p0, p1, p2, p3)); } function log(string memory p0, address p1, bool p2, uint256 p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(string,address,bool,uint256)", p0, p1, p2, p3)); } function log(string memory p0, address p1, bool p2, string memory p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(string,address,bool,string)", p0, p1, p2, p3)); } function log(string memory p0, address p1, bool p2, bool p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(string,address,bool,bool)", p0, p1, p2, p3)); } function log(string memory p0, address p1, bool p2, address p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(string,address,bool,address)", p0, p1, p2, p3)); } function log(string memory p0, address p1, address p2, uint256 p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(string,address,address,uint256)", p0, p1, p2, p3)); } function log(string memory p0, address p1, address p2, string memory p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(string,address,address,string)", p0, p1, p2, p3)); } function log(string memory p0, address p1, address p2, bool p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(string,address,address,bool)", p0, p1, p2, p3)); } function log(string memory p0, address p1, address p2, address p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(string,address,address,address)", p0, p1, p2, p3)); } function log(bool p0, uint256 p1, uint256 p2, uint256 p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,uint256,uint256)", p0, p1, p2, p3)); } function log(bool p0, uint256 p1, uint256 p2, string memory p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,uint256,string)", p0, p1, p2, p3)); } function log(bool p0, uint256 p1, uint256 p2, bool p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,uint256,bool)", p0, p1, p2, p3)); } function log(bool p0, uint256 p1, uint256 p2, address p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,uint256,address)", p0, p1, p2, p3)); } function log(bool p0, uint256 p1, string memory p2, uint256 p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,string,uint256)", p0, p1, p2, p3)); } function log(bool p0, uint256 p1, string memory p2, string memory p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,string,string)", p0, p1, p2, p3)); } function log(bool p0, uint256 p1, string memory p2, bool p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,string,bool)", p0, p1, p2, p3)); } function log(bool p0, uint256 p1, string memory p2, address p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,string,address)", p0, p1, p2, p3)); } function log(bool p0, uint256 p1, bool p2, uint256 p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,bool,uint256)", p0, p1, p2, p3)); } function log(bool p0, uint256 p1, bool p2, string memory p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,bool,string)", p0, p1, p2, p3)); } function log(bool p0, uint256 p1, bool p2, bool p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,bool,bool)", p0, p1, p2, p3)); } function log(bool p0, uint256 p1, bool p2, address p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,bool,address)", p0, p1, p2, p3)); } function log(bool p0, uint256 p1, address p2, uint256 p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,address,uint256)", p0, p1, p2, p3)); } function log(bool p0, uint256 p1, address p2, string memory p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,address,string)", p0, p1, p2, p3)); } function log(bool p0, uint256 p1, address p2, bool p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,address,bool)", p0, p1, p2, p3)); } function log(bool p0, uint256 p1, address p2, address p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,address,address)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, uint256 p2, uint256 p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bool,string,uint256,uint256)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, uint256 p2, string memory p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bool,string,uint256,string)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, uint256 p2, bool p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bool,string,uint256,bool)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, uint256 p2, address p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bool,string,uint256,address)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, string memory p2, uint256 p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bool,string,string,uint256)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, string memory p2, string memory p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bool,string,string,string)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, string memory p2, bool p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bool,string,string,bool)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, string memory p2, address p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bool,string,string,address)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, bool p2, uint256 p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bool,string,bool,uint256)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, bool p2, string memory p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bool,string,bool,string)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, bool p2, bool p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bool,string,bool,bool)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, bool p2, address p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bool,string,bool,address)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, address p2, uint256 p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bool,string,address,uint256)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, address p2, string memory p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bool,string,address,string)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, address p2, bool p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bool,string,address,bool)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, address p2, address p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bool,string,address,address)", p0, p1, p2, p3)); } function log(bool p0, bool p1, uint256 p2, uint256 p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint256,uint256)", p0, p1, p2, p3)); } function log(bool p0, bool p1, uint256 p2, string memory p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint256,string)", p0, p1, p2, p3)); } function log(bool p0, bool p1, uint256 p2, bool p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint256,bool)", p0, p1, p2, p3)); } function log(bool p0, bool p1, uint256 p2, address p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint256,address)", p0, p1, p2, p3)); } function log(bool p0, bool p1, string memory p2, uint256 p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,string,uint256)", p0, p1, p2, p3)); } function log(bool p0, bool p1, string memory p2, string memory p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,string,string)", p0, p1, p2, p3)); } function log(bool p0, bool p1, string memory p2, bool p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,string,bool)", p0, p1, p2, p3)); } function log(bool p0, bool p1, string memory p2, address p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,string,address)", p0, p1, p2, p3)); } function log(bool p0, bool p1, bool p2, uint256 p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,bool,uint256)", p0, p1, p2, p3)); } function log(bool p0, bool p1, bool p2, string memory p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,bool,string)", p0, p1, p2, p3)); } function log(bool p0, bool p1, bool p2, bool p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,bool,bool)", p0, p1, p2, p3)); } function log(bool p0, bool p1, bool p2, address p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,bool,address)", p0, p1, p2, p3)); } function log(bool p0, bool p1, address p2, uint256 p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,address,uint256)", p0, p1, p2, p3)); } function log(bool p0, bool p1, address p2, string memory p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,address,string)", p0, p1, p2, p3)); } function log(bool p0, bool p1, address p2, bool p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,address,bool)", p0, p1, p2, p3)); } function log(bool p0, bool p1, address p2, address p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,address,address)", p0, p1, p2, p3)); } function log(bool p0, address p1, uint256 p2, uint256 p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bool,address,uint256,uint256)", p0, p1, p2, p3)); } function log(bool p0, address p1, uint256 p2, string memory p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bool,address,uint256,string)", p0, p1, p2, p3)); } function log(bool p0, address p1, uint256 p2, bool p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bool,address,uint256,bool)", p0, p1, p2, p3)); } function log(bool p0, address p1, uint256 p2, address p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bool,address,uint256,address)", p0, p1, p2, p3)); } function log(bool p0, address p1, string memory p2, uint256 p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bool,address,string,uint256)", p0, p1, p2, p3)); } function log(bool p0, address p1, string memory p2, string memory p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bool,address,string,string)", p0, p1, p2, p3)); } function log(bool p0, address p1, string memory p2, bool p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bool,address,string,bool)", p0, p1, p2, p3)); } function log(bool p0, address p1, string memory p2, address p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bool,address,string,address)", p0, p1, p2, p3)); } function log(bool p0, address p1, bool p2, uint256 p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bool,address,bool,uint256)", p0, p1, p2, p3)); } function log(bool p0, address p1, bool p2, string memory p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bool,address,bool,string)", p0, p1, p2, p3)); } function log(bool p0, address p1, bool p2, bool p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bool,address,bool,bool)", p0, p1, p2, p3)); } function log(bool p0, address p1, bool p2, address p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bool,address,bool,address)", p0, p1, p2, p3)); } function log(bool p0, address p1, address p2, uint256 p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bool,address,address,uint256)", p0, p1, p2, p3)); } function log(bool p0, address p1, address p2, string memory p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bool,address,address,string)", p0, p1, p2, p3)); } function log(bool p0, address p1, address p2, bool p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bool,address,address,bool)", p0, p1, p2, p3)); } function log(bool p0, address p1, address p2, address p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bool,address,address,address)", p0, p1, p2, p3)); } function log(address p0, uint256 p1, uint256 p2, uint256 p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(address,uint256,uint256,uint256)", p0, p1, p2, p3)); } function log(address p0, uint256 p1, uint256 p2, string memory p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(address,uint256,uint256,string)", p0, p1, p2, p3)); } function log(address p0, uint256 p1, uint256 p2, bool p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(address,uint256,uint256,bool)", p0, p1, p2, p3)); } function log(address p0, uint256 p1, uint256 p2, address p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(address,uint256,uint256,address)", p0, p1, p2, p3)); } function log(address p0, uint256 p1, string memory p2, uint256 p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(address,uint256,string,uint256)", p0, p1, p2, p3)); } function log(address p0, uint256 p1, string memory p2, string memory p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(address,uint256,string,string)", p0, p1, p2, p3)); } function log(address p0, uint256 p1, string memory p2, bool p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(address,uint256,string,bool)", p0, p1, p2, p3)); } function log(address p0, uint256 p1, string memory p2, address p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(address,uint256,string,address)", p0, p1, p2, p3)); } function log(address p0, uint256 p1, bool p2, uint256 p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(address,uint256,bool,uint256)", p0, p1, p2, p3)); } function log(address p0, uint256 p1, bool p2, string memory p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(address,uint256,bool,string)", p0, p1, p2, p3)); } function log(address p0, uint256 p1, bool p2, bool p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(address,uint256,bool,bool)", p0, p1, p2, p3)); } function log(address p0, uint256 p1, bool p2, address p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(address,uint256,bool,address)", p0, p1, p2, p3)); } function log(address p0, uint256 p1, address p2, uint256 p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(address,uint256,address,uint256)", p0, p1, p2, p3)); } function log(address p0, uint256 p1, address p2, string memory p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(address,uint256,address,string)", p0, p1, p2, p3)); } function log(address p0, uint256 p1, address p2, bool p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(address,uint256,address,bool)", p0, p1, p2, p3)); } function log(address p0, uint256 p1, address p2, address p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(address,uint256,address,address)", p0, p1, p2, p3)); } function log(address p0, string memory p1, uint256 p2, uint256 p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(address,string,uint256,uint256)", p0, p1, p2, p3)); } function log(address p0, string memory p1, uint256 p2, string memory p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(address,string,uint256,string)", p0, p1, p2, p3)); } function log(address p0, string memory p1, uint256 p2, bool p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(address,string,uint256,bool)", p0, p1, p2, p3)); } function log(address p0, string memory p1, uint256 p2, address p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(address,string,uint256,address)", p0, p1, p2, p3)); } function log(address p0, string memory p1, string memory p2, uint256 p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(address,string,string,uint256)", p0, p1, p2, p3)); } function log(address p0, string memory p1, string memory p2, string memory p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(address,string,string,string)", p0, p1, p2, p3)); } function log(address p0, string memory p1, string memory p2, bool p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(address,string,string,bool)", p0, p1, p2, p3)); } function log(address p0, string memory p1, string memory p2, address p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(address,string,string,address)", p0, p1, p2, p3)); } function log(address p0, string memory p1, bool p2, uint256 p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(address,string,bool,uint256)", p0, p1, p2, p3)); } function log(address p0, string memory p1, bool p2, string memory p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(address,string,bool,string)", p0, p1, p2, p3)); } function log(address p0, string memory p1, bool p2, bool p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(address,string,bool,bool)", p0, p1, p2, p3)); } function log(address p0, string memory p1, bool p2, address p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(address,string,bool,address)", p0, p1, p2, p3)); } function log(address p0, string memory p1, address p2, uint256 p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(address,string,address,uint256)", p0, p1, p2, p3)); } function log(address p0, string memory p1, address p2, string memory p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(address,string,address,string)", p0, p1, p2, p3)); } function log(address p0, string memory p1, address p2, bool p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(address,string,address,bool)", p0, p1, p2, p3)); } function log(address p0, string memory p1, address p2, address p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(address,string,address,address)", p0, p1, p2, p3)); } function log(address p0, bool p1, uint256 p2, uint256 p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(address,bool,uint256,uint256)", p0, p1, p2, p3)); } function log(address p0, bool p1, uint256 p2, string memory p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(address,bool,uint256,string)", p0, p1, p2, p3)); } function log(address p0, bool p1, uint256 p2, bool p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(address,bool,uint256,bool)", p0, p1, p2, p3)); } function log(address p0, bool p1, uint256 p2, address p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(address,bool,uint256,address)", p0, p1, p2, p3)); } function log(address p0, bool p1, string memory p2, uint256 p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(address,bool,string,uint256)", p0, p1, p2, p3)); } function log(address p0, bool p1, string memory p2, string memory p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(address,bool,string,string)", p0, p1, p2, p3)); } function log(address p0, bool p1, string memory p2, bool p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(address,bool,string,bool)", p0, p1, p2, p3)); } function log(address p0, bool p1, string memory p2, address p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(address,bool,string,address)", p0, p1, p2, p3)); } function log(address p0, bool p1, bool p2, uint256 p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(address,bool,bool,uint256)", p0, p1, p2, p3)); } function log(address p0, bool p1, bool p2, string memory p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(address,bool,bool,string)", p0, p1, p2, p3)); } function log(address p0, bool p1, bool p2, bool p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(address,bool,bool,bool)", p0, p1, p2, p3)); } function log(address p0, bool p1, bool p2, address p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(address,bool,bool,address)", p0, p1, p2, p3)); } function log(address p0, bool p1, address p2, uint256 p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(address,bool,address,uint256)", p0, p1, p2, p3)); } function log(address p0, bool p1, address p2, string memory p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(address,bool,address,string)", p0, p1, p2, p3)); } function log(address p0, bool p1, address p2, bool p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(address,bool,address,bool)", p0, p1, p2, p3)); } function log(address p0, bool p1, address p2, address p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(address,bool,address,address)", p0, p1, p2, p3)); } function log(address p0, address p1, uint256 p2, uint256 p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(address,address,uint256,uint256)", p0, p1, p2, p3)); } function log(address p0, address p1, uint256 p2, string memory p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(address,address,uint256,string)", p0, p1, p2, p3)); } function log(address p0, address p1, uint256 p2, bool p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(address,address,uint256,bool)", p0, p1, p2, p3)); } function log(address p0, address p1, uint256 p2, address p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(address,address,uint256,address)", p0, p1, p2, p3)); } function log(address p0, address p1, string memory p2, uint256 p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(address,address,string,uint256)", p0, p1, p2, p3)); } function log(address p0, address p1, string memory p2, string memory p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(address,address,string,string)", p0, p1, p2, p3)); } function log(address p0, address p1, string memory p2, bool p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(address,address,string,bool)", p0, p1, p2, p3)); } function log(address p0, address p1, string memory p2, address p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(address,address,string,address)", p0, p1, p2, p3)); } function log(address p0, address p1, bool p2, uint256 p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(address,address,bool,uint256)", p0, p1, p2, p3)); } function log(address p0, address p1, bool p2, string memory p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(address,address,bool,string)", p0, p1, p2, p3)); } function log(address p0, address p1, bool p2, bool p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(address,address,bool,bool)", p0, p1, p2, p3)); } function log(address p0, address p1, bool p2, address p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(address,address,bool,address)", p0, p1, p2, p3)); } function log(address p0, address p1, address p2, uint256 p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(address,address,address,uint256)", p0, p1, p2, p3)); } function log(address p0, address p1, address p2, string memory p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(address,address,address,string)", p0, p1, p2, p3)); } function log(address p0, address p1, address p2, bool p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(address,address,address,bool)", p0, p1, p2, p3)); } function log(address p0, address p1, address p2, address p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(address,address,address,address)", p0, p1, p2, p3)); } }
{ "optimizer": { "enabled": true, "runs": 1 }, "evmVersion": "paris", "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_multiSig","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ReentrancyGuardReentrantCall","type":"error"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"price","type":"uint256"},{"indexed":false,"internalType":"address","name":"token","type":"address"},{"indexed":false,"internalType":"address","name":"sender","type":"address"}],"name":"GenerateToken","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"vestingid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"IDOClaimed","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"investor","type":"address"},{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"maxAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"_paymentOption","type":"uint256"}],"name":"IDOInvested","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"address","name":"setter","type":"address"},{"indexed":false,"internalType":"bytes32","name":"merkleRoot","type":"bytes32"}],"name":"MerkleRootSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"string","name":"name","type":"string"},{"indexed":false,"internalType":"address","name":"owner","type":"address"},{"indexed":false,"internalType":"uint256","name":"totalAmount2Raise","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"ticketCost","type":"uint256"},{"indexed":false,"internalType":"address[]","name":"paymentOptions","type":"address[]"}],"name":"ProjectRegistered","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"refundAmount","type":"uint256"}],"name":"RefundAmountAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"vestingId","type":"uint256"},{"indexed":false,"internalType":"uint32","name":"vestingEnd","type":"uint32"},{"indexed":false,"internalType":"uint8","name":"vestingPercent","type":"uint8"}],"name":"VestingScheduleSet","type":"event"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"price","type":"uint256"}],"name":"TGE","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"claimTGE","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"refundAmount","type":"uint256"}],"name":"depositRefund","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"isRedeemed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"multiSig","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"projectVestings","outputs":[{"internalType":"uint256","name":"vestingId","type":"uint256"},{"internalType":"uint256","name":"vestedAmount","type":"uint256"},{"internalType":"uint32","name":"vestingEndTime","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"projects","outputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"price","type":"uint256"},{"internalType":"uint256","name":"totalAmount2Raise","type":"uint256"},{"internalType":"uint256","name":"ticketCost","type":"uint256"},{"internalType":"uint256","name":"amountInvested","type":"uint256"},{"internalType":"uint256","name":"refundAmount","type":"uint256"},{"internalType":"uint256","name":"participantsCount","type":"uint256"},{"internalType":"bytes32","name":"merkleRoot","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"components":[{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"maxInvestment","type":"uint256"},{"internalType":"uint8","name":"_paymentOption","type":"uint8"}],"internalType":"struct ApeInvestment.ProjectInvestment","name":"pi","type":"tuple"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"purchaseIDO","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"refund","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_paymentOptions","type":"address[]"},{"internalType":"string","name":"name","type":"string"},{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"totalAmount2Raise","type":"uint256"},{"internalType":"uint256","name":"ticketCost","type":"uint256"}],"name":"registerProject","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint32","name":"vestingEndTime","type":"uint32"},{"internalType":"uint8","name":"vestingPercent","type":"uint8"}],"name":"setVestingSchedule","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unPause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"address","name":"","type":"address"}],"name":"userClaimedVesting","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"address","name":"","type":"address"}],"name":"userInvestments","outputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint8","name":"_paymentOption","type":"uint8"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
608060405260006007553480156200001657600080fd5b5060405162002f9638038062002f968339810160408190526200003991620000cb565b62000044336200007b565b6000805460ff60a01b1916905560018055600880546001600160a01b0319166001600160a01b0392909216919091179055620000fd565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600060208284031215620000de57600080fd5b81516001600160a01b0381168114620000f657600080fd5b9392505050565b612e89806200010d6000396000f3fe608060405234801561001057600080fd5b50600436106100fc5760003560e01c8063107046bd1461010157806318712c2114610133578063278ecde11461014857806336e0004a1461015b57806338c504d71461017b578063554535511461018e5780635c975abb146101e4578063715018a6146101fc57806374dff66b146102045780637e73b64d146102175780638456cb59146102635780638bd8ba1e1461026b5780638da5cb5b1461027e578063ad61c65d14610286578063ba9dc28e146102a9578063d6f7c8f8146102bc578063e0999c8d146102cf578063f2fde38b14610303578063f46855ae14610316578063f7b188a514610329575b600080fd5b61011461010f3660046125af565b610331565b60405161012a9a99989796959493929190612618565b60405180910390f35b61014661014136600461267e565b610417565b005b6101466101563660046125af565b610548565b60085461016e906001600160a01b031681565b60405161012a91906126a0565b6101466101893660046126c3565b610a51565b6101c361019c3660046125af565b60046020526000908152604090208054600182015460029092015490919063ffffffff1683565b60408051938452602084019290925263ffffffff169082015260600161012a565b6101ec610c81565b604051901515815260200161012a565b610146610c91565b61014661021236600461267e565b610ca5565b61024c61022536600461272a565b60036020908152600092835260408084209091529082529020805460019091015460ff1682565b6040805192835260ff90911660208301520161012a565b610146610e3c565b6101466102793660046125af565b610e4c565b61016e6112d2565b6101ec6102943660046125af565b60066020526000908152604090205460ff1681565b6101466102b7366004612756565b6112e1565b6101466102ca366004612793565b611440565b6101ec6102dd366004612820565b600560209081526000938452604080852082529284528284209052825290205460ff1681565b610146610311366004612855565b611bfd565b6101466103243660046128ce565b611c76565b610146611ea0565b60026020526000908152604090208054819061034c906129db565b80601f0160208091040260200160405190810160405280929190818152602001828054610378906129db565b80156103c55780601f1061039a576101008083540402835291602001916103c5565b820191906000526020600020905b8154815290600101906020018083116103a857829003601f168201915b50505060018401546002850154600386015460058701546006880154600789015460088a015460098b0154600a909b0154999a6001600160a01b039788169a969097169850939650919490939192918a565b336104206112d2565b6001600160a01b0316816001600160a01b0316148061045b57506000838152600260205260409020600101546001600160a01b038281169116145b6104805760405162461bcd60e51b815260040161047790612a15565b60405180910390fd5b6000838152600260205260409020600101546001600160a01b03166104e15760405162461bcd60e51b8152602060048201526017602482015276141c9bda9958dd08139bdd08125b9a5d1a585b1a5e9959604a1b6044820152606401610477565b600083815260026020908152604091829020600a0184905581518581526001600160a01b038416918101919091529081018390527f25f67e2127b895637dfb4b4966e9a41c7e4e9f2033eb9188e609186ff895a771906060015b60405180910390a1505050565b60008181526004602090815260408083205460038352818420338086529352922054909190158015906105a65750600083815260056020908152604080832084845282528083206001600160a01b038616845290915290205460ff16155b6105e25760405162461bcd60e51b815260206004820152600d60248201526c10d85b9b9bdd081499599d5b99609a1b6044820152606401610477565b600181111561061e5760405162461bcd60e51b8152602060048201526008602482015267546f6f206c61746560c01b6044820152606401610477565b60008381526003602090815260408083206001600160a01b0386168452825291829020548251808401909352600c83526b1d1bdd185b08105b5bdd5b9d60a21b918301919091529061066f90611eb0565b61067881611ef3565b60008260011480156106b45750600085815260056020908152604080832083805282528083206001600160a01b038816845290915290205460ff165b156107a7576106f0604051806040016040528060168152602001751d1bdd185b08105b5bdd5b9d080ac8141c9bda9958dd60521b815250611eb0565b6000858152600460205260408120600301805461073a929061071457610714612a42565b60009182526020918290209181049091015460ff601f9092166101000a90041683611f38565b6000858152600460205260408120600301805460649285929161075f5761075f612a42565b90600052602060002090602091828204019190069054906101000a900460ff1660ff1661078c9190612a6e565b6107969190612a85565b6107a09083612aa7565b90506107b2565b50806107b281611ef3565b6000858152600260205260409020600801546107cf908290611f38565b6000858152600260205260409020600801548111156108245760405162461bcd60e51b8152602060048201526011602482015270155b9cdd599988199bdc881499599d5b99607a1b6044820152606401610477565b6000858152600260209081526040808320600383528184206001600160a01b038916855290925282206001015460049091018054909160ff1690811061086c5761086c612a42565b600091825260209182902001546040805163313ce56760e01b815290516001600160a01b039092169263313ce567926004808401938290030181865afa1580156108ba573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108de9190612aba565b60ff16905060006002600088815260200190815260200160002060040160008154811061090d5761090d612a42565b600091825260209182902001546040805163313ce56760e01b815290516001600160a01b039092169263313ce567926004808401938290030181865afa15801561095b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061097f9190612aba565b60ff16905061098f82600a612bbb565b61099a82600a612bbb565b6109a49085612a6e565b6109ae9190612a85565b60008881526003602090815260408083206001600160a01b038b16845290915281205592506109dc83611ef3565b600087815260026020526040812060080180548592906109fd908490612aa7565b909155505060008781526002602052604081206004018054610a489289928792909190610a2c57610a2c612a42565b6000918252602090912001546001600160a01b03169190611f83565b50505050505050565b33610a5a6112d2565b6001600160a01b0316816001600160a01b03161480610a9557506000848152600260205260409020600101546001600160a01b038281169116145b610ab15760405162461bcd60e51b815260040161047790612a15565b600084815260026020819052604090912001546001600160a01b0316610ae95760405162461bcd60e51b815260040161047790612bc7565b60648260ff1611158015610aff575060ff821615155b610b375760405162461bcd60e51b8152602060048201526009602482015268496e76616c6964202560b81b6044820152606401610477565b60008481526004602052604090206002015463ffffffff1615610bd55760008481526004602052604090206002015463ffffffff164211610bb05760405162461bcd60e51b815260206004820152601360248201527276657374696e6720696e2070726f677265737360681b6044820152606401610477565b6000848152600460205260408120805460019290610bcf908490612be7565b90915550505b600084815260046020908152604080832060028101805463ffffffff891663ffffffff19909116811790915560038201805460018101825590865284862085820401805460ff8a8116601f9094166101000a8481029102199091161790559489905290548251898152938401529082015260608101919091527f855b3081c0178deb300dd3710f9a42d038e9e3ccf3b8ed6c659ad9f18abe51799060800160405180910390a150505050565b600054600160a01b900460ff1690565b610c99611fe6565b610ca36000612045565b565b33610cae6112d2565b6001600160a01b0316816001600160a01b03161480610ce957506000838152600260205260409020600101546001600160a01b038281169116145b610d055760405162461bcd60e51b815260040161047790612a15565b600083815260026020819052604090912001546001600160a01b0316610d3d5760405162461bcd60e51b815260040161047790612bc7565b60008381526002602052604081206004018054909190610d5f57610d5f612a42565b6000918252602090912001546040516323b872dd60e01b81526001600160a01b03909116906323b872dd90610d9c90849030908790600401612bfa565b6020604051808303816000875af1158015610dbb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ddf9190612c1e565b5060008381526002602052604081206008018054849290610e01908490612be7565b909155505060408051848152602081018490527f861cb54ca3ce3c53e015e6542416b3be9ba8c0cbd26a4bddba2ce953854686f6910161053b565b610e44611fe6565b610ca3612095565b6000818152600460209081526040808320546003835281842033808652935290832054919290919003610eb05760405162461bcd60e51b815260206004820152600c60248201526b43616e6e6f7420436c61696d60a01b6044820152606401610477565b600083815260056020908152604080832084845282528083206001600160a01b038616845290915290205460ff1615610f1d5760405162461bcd60e51b815260206004820152600f60248201526e105b1c9958591e4810db185a5b5959608a1b6044820152606401610477565b6000838152600460205260409020600301805482908110610f4057610f40612a42565b60009182526020808320908204015460ff601f9092166101000a9004169003610fa45760405162461bcd60e51b81526020600482015260166024820152754e6f2056657374696e6720696e2070726f677265737360501b6044820152606401610477565b600083815260026020818152604080842090920154825163313ce56760e01b815292516001600160a01b039091169263313ce5679260048083019391928290030181865afa158015610ffa573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061101e9190612aba565b6000858152600260209081526040808320600383528184206001600160a01b03891685529092528220600101546004909101805460ff948516955092939092911690811061106e5761106e612a42565b600091825260209182902001546040805163313ce56760e01b815290516001600160a01b039092169263313ce567926004808401938290030181865afa1580156110bc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110e09190612aba565b60008681526002602052604081206003015460ff9290921692509061110683600a612bbb565b61111185600a612bbb565b60008981526003602090815260408083206001600160a01b038c16845290915290205461114690670de0b6b3a7640000612a6e565b6111509190612a6e565b61115a9190612a85565b6111649190612a85565b90506000805b85811161125657600088815260056020908152604080832084845282528083206001600160a01b038b16845290915290205460ff1661124457600088815260046020526040902060030180546064918591849081106111cb576111cb612a42565b90600052602060002090602091828204019190069054906101000a900460ff1660ff166111f89190612a6e565b6112029190612a85565b61120c9083612be7565b600089815260056020908152604080832085845282528083206001600160a01b038c1684529091529020805460ff1916600117905591505b8061124e81612c40565b91505061116a565b5061126081611ef3565b60008781526002602081905260409091200154611287906001600160a01b03168783611f83565b60408051888152602081018790529081018290527f98bfbdc6e964c3d6c18f53f1c504ba19d0643d0217e0b9cefc8292a694b694ea906060015b60405180910390a150505050505050565b6000546001600160a01b031690565b336112ea6112d2565b6001600160a01b0316816001600160a01b0316148061132557506000858152600260205260409020600101546001600160a01b038281169116145b6113415760405162461bcd60e51b815260040161047790612a15565b600085815260026020819052604090912001546001600160a01b03161561139d5760405162461bcd60e51b815260206004820152601060248201526f54474520616c726561647920646f6e6560801b6044820152606401610477565b600085815260026020819052604090912090810180546001600160a01b0319166001600160a01b03861690811790915560039091018390556113e1908230876120ef565b60408051868152602081018690529081018390526001600160a01b038085166060830152821660808201527fb90dbfa7f8450820f132902e199c818eed3516dbd64844c403c3aaf4da9291b29060a00160405180910390a15050505050565b611448612116565b61145061215e565b82356000908152600260205260408082208151610160810190925280548290829061147a906129db565b80601f01602080910402602001604051908101604052809291908181526020018280546114a6906129db565b80156114f35780601f106114c8576101008083540402835291602001916114f3565b820191906000526020600020905b8154815290600101906020018083116114d657829003601f168201915b505050918352505060018201546001600160a01b03908116602080840191909152600284015490911660408084019190915260038401546060840152600484018054825181850281018501909352808352608090940193919290919083018282801561158857602002820191906000526020600020905b81546001600160a01b0316815260019091019060200180831161156a575b505050918352505060058201546020820152600682015460408201526007820154606082015260088201546080820152600982015460a0820152600a9091015460c0909101526101408101519091506116215760405162461bcd60e51b815260206004820152601b60248201527a13595c9adb1948149bdbdd08139bdd08125b9a5d1a585b1a5e9959602a1b6044820152606401610477565b60208101516001600160a01b031661166d5760405162461bcd60e51b815260206004820152600f60248201526e125b9d985b1a5908141c9bda9958dd608a1b6044820152606401610477565b8335600090815260026020819052604090912001546001600160a01b0316156116a85760405162461bcd60e51b815260040161047790612bc7565b8060a001518160e00151106116fd5760405162461bcd60e51b815260206004820152601b60248201527a14185c9d1a58da5c185d1a5bdb88131a5b5a5d0814995858da1959602a1b6044820152606401610477565b836040013584602001351115801561172b575060a081015160e0820151611728906020870135612be7565b11155b6117685760405162461bcd60e51b815260206004820152600e60248201526d125b9d985b1a5908105b5bdd5b9d60921b6044820152606401610477565b60008160e001518260a0015161177e9190612aa7565b90508160c0015185602001351015806117a857508160c00151811080156117a85750846020013581145b6117f05760405162461bcd60e51b8152602060048201526019602482015278135a5b88105b5bdd5b9d08115e18d959591cc8105b5bdd5b9d603a1b6044820152606401610477565b60408051863560208201523381830181905291870135606082015230608082015260009060a00160408051601f1981840301815291815281516020928301206000818152600690935291205490915060ff16156118875760405162461bcd60e51b81526020600482015260156024820152741319585988105b1c9958591e481c995919595b5959605a1b6044820152606401610477565b60006118d887878080602002602001604051908101604052809392919081815260200183836020028082843760009201829052508d358152600260205260409020600a015492508691506121889050565b9050806119185760405162461bcd60e51b815260206004820152600e60248201526d24b731b7b93932b1ba102632b0b360911b6044820152606401610477565b6000828152600660209081526040808320805460ff191660019081179091558b35845260029092528220600901805491929091611956908490612be7565b90915550508735600090815260026020908152604082206007018054918b0135929091611984908490612be7565b9091555050873560009081526002602052604081206004016119ac60808b0160608c01612c59565b60ff16815481106119bf576119bf612a42565b600091825260209182902001546040805163313ce56760e01b815290516001600160a01b039092169263313ce567926004808401938290030181865afa158015611a0d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a319190612aba565b60ff1690506000670de0b6b3a7640000611a4c83600a612bbb565b611a5a9060208d0135612a6e565b611a649190612a85565b905060405180604001604052808281526020018b6060016020810190611a8a9190612c59565b60ff16815250600360008c6000013581526020019081526020016000206000876001600160a01b03166001600160a01b031681526020019081526020016000206000820151816000015560208201518160010160006101000a81548160ff021916908360ff160217905550905050611b7085600860009054906101000a90046001600160a01b031683600260008f6000013581526020019081526020016000206004018e6060016020810190611b409190612c59565b60ff1681548110611b5357611b53612a42565b6000918252602090912001546001600160a01b03169291906120ef565b7f1f626e1b09b48a75f25c415544b70ccd8d1f727f0d13e2eb5d569dbf1cf2a083858b60000135838d604001358e6060016020810190611bb09190612c59565b604080516001600160a01b039096168652602086019490945292840191909152606083015260ff16608082015260a00160405180910390a150505050505050611bf860018055565b505050565b611c05611fe6565b6001600160a01b038116611c6a5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610477565b611c7381612045565b50565b611c7e611fe6565b60006001600160a01b031686600081518110611c9c57611c9c612a42565b60200260200101516001600160a01b031603611ceb5760405162461bcd60e51b815260206004820152600e60248201526d24b73b30b634b21027b83a34b7b760911b6044820152606401610477565b604080516101806020601f880181900402820181019092526101608101868152600092829190899089908190850183828082843760009201829052509385525050506001600160a01b038716602080840191909152604080840183905260608401839052608084018c905260a0840188905260c0840187905260e084018390526101008401839052610120840183905261014090930182905260075482526002905220815191925082918190611da19082612cc4565b506020828101516001830180546001600160a01b039283166001600160a01b03199182161790915560408501516002850180549190931691161790556060830151600383015560808301518051611dfe9260048501920190612535565b5060a0820151600582015560c0820151600682015560e08201516007808301919091556101008301516008830155610120830151600983015561014090920151600a909101558054906000611e5283612c40565b91905055507ffe4bfeacb32af85c6ee65830fcd7deff801dbab2e74e7616e6f5eac68a2602216001600754611e879190612aa7565b87878787878d6040516112c19796959493929190612d83565b611ea8611fe6565b610ca361219e565b611c7381604051602401611ec49190612e24565b60408051601f198184030181529190526020810180516001600160e01b031663104c13eb60e21b1790526121da565b611c7381604051602401611f0991815260200190565b60408051601f198184030181529190526020810180516001600160e01b031663f82c50f160e01b1790526121da565b6040516024810183905260448101829052611f7f9060640160408051601f198184030181529190526020810180516001600160e01b0316637b3338ad60e11b1790526121da565b5050565b6040516001600160a01b038316602482015260448101829052611bf890849063a9059cbb60e01b906064015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b0319909316929092179091526121e3565b33611fef6112d2565b6001600160a01b031614610ca35760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610477565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b61209d612116565b6000805460ff60a01b1916600160a01b1790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586120d83390565b6040516120e591906126a0565b60405180910390a1565b612110846323b872dd60e01b858585604051602401611faf93929190612bfa565b50505050565b61211e610c81565b15610ca35760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610477565b60026001540361218157604051633ee5aeb560e01b815260040160405180910390fd5b6002600155565b60008261219585846122b8565b14949350505050565b6121a6612307565b6000805460ff60a01b191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa336120d8565b611c7381612352565b6000612238826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166123739092919063ffffffff16565b90508051600014806122595750808060200190518101906122599190612c1e565b611bf85760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610477565b600081815b84518110156122fd576122e9828683815181106122dc576122dc612a42565b602002602001015161238a565b9150806122f581612c40565b9150506122bd565b5090505b92915050565b61230f610c81565b610ca35760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b6044820152606401610477565b60006a636f6e736f6c652e6c6f679050600080835160208501845afa505050565b606061238284846000856123bc565b949350505050565b60008183106123a65760008281526020849052604090206123b5565b60008381526020839052604090205b9392505050565b60608247101561241d5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401610477565b600080866001600160a01b031685876040516124399190612e37565b60006040518083038185875af1925050503d8060008114612476576040519150601f19603f3d011682016040523d82523d6000602084013e61247b565b606091505b509150915061248c87838387612497565b979650505050505050565b606083156125065782516000036124ff576001600160a01b0385163b6124ff5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610477565b5081612382565b612382838381511561251b5781518083602001fd5b8060405162461bcd60e51b81526004016104779190612e24565b82805482825590600052602060002090810192821561258a579160200282015b8281111561258a57825182546001600160a01b0319166001600160a01b03909116178255602090920191600190910190612555565b5061259692915061259a565b5090565b5b80821115612596576000815560010161259b565b6000602082840312156125c157600080fd5b5035919050565b60005b838110156125e35781810151838201526020016125cb565b50506000910152565b600081518084526126048160208601602086016125c8565b601f01601f19169290920160200192915050565b600061014080835261262c8184018e6125ec565b6001600160a01b039c8d1660208501529a909b166040830152506060810197909752608087019590955260a086019390935260c085019190915260e08401526101008301526101209091015292915050565b6000806040838503121561269157600080fd5b50508035926020909101359150565b6001600160a01b0391909116815260200190565b60ff81168114611c7357600080fd5b6000806000606084860312156126d857600080fd5b83359250602084013563ffffffff811681146126f357600080fd5b91506040840135612703816126b4565b809150509250925092565b80356001600160a01b038116811461272557600080fd5b919050565b6000806040838503121561273d57600080fd5b8235915061274d6020840161270e565b90509250929050565b6000806000806080858703121561276c57600080fd5b84359350602085013592506127836040860161270e565b9396929550929360600135925050565b600080600083850360a08112156127a957600080fd5b60808112156127b757600080fd5b5083925060808301356001600160401b03808211156127d557600080fd5b818601915086601f8301126127e957600080fd5b8135818111156127f857600080fd5b8760208260051b850101111561280d57600080fd5b6020830194508093505050509250925092565b60008060006060848603121561283557600080fd5b833592506020840135915061284c6040850161270e565b90509250925092565b60006020828403121561286757600080fd5b6123b58261270e565b634e487b7160e01b600052604160045260246000fd5b60008083601f84011261289857600080fd5b5081356001600160401b038111156128af57600080fd5b6020830191508360208285010111156128c757600080fd5b9250929050565b60008060008060008060a087890312156128e757600080fd5b86356001600160401b03808211156128fe57600080fd5b818901915089601f83011261291257600080fd5b813560208282111561292657612926612870565b8160051b604051601f19603f8301168101818110868211171561294b5761294b612870565b6040529283528481018201928281018e85111561296757600080fd5b958301955b8487101561298a5761297d8761270e565b815295830195830161296c565b509a50508a0135925050808211156129a157600080fd5b506129ae89828a01612886565b90965094506129c190506040880161270e565b925060608701359150608087013590509295509295509295565b600181811c908216806129ef57607f821691505b602082108103612a0f57634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252601390820152722ab730baba3437b934bd32b21029b2b73232b960691b604082015260600190565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b808202811582820484141761230157612301612a58565b600082612aa257634e487b7160e01b600052601260045260246000fd5b500490565b8181038181111561230157612301612a58565b600060208284031215612acc57600080fd5b81516123b5816126b4565b600181815b80851115612b12578160001904821115612af857612af8612a58565b80851615612b0557918102915b93841c9390800290612adc565b509250929050565b600082612b2957506001612301565b81612b3657506000612301565b8160018114612b4c5760028114612b5657612b72565b6001915050612301565b60ff841115612b6757612b67612a58565b50506001821b612301565b5060208310610133831016604e8410600b8410161715612b95575081810a612301565b612b9f8383612ad7565b8060001904821115612bb357612bb3612a58565b029392505050565b60006123b58383612b1a565b6020808252600690820152654e6f2054474560d01b604082015260600190565b8082018082111561230157612301612a58565b6001600160a01b039384168152919092166020820152604081019190915260600190565b600060208284031215612c3057600080fd5b815180151581146123b557600080fd5b600060018201612c5257612c52612a58565b5060010190565b600060208284031215612c6b57600080fd5b81356123b5816126b4565b601f821115611bf857600081815260208120601f850160051c81016020861015612c9d5750805b601f850160051c820191505b81811015612cbc57828155600101612ca9565b505050505050565b81516001600160401b03811115612cdd57612cdd612870565b612cf181612ceb84546129db565b84612c76565b602080601f831160018114612d265760008415612d0e5750858301515b600019600386901b1c1916600185901b178555612cbc565b600085815260208120601f198616915b82811015612d5557888601518255948401946001909101908401612d36565b5085821015612d735787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b8781526000602060c0818401528760c0840152878960e0850137600060e089850181018290526001600160a01b0389811660408701526060860189905260808601889052601f8b01601f19168601868103830160a088015287519281018390528488019392610100909101905b80841015612e1257845183168252938501936001939093019290850190612df0565b509d9c50505050505050505050505050565b6020815260006123b560208301846125ec565b60008251612e498184602087016125c8565b919091019291505056fea26469706673582212202779d019a7d02d9dd477cd2c7252ec3cb6c6f3f1cd0db5ba6843289d28c836f864736f6c634300081500330000000000000000000000009040b134d0c7f153b3b45650be4ec8da49573c72
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106100fc5760003560e01c8063107046bd1461010157806318712c2114610133578063278ecde11461014857806336e0004a1461015b57806338c504d71461017b578063554535511461018e5780635c975abb146101e4578063715018a6146101fc57806374dff66b146102045780637e73b64d146102175780638456cb59146102635780638bd8ba1e1461026b5780638da5cb5b1461027e578063ad61c65d14610286578063ba9dc28e146102a9578063d6f7c8f8146102bc578063e0999c8d146102cf578063f2fde38b14610303578063f46855ae14610316578063f7b188a514610329575b600080fd5b61011461010f3660046125af565b610331565b60405161012a9a99989796959493929190612618565b60405180910390f35b61014661014136600461267e565b610417565b005b6101466101563660046125af565b610548565b60085461016e906001600160a01b031681565b60405161012a91906126a0565b6101466101893660046126c3565b610a51565b6101c361019c3660046125af565b60046020526000908152604090208054600182015460029092015490919063ffffffff1683565b60408051938452602084019290925263ffffffff169082015260600161012a565b6101ec610c81565b604051901515815260200161012a565b610146610c91565b61014661021236600461267e565b610ca5565b61024c61022536600461272a565b60036020908152600092835260408084209091529082529020805460019091015460ff1682565b6040805192835260ff90911660208301520161012a565b610146610e3c565b6101466102793660046125af565b610e4c565b61016e6112d2565b6101ec6102943660046125af565b60066020526000908152604090205460ff1681565b6101466102b7366004612756565b6112e1565b6101466102ca366004612793565b611440565b6101ec6102dd366004612820565b600560209081526000938452604080852082529284528284209052825290205460ff1681565b610146610311366004612855565b611bfd565b6101466103243660046128ce565b611c76565b610146611ea0565b60026020526000908152604090208054819061034c906129db565b80601f0160208091040260200160405190810160405280929190818152602001828054610378906129db565b80156103c55780601f1061039a576101008083540402835291602001916103c5565b820191906000526020600020905b8154815290600101906020018083116103a857829003601f168201915b50505060018401546002850154600386015460058701546006880154600789015460088a015460098b0154600a909b0154999a6001600160a01b039788169a969097169850939650919490939192918a565b336104206112d2565b6001600160a01b0316816001600160a01b0316148061045b57506000838152600260205260409020600101546001600160a01b038281169116145b6104805760405162461bcd60e51b815260040161047790612a15565b60405180910390fd5b6000838152600260205260409020600101546001600160a01b03166104e15760405162461bcd60e51b8152602060048201526017602482015276141c9bda9958dd08139bdd08125b9a5d1a585b1a5e9959604a1b6044820152606401610477565b600083815260026020908152604091829020600a0184905581518581526001600160a01b038416918101919091529081018390527f25f67e2127b895637dfb4b4966e9a41c7e4e9f2033eb9188e609186ff895a771906060015b60405180910390a1505050565b60008181526004602090815260408083205460038352818420338086529352922054909190158015906105a65750600083815260056020908152604080832084845282528083206001600160a01b038616845290915290205460ff16155b6105e25760405162461bcd60e51b815260206004820152600d60248201526c10d85b9b9bdd081499599d5b99609a1b6044820152606401610477565b600181111561061e5760405162461bcd60e51b8152602060048201526008602482015267546f6f206c61746560c01b6044820152606401610477565b60008381526003602090815260408083206001600160a01b0386168452825291829020548251808401909352600c83526b1d1bdd185b08105b5bdd5b9d60a21b918301919091529061066f90611eb0565b61067881611ef3565b60008260011480156106b45750600085815260056020908152604080832083805282528083206001600160a01b038816845290915290205460ff165b156107a7576106f0604051806040016040528060168152602001751d1bdd185b08105b5bdd5b9d080ac8141c9bda9958dd60521b815250611eb0565b6000858152600460205260408120600301805461073a929061071457610714612a42565b60009182526020918290209181049091015460ff601f9092166101000a90041683611f38565b6000858152600460205260408120600301805460649285929161075f5761075f612a42565b90600052602060002090602091828204019190069054906101000a900460ff1660ff1661078c9190612a6e565b6107969190612a85565b6107a09083612aa7565b90506107b2565b50806107b281611ef3565b6000858152600260205260409020600801546107cf908290611f38565b6000858152600260205260409020600801548111156108245760405162461bcd60e51b8152602060048201526011602482015270155b9cdd599988199bdc881499599d5b99607a1b6044820152606401610477565b6000858152600260209081526040808320600383528184206001600160a01b038916855290925282206001015460049091018054909160ff1690811061086c5761086c612a42565b600091825260209182902001546040805163313ce56760e01b815290516001600160a01b039092169263313ce567926004808401938290030181865afa1580156108ba573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108de9190612aba565b60ff16905060006002600088815260200190815260200160002060040160008154811061090d5761090d612a42565b600091825260209182902001546040805163313ce56760e01b815290516001600160a01b039092169263313ce567926004808401938290030181865afa15801561095b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061097f9190612aba565b60ff16905061098f82600a612bbb565b61099a82600a612bbb565b6109a49085612a6e565b6109ae9190612a85565b60008881526003602090815260408083206001600160a01b038b16845290915281205592506109dc83611ef3565b600087815260026020526040812060080180548592906109fd908490612aa7565b909155505060008781526002602052604081206004018054610a489289928792909190610a2c57610a2c612a42565b6000918252602090912001546001600160a01b03169190611f83565b50505050505050565b33610a5a6112d2565b6001600160a01b0316816001600160a01b03161480610a9557506000848152600260205260409020600101546001600160a01b038281169116145b610ab15760405162461bcd60e51b815260040161047790612a15565b600084815260026020819052604090912001546001600160a01b0316610ae95760405162461bcd60e51b815260040161047790612bc7565b60648260ff1611158015610aff575060ff821615155b610b375760405162461bcd60e51b8152602060048201526009602482015268496e76616c6964202560b81b6044820152606401610477565b60008481526004602052604090206002015463ffffffff1615610bd55760008481526004602052604090206002015463ffffffff164211610bb05760405162461bcd60e51b815260206004820152601360248201527276657374696e6720696e2070726f677265737360681b6044820152606401610477565b6000848152600460205260408120805460019290610bcf908490612be7565b90915550505b600084815260046020908152604080832060028101805463ffffffff891663ffffffff19909116811790915560038201805460018101825590865284862085820401805460ff8a8116601f9094166101000a8481029102199091161790559489905290548251898152938401529082015260608101919091527f855b3081c0178deb300dd3710f9a42d038e9e3ccf3b8ed6c659ad9f18abe51799060800160405180910390a150505050565b600054600160a01b900460ff1690565b610c99611fe6565b610ca36000612045565b565b33610cae6112d2565b6001600160a01b0316816001600160a01b03161480610ce957506000838152600260205260409020600101546001600160a01b038281169116145b610d055760405162461bcd60e51b815260040161047790612a15565b600083815260026020819052604090912001546001600160a01b0316610d3d5760405162461bcd60e51b815260040161047790612bc7565b60008381526002602052604081206004018054909190610d5f57610d5f612a42565b6000918252602090912001546040516323b872dd60e01b81526001600160a01b03909116906323b872dd90610d9c90849030908790600401612bfa565b6020604051808303816000875af1158015610dbb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ddf9190612c1e565b5060008381526002602052604081206008018054849290610e01908490612be7565b909155505060408051848152602081018490527f861cb54ca3ce3c53e015e6542416b3be9ba8c0cbd26a4bddba2ce953854686f6910161053b565b610e44611fe6565b610ca3612095565b6000818152600460209081526040808320546003835281842033808652935290832054919290919003610eb05760405162461bcd60e51b815260206004820152600c60248201526b43616e6e6f7420436c61696d60a01b6044820152606401610477565b600083815260056020908152604080832084845282528083206001600160a01b038616845290915290205460ff1615610f1d5760405162461bcd60e51b815260206004820152600f60248201526e105b1c9958591e4810db185a5b5959608a1b6044820152606401610477565b6000838152600460205260409020600301805482908110610f4057610f40612a42565b60009182526020808320908204015460ff601f9092166101000a9004169003610fa45760405162461bcd60e51b81526020600482015260166024820152754e6f2056657374696e6720696e2070726f677265737360501b6044820152606401610477565b600083815260026020818152604080842090920154825163313ce56760e01b815292516001600160a01b039091169263313ce5679260048083019391928290030181865afa158015610ffa573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061101e9190612aba565b6000858152600260209081526040808320600383528184206001600160a01b03891685529092528220600101546004909101805460ff948516955092939092911690811061106e5761106e612a42565b600091825260209182902001546040805163313ce56760e01b815290516001600160a01b039092169263313ce567926004808401938290030181865afa1580156110bc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110e09190612aba565b60008681526002602052604081206003015460ff9290921692509061110683600a612bbb565b61111185600a612bbb565b60008981526003602090815260408083206001600160a01b038c16845290915290205461114690670de0b6b3a7640000612a6e565b6111509190612a6e565b61115a9190612a85565b6111649190612a85565b90506000805b85811161125657600088815260056020908152604080832084845282528083206001600160a01b038b16845290915290205460ff1661124457600088815260046020526040902060030180546064918591849081106111cb576111cb612a42565b90600052602060002090602091828204019190069054906101000a900460ff1660ff166111f89190612a6e565b6112029190612a85565b61120c9083612be7565b600089815260056020908152604080832085845282528083206001600160a01b038c1684529091529020805460ff1916600117905591505b8061124e81612c40565b91505061116a565b5061126081611ef3565b60008781526002602081905260409091200154611287906001600160a01b03168783611f83565b60408051888152602081018790529081018290527f98bfbdc6e964c3d6c18f53f1c504ba19d0643d0217e0b9cefc8292a694b694ea906060015b60405180910390a150505050505050565b6000546001600160a01b031690565b336112ea6112d2565b6001600160a01b0316816001600160a01b0316148061132557506000858152600260205260409020600101546001600160a01b038281169116145b6113415760405162461bcd60e51b815260040161047790612a15565b600085815260026020819052604090912001546001600160a01b03161561139d5760405162461bcd60e51b815260206004820152601060248201526f54474520616c726561647920646f6e6560801b6044820152606401610477565b600085815260026020819052604090912090810180546001600160a01b0319166001600160a01b03861690811790915560039091018390556113e1908230876120ef565b60408051868152602081018690529081018390526001600160a01b038085166060830152821660808201527fb90dbfa7f8450820f132902e199c818eed3516dbd64844c403c3aaf4da9291b29060a00160405180910390a15050505050565b611448612116565b61145061215e565b82356000908152600260205260408082208151610160810190925280548290829061147a906129db565b80601f01602080910402602001604051908101604052809291908181526020018280546114a6906129db565b80156114f35780601f106114c8576101008083540402835291602001916114f3565b820191906000526020600020905b8154815290600101906020018083116114d657829003601f168201915b505050918352505060018201546001600160a01b03908116602080840191909152600284015490911660408084019190915260038401546060840152600484018054825181850281018501909352808352608090940193919290919083018282801561158857602002820191906000526020600020905b81546001600160a01b0316815260019091019060200180831161156a575b505050918352505060058201546020820152600682015460408201526007820154606082015260088201546080820152600982015460a0820152600a9091015460c0909101526101408101519091506116215760405162461bcd60e51b815260206004820152601b60248201527a13595c9adb1948149bdbdd08139bdd08125b9a5d1a585b1a5e9959602a1b6044820152606401610477565b60208101516001600160a01b031661166d5760405162461bcd60e51b815260206004820152600f60248201526e125b9d985b1a5908141c9bda9958dd608a1b6044820152606401610477565b8335600090815260026020819052604090912001546001600160a01b0316156116a85760405162461bcd60e51b815260040161047790612bc7565b8060a001518160e00151106116fd5760405162461bcd60e51b815260206004820152601b60248201527a14185c9d1a58da5c185d1a5bdb88131a5b5a5d0814995858da1959602a1b6044820152606401610477565b836040013584602001351115801561172b575060a081015160e0820151611728906020870135612be7565b11155b6117685760405162461bcd60e51b815260206004820152600e60248201526d125b9d985b1a5908105b5bdd5b9d60921b6044820152606401610477565b60008160e001518260a0015161177e9190612aa7565b90508160c0015185602001351015806117a857508160c00151811080156117a85750846020013581145b6117f05760405162461bcd60e51b8152602060048201526019602482015278135a5b88105b5bdd5b9d08115e18d959591cc8105b5bdd5b9d603a1b6044820152606401610477565b60408051863560208201523381830181905291870135606082015230608082015260009060a00160408051601f1981840301815291815281516020928301206000818152600690935291205490915060ff16156118875760405162461bcd60e51b81526020600482015260156024820152741319585988105b1c9958591e481c995919595b5959605a1b6044820152606401610477565b60006118d887878080602002602001604051908101604052809392919081815260200183836020028082843760009201829052508d358152600260205260409020600a015492508691506121889050565b9050806119185760405162461bcd60e51b815260206004820152600e60248201526d24b731b7b93932b1ba102632b0b360911b6044820152606401610477565b6000828152600660209081526040808320805460ff191660019081179091558b35845260029092528220600901805491929091611956908490612be7565b90915550508735600090815260026020908152604082206007018054918b0135929091611984908490612be7565b9091555050873560009081526002602052604081206004016119ac60808b0160608c01612c59565b60ff16815481106119bf576119bf612a42565b600091825260209182902001546040805163313ce56760e01b815290516001600160a01b039092169263313ce567926004808401938290030181865afa158015611a0d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a319190612aba565b60ff1690506000670de0b6b3a7640000611a4c83600a612bbb565b611a5a9060208d0135612a6e565b611a649190612a85565b905060405180604001604052808281526020018b6060016020810190611a8a9190612c59565b60ff16815250600360008c6000013581526020019081526020016000206000876001600160a01b03166001600160a01b031681526020019081526020016000206000820151816000015560208201518160010160006101000a81548160ff021916908360ff160217905550905050611b7085600860009054906101000a90046001600160a01b031683600260008f6000013581526020019081526020016000206004018e6060016020810190611b409190612c59565b60ff1681548110611b5357611b53612a42565b6000918252602090912001546001600160a01b03169291906120ef565b7f1f626e1b09b48a75f25c415544b70ccd8d1f727f0d13e2eb5d569dbf1cf2a083858b60000135838d604001358e6060016020810190611bb09190612c59565b604080516001600160a01b039096168652602086019490945292840191909152606083015260ff16608082015260a00160405180910390a150505050505050611bf860018055565b505050565b611c05611fe6565b6001600160a01b038116611c6a5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610477565b611c7381612045565b50565b611c7e611fe6565b60006001600160a01b031686600081518110611c9c57611c9c612a42565b60200260200101516001600160a01b031603611ceb5760405162461bcd60e51b815260206004820152600e60248201526d24b73b30b634b21027b83a34b7b760911b6044820152606401610477565b604080516101806020601f880181900402820181019092526101608101868152600092829190899089908190850183828082843760009201829052509385525050506001600160a01b038716602080840191909152604080840183905260608401839052608084018c905260a0840188905260c0840187905260e084018390526101008401839052610120840183905261014090930182905260075482526002905220815191925082918190611da19082612cc4565b506020828101516001830180546001600160a01b039283166001600160a01b03199182161790915560408501516002850180549190931691161790556060830151600383015560808301518051611dfe9260048501920190612535565b5060a0820151600582015560c0820151600682015560e08201516007808301919091556101008301516008830155610120830151600983015561014090920151600a909101558054906000611e5283612c40565b91905055507ffe4bfeacb32af85c6ee65830fcd7deff801dbab2e74e7616e6f5eac68a2602216001600754611e879190612aa7565b87878787878d6040516112c19796959493929190612d83565b611ea8611fe6565b610ca361219e565b611c7381604051602401611ec49190612e24565b60408051601f198184030181529190526020810180516001600160e01b031663104c13eb60e21b1790526121da565b611c7381604051602401611f0991815260200190565b60408051601f198184030181529190526020810180516001600160e01b031663f82c50f160e01b1790526121da565b6040516024810183905260448101829052611f7f9060640160408051601f198184030181529190526020810180516001600160e01b0316637b3338ad60e11b1790526121da565b5050565b6040516001600160a01b038316602482015260448101829052611bf890849063a9059cbb60e01b906064015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b0319909316929092179091526121e3565b33611fef6112d2565b6001600160a01b031614610ca35760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610477565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b61209d612116565b6000805460ff60a01b1916600160a01b1790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586120d83390565b6040516120e591906126a0565b60405180910390a1565b612110846323b872dd60e01b858585604051602401611faf93929190612bfa565b50505050565b61211e610c81565b15610ca35760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610477565b60026001540361218157604051633ee5aeb560e01b815260040160405180910390fd5b6002600155565b60008261219585846122b8565b14949350505050565b6121a6612307565b6000805460ff60a01b191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa336120d8565b611c7381612352565b6000612238826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166123739092919063ffffffff16565b90508051600014806122595750808060200190518101906122599190612c1e565b611bf85760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610477565b600081815b84518110156122fd576122e9828683815181106122dc576122dc612a42565b602002602001015161238a565b9150806122f581612c40565b9150506122bd565b5090505b92915050565b61230f610c81565b610ca35760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b6044820152606401610477565b60006a636f6e736f6c652e6c6f679050600080835160208501845afa505050565b606061238284846000856123bc565b949350505050565b60008183106123a65760008281526020849052604090206123b5565b60008381526020839052604090205b9392505050565b60608247101561241d5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401610477565b600080866001600160a01b031685876040516124399190612e37565b60006040518083038185875af1925050503d8060008114612476576040519150601f19603f3d011682016040523d82523d6000602084013e61247b565b606091505b509150915061248c87838387612497565b979650505050505050565b606083156125065782516000036124ff576001600160a01b0385163b6124ff5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610477565b5081612382565b612382838381511561251b5781518083602001fd5b8060405162461bcd60e51b81526004016104779190612e24565b82805482825590600052602060002090810192821561258a579160200282015b8281111561258a57825182546001600160a01b0319166001600160a01b03909116178255602090920191600190910190612555565b5061259692915061259a565b5090565b5b80821115612596576000815560010161259b565b6000602082840312156125c157600080fd5b5035919050565b60005b838110156125e35781810151838201526020016125cb565b50506000910152565b600081518084526126048160208601602086016125c8565b601f01601f19169290920160200192915050565b600061014080835261262c8184018e6125ec565b6001600160a01b039c8d1660208501529a909b166040830152506060810197909752608087019590955260a086019390935260c085019190915260e08401526101008301526101209091015292915050565b6000806040838503121561269157600080fd5b50508035926020909101359150565b6001600160a01b0391909116815260200190565b60ff81168114611c7357600080fd5b6000806000606084860312156126d857600080fd5b83359250602084013563ffffffff811681146126f357600080fd5b91506040840135612703816126b4565b809150509250925092565b80356001600160a01b038116811461272557600080fd5b919050565b6000806040838503121561273d57600080fd5b8235915061274d6020840161270e565b90509250929050565b6000806000806080858703121561276c57600080fd5b84359350602085013592506127836040860161270e565b9396929550929360600135925050565b600080600083850360a08112156127a957600080fd5b60808112156127b757600080fd5b5083925060808301356001600160401b03808211156127d557600080fd5b818601915086601f8301126127e957600080fd5b8135818111156127f857600080fd5b8760208260051b850101111561280d57600080fd5b6020830194508093505050509250925092565b60008060006060848603121561283557600080fd5b833592506020840135915061284c6040850161270e565b90509250925092565b60006020828403121561286757600080fd5b6123b58261270e565b634e487b7160e01b600052604160045260246000fd5b60008083601f84011261289857600080fd5b5081356001600160401b038111156128af57600080fd5b6020830191508360208285010111156128c757600080fd5b9250929050565b60008060008060008060a087890312156128e757600080fd5b86356001600160401b03808211156128fe57600080fd5b818901915089601f83011261291257600080fd5b813560208282111561292657612926612870565b8160051b604051601f19603f8301168101818110868211171561294b5761294b612870565b6040529283528481018201928281018e85111561296757600080fd5b958301955b8487101561298a5761297d8761270e565b815295830195830161296c565b509a50508a0135925050808211156129a157600080fd5b506129ae89828a01612886565b90965094506129c190506040880161270e565b925060608701359150608087013590509295509295509295565b600181811c908216806129ef57607f821691505b602082108103612a0f57634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252601390820152722ab730baba3437b934bd32b21029b2b73232b960691b604082015260600190565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b808202811582820484141761230157612301612a58565b600082612aa257634e487b7160e01b600052601260045260246000fd5b500490565b8181038181111561230157612301612a58565b600060208284031215612acc57600080fd5b81516123b5816126b4565b600181815b80851115612b12578160001904821115612af857612af8612a58565b80851615612b0557918102915b93841c9390800290612adc565b509250929050565b600082612b2957506001612301565b81612b3657506000612301565b8160018114612b4c5760028114612b5657612b72565b6001915050612301565b60ff841115612b6757612b67612a58565b50506001821b612301565b5060208310610133831016604e8410600b8410161715612b95575081810a612301565b612b9f8383612ad7565b8060001904821115612bb357612bb3612a58565b029392505050565b60006123b58383612b1a565b6020808252600690820152654e6f2054474560d01b604082015260600190565b8082018082111561230157612301612a58565b6001600160a01b039384168152919092166020820152604081019190915260600190565b600060208284031215612c3057600080fd5b815180151581146123b557600080fd5b600060018201612c5257612c52612a58565b5060010190565b600060208284031215612c6b57600080fd5b81356123b5816126b4565b601f821115611bf857600081815260208120601f850160051c81016020861015612c9d5750805b601f850160051c820191505b81811015612cbc57828155600101612ca9565b505050505050565b81516001600160401b03811115612cdd57612cdd612870565b612cf181612ceb84546129db565b84612c76565b602080601f831160018114612d265760008415612d0e5750858301515b600019600386901b1c1916600185901b178555612cbc565b600085815260208120601f198616915b82811015612d5557888601518255948401946001909101908401612d36565b5085821015612d735787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b8781526000602060c0818401528760c0840152878960e0850137600060e089850181018290526001600160a01b0389811660408701526060860189905260808601889052601f8b01601f19168601868103830160a088015287519281018390528488019392610100909101905b80841015612e1257845183168252938501936001939093019290850190612df0565b509d9c50505050505050505050505050565b6020815260006123b560208301846125ec565b60008251612e498184602087016125c8565b919091019291505056fea26469706673582212202779d019a7d02d9dd477cd2c7252ec3cb6c6f3f1cd0db5ba6843289d28c836f864736f6c63430008150033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000009040b134d0c7f153b3b45650be4ec8da49573c72
-----Decoded View---------------
Arg [0] : _multiSig (address): 0x9040b134D0c7f153B3b45650be4Ec8dA49573c72
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000009040b134d0c7f153b3b45650be4ec8da49573c72
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|---|---|---|---|---|
ETH | 100.00% | $0.999355 | 250 | $249.84 |
Loading...
Loading
[ 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.