Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
Latest 13 from a total of 13 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Set Unit Prices | 19681065 | 219 days ago | IN | 0 ETH | 0.00151398 | ||||
Pay | 19255247 | 279 days ago | IN | 0 ETH | 0.00190584 | ||||
Set Unit Prices | 19182166 | 289 days ago | IN | 0 ETH | 0.00592305 | ||||
Pay | 18719142 | 354 days ago | IN | 0 ETH | 0.00317145 | ||||
Pay | 18660129 | 362 days ago | IN | 0 ETH | 0.00191182 | ||||
Set Unit Prices | 18576115 | 374 days ago | IN | 0 ETH | 0.00134575 | ||||
Pay | 18568589 | 375 days ago | IN | 0 ETH | 0.00188198 | ||||
Set Unit Prices | 18568550 | 375 days ago | IN | 0 ETH | 0.00113953 | ||||
Pay | 18540659 | 379 days ago | IN | 0 ETH | 0.00256083 | ||||
Pay | 18540524 | 379 days ago | IN | 0 ETH | 0.003263 | ||||
Toggle Sale | 18532778 | 380 days ago | IN | 0 ETH | 0.00068302 | ||||
Set Unit Prices | 18532775 | 380 days ago | IN | 0 ETH | 0.00253341 | ||||
0x60806040 | 18532755 | 380 days ago | IN | 0 ETH | 0.03577819 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
ERC20Payment
Compiler Version
v0.8.13+commit.abaa5c0e
Optimization Enabled:
Yes with 2000 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.9; import "@openzeppelin/contracts/access/Ownable.sol"; import "./interface/IERC20Permit.sol"; import "./ERC20Recoverable.sol"; contract ERC20Payment is Ownable, ERC20Recoverable{ event PaymentMade(address user, uint256 package, uint256 quantity, uint256 cost); event BatchPaymentMade(address user, uint256[] packages, uint256[] quantities, uint256 cost); bool public saleOpen; address public payeeWallet; IERC20Permit public payoutToken; mapping(uint256 => uint256) public unitPrices; constructor(address _payoutToken, address _payeeWallet){ payoutToken = IERC20Permit(_payoutToken); payeeWallet = _payeeWallet; } function pay(address user, uint256 package, uint256 quantity, uint256 deadline, uint8 v, bytes32 r, bytes32 s) external{ require(saleOpen, "Sale not yet opened"); uint256 price = unitPrices[package]; require(price > 0 && quantity > 0, "Invalid purchase"); uint256 cost = price * quantity; payoutToken.permit(user, address(this), cost, deadline, v, r, s); payoutToken.transferFrom(user, payeeWallet, cost); emit PaymentMade(user, package, quantity, cost); } function payBatch(address user, uint256[] memory packages, uint256[] memory quantities, uint256 deadline, uint8 v, bytes32 r, bytes32 s) external{ require(saleOpen, "Sale not yet opened"); require(packages.length == quantities.length, "Invalid configs"); uint256 cost = 0; for(uint256 i; i != packages.length; i++){ uint256 price = unitPrices[packages[i]]; uint256 quantity = quantities[i]; require(price > 0 && quantity > 0, "Invalid purchase"); cost += price * quantity; } payoutToken.permit(user, address(this), cost, deadline, v, r, s); payoutToken.transferFrom(user, payeeWallet, cost); emit BatchPaymentMade(user, packages, quantities, cost); } function setUnitPrice(uint256 package, uint256 price) external onlyOwner(){ unitPrices[package] = price; } function setUnitPrices(uint256[] memory packages, uint256[] memory prices) external onlyOwner(){ require(packages.length == prices.length, "Invalid configs"); for (uint256 i; i < packages.length; i++) { unitPrices[packages[i]] = prices[i]; } } function getBatchUnitPrice(uint256[] memory packages) external view returns (uint256[] memory) { uint256[] memory prices = new uint256[](packages.length); for (uint256 i = 0; i < packages.length; i++) { prices[i] = unitPrices[packages[i]]; } return prices; } function setPayoutToken(address _payoutToken) external onlyOwner{ payoutToken = IERC20Permit(_payoutToken); } function setPayeeWallet(address _payeeWallet) external onlyOwner{ payeeWallet = _payeeWallet; } function recoverToken(IERC20 token, address to, uint256 value) external onlyOwner{ recover(token, to, value); } function toggleSale() external onlyOwner(){ saleOpen = !saleOpen; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (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 Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `from` to `to` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 amount ) external returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.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 * ==== * * [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://diligence.consensys.net/posts/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.5.11/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 functionCall(target, data, "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"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(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) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(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) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason 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 { // 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 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 pragma solidity ^0.8.9; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/utils/Address.sol"; abstract contract ERC20Recoverable { using Address for address; function recover( IERC20 token, address to, uint256 value ) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, address(this), to, value)); } 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, "ERC20Recoverable: low-level call failed"); if (returndata.length > 0) { // Return data is optional require(abi.decode(returndata, (bool)), "ERC20Recoverable: ERC20 operation did not succeed"); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20Permit { /** * @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); /** * @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; }
{ "optimizer": { "enabled": true, "runs": 2000 }, "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":"_payoutToken","type":"address"},{"internalType":"address","name":"_payeeWallet","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256[]","name":"packages","type":"uint256[]"},{"indexed":false,"internalType":"uint256[]","name":"quantities","type":"uint256[]"},{"indexed":false,"internalType":"uint256","name":"cost","type":"uint256"}],"name":"BatchPaymentMade","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":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"package","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"quantity","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"cost","type":"uint256"}],"name":"PaymentMade","type":"event"},{"inputs":[{"internalType":"uint256[]","name":"packages","type":"uint256[]"}],"name":"getBatchUnitPrice","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"},{"internalType":"uint256","name":"package","type":"uint256"},{"internalType":"uint256","name":"quantity","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"pay","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"},{"internalType":"uint256[]","name":"packages","type":"uint256[]"},{"internalType":"uint256[]","name":"quantities","type":"uint256[]"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"payBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"payeeWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"payoutToken","outputs":[{"internalType":"contract IERC20Permit","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"recoverToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"saleOpen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_payeeWallet","type":"address"}],"name":"setPayeeWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_payoutToken","type":"address"}],"name":"setPayoutToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"package","type":"uint256"},{"internalType":"uint256","name":"price","type":"uint256"}],"name":"setUnitPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"packages","type":"uint256[]"},{"internalType":"uint256[]","name":"prices","type":"uint256[]"}],"name":"setUnitPrices","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"toggleSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"unitPrices","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
60806040523480156200001157600080fd5b50604051620016d0380380620016d08339810160408190526200003491620000de565b6200003f3362000071565b600280546001600160a01b039384166001600160a01b0319918216179091556001805492909316911617905562000116565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b80516001600160a01b0381168114620000d957600080fd5b919050565b60008060408385031215620000f257600080fd5b620000fd83620000c1565b91506200010d60208401620000c1565b90509250929050565b6115aa80620001266000396000f3fe608060405234801561001057600080fd5b50600436106101005760003560e01c806399288dbb11610097578063eef31be211610066578063eef31be214610212578063f02ae48f14610240578063f2fde38b14610253578063fd59d6571461026657600080fd5b806399288dbb146101b55780639be4a26d146101d9578063a7229fd9146101ec578063dc633839146101ff57600080fd5b8063715018a6116100d3578063715018a6146101815780637d8966e4146101895780638ba3ce17146101915780638da5cb5b146101a457600080fd5b80630332d6f8146101055780634efa82b61461012e5780635bf07a33146101595780636692ade51461016e575b600080fd5b610118610113366004611149565b610279565b60405161012591906111c1565b60405180910390f35b600254610141906001600160a01b031681565b6040516001600160a01b039091168152602001610125565b61016c6101673660046111d4565b610332565b005b61016c61017c366004611263565b610450565b61016c6106a2565b61016c610708565b61016c61019f3660046112c8565b61079e565b6000546001600160a01b0316610141565b6000546101c990600160a01b900460ff1681565b6040519015158152602001610125565b600154610141906001600160a01b031681565b61016c6101fa366004611350565b610a97565b61016c61020d366004611391565b610afc565b6102326102203660046113b3565b60036020526000908152604090205481565b604051908152602001610125565b61016c61024e3660046113cc565b610b68565b61016c6102613660046113cc565b610bf1565b61016c6102743660046113cc565b610cd3565b60606000825167ffffffffffffffff811115610297576102976110a3565b6040519080825280602002602001820160405280156102c0578160200160208202803683370190505b50905060005b835181101561032b57600360008583815181106102e5576102e56113e9565b602002602001015181526020019081526020016000205482828151811061030e5761030e6113e9565b60209081029190910101528061032381611415565b9150506102c6565b5092915050565b6000546001600160a01b031633146103915760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b80518251146103e25760405162461bcd60e51b815260206004820152600f60248201527f496e76616c696420636f6e6669677300000000000000000000000000000000006044820152606401610388565b60005b825181101561044b57818181518110610400576104006113e9565b60200260200101516003600085848151811061041e5761041e6113e9565b6020026020010151815260200190815260200160002081905550808061044390611415565b9150506103e5565b505050565b600054600160a01b900460ff166104a95760405162461bcd60e51b815260206004820152601360248201527f53616c65206e6f7420796574206f70656e6564000000000000000000000000006044820152606401610388565b60008681526003602052604090205480158015906104c75750600086115b6105135760405162461bcd60e51b815260206004820152601060248201527f496e76616c6964207075726368617365000000000000000000000000000000006044820152606401610388565b600061051f878361142f565b6002546040517fd505accf0000000000000000000000000000000000000000000000000000000081526001600160a01b038c8116600483015230602483015260448201849052606482018a905260ff8916608483015260a4820188905260c4820187905292935091169063d505accf9060e401600060405180830381600087803b1580156105ac57600080fd5b505af11580156105c0573d6000803e3d6000fd5b50506002546001546040516323b872dd60e01b81526001600160a01b038e81166004830152918216602482015260448101869052911692506323b872dd91506064016020604051808303816000875af1158015610621573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610645919061144e565b50604080516001600160a01b038b168152602081018a9052908101889052606081018290527f8e4aa0897527f9d5629d6daf3255e753bfdd9862c1b9803c200a8bd12d5b86259060800160405180910390a1505050505050505050565b6000546001600160a01b031633146106fc5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610388565b6107066000610d5c565b565b6000546001600160a01b031633146107625760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610388565b600080547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff8116600160a01b9182900460ff1615909102179055565b600054600160a01b900460ff166107f75760405162461bcd60e51b815260206004820152601360248201527f53616c65206e6f7420796574206f70656e6564000000000000000000000000006044820152606401610388565b84518651146108485760405162461bcd60e51b815260206004820152600f60248201527f496e76616c696420636f6e6669677300000000000000000000000000000000006044820152606401610388565b6000805b8751811461092a576000600360008a848151811061086c5761086c6113e9565b602002602001015181526020019081526020016000205490506000888381518110610899576108996113e9565b602002602001015190506000821180156108b35750600081115b6108ff5760405162461bcd60e51b815260206004820152601060248201527f496e76616c6964207075726368617365000000000000000000000000000000006044820152606401610388565b610909818361142f565b6109139085611470565b93505050808061092290611415565b91505061084c565b506002546040517fd505accf0000000000000000000000000000000000000000000000000000000081526001600160a01b038a81166004830152306024830152604482018490526064820188905260ff8716608483015260a4820186905260c482018590529091169063d505accf9060e401600060405180830381600087803b1580156109b657600080fd5b505af11580156109ca573d6000803e3d6000fd5b50506002546001546040516323b872dd60e01b81526001600160a01b038d81166004830152918216602482015260448101869052911692506323b872dd91506064016020604051808303816000875af1158015610a2b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a4f919061144e565b507ff7ed4c1f05e1b52a2f8271b088fb004ef0bd324f0cf68458e795562d31312bf888888884604051610a859493929190611488565b60405180910390a15050505050505050565b6000546001600160a01b03163314610af15760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610388565b61044b838383610db9565b6000546001600160a01b03163314610b565760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610388565b60009182526003602052604090912055565b6000546001600160a01b03163314610bc25760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610388565b6002805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b6000546001600160a01b03163314610c4b5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610388565b6001600160a01b038116610cc75760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610388565b610cd081610d5c565b50565b6000546001600160a01b03163314610d2d5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610388565b6001805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b600080546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6040513060248201526001600160a01b03831660448201526064810182905261044b9084906323b872dd60e01b9060840160408051601f198184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff00000000000000000000000000000000000000000000000000000000909316929092179091526000610e798260405180606001604052806027815260200161154e602791396001600160a01b0386169190610f09565b80519091501561044b5780806020019051810190610e97919061144e565b61044b5760405162461bcd60e51b815260206004820152603160248201527f45524332305265636f76657261626c653a204552433230206f7065726174696f60448201527f6e20646964206e6f7420737563636565640000000000000000000000000000006064820152608401610388565b6060610f188484600085610f22565b90505b9392505050565b606082471015610f9a5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f60448201527f722063616c6c00000000000000000000000000000000000000000000000000006064820152608401610388565b6001600160a01b0385163b610ff15760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610388565b600080866001600160a01b0316858760405161100d91906114fe565b60006040518083038185875af1925050503d806000811461104a576040519150601f19603f3d011682016040523d82523d6000602084013e61104f565b606091505b509150915061105f82828661106a565b979650505050505050565b60608315611079575081610f1b565b8251156110895782518084602001fd5b8160405162461bcd60e51b8152600401610388919061151a565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126110ca57600080fd5b8135602067ffffffffffffffff808311156110e7576110e76110a3565b8260051b604051601f19603f8301168101818110848211171561110c5761110c6110a3565b60405293845285810183019383810192508785111561112a57600080fd5b83870191505b8482101561105f57813583529183019190830190611130565b60006020828403121561115b57600080fd5b813567ffffffffffffffff81111561117257600080fd5b61117e848285016110b9565b949350505050565b600081518084526020808501945080840160005b838110156111b65781518752958201959082019060010161119a565b509495945050505050565b602081526000610f1b6020830184611186565b600080604083850312156111e757600080fd5b823567ffffffffffffffff808211156111ff57600080fd5b61120b868387016110b9565b9350602085013591508082111561122157600080fd5b5061122e858286016110b9565b9150509250929050565b6001600160a01b0381168114610cd057600080fd5b803560ff8116811461125e57600080fd5b919050565b600080600080600080600060e0888a03121561127e57600080fd5b873561128981611238565b96506020880135955060408801359450606088013593506112ac6080890161124d565b925060a0880135915060c0880135905092959891949750929550565b600080600080600080600060e0888a0312156112e357600080fd5b87356112ee81611238565b9650602088013567ffffffffffffffff8082111561130b57600080fd5b6113178b838c016110b9565b975060408a013591508082111561132d57600080fd5b5061133a8a828b016110b9565b955050606088013593506112ac6080890161124d565b60008060006060848603121561136557600080fd5b833561137081611238565b9250602084013561138081611238565b929592945050506040919091013590565b600080604083850312156113a457600080fd5b50508035926020909101359150565b6000602082840312156113c557600080fd5b5035919050565b6000602082840312156113de57600080fd5b8135610f1b81611238565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b60006000198203611428576114286113ff565b5060010190565b6000816000190483118215151615611449576114496113ff565b500290565b60006020828403121561146057600080fd5b81518015158114610f1b57600080fd5b60008219821115611483576114836113ff565b500190565b6001600160a01b03851681526080602082015260006114aa6080830186611186565b82810360408401526114bc8186611186565b91505082606083015295945050505050565b60005b838110156114e95781810151838201526020016114d1565b838111156114f8576000848401525b50505050565b600082516115108184602087016114ce565b9190910192915050565b60208152600082518060208401526115398160408501602087016114ce565b601f01601f1916919091016040019291505056fe45524332305265636f76657261626c653a206c6f772d6c6576656c2063616c6c206661696c6564a2646970667358221220ee2506c57dcd36278ed81e57e441c028e529746a23e7dddb1d4bf24e190c82e964736f6c634300080d0033000000000000000000000000b31ef9e52d94d4120eb44fe1ddfde5b4654a6515000000000000000000000000b20a1f3d2418a947cf9707ba2c0f85f2b57b851d
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101005760003560e01c806399288dbb11610097578063eef31be211610066578063eef31be214610212578063f02ae48f14610240578063f2fde38b14610253578063fd59d6571461026657600080fd5b806399288dbb146101b55780639be4a26d146101d9578063a7229fd9146101ec578063dc633839146101ff57600080fd5b8063715018a6116100d3578063715018a6146101815780637d8966e4146101895780638ba3ce17146101915780638da5cb5b146101a457600080fd5b80630332d6f8146101055780634efa82b61461012e5780635bf07a33146101595780636692ade51461016e575b600080fd5b610118610113366004611149565b610279565b60405161012591906111c1565b60405180910390f35b600254610141906001600160a01b031681565b6040516001600160a01b039091168152602001610125565b61016c6101673660046111d4565b610332565b005b61016c61017c366004611263565b610450565b61016c6106a2565b61016c610708565b61016c61019f3660046112c8565b61079e565b6000546001600160a01b0316610141565b6000546101c990600160a01b900460ff1681565b6040519015158152602001610125565b600154610141906001600160a01b031681565b61016c6101fa366004611350565b610a97565b61016c61020d366004611391565b610afc565b6102326102203660046113b3565b60036020526000908152604090205481565b604051908152602001610125565b61016c61024e3660046113cc565b610b68565b61016c6102613660046113cc565b610bf1565b61016c6102743660046113cc565b610cd3565b60606000825167ffffffffffffffff811115610297576102976110a3565b6040519080825280602002602001820160405280156102c0578160200160208202803683370190505b50905060005b835181101561032b57600360008583815181106102e5576102e56113e9565b602002602001015181526020019081526020016000205482828151811061030e5761030e6113e9565b60209081029190910101528061032381611415565b9150506102c6565b5092915050565b6000546001600160a01b031633146103915760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b80518251146103e25760405162461bcd60e51b815260206004820152600f60248201527f496e76616c696420636f6e6669677300000000000000000000000000000000006044820152606401610388565b60005b825181101561044b57818181518110610400576104006113e9565b60200260200101516003600085848151811061041e5761041e6113e9565b6020026020010151815260200190815260200160002081905550808061044390611415565b9150506103e5565b505050565b600054600160a01b900460ff166104a95760405162461bcd60e51b815260206004820152601360248201527f53616c65206e6f7420796574206f70656e6564000000000000000000000000006044820152606401610388565b60008681526003602052604090205480158015906104c75750600086115b6105135760405162461bcd60e51b815260206004820152601060248201527f496e76616c6964207075726368617365000000000000000000000000000000006044820152606401610388565b600061051f878361142f565b6002546040517fd505accf0000000000000000000000000000000000000000000000000000000081526001600160a01b038c8116600483015230602483015260448201849052606482018a905260ff8916608483015260a4820188905260c4820187905292935091169063d505accf9060e401600060405180830381600087803b1580156105ac57600080fd5b505af11580156105c0573d6000803e3d6000fd5b50506002546001546040516323b872dd60e01b81526001600160a01b038e81166004830152918216602482015260448101869052911692506323b872dd91506064016020604051808303816000875af1158015610621573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610645919061144e565b50604080516001600160a01b038b168152602081018a9052908101889052606081018290527f8e4aa0897527f9d5629d6daf3255e753bfdd9862c1b9803c200a8bd12d5b86259060800160405180910390a1505050505050505050565b6000546001600160a01b031633146106fc5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610388565b6107066000610d5c565b565b6000546001600160a01b031633146107625760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610388565b600080547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff8116600160a01b9182900460ff1615909102179055565b600054600160a01b900460ff166107f75760405162461bcd60e51b815260206004820152601360248201527f53616c65206e6f7420796574206f70656e6564000000000000000000000000006044820152606401610388565b84518651146108485760405162461bcd60e51b815260206004820152600f60248201527f496e76616c696420636f6e6669677300000000000000000000000000000000006044820152606401610388565b6000805b8751811461092a576000600360008a848151811061086c5761086c6113e9565b602002602001015181526020019081526020016000205490506000888381518110610899576108996113e9565b602002602001015190506000821180156108b35750600081115b6108ff5760405162461bcd60e51b815260206004820152601060248201527f496e76616c6964207075726368617365000000000000000000000000000000006044820152606401610388565b610909818361142f565b6109139085611470565b93505050808061092290611415565b91505061084c565b506002546040517fd505accf0000000000000000000000000000000000000000000000000000000081526001600160a01b038a81166004830152306024830152604482018490526064820188905260ff8716608483015260a4820186905260c482018590529091169063d505accf9060e401600060405180830381600087803b1580156109b657600080fd5b505af11580156109ca573d6000803e3d6000fd5b50506002546001546040516323b872dd60e01b81526001600160a01b038d81166004830152918216602482015260448101869052911692506323b872dd91506064016020604051808303816000875af1158015610a2b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a4f919061144e565b507ff7ed4c1f05e1b52a2f8271b088fb004ef0bd324f0cf68458e795562d31312bf888888884604051610a859493929190611488565b60405180910390a15050505050505050565b6000546001600160a01b03163314610af15760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610388565b61044b838383610db9565b6000546001600160a01b03163314610b565760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610388565b60009182526003602052604090912055565b6000546001600160a01b03163314610bc25760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610388565b6002805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b6000546001600160a01b03163314610c4b5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610388565b6001600160a01b038116610cc75760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610388565b610cd081610d5c565b50565b6000546001600160a01b03163314610d2d5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610388565b6001805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b600080546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6040513060248201526001600160a01b03831660448201526064810182905261044b9084906323b872dd60e01b9060840160408051601f198184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff00000000000000000000000000000000000000000000000000000000909316929092179091526000610e798260405180606001604052806027815260200161154e602791396001600160a01b0386169190610f09565b80519091501561044b5780806020019051810190610e97919061144e565b61044b5760405162461bcd60e51b815260206004820152603160248201527f45524332305265636f76657261626c653a204552433230206f7065726174696f60448201527f6e20646964206e6f7420737563636565640000000000000000000000000000006064820152608401610388565b6060610f188484600085610f22565b90505b9392505050565b606082471015610f9a5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f60448201527f722063616c6c00000000000000000000000000000000000000000000000000006064820152608401610388565b6001600160a01b0385163b610ff15760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610388565b600080866001600160a01b0316858760405161100d91906114fe565b60006040518083038185875af1925050503d806000811461104a576040519150601f19603f3d011682016040523d82523d6000602084013e61104f565b606091505b509150915061105f82828661106a565b979650505050505050565b60608315611079575081610f1b565b8251156110895782518084602001fd5b8160405162461bcd60e51b8152600401610388919061151a565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126110ca57600080fd5b8135602067ffffffffffffffff808311156110e7576110e76110a3565b8260051b604051601f19603f8301168101818110848211171561110c5761110c6110a3565b60405293845285810183019383810192508785111561112a57600080fd5b83870191505b8482101561105f57813583529183019190830190611130565b60006020828403121561115b57600080fd5b813567ffffffffffffffff81111561117257600080fd5b61117e848285016110b9565b949350505050565b600081518084526020808501945080840160005b838110156111b65781518752958201959082019060010161119a565b509495945050505050565b602081526000610f1b6020830184611186565b600080604083850312156111e757600080fd5b823567ffffffffffffffff808211156111ff57600080fd5b61120b868387016110b9565b9350602085013591508082111561122157600080fd5b5061122e858286016110b9565b9150509250929050565b6001600160a01b0381168114610cd057600080fd5b803560ff8116811461125e57600080fd5b919050565b600080600080600080600060e0888a03121561127e57600080fd5b873561128981611238565b96506020880135955060408801359450606088013593506112ac6080890161124d565b925060a0880135915060c0880135905092959891949750929550565b600080600080600080600060e0888a0312156112e357600080fd5b87356112ee81611238565b9650602088013567ffffffffffffffff8082111561130b57600080fd5b6113178b838c016110b9565b975060408a013591508082111561132d57600080fd5b5061133a8a828b016110b9565b955050606088013593506112ac6080890161124d565b60008060006060848603121561136557600080fd5b833561137081611238565b9250602084013561138081611238565b929592945050506040919091013590565b600080604083850312156113a457600080fd5b50508035926020909101359150565b6000602082840312156113c557600080fd5b5035919050565b6000602082840312156113de57600080fd5b8135610f1b81611238565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b60006000198203611428576114286113ff565b5060010190565b6000816000190483118215151615611449576114496113ff565b500290565b60006020828403121561146057600080fd5b81518015158114610f1b57600080fd5b60008219821115611483576114836113ff565b500190565b6001600160a01b03851681526080602082015260006114aa6080830186611186565b82810360408401526114bc8186611186565b91505082606083015295945050505050565b60005b838110156114e95781810151838201526020016114d1565b838111156114f8576000848401525b50505050565b600082516115108184602087016114ce565b9190910192915050565b60208152600082518060208401526115398160408501602087016114ce565b601f01601f1916919091016040019291505056fe45524332305265636f76657261626c653a206c6f772d6c6576656c2063616c6c206661696c6564a2646970667358221220ee2506c57dcd36278ed81e57e441c028e529746a23e7dddb1d4bf24e190c82e964736f6c634300080d0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000b31ef9e52d94d4120eb44fe1ddfde5b4654a6515000000000000000000000000b20a1f3d2418a947cf9707ba2c0f85f2b57b851d
-----Decoded View---------------
Arg [0] : _payoutToken (address): 0xb31eF9e52d94D4120eb44Fe1ddfDe5B4654A6515
Arg [1] : _payeeWallet (address): 0xB20a1F3D2418a947Cf9707ba2c0F85f2b57b851D
-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 000000000000000000000000b31ef9e52d94d4120eb44fe1ddfde5b4654a6515
Arg [1] : 000000000000000000000000b20a1f3d2418a947cf9707ba2c0f85f2b57b851d
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
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.