UNPKG

@settlemint/solidity-token-erc20-crowdsale

Version:
221 lines (220 loc) 8.74 kB
{ "_format": "hh-sol-artifact-1", "contractName": "MockAggregatorV3", "sourceName": "contracts/MockAggregatorV3.sol", "abi": [ { "inputs": [], "name": "answer", "outputs": [ { "internalType": "int256", "name": "", "type": "int256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "answeredInRound", "outputs": [ { "internalType": "uint80", "name": "", "type": "uint80" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "decimals", "outputs": [ { "internalType": "uint8", "name": "", "type": "uint8" } ], "stateMutability": "pure", "type": "function" }, { "inputs": [], "name": "description", "outputs": [ { "internalType": "string", "name": "", "type": "string" } ], "stateMutability": "pure", "type": "function" }, { "inputs": [ { "internalType": "uint80", "name": "_roundId", "type": "uint80" } ], "name": "getRoundData", "outputs": [ { "internalType": "uint80", "name": "", "type": "uint80" }, { "internalType": "int256", "name": "", "type": "int256" }, { "internalType": "uint256", "name": "", "type": "uint256" }, { "internalType": "uint256", "name": "", "type": "uint256" }, { "internalType": "uint80", "name": "", "type": "uint80" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "latestRoundData", "outputs": [ { "internalType": "uint80", "name": "", "type": "uint80" }, { "internalType": "int256", "name": "", "type": "int256" }, { "internalType": "uint256", "name": "", "type": "uint256" }, { "internalType": "uint256", "name": "", "type": "uint256" }, { "internalType": "uint80", "name": "", "type": "uint80" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "roundId", "outputs": [ { "internalType": "uint80", "name": "", "type": "uint80" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint80", "name": "_roundId", "type": "uint80" }, { "internalType": "int256", "name": "_answer", "type": "int256" }, { "internalType": "uint256", "name": "_startedAt", "type": "uint256" }, { "internalType": "uint256", "name": "_updatedAt", "type": "uint256" }, { "internalType": "uint80", "name": "_answeredInRound", "type": "uint80" } ], "name": "setLatestRoundData", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "startedAt", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "updatedAt", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "version", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "pure", "type": "function" } ], "bytecode": "0x60808060405234601557610419908161001b8239f35b600080fdfe608080604052600436101561001357600080fd5b60003560e01c908163313ce567146103b0575080634005e6811461030a57806354fd4d50146102ee5780637284e416146101fa5780637519ab50146101dc57806385bb7d69146101be5780638cd221c9146101945780639a6fc8f51461013a578063c22c249914610110578063f21f537d146100f25763feaf968c1461009857600080fd5b346100ed5760006003193601126100ed576001546000546002546003546004546040805169ffffffffffffffffffff96871681526020810195909552840192909252606083015291909116608082015260a090f35b600080fd5b346100ed5760006003193601126100ed576020600254604051908152f35b346100ed5760006003193601126100ed57602069ffffffffffffffffffff60045416604051908152f35b346100ed5760206003193601126100ed576101536103ca565b6000546002546003546004546040805169ffffffffffffffffffff96871681526020810195909552840192909252606083015291909116608082015260a090f35b346100ed5760006003193601126100ed57602069ffffffffffffffffffff60015416604051908152f35b346100ed5760006003193601126100ed576020600054604051908152f35b346100ed5760006003193601126100ed576020600354604051908152f35b346100ed5760006003193601126100ed576040516040810181811067ffffffffffffffff8211176102bf57604052600f81527f4d6f636b2041676772656761746f720000000000000000000000000000000000602082015260405190602082528181519182602083015260005b8381106102a75750507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f836000604080968601015201168101030190f35b60208282018101516040878401015285935001610267565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b346100ed5760006003193601126100ed57602060405160018152f35b346100ed5760a06003193601126100ed576103236103ca565b6084359069ffffffffffffffffffff82168092036100ed5769ffffffffffffffffffff167fffffffffffffffffffffffffffffffffffffffffffff0000000000000000000060015416176001556024356000556044356002556064356003557fffffffffffffffffffffffffffffffffffffffffffff000000000000000000006004541617600455600080f35b346100ed5760006003193601126100ed5780600860209252f35b6004359069ffffffffffffffffffff821682036100ed5756fea2646970667358221220bb11614c031b12c7fa7810e9f03901b8878018a9fca8741f7f8d6348d1753e4664736f6c634300081b0033", "deployedBytecode": "0x608080604052600436101561001357600080fd5b60003560e01c908163313ce567146103b0575080634005e6811461030a57806354fd4d50146102ee5780637284e416146101fa5780637519ab50146101dc57806385bb7d69146101be5780638cd221c9146101945780639a6fc8f51461013a578063c22c249914610110578063f21f537d146100f25763feaf968c1461009857600080fd5b346100ed5760006003193601126100ed576001546000546002546003546004546040805169ffffffffffffffffffff96871681526020810195909552840192909252606083015291909116608082015260a090f35b600080fd5b346100ed5760006003193601126100ed576020600254604051908152f35b346100ed5760006003193601126100ed57602069ffffffffffffffffffff60045416604051908152f35b346100ed5760206003193601126100ed576101536103ca565b6000546002546003546004546040805169ffffffffffffffffffff96871681526020810195909552840192909252606083015291909116608082015260a090f35b346100ed5760006003193601126100ed57602069ffffffffffffffffffff60015416604051908152f35b346100ed5760006003193601126100ed576020600054604051908152f35b346100ed5760006003193601126100ed576020600354604051908152f35b346100ed5760006003193601126100ed576040516040810181811067ffffffffffffffff8211176102bf57604052600f81527f4d6f636b2041676772656761746f720000000000000000000000000000000000602082015260405190602082528181519182602083015260005b8381106102a75750507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f836000604080968601015201168101030190f35b60208282018101516040878401015285935001610267565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b346100ed5760006003193601126100ed57602060405160018152f35b346100ed5760a06003193601126100ed576103236103ca565b6084359069ffffffffffffffffffff82168092036100ed5769ffffffffffffffffffff167fffffffffffffffffffffffffffffffffffffffffffff0000000000000000000060015416176001556024356000556044356002556064356003557fffffffffffffffffffffffffffffffffffffffffffff000000000000000000006004541617600455600080f35b346100ed5760006003193601126100ed5780600860209252f35b6004359069ffffffffffffffffffff821682036100ed5756fea2646970667358221220bb11614c031b12c7fa7810e9f03901b8878018a9fca8741f7f8d6348d1753e4664736f6c634300081b0033", "linkReferences": {}, "deployedLinkReferences": {} }