UNPKG

@offchainlabs/stablecoin-evm

Version:

Circle's Stablecoin Smart Contracts on EVM-compatible blockchains

83 lines (82 loc) 6.36 kB
{ "_format": "hh-sol-artifact-1", "contractName": "ContractWithPublicFunctions", "sourceName": "contracts/test/ContractWithPublicFunctions.sol", "abi": [ { "inputs": [], "name": "getBar", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getFoo", "outputs": [ { "internalType": "string", "name": "", "type": "string" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "hushLinters", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "bar", "type": "uint256" } ], "name": "setBar", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "string", "name": "foo", "type": "string" } ], "name": "setFoo", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "nonpayable", "type": "function" } ], "bytecode": "0x608060405234801561001057600080fd5b50610489806100206000396000f3fe608060405234801561001057600080fd5b50600436106100675760003560e01c806367a23d131161005057806367a23d131461011a578063c75ad66214610134578063cfcb15661461013e57610067565b8063243dc8da1461006c578063352d3fba146100e9575b600080fd5b6100746101e4565b6040805160208082528351818301528351919283929083019185019080838360005b838110156100ae578181015183820152602001610096565b50505050905090810190601f1680156100db5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b610106600480360360208110156100ff57600080fd5b5035610298565b604080519115158252519081900360200190f35b6101226102a0565b60408051918252519081900360200190f35b61013c6102a6565b005b6101066004803603602081101561015457600080fd5b81019060208101813564010000000081111561016f57600080fd5b82018360208201111561018157600080fd5b803590602001918460018302840111640100000000831117156101a357600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506103a2945050505050565b60008054604080516020601f60027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff61010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561028e5780601f106102635761010080835404028352916020019161028e565b820191906000526020600020905b81548152906001019060200180831161027157829003601f168201915b5050505050905090565b600190815590565b60015490565b6102b66102b16101e4565b6103a2565b61032357604080517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048083019190915260248201527f6875736800000000000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b61033361032e6102a0565b610298565b6103a057604080517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048083019190915260248201527f6875736800000000000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b565b80516000906103b790829060208501906103c0565b50600192915050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061040157805160ff191683800117855561042e565b8280016001018555821561042e579182015b8281111561042e578251825591602001919060010190610413565b5061043a92915061043e565b5090565b5b8082111561043a576000815560010161043f56fea2646970667358221220ae145442e876545924c12cfcc577bf499ecdf90836db996c4c5e650cec1f6c5664736f6c634300060c0033", "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100675760003560e01c806367a23d131161005057806367a23d131461011a578063c75ad66214610134578063cfcb15661461013e57610067565b8063243dc8da1461006c578063352d3fba146100e9575b600080fd5b6100746101e4565b6040805160208082528351818301528351919283929083019185019080838360005b838110156100ae578181015183820152602001610096565b50505050905090810190601f1680156100db5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b610106600480360360208110156100ff57600080fd5b5035610298565b604080519115158252519081900360200190f35b6101226102a0565b60408051918252519081900360200190f35b61013c6102a6565b005b6101066004803603602081101561015457600080fd5b81019060208101813564010000000081111561016f57600080fd5b82018360208201111561018157600080fd5b803590602001918460018302840111640100000000831117156101a357600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506103a2945050505050565b60008054604080516020601f60027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff61010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561028e5780601f106102635761010080835404028352916020019161028e565b820191906000526020600020905b81548152906001019060200180831161027157829003601f168201915b5050505050905090565b600190815590565b60015490565b6102b66102b16101e4565b6103a2565b61032357604080517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048083019190915260248201527f6875736800000000000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b61033361032e6102a0565b610298565b6103a057604080517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048083019190915260248201527f6875736800000000000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b565b80516000906103b790829060208501906103c0565b50600192915050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061040157805160ff191683800117855561042e565b8280016001018555821561042e579182015b8281111561042e578251825591602001919060010190610413565b5061043a92915061043e565b5090565b5b8082111561043a576000815560010161043f56fea2646970667358221220ae145442e876545924c12cfcc577bf499ecdf90836db996c4c5e650cec1f6c5664736f6c634300060c0033", "linkReferences": {}, "deployedLinkReferences": {} }