Overview
ETH Balance
0 ETH
ETH Value
$0.00More Info
Private Name Tags
ContractCreator
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Latest 1 internal transaction
Parent Transaction Hash | Block | From | To | |||
---|---|---|---|---|---|---|
16088086 | 147 days ago | Contract Creation | 0 ETH |
Loading...
Loading
Contract Name:
VCPayment
Compiler Version
v0.8.20+commit.a1b79de6
Optimization Enabled:
No with 200 runs
Other Settings:
paris EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: GPL-3.0 pragma solidity 0.8.20; import {Ownable2StepUpgradeable} from "@openzeppelin/contracts-upgradeable/access/Ownable2StepUpgradeable.sol"; contract VCPayment is Ownable2StepUpgradeable { /** * @dev Version of contract */ string public constant VERSION = "1.0.0"; /// @custom:storage-location erc7201:iden3.storage.VCPayment struct PaymentData { uint256 issuerId; uint256 schemaHash; uint256 valueToPay; uint256 ownerPercentage; address withdrawAddress; // for reporting uint256 totalValue; } /** * @dev Main storage structure for the contract */ struct VCPaymentStorage { /** * @dev mapping of paymentDataId - keccak256(abi.encode(issuerId, schemaHash)) => PaymentData */ mapping(bytes32 paymentDataId => PaymentData paymentData) paymentData; /** * @dev mapping of paymentRequestId - keccak256(abi.encode(issuerId, paymentId)) => bool */ mapping(bytes32 paymentRequestId => bool isPaid) payments; /** * @dev mapping of issuerAddress - balance */ mapping(address issuerAddress => uint256 balance) issuerAddressBalance; /** * @dev owner balance */ uint256 ownerBalance; /** * @dev list of paymentDataId - keccak256(abi.encode(issuerId, schemaHash)) */ bytes32[] paymentDataIds; } // keccak256(abi.encode(uint256(keccak256("iden3.storage.VCPayment")) - 1)) & // ~bytes32(uint256(0xff)); bytes32 private constant VCPaymentStorageLocation = 0xbb49acb92ce91902600caabfefad66ed7ac2a150edbd631ab48a5501402b3300; function _getVCPaymentStorage() private pure returns (VCPaymentStorage storage $) { assembly { $.slot := VCPaymentStorageLocation } } event Payment(uint256 indexed issuerId, string paymentId, uint256 indexed schemaHash); error InvalidOwnerPercentage(string message); error InvalidWithdrawAddress(string message); error PaymentError(string message); error WithdrawError(string message); error OwnerOrIssuerError(string message); /** * @dev Owner or issuer modifier */ modifier ownerOrIssuer(uint256 issuerId, uint256 schemaHash) { VCPaymentStorage storage $ = _getVCPaymentStorage(); address issuerAddress = $ .paymentData[keccak256(abi.encode(issuerId, schemaHash))] .withdrawAddress; if (issuerAddress != _msgSender() && owner() != _msgSender()) { revert OwnerOrIssuerError("Only issuer or owner can call this function"); } _; } /** * @dev Valid percent value modifier */ modifier validPercentValue(uint256 percent) { if (percent < 0 || percent > 100) { revert InvalidOwnerPercentage("Invalid owner percentage"); } _; } /** * @dev Valid address */ modifier validAddress(address withdrawAddress) { if (withdrawAddress == address(0)) { revert InvalidWithdrawAddress("Invalid withdraw address"); } _; } /** * @dev Initialize the contract */ function initialize() public initializer { __Ownable_init(_msgSender()); } function setPaymentValue( uint256 issuerId, uint256 schemaHash, uint256 value, uint256 ownerPercentage, address withdrawAddress ) public onlyOwner validPercentValue(ownerPercentage) validAddress(withdrawAddress) { VCPaymentStorage storage $ = _getVCPaymentStorage(); PaymentData memory newPaymentData = PaymentData( issuerId, schemaHash, value, ownerPercentage, withdrawAddress, 0 ); $.paymentDataIds.push(keccak256(abi.encode(issuerId, schemaHash))); _setPaymentData(issuerId, schemaHash, newPaymentData); } function updateOwnerPercentage( uint256 issuerId, uint256 schemaHash, uint256 ownerPercentage ) public onlyOwner validPercentValue(ownerPercentage) { VCPaymentStorage storage $ = _getVCPaymentStorage(); PaymentData storage payData = $.paymentData[keccak256(abi.encode(issuerId, schemaHash))]; payData.ownerPercentage = ownerPercentage; _setPaymentData(issuerId, schemaHash, payData); } function updateWithdrawAddress( uint256 issuerId, uint256 schemaHash, address withdrawAddress ) external ownerOrIssuer(issuerId, schemaHash) validAddress(withdrawAddress) { VCPaymentStorage storage $ = _getVCPaymentStorage(); PaymentData storage payData = $.paymentData[keccak256(abi.encode(issuerId, schemaHash))]; uint256 issuerBalance = $.issuerAddressBalance[payData.withdrawAddress]; $.issuerAddressBalance[payData.withdrawAddress] = 0; $.issuerAddressBalance[withdrawAddress] = issuerBalance; payData.withdrawAddress = withdrawAddress; _setPaymentData(issuerId, schemaHash, payData); } function updateValueToPay( uint256 issuerId, uint256 schemaHash, uint256 value ) external ownerOrIssuer(issuerId, schemaHash) { VCPaymentStorage storage $ = _getVCPaymentStorage(); PaymentData storage payData = $.paymentData[keccak256(abi.encode(issuerId, schemaHash))]; payData.valueToPay = value; _setPaymentData(issuerId, schemaHash, payData); } function pay(string calldata paymentId, uint256 issuerId, uint256 schemaHash) external payable { VCPaymentStorage storage $ = _getVCPaymentStorage(); bytes32 payment = keccak256(abi.encode(issuerId, paymentId)); if ($.payments[payment]) { revert PaymentError("Payment already done"); } PaymentData storage payData = $.paymentData[keccak256(abi.encode(issuerId, schemaHash))]; if (payData.valueToPay == 0) { revert PaymentError("Payment value not found for this issuer and schema"); } if (payData.valueToPay != msg.value) { revert PaymentError("Invalid value"); } $.payments[payment] = true; uint256 ownerPart = (msg.value * payData.ownerPercentage) / 100; uint256 issuerPart = msg.value - ownerPart; $.issuerAddressBalance[payData.withdrawAddress] += issuerPart; $.ownerBalance += ownerPart; payData.totalValue += issuerPart; _setPaymentData(issuerId, schemaHash, payData); emit Payment(issuerId, paymentId, schemaHash); } function isPaymentDone(string calldata paymentId, uint256 issuerId) public view returns (bool) { VCPaymentStorage storage $ = _getVCPaymentStorage(); return $.payments[keccak256(abi.encode(issuerId, paymentId))]; } function withdrawToAllIssuers() public onlyOwner { VCPaymentStorage storage $ = _getVCPaymentStorage(); for (uint256 i = 0; i < $.paymentDataIds.length; i++) { PaymentData memory payData = $.paymentData[$.paymentDataIds[i]]; if ($.issuerAddressBalance[payData.withdrawAddress] != 0) { _withdrawToIssuer(payData.withdrawAddress); } } } function issuerWithdraw() public { _withdrawToIssuer(_msgSender()); } function ownerWithdraw() public onlyOwner { VCPaymentStorage storage $ = _getVCPaymentStorage(); if ($.ownerBalance == 0) { revert WithdrawError("There is no balance to withdraw"); } uint256 amount = $.ownerBalance; $.ownerBalance = 0; _withdraw(amount, owner()); } function getPaymentData( uint256 issuerId, uint256 schemaHash ) public view ownerOrIssuer(issuerId, schemaHash) returns (PaymentData memory) { VCPaymentStorage storage $ = _getVCPaymentStorage(); return $.paymentData[keccak256(abi.encode(issuerId, schemaHash))]; } function getMyBalance() public view returns (uint256) { VCPaymentStorage storage $ = _getVCPaymentStorage(); return $.issuerAddressBalance[_msgSender()]; } function getOwnerBalance() public view onlyOwner returns (uint256) { VCPaymentStorage storage $ = _getVCPaymentStorage(); return $.ownerBalance; } function _withdrawToIssuer(address issuer) internal { VCPaymentStorage storage $ = _getVCPaymentStorage(); uint256 amount = $.issuerAddressBalance[issuer]; if (amount == 0) { revert WithdrawError("There is no balance to withdraw"); } $.issuerAddressBalance[issuer] = 0; _withdraw(amount, issuer); } function _withdraw(uint amount, address to) internal { if (amount == 0) { revert WithdrawError("There is no balance to withdraw"); } if (to == address(0)) { revert WithdrawError("Invalid withdraw address"); } (bool sent, ) = to.call{value: amount}(""); if (!sent) { revert WithdrawError("Failed to withdraw"); } } function _setPaymentData( uint256 issuerId, uint256 schemaHash, PaymentData memory payData ) internal { VCPaymentStorage storage $ = _getVCPaymentStorage(); $.paymentData[keccak256(abi.encode(issuerId, schemaHash))] = payData; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable2Step.sol) pragma solidity ^0.8.20; import {OwnableUpgradeable} from "./OwnableUpgradeable.sol"; import {Initializable} from "../proxy/utils/Initializable.sol"; /** * @dev Contract module which provides access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * The initial owner is specified at deployment time in the constructor for `Ownable`. This * can later be changed with {transferOwnership} and {acceptOwnership}. * * This module is used through inheritance. It will make available all functions * from parent (Ownable). */ abstract contract Ownable2StepUpgradeable is Initializable, OwnableUpgradeable { /// @custom:storage-location erc7201:openzeppelin.storage.Ownable2Step struct Ownable2StepStorage { address _pendingOwner; } // keccak256(abi.encode(uint256(keccak256("openzeppelin.storage.Ownable2Step")) - 1)) & ~bytes32(uint256(0xff)) bytes32 private constant Ownable2StepStorageLocation = 0x237e158222e3e6968b72b9db0d8043aacf074ad9f650f0d1606b4d82ee432c00; function _getOwnable2StepStorage() private pure returns (Ownable2StepStorage storage $) { assembly { $.slot := Ownable2StepStorageLocation } } event OwnershipTransferStarted(address indexed previousOwner, address indexed newOwner); function __Ownable2Step_init() internal onlyInitializing { } function __Ownable2Step_init_unchained() internal onlyInitializing { } /** * @dev Returns the address of the pending owner. */ function pendingOwner() public view virtual returns (address) { Ownable2StepStorage storage $ = _getOwnable2StepStorage(); return $._pendingOwner; } /** * @dev Starts the ownership transfer of the contract to a new account. Replaces the pending transfer if there is one. * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual override onlyOwner { Ownable2StepStorage storage $ = _getOwnable2StepStorage(); $._pendingOwner = newOwner; emit OwnershipTransferStarted(owner(), newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`) and deletes any pending owner. * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual override { Ownable2StepStorage storage $ = _getOwnable2StepStorage(); delete $._pendingOwner; super._transferOwnership(newOwner); } /** * @dev The new owner accepts the ownership transfer. */ function acceptOwnership() public virtual { address sender = _msgSender(); if (pendingOwner() != sender) { revert OwnableUnauthorizedAccount(sender); } _transferOwnership(sender); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol) pragma solidity ^0.8.20; import {ContextUpgradeable} from "../utils/ContextUpgradeable.sol"; import {Initializable} from "../proxy/utils/Initializable.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. * * The initial owner is set to the address provided by the deployer. 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 OwnableUpgradeable is Initializable, ContextUpgradeable { /// @custom:storage-location erc7201:openzeppelin.storage.Ownable struct OwnableStorage { address _owner; } // keccak256(abi.encode(uint256(keccak256("openzeppelin.storage.Ownable")) - 1)) & ~bytes32(uint256(0xff)) bytes32 private constant OwnableStorageLocation = 0x9016d09d72d40fdae2fd8ceac6b6234c7706214fd39c1cd1e609a0528c199300; function _getOwnableStorage() private pure returns (OwnableStorage storage $) { assembly { $.slot := OwnableStorageLocation } } /** * @dev The caller account is not authorized to perform an operation. */ error OwnableUnauthorizedAccount(address account); /** * @dev The owner is not a valid owner account. (eg. `address(0)`) */ error OwnableInvalidOwner(address owner); event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the address provided by the deployer as the initial owner. */ function __Ownable_init(address initialOwner) internal onlyInitializing { __Ownable_init_unchained(initialOwner); } function __Ownable_init_unchained(address initialOwner) internal onlyInitializing { if (initialOwner == address(0)) { revert OwnableInvalidOwner(address(0)); } _transferOwnership(initialOwner); } /** * @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) { OwnableStorage storage $ = _getOwnableStorage(); return $._owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { if (owner() != _msgSender()) { revert OwnableUnauthorizedAccount(_msgSender()); } } /** * @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 { if (newOwner == address(0)) { revert OwnableInvalidOwner(address(0)); } _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { OwnableStorage storage $ = _getOwnableStorage(); address oldOwner = $._owner; $._owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (proxy/utils/Initializable.sol) pragma solidity ^0.8.20; /** * @dev This is a base contract to aid in writing upgradeable contracts, or any kind of contract that will be deployed * behind a proxy. Since proxied contracts do not make use of a constructor, it's common to move constructor logic to an * external initializer function, usually called `initialize`. It then becomes necessary to protect this initializer * function so it can only be called once. The {initializer} modifier provided by this contract will have this effect. * * The initialization functions use a version number. Once a version number is used, it is consumed and cannot be * reused. This mechanism prevents re-execution of each "step" but allows the creation of new initialization steps in * case an upgrade adds a module that needs to be initialized. * * For example: * * [.hljs-theme-light.nopadding] * ```solidity * contract MyToken is ERC20Upgradeable { * function initialize() initializer public { * __ERC20_init("MyToken", "MTK"); * } * } * * contract MyTokenV2 is MyToken, ERC20PermitUpgradeable { * function initializeV2() reinitializer(2) public { * __ERC20Permit_init("MyToken"); * } * } * ``` * * TIP: To avoid leaving the proxy in an uninitialized state, the initializer function should be called as early as * possible by providing the encoded function call as the `_data` argument to {ERC1967Proxy-constructor}. * * CAUTION: When used with inheritance, manual care must be taken to not invoke a parent initializer twice, or to ensure * that all initializers are idempotent. This is not verified automatically as constructors are by Solidity. * * [CAUTION] * ==== * Avoid leaving a contract uninitialized. * * An uninitialized contract can be taken over by an attacker. This applies to both a proxy and its implementation * contract, which may impact the proxy. To prevent the implementation contract from being used, you should invoke * the {_disableInitializers} function in the constructor to automatically lock it when it is deployed: * * [.hljs-theme-light.nopadding] * ``` * /// @custom:oz-upgrades-unsafe-allow constructor * constructor() { * _disableInitializers(); * } * ``` * ==== */ abstract contract Initializable { /** * @dev Storage of the initializable contract. * * It's implemented on a custom ERC-7201 namespace to reduce the risk of storage collisions * when using with upgradeable contracts. * * @custom:storage-location erc7201:openzeppelin.storage.Initializable */ struct InitializableStorage { /** * @dev Indicates that the contract has been initialized. */ uint64 _initialized; /** * @dev Indicates that the contract is in the process of being initialized. */ bool _initializing; } // keccak256(abi.encode(uint256(keccak256("openzeppelin.storage.Initializable")) - 1)) & ~bytes32(uint256(0xff)) bytes32 private constant INITIALIZABLE_STORAGE = 0xf0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00; /** * @dev The contract is already initialized. */ error InvalidInitialization(); /** * @dev The contract is not initializing. */ error NotInitializing(); /** * @dev Triggered when the contract has been initialized or reinitialized. */ event Initialized(uint64 version); /** * @dev A modifier that defines a protected initializer function that can be invoked at most once. In its scope, * `onlyInitializing` functions can be used to initialize parent contracts. * * Similar to `reinitializer(1)`, except that in the context of a constructor an `initializer` may be invoked any * number of times. This behavior in the constructor can be useful during testing and is not expected to be used in * production. * * Emits an {Initialized} event. */ modifier initializer() { // solhint-disable-next-line var-name-mixedcase InitializableStorage storage $ = _getInitializableStorage(); // Cache values to avoid duplicated sloads bool isTopLevelCall = !$._initializing; uint64 initialized = $._initialized; // Allowed calls: // - initialSetup: the contract is not in the initializing state and no previous version was // initialized // - construction: the contract is initialized at version 1 (no reininitialization) and the // current contract is just being deployed bool initialSetup = initialized == 0 && isTopLevelCall; bool construction = initialized == 1 && address(this).code.length == 0; if (!initialSetup && !construction) { revert InvalidInitialization(); } $._initialized = 1; if (isTopLevelCall) { $._initializing = true; } _; if (isTopLevelCall) { $._initializing = false; emit Initialized(1); } } /** * @dev A modifier that defines a protected reinitializer function that can be invoked at most once, and only if the * contract hasn't been initialized to a greater version before. In its scope, `onlyInitializing` functions can be * used to initialize parent contracts. * * A reinitializer may be used after the original initialization step. This is essential to configure modules that * are added through upgrades and that require initialization. * * When `version` is 1, this modifier is similar to `initializer`, except that functions marked with `reinitializer` * cannot be nested. If one is invoked in the context of another, execution will revert. * * Note that versions can jump in increments greater than 1; this implies that if multiple reinitializers coexist in * a contract, executing them in the right order is up to the developer or operator. * * WARNING: Setting the version to 2**64 - 1 will prevent any future reinitialization. * * Emits an {Initialized} event. */ modifier reinitializer(uint64 version) { // solhint-disable-next-line var-name-mixedcase InitializableStorage storage $ = _getInitializableStorage(); if ($._initializing || $._initialized >= version) { revert InvalidInitialization(); } $._initialized = version; $._initializing = true; _; $._initializing = false; emit Initialized(version); } /** * @dev Modifier to protect an initialization function so that it can only be invoked by functions with the * {initializer} and {reinitializer} modifiers, directly or indirectly. */ modifier onlyInitializing() { _checkInitializing(); _; } /** * @dev Reverts if the contract is not in an initializing state. See {onlyInitializing}. */ function _checkInitializing() internal view virtual { if (!_isInitializing()) { revert NotInitializing(); } } /** * @dev Locks the contract, preventing any future reinitialization. This cannot be part of an initializer call. * Calling this in the constructor of a contract will prevent that contract from being initialized or reinitialized * to any version. It is recommended to use this to lock implementation contracts that are designed to be called * through proxies. * * Emits an {Initialized} event the first time it is successfully executed. */ function _disableInitializers() internal virtual { // solhint-disable-next-line var-name-mixedcase InitializableStorage storage $ = _getInitializableStorage(); if ($._initializing) { revert InvalidInitialization(); } if ($._initialized != type(uint64).max) { $._initialized = type(uint64).max; emit Initialized(type(uint64).max); } } /** * @dev Returns the highest version that has been initialized. See {reinitializer}. */ function _getInitializedVersion() internal view returns (uint64) { return _getInitializableStorage()._initialized; } /** * @dev Returns `true` if the contract is currently initializing. See {onlyInitializing}. */ function _isInitializing() internal view returns (bool) { return _getInitializableStorage()._initializing; } /** * @dev Returns a pointer to the storage namespace. */ // solhint-disable-next-line var-name-mixedcase function _getInitializableStorage() private pure returns (InitializableStorage storage $) { assembly { $.slot := INITIALIZABLE_STORAGE } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol) pragma solidity ^0.8.20; import {Initializable} from "../proxy/utils/Initializable.sol"; /** * @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 ContextUpgradeable is Initializable { function __Context_init() internal onlyInitializing { } function __Context_init_unchained() internal onlyInitializing { } function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } function _contextSuffixLength() internal view virtual returns (uint256) { return 0; } }
{ "evmVersion": "paris", "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"name":"InvalidInitialization","type":"error"},{"inputs":[{"internalType":"string","name":"message","type":"string"}],"name":"InvalidOwnerPercentage","type":"error"},{"inputs":[{"internalType":"string","name":"message","type":"string"}],"name":"InvalidWithdrawAddress","type":"error"},{"inputs":[],"name":"NotInitializing","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"inputs":[{"internalType":"string","name":"message","type":"string"}],"name":"OwnerOrIssuerError","type":"error"},{"inputs":[{"internalType":"string","name":"message","type":"string"}],"name":"PaymentError","type":"error"},{"inputs":[{"internalType":"string","name":"message","type":"string"}],"name":"WithdrawError","type":"error"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint64","name":"version","type":"uint64"}],"name":"Initialized","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferStarted","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":true,"internalType":"uint256","name":"issuerId","type":"uint256"},{"indexed":false,"internalType":"string","name":"paymentId","type":"string"},{"indexed":true,"internalType":"uint256","name":"schemaHash","type":"uint256"}],"name":"Payment","type":"event"},{"inputs":[],"name":"VERSION","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"acceptOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getMyBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getOwnerBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"issuerId","type":"uint256"},{"internalType":"uint256","name":"schemaHash","type":"uint256"}],"name":"getPaymentData","outputs":[{"components":[{"internalType":"uint256","name":"issuerId","type":"uint256"},{"internalType":"uint256","name":"schemaHash","type":"uint256"},{"internalType":"uint256","name":"valueToPay","type":"uint256"},{"internalType":"uint256","name":"ownerPercentage","type":"uint256"},{"internalType":"address","name":"withdrawAddress","type":"address"},{"internalType":"uint256","name":"totalValue","type":"uint256"}],"internalType":"struct VCPayment.PaymentData","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"paymentId","type":"string"},{"internalType":"uint256","name":"issuerId","type":"uint256"}],"name":"isPaymentDone","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"issuerWithdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ownerWithdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"paymentId","type":"string"},{"internalType":"uint256","name":"issuerId","type":"uint256"},{"internalType":"uint256","name":"schemaHash","type":"uint256"}],"name":"pay","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"pendingOwner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"issuerId","type":"uint256"},{"internalType":"uint256","name":"schemaHash","type":"uint256"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"uint256","name":"ownerPercentage","type":"uint256"},{"internalType":"address","name":"withdrawAddress","type":"address"}],"name":"setPaymentValue","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"issuerId","type":"uint256"},{"internalType":"uint256","name":"schemaHash","type":"uint256"},{"internalType":"uint256","name":"ownerPercentage","type":"uint256"}],"name":"updateOwnerPercentage","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"issuerId","type":"uint256"},{"internalType":"uint256","name":"schemaHash","type":"uint256"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"updateValueToPay","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"issuerId","type":"uint256"},{"internalType":"uint256","name":"schemaHash","type":"uint256"},{"internalType":"address","name":"withdrawAddress","type":"address"}],"name":"updateWithdrawAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawToAllIssuers","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
608060405234801561001057600080fd5b50612bd6806100206000396000f3fe6080604052600436106101145760003560e01c806379ba5097116100a0578063e000c7a711610064578063e000c7a71461030a578063e30c397814610347578063f120dd5614610372578063f2fde38b14610389578063ffa1ad74146103b257610114565b806379ba5097146102715780638129fc1c146102885780638da5cb5b1461029f578063cc9cd961146102ca578063cd9a5f27146102e157610114565b806349f387f8116100e757806349f387f8146101b25780634c738909146101db578063571047c714610206578063590791f21461022f578063715018a61461025a57610114565b806320192a7714610119578063205f34f6146101355780633eb8c201146101725780634311de8f1461019b575b600080fd5b610133600480360381019061012e919061201f565b6103dd565b005b34801561014157600080fd5b5061015c60048036038101906101579190612093565b61073d565b604051610169919061219e565b60405180910390f35b34801561017e57600080fd5b50610199600480360381019061019491906121e5565b61095e565b005b3480156101a757600080fd5b506101b0610d54565b005b3480156101be57600080fd5b506101d960048036038101906101d49190612238565b610dd7565b005b3480156101e757600080fd5b506101f0611006565b6040516101fd919061229a565b60405180910390f35b34801561021257600080fd5b5061022d60048036038101906102289190612238565b611062565b005b34801561023b57600080fd5b506102446111b6565b604051610251919061229a565b60405180910390f35b34801561026657600080fd5b5061026f6111d7565b005b34801561027d57600080fd5b506102866111eb565b005b34801561029457600080fd5b5061029d61127a565b005b3480156102ab57600080fd5b506102b461140f565b6040516102c191906122c4565b60405180910390f35b3480156102d657600080fd5b506102df611447565b005b3480156102ed57600080fd5b50610308600480360381019061030391906122df565b611459565b005b34801561031657600080fd5b50610331600480360381019061032c919061235a565b6115de565b60405161033e91906123d5565b60405180910390f35b34801561035357600080fd5b5061035c611642565b60405161036991906122c4565b60405180910390f35b34801561037e57600080fd5b5061038761167a565b005b34801561039557600080fd5b506103b060048036038101906103ab91906123f0565b6117df565b005b3480156103be57600080fd5b506103c761189b565b6040516103d491906124ad565b60405180910390f35b60006103e76118d4565b905060008386866040516020016104009392919061250b565b60405160208183030381529060405280519060200120905081600101600082815260200190815260200160002060009054906101000a900460ff161561047b576040517fbeb340d900000000000000000000000000000000000000000000000000000000815260040161047290612589565b60405180910390fd5b600082600001600086866040516020016104969291906125a9565b60405160208183030381529060405280519060200120815260200190815260200160002090506000816002015403610503576040517fbeb340d90000000000000000000000000000000000000000000000000000000081526004016104fa90612644565b60405180910390fd5b34816002015414610549576040517fbeb340d9000000000000000000000000000000000000000000000000000000008152600401610540906126b0565b60405180910390fd5b600183600101600084815260200190815260200160002060006101000a81548160ff0219169083151502179055506000606482600301543461058b91906126ff565b6105959190612770565b9050600081346105a591906127a1565b9050808560020160008560040160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461061c91906127d5565b925050819055508185600301600082825461063791906127d5565b925050819055508083600501600082825461065291906127d5565b925050819055506106f78787856040518060c0016040529081600082015481526020016001820154815260200160028201548152602001600382015481526020016004820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016005820154815250506118fc565b85877f7398675bfb80d8068656a15534a2906b06a75c6ef55a95b8674066eb3f8171868b8b60405161072a929190612809565b60405180910390a3505050505050505050565b610745611f2e565b828260006107516118d4565b90506000816000016000858560405160200161076e9291906125a9565b60405160208183030381529060405280519060200120815260200190815260200160002060040160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690506107c06119c8565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415801561083557506107fe6119c8565b73ffffffffffffffffffffffffffffffffffffffff1661081c61140f565b73ffffffffffffffffffffffffffffffffffffffff1614155b15610875576040517fcf16bb1100000000000000000000000000000000000000000000000000000000815260040161086c9061289f565b60405180910390fd5b600061087f6118d4565b9050806000016000898960405160200161089a9291906125a9565b6040516020818303038152906040528051906020012081526020019081526020016000206040518060c0016040529081600082015481526020016001820154815260200160028201548152602001600382015481526020016004820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016005820154815250509550505050505092915050565b8282600061096a6118d4565b9050600081600001600085856040516020016109879291906125a9565b60405160208183030381529060405280519060200120815260200190815260200160002060040160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690506109d96119c8565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614158015610a4e5750610a176119c8565b73ffffffffffffffffffffffffffffffffffffffff16610a3561140f565b73ffffffffffffffffffffffffffffffffffffffff1614155b15610a8e576040517fcf16bb11000000000000000000000000000000000000000000000000000000008152600401610a859061289f565b60405180910390fd5b84600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610afe576040517f0b923170000000000000000000000000000000000000000000000000000000008152600401610af59061290b565b60405180910390fd5b6000610b086118d4565b905060008160000160008b8b604051602001610b259291906125a9565b604051602081830303815290604052805190602001208152602001908152602001600020905060008260020160008360040160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905060008360020160008460040160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550808360020160008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550888260040160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550610d478b8b846040518060c0016040529081600082015481526020016001820154815260200160028201548152602001600382015481526020016004820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016005820154815250506118fc565b5050505050505050505050565b610d5c6119d0565b6000610d666118d4565b90506000816003015403610daf576040517f4c808ecb000000000000000000000000000000000000000000000000000000008152600401610da690612977565b60405180910390fd5b60008160030154905060008260030181905550610dd381610dce61140f565b611a57565b5050565b82826000610de36118d4565b905060008160000160008585604051602001610e009291906125a9565b60405160208183030381529060405280519060200120815260200190815260200160002060040160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050610e526119c8565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614158015610ec75750610e906119c8565b73ffffffffffffffffffffffffffffffffffffffff16610eae61140f565b73ffffffffffffffffffffffffffffffffffffffff1614155b15610f07576040517fcf16bb11000000000000000000000000000000000000000000000000000000008152600401610efe9061289f565b60405180910390fd5b6000610f116118d4565b905060008160000160008a8a604051602001610f2e9291906125a9565b6040516020818303038152906040528051906020012081526020019081526020016000209050868160020181905550610ffb8989836040518060c0016040529081600082015481526020016001820154815260200160028201548152602001600382015481526020016004820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016005820154815250506118fc565b505050505050505050565b6000806110116118d4565b90508060020160006110216119c8565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205491505090565b61106a6119d0565b80600081108061107a5750606481115b156110ba576040517ff109a4c60000000000000000000000000000000000000000000000000000000081526004016110b1906129e3565b60405180910390fd5b60006110c46118d4565b9050600081600001600087876040516020016110e19291906125a9565b60405160208183030381529060405280519060200120815260200190815260200160002090508381600301819055506111ae8686836040518060c0016040529081600082015481526020016001820154815260200160028201548152602001600382015481526020016004820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016005820154815250506118fc565b505050505050565b60006111c06119d0565b60006111ca6118d4565b9050806003015491505090565b6111df6119d0565b6111e96000611bba565b565b60006111f56119c8565b90508073ffffffffffffffffffffffffffffffffffffffff16611216611642565b73ffffffffffffffffffffffffffffffffffffffff161461126e57806040517f118cdaa700000000000000000000000000000000000000000000000000000000815260040161126591906122c4565b60405180910390fd5b61127781611bba565b50565b6000611284611bfa565b905060008160000160089054906101000a900460ff1615905060008260000160009054906101000a900467ffffffffffffffff1690506000808267ffffffffffffffff161480156112d25750825b9050600060018367ffffffffffffffff16148015611307575060003073ffffffffffffffffffffffffffffffffffffffff163b145b905081158015611315575080155b1561134c576040517ff92ee8a900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60018560000160006101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550831561139c5760018560000160086101000a81548160ff0219169083151502179055505b6113ac6113a76119c8565b611c22565b83156114085760008560000160086101000a81548160ff0219169083151502179055507fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d260016040516113ff9190612a5c565b60405180910390a15b5050505050565b60008061141a611c36565b90508060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1691505090565b6114576114526119c8565b611c5e565b565b6114616119d0565b8160008110806114715750606481115b156114b1576040517ff109a4c60000000000000000000000000000000000000000000000000000000081526004016114a8906129e3565b60405180910390fd5b81600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611521576040517f0b9231700000000000000000000000000000000000000000000000000000000081526004016115189061290b565b60405180910390fd5b600061152b6118d4565b905060006040518060c001604052808a81526020018981526020018881526020018781526020018673ffffffffffffffffffffffffffffffffffffffff1681526020016000815250905081600401898960405160200161158c9291906125a9565b6040516020818303038152906040528051906020012090806001815401808255809150506001900390600052602060002001600090919091909150556115d38989836118fc565b505050505050505050565b6000806115e96118d4565b90508060010160008487876040516020016116069392919061250b565b60405160208183030381529060405280519060200120815260200190815260200160002060009054906101000a900460ff169150509392505050565b60008061164d611d49565b90508060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1691505090565b6116826119d0565b600061168c6118d4565b905060005b81600401805490508110156117db5760008260000160008460040184815481106116be576116bd612a77565b5b906000526020600020015481526020019081526020016000206040518060c0016040529081600082015481526020016001820154815260200160028201548152602001600382015481526020016004820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200160058201548152505090506000836002016000836080015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054146117c7576117c68160800151611c5e565b5b5080806117d390612aa6565b915050611691565b5050565b6117e76119d0565b60006117f1611d49565b9050818160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff1661185561140f565b73ffffffffffffffffffffffffffffffffffffffff167f38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e2270060405160405180910390a35050565b6040518060400160405280600581526020017f312e302e3000000000000000000000000000000000000000000000000000000081525081565b60007fbb49acb92ce91902600caabfefad66ed7ac2a150edbd631ab48a5501402b3300905090565b60006119066118d4565b90508181600001600086866040516020016119229291906125a9565b6040516020818303038152906040528051906020012081526020019081526020016000206000820151816000015560208201518160010155604082015181600201556060820151816003015560808201518160040160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060a0820151816005015590505050505050565b600033905090565b6119d86119c8565b73ffffffffffffffffffffffffffffffffffffffff166119f661140f565b73ffffffffffffffffffffffffffffffffffffffff1614611a5557611a196119c8565b6040517f118cdaa7000000000000000000000000000000000000000000000000000000008152600401611a4c91906122c4565b60405180910390fd5b565b60008203611a9a576040517f4c808ecb000000000000000000000000000000000000000000000000000000008152600401611a9190612977565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611b09576040517f4c808ecb000000000000000000000000000000000000000000000000000000008152600401611b009061290b565b60405180910390fd5b60008173ffffffffffffffffffffffffffffffffffffffff1683604051611b2f90612b1f565b60006040518083038185875af1925050503d8060008114611b6c576040519150601f19603f3d011682016040523d82523d6000602084013e611b71565b606091505b5050905080611bb5576040517f4c808ecb000000000000000000000000000000000000000000000000000000008152600401611bac90612b80565b60405180910390fd5b505050565b6000611bc4611d49565b90508060000160006101000a81549073ffffffffffffffffffffffffffffffffffffffff0219169055611bf682611d71565b5050565b60007ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00905090565b611c2a611e48565b611c3381611e88565b50565b60007f9016d09d72d40fdae2fd8ceac6b6234c7706214fd39c1cd1e609a0528c199300905090565b6000611c686118d4565b905060008160020160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905060008103611cf3576040517f4c808ecb000000000000000000000000000000000000000000000000000000008152600401611cea90612977565b60405180910390fd5b60008260020160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550611d448184611a57565b505050565b60007f237e158222e3e6968b72b9db0d8043aacf074ad9f650f0d1606b4d82ee432c00905090565b6000611d7b611c36565b905060008160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050828260000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508273ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3505050565b611e50611f0e565b611e86576040517fd7e6bcf800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b565b611e90611e48565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611f025760006040517f1e4fbdf7000000000000000000000000000000000000000000000000000000008152600401611ef991906122c4565b60405180910390fd5b611f0b81611bba565b50565b6000611f18611bfa565b60000160089054906101000a900460ff16905090565b6040518060c0016040528060008152602001600081526020016000815260200160008152602001600073ffffffffffffffffffffffffffffffffffffffff168152602001600081525090565b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b60008083601f840112611fa957611fa8611f84565b5b8235905067ffffffffffffffff811115611fc657611fc5611f89565b5b602083019150836001820283011115611fe257611fe1611f8e565b5b9250929050565b6000819050919050565b611ffc81611fe9565b811461200757600080fd5b50565b60008135905061201981611ff3565b92915050565b6000806000806060858703121561203957612038611f7a565b5b600085013567ffffffffffffffff81111561205757612056611f7f565b5b61206387828801611f93565b945094505060206120768782880161200a565b92505060406120878782880161200a565b91505092959194509250565b600080604083850312156120aa576120a9611f7a565b5b60006120b88582860161200a565b92505060206120c98582860161200a565b9150509250929050565b6120dc81611fe9565b82525050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061210d826120e2565b9050919050565b61211d81612102565b82525050565b60c08201600082015161213960008501826120d3565b50602082015161214c60208501826120d3565b50604082015161215f60408501826120d3565b50606082015161217260608501826120d3565b5060808201516121856080850182612114565b5060a082015161219860a08501826120d3565b50505050565b600060c0820190506121b36000830184612123565b92915050565b6121c281612102565b81146121cd57600080fd5b50565b6000813590506121df816121b9565b92915050565b6000806000606084860312156121fe576121fd611f7a565b5b600061220c8682870161200a565b935050602061221d8682870161200a565b925050604061222e868287016121d0565b9150509250925092565b60008060006060848603121561225157612250611f7a565b5b600061225f8682870161200a565b93505060206122708682870161200a565b92505060406122818682870161200a565b9150509250925092565b61229481611fe9565b82525050565b60006020820190506122af600083018461228b565b92915050565b6122be81612102565b82525050565b60006020820190506122d960008301846122b5565b92915050565b600080600080600060a086880312156122fb576122fa611f7a565b5b60006123098882890161200a565b955050602061231a8882890161200a565b945050604061232b8882890161200a565b935050606061233c8882890161200a565b925050608061234d888289016121d0565b9150509295509295909350565b60008060006040848603121561237357612372611f7a565b5b600084013567ffffffffffffffff81111561239157612390611f7f565b5b61239d86828701611f93565b935093505060206123b08682870161200a565b9150509250925092565b60008115159050919050565b6123cf816123ba565b82525050565b60006020820190506123ea60008301846123c6565b92915050565b60006020828403121561240657612405611f7a565b5b6000612414848285016121d0565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561245757808201518184015260208101905061243c565b60008484015250505050565b6000601f19601f8301169050919050565b600061247f8261241d565b6124898185612428565b9350612499818560208601612439565b6124a281612463565b840191505092915050565b600060208201905081810360008301526124c78184612474565b905092915050565b82818337600083830152505050565b60006124ea8385612428565b93506124f78385846124cf565b61250083612463565b840190509392505050565b6000604082019050612520600083018661228b565b81810360208301526125338184866124de565b9050949350505050565b7f5061796d656e7420616c726561647920646f6e65000000000000000000000000600082015250565b6000612573601483612428565b915061257e8261253d565b602082019050919050565b600060208201905081810360008301526125a281612566565b9050919050565b60006040820190506125be600083018561228b565b6125cb602083018461228b565b9392505050565b7f5061796d656e742076616c7565206e6f7420666f756e6420666f72207468697360008201527f2069737375657220616e6420736368656d610000000000000000000000000000602082015250565b600061262e603283612428565b9150612639826125d2565b604082019050919050565b6000602082019050818103600083015261265d81612621565b9050919050565b7f496e76616c69642076616c756500000000000000000000000000000000000000600082015250565b600061269a600d83612428565b91506126a582612664565b602082019050919050565b600060208201905081810360008301526126c98161268d565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061270a82611fe9565b915061271583611fe9565b925082820261272381611fe9565b9150828204841483151761273a576127396126d0565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061277b82611fe9565b915061278683611fe9565b92508261279657612795612741565b5b828204905092915050565b60006127ac82611fe9565b91506127b783611fe9565b92508282039050818111156127cf576127ce6126d0565b5b92915050565b60006127e082611fe9565b91506127eb83611fe9565b9250828201905080821115612803576128026126d0565b5b92915050565b600060208201905081810360008301526128248184866124de565b90509392505050565b7f4f6e6c7920697373756572206f72206f776e65722063616e2063616c6c20746860008201527f69732066756e6374696f6e000000000000000000000000000000000000000000602082015250565b6000612889602b83612428565b91506128948261282d565b604082019050919050565b600060208201905081810360008301526128b88161287c565b9050919050565b7f496e76616c696420776974686472617720616464726573730000000000000000600082015250565b60006128f5601883612428565b9150612900826128bf565b602082019050919050565b60006020820190508181036000830152612924816128e8565b9050919050565b7f5468657265206973206e6f2062616c616e636520746f20776974686472617700600082015250565b6000612961601f83612428565b915061296c8261292b565b602082019050919050565b6000602082019050818103600083015261299081612954565b9050919050565b7f496e76616c6964206f776e65722070657263656e746167650000000000000000600082015250565b60006129cd601883612428565b91506129d882612997565b602082019050919050565b600060208201905081810360008301526129fc816129c0565b9050919050565b6000819050919050565b600067ffffffffffffffff82169050919050565b6000819050919050565b6000612a46612a41612a3c84612a03565b612a21565b612a0d565b9050919050565b612a5681612a2b565b82525050565b6000602082019050612a716000830184612a4d565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000612ab182611fe9565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203612ae357612ae26126d0565b5b600182019050919050565b600081905092915050565b50565b6000612b09600083612aee565b9150612b1482612af9565b600082019050919050565b6000612b2a82612afc565b9150819050919050565b7f4661696c656420746f2077697468647261770000000000000000000000000000600082015250565b6000612b6a601283612428565b9150612b7582612b34565b602082019050919050565b60006020820190508181036000830152612b9981612b5d565b905091905056fea2646970667358221220021a714240e38b7f10ecd5c5e93475522e4ce9a1c4ba9f716867f4e09d92c3e164736f6c63430008140033
Deployed Bytecode
0x6080604052600436106101145760003560e01c806379ba5097116100a0578063e000c7a711610064578063e000c7a71461030a578063e30c397814610347578063f120dd5614610372578063f2fde38b14610389578063ffa1ad74146103b257610114565b806379ba5097146102715780638129fc1c146102885780638da5cb5b1461029f578063cc9cd961146102ca578063cd9a5f27146102e157610114565b806349f387f8116100e757806349f387f8146101b25780634c738909146101db578063571047c714610206578063590791f21461022f578063715018a61461025a57610114565b806320192a7714610119578063205f34f6146101355780633eb8c201146101725780634311de8f1461019b575b600080fd5b610133600480360381019061012e919061201f565b6103dd565b005b34801561014157600080fd5b5061015c60048036038101906101579190612093565b61073d565b604051610169919061219e565b60405180910390f35b34801561017e57600080fd5b50610199600480360381019061019491906121e5565b61095e565b005b3480156101a757600080fd5b506101b0610d54565b005b3480156101be57600080fd5b506101d960048036038101906101d49190612238565b610dd7565b005b3480156101e757600080fd5b506101f0611006565b6040516101fd919061229a565b60405180910390f35b34801561021257600080fd5b5061022d60048036038101906102289190612238565b611062565b005b34801561023b57600080fd5b506102446111b6565b604051610251919061229a565b60405180910390f35b34801561026657600080fd5b5061026f6111d7565b005b34801561027d57600080fd5b506102866111eb565b005b34801561029457600080fd5b5061029d61127a565b005b3480156102ab57600080fd5b506102b461140f565b6040516102c191906122c4565b60405180910390f35b3480156102d657600080fd5b506102df611447565b005b3480156102ed57600080fd5b50610308600480360381019061030391906122df565b611459565b005b34801561031657600080fd5b50610331600480360381019061032c919061235a565b6115de565b60405161033e91906123d5565b60405180910390f35b34801561035357600080fd5b5061035c611642565b60405161036991906122c4565b60405180910390f35b34801561037e57600080fd5b5061038761167a565b005b34801561039557600080fd5b506103b060048036038101906103ab91906123f0565b6117df565b005b3480156103be57600080fd5b506103c761189b565b6040516103d491906124ad565b60405180910390f35b60006103e76118d4565b905060008386866040516020016104009392919061250b565b60405160208183030381529060405280519060200120905081600101600082815260200190815260200160002060009054906101000a900460ff161561047b576040517fbeb340d900000000000000000000000000000000000000000000000000000000815260040161047290612589565b60405180910390fd5b600082600001600086866040516020016104969291906125a9565b60405160208183030381529060405280519060200120815260200190815260200160002090506000816002015403610503576040517fbeb340d90000000000000000000000000000000000000000000000000000000081526004016104fa90612644565b60405180910390fd5b34816002015414610549576040517fbeb340d9000000000000000000000000000000000000000000000000000000008152600401610540906126b0565b60405180910390fd5b600183600101600084815260200190815260200160002060006101000a81548160ff0219169083151502179055506000606482600301543461058b91906126ff565b6105959190612770565b9050600081346105a591906127a1565b9050808560020160008560040160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461061c91906127d5565b925050819055508185600301600082825461063791906127d5565b925050819055508083600501600082825461065291906127d5565b925050819055506106f78787856040518060c0016040529081600082015481526020016001820154815260200160028201548152602001600382015481526020016004820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016005820154815250506118fc565b85877f7398675bfb80d8068656a15534a2906b06a75c6ef55a95b8674066eb3f8171868b8b60405161072a929190612809565b60405180910390a3505050505050505050565b610745611f2e565b828260006107516118d4565b90506000816000016000858560405160200161076e9291906125a9565b60405160208183030381529060405280519060200120815260200190815260200160002060040160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690506107c06119c8565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415801561083557506107fe6119c8565b73ffffffffffffffffffffffffffffffffffffffff1661081c61140f565b73ffffffffffffffffffffffffffffffffffffffff1614155b15610875576040517fcf16bb1100000000000000000000000000000000000000000000000000000000815260040161086c9061289f565b60405180910390fd5b600061087f6118d4565b9050806000016000898960405160200161089a9291906125a9565b6040516020818303038152906040528051906020012081526020019081526020016000206040518060c0016040529081600082015481526020016001820154815260200160028201548152602001600382015481526020016004820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016005820154815250509550505050505092915050565b8282600061096a6118d4565b9050600081600001600085856040516020016109879291906125a9565b60405160208183030381529060405280519060200120815260200190815260200160002060040160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690506109d96119c8565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614158015610a4e5750610a176119c8565b73ffffffffffffffffffffffffffffffffffffffff16610a3561140f565b73ffffffffffffffffffffffffffffffffffffffff1614155b15610a8e576040517fcf16bb11000000000000000000000000000000000000000000000000000000008152600401610a859061289f565b60405180910390fd5b84600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610afe576040517f0b923170000000000000000000000000000000000000000000000000000000008152600401610af59061290b565b60405180910390fd5b6000610b086118d4565b905060008160000160008b8b604051602001610b259291906125a9565b604051602081830303815290604052805190602001208152602001908152602001600020905060008260020160008360040160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905060008360020160008460040160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550808360020160008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550888260040160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550610d478b8b846040518060c0016040529081600082015481526020016001820154815260200160028201548152602001600382015481526020016004820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016005820154815250506118fc565b5050505050505050505050565b610d5c6119d0565b6000610d666118d4565b90506000816003015403610daf576040517f4c808ecb000000000000000000000000000000000000000000000000000000008152600401610da690612977565b60405180910390fd5b60008160030154905060008260030181905550610dd381610dce61140f565b611a57565b5050565b82826000610de36118d4565b905060008160000160008585604051602001610e009291906125a9565b60405160208183030381529060405280519060200120815260200190815260200160002060040160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050610e526119c8565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614158015610ec75750610e906119c8565b73ffffffffffffffffffffffffffffffffffffffff16610eae61140f565b73ffffffffffffffffffffffffffffffffffffffff1614155b15610f07576040517fcf16bb11000000000000000000000000000000000000000000000000000000008152600401610efe9061289f565b60405180910390fd5b6000610f116118d4565b905060008160000160008a8a604051602001610f2e9291906125a9565b6040516020818303038152906040528051906020012081526020019081526020016000209050868160020181905550610ffb8989836040518060c0016040529081600082015481526020016001820154815260200160028201548152602001600382015481526020016004820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016005820154815250506118fc565b505050505050505050565b6000806110116118d4565b90508060020160006110216119c8565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205491505090565b61106a6119d0565b80600081108061107a5750606481115b156110ba576040517ff109a4c60000000000000000000000000000000000000000000000000000000081526004016110b1906129e3565b60405180910390fd5b60006110c46118d4565b9050600081600001600087876040516020016110e19291906125a9565b60405160208183030381529060405280519060200120815260200190815260200160002090508381600301819055506111ae8686836040518060c0016040529081600082015481526020016001820154815260200160028201548152602001600382015481526020016004820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016005820154815250506118fc565b505050505050565b60006111c06119d0565b60006111ca6118d4565b9050806003015491505090565b6111df6119d0565b6111e96000611bba565b565b60006111f56119c8565b90508073ffffffffffffffffffffffffffffffffffffffff16611216611642565b73ffffffffffffffffffffffffffffffffffffffff161461126e57806040517f118cdaa700000000000000000000000000000000000000000000000000000000815260040161126591906122c4565b60405180910390fd5b61127781611bba565b50565b6000611284611bfa565b905060008160000160089054906101000a900460ff1615905060008260000160009054906101000a900467ffffffffffffffff1690506000808267ffffffffffffffff161480156112d25750825b9050600060018367ffffffffffffffff16148015611307575060003073ffffffffffffffffffffffffffffffffffffffff163b145b905081158015611315575080155b1561134c576040517ff92ee8a900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60018560000160006101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550831561139c5760018560000160086101000a81548160ff0219169083151502179055505b6113ac6113a76119c8565b611c22565b83156114085760008560000160086101000a81548160ff0219169083151502179055507fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d260016040516113ff9190612a5c565b60405180910390a15b5050505050565b60008061141a611c36565b90508060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1691505090565b6114576114526119c8565b611c5e565b565b6114616119d0565b8160008110806114715750606481115b156114b1576040517ff109a4c60000000000000000000000000000000000000000000000000000000081526004016114a8906129e3565b60405180910390fd5b81600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611521576040517f0b9231700000000000000000000000000000000000000000000000000000000081526004016115189061290b565b60405180910390fd5b600061152b6118d4565b905060006040518060c001604052808a81526020018981526020018881526020018781526020018673ffffffffffffffffffffffffffffffffffffffff1681526020016000815250905081600401898960405160200161158c9291906125a9565b6040516020818303038152906040528051906020012090806001815401808255809150506001900390600052602060002001600090919091909150556115d38989836118fc565b505050505050505050565b6000806115e96118d4565b90508060010160008487876040516020016116069392919061250b565b60405160208183030381529060405280519060200120815260200190815260200160002060009054906101000a900460ff169150509392505050565b60008061164d611d49565b90508060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1691505090565b6116826119d0565b600061168c6118d4565b905060005b81600401805490508110156117db5760008260000160008460040184815481106116be576116bd612a77565b5b906000526020600020015481526020019081526020016000206040518060c0016040529081600082015481526020016001820154815260200160028201548152602001600382015481526020016004820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200160058201548152505090506000836002016000836080015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054146117c7576117c68160800151611c5e565b5b5080806117d390612aa6565b915050611691565b5050565b6117e76119d0565b60006117f1611d49565b9050818160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff1661185561140f565b73ffffffffffffffffffffffffffffffffffffffff167f38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e2270060405160405180910390a35050565b6040518060400160405280600581526020017f312e302e3000000000000000000000000000000000000000000000000000000081525081565b60007fbb49acb92ce91902600caabfefad66ed7ac2a150edbd631ab48a5501402b3300905090565b60006119066118d4565b90508181600001600086866040516020016119229291906125a9565b6040516020818303038152906040528051906020012081526020019081526020016000206000820151816000015560208201518160010155604082015181600201556060820151816003015560808201518160040160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060a0820151816005015590505050505050565b600033905090565b6119d86119c8565b73ffffffffffffffffffffffffffffffffffffffff166119f661140f565b73ffffffffffffffffffffffffffffffffffffffff1614611a5557611a196119c8565b6040517f118cdaa7000000000000000000000000000000000000000000000000000000008152600401611a4c91906122c4565b60405180910390fd5b565b60008203611a9a576040517f4c808ecb000000000000000000000000000000000000000000000000000000008152600401611a9190612977565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611b09576040517f4c808ecb000000000000000000000000000000000000000000000000000000008152600401611b009061290b565b60405180910390fd5b60008173ffffffffffffffffffffffffffffffffffffffff1683604051611b2f90612b1f565b60006040518083038185875af1925050503d8060008114611b6c576040519150601f19603f3d011682016040523d82523d6000602084013e611b71565b606091505b5050905080611bb5576040517f4c808ecb000000000000000000000000000000000000000000000000000000008152600401611bac90612b80565b60405180910390fd5b505050565b6000611bc4611d49565b90508060000160006101000a81549073ffffffffffffffffffffffffffffffffffffffff0219169055611bf682611d71565b5050565b60007ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00905090565b611c2a611e48565b611c3381611e88565b50565b60007f9016d09d72d40fdae2fd8ceac6b6234c7706214fd39c1cd1e609a0528c199300905090565b6000611c686118d4565b905060008160020160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905060008103611cf3576040517f4c808ecb000000000000000000000000000000000000000000000000000000008152600401611cea90612977565b60405180910390fd5b60008260020160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550611d448184611a57565b505050565b60007f237e158222e3e6968b72b9db0d8043aacf074ad9f650f0d1606b4d82ee432c00905090565b6000611d7b611c36565b905060008160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050828260000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508273ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3505050565b611e50611f0e565b611e86576040517fd7e6bcf800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b565b611e90611e48565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611f025760006040517f1e4fbdf7000000000000000000000000000000000000000000000000000000008152600401611ef991906122c4565b60405180910390fd5b611f0b81611bba565b50565b6000611f18611bfa565b60000160089054906101000a900460ff16905090565b6040518060c0016040528060008152602001600081526020016000815260200160008152602001600073ffffffffffffffffffffffffffffffffffffffff168152602001600081525090565b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b60008083601f840112611fa957611fa8611f84565b5b8235905067ffffffffffffffff811115611fc657611fc5611f89565b5b602083019150836001820283011115611fe257611fe1611f8e565b5b9250929050565b6000819050919050565b611ffc81611fe9565b811461200757600080fd5b50565b60008135905061201981611ff3565b92915050565b6000806000806060858703121561203957612038611f7a565b5b600085013567ffffffffffffffff81111561205757612056611f7f565b5b61206387828801611f93565b945094505060206120768782880161200a565b92505060406120878782880161200a565b91505092959194509250565b600080604083850312156120aa576120a9611f7a565b5b60006120b88582860161200a565b92505060206120c98582860161200a565b9150509250929050565b6120dc81611fe9565b82525050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061210d826120e2565b9050919050565b61211d81612102565b82525050565b60c08201600082015161213960008501826120d3565b50602082015161214c60208501826120d3565b50604082015161215f60408501826120d3565b50606082015161217260608501826120d3565b5060808201516121856080850182612114565b5060a082015161219860a08501826120d3565b50505050565b600060c0820190506121b36000830184612123565b92915050565b6121c281612102565b81146121cd57600080fd5b50565b6000813590506121df816121b9565b92915050565b6000806000606084860312156121fe576121fd611f7a565b5b600061220c8682870161200a565b935050602061221d8682870161200a565b925050604061222e868287016121d0565b9150509250925092565b60008060006060848603121561225157612250611f7a565b5b600061225f8682870161200a565b93505060206122708682870161200a565b92505060406122818682870161200a565b9150509250925092565b61229481611fe9565b82525050565b60006020820190506122af600083018461228b565b92915050565b6122be81612102565b82525050565b60006020820190506122d960008301846122b5565b92915050565b600080600080600060a086880312156122fb576122fa611f7a565b5b60006123098882890161200a565b955050602061231a8882890161200a565b945050604061232b8882890161200a565b935050606061233c8882890161200a565b925050608061234d888289016121d0565b9150509295509295909350565b60008060006040848603121561237357612372611f7a565b5b600084013567ffffffffffffffff81111561239157612390611f7f565b5b61239d86828701611f93565b935093505060206123b08682870161200a565b9150509250925092565b60008115159050919050565b6123cf816123ba565b82525050565b60006020820190506123ea60008301846123c6565b92915050565b60006020828403121561240657612405611f7a565b5b6000612414848285016121d0565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561245757808201518184015260208101905061243c565b60008484015250505050565b6000601f19601f8301169050919050565b600061247f8261241d565b6124898185612428565b9350612499818560208601612439565b6124a281612463565b840191505092915050565b600060208201905081810360008301526124c78184612474565b905092915050565b82818337600083830152505050565b60006124ea8385612428565b93506124f78385846124cf565b61250083612463565b840190509392505050565b6000604082019050612520600083018661228b565b81810360208301526125338184866124de565b9050949350505050565b7f5061796d656e7420616c726561647920646f6e65000000000000000000000000600082015250565b6000612573601483612428565b915061257e8261253d565b602082019050919050565b600060208201905081810360008301526125a281612566565b9050919050565b60006040820190506125be600083018561228b565b6125cb602083018461228b565b9392505050565b7f5061796d656e742076616c7565206e6f7420666f756e6420666f72207468697360008201527f2069737375657220616e6420736368656d610000000000000000000000000000602082015250565b600061262e603283612428565b9150612639826125d2565b604082019050919050565b6000602082019050818103600083015261265d81612621565b9050919050565b7f496e76616c69642076616c756500000000000000000000000000000000000000600082015250565b600061269a600d83612428565b91506126a582612664565b602082019050919050565b600060208201905081810360008301526126c98161268d565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061270a82611fe9565b915061271583611fe9565b925082820261272381611fe9565b9150828204841483151761273a576127396126d0565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061277b82611fe9565b915061278683611fe9565b92508261279657612795612741565b5b828204905092915050565b60006127ac82611fe9565b91506127b783611fe9565b92508282039050818111156127cf576127ce6126d0565b5b92915050565b60006127e082611fe9565b91506127eb83611fe9565b9250828201905080821115612803576128026126d0565b5b92915050565b600060208201905081810360008301526128248184866124de565b90509392505050565b7f4f6e6c7920697373756572206f72206f776e65722063616e2063616c6c20746860008201527f69732066756e6374696f6e000000000000000000000000000000000000000000602082015250565b6000612889602b83612428565b91506128948261282d565b604082019050919050565b600060208201905081810360008301526128b88161287c565b9050919050565b7f496e76616c696420776974686472617720616464726573730000000000000000600082015250565b60006128f5601883612428565b9150612900826128bf565b602082019050919050565b60006020820190508181036000830152612924816128e8565b9050919050565b7f5468657265206973206e6f2062616c616e636520746f20776974686472617700600082015250565b6000612961601f83612428565b915061296c8261292b565b602082019050919050565b6000602082019050818103600083015261299081612954565b9050919050565b7f496e76616c6964206f776e65722070657263656e746167650000000000000000600082015250565b60006129cd601883612428565b91506129d882612997565b602082019050919050565b600060208201905081810360008301526129fc816129c0565b9050919050565b6000819050919050565b600067ffffffffffffffff82169050919050565b6000819050919050565b6000612a46612a41612a3c84612a03565b612a21565b612a0d565b9050919050565b612a5681612a2b565b82525050565b6000602082019050612a716000830184612a4d565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000612ab182611fe9565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203612ae357612ae26126d0565b5b600182019050919050565b600081905092915050565b50565b6000612b09600083612aee565b9150612b1482612af9565b600082019050919050565b6000612b2a82612afc565b9150819050919050565b7f4661696c656420746f2077697468647261770000000000000000000000000000600082015250565b6000612b6a601283612428565b9150612b7582612b34565b602082019050919050565b60006020820190508181036000830152612b9981612b5d565b905091905056fea2646970667358221220021a714240e38b7f10ecd5c5e93475522e4ce9a1c4ba9f716867f4e09d92c3e164736f6c63430008140033
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
[ 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.