[ { "inputs": [ { "internalType": "string", "name": "_name", "type": "string" }, { "internalType": "string", "name": "_symbol", "type": "string" }, { "internalType": "uint112", "name": "_totalSupply", "type": "uint112" } ], "stateMutability": "nonpayable", "type": "constructor" }, { "inputs": [ { "internalType": "address", "name": "spender", "type": "address" }, { "internalType": "uint256", "name": "allowance", "type": "uint256" }, { "internalType": "uint256", "name": "needed", "type": "uint256" } ], "name": "ERC20InsufficientAllowance", "type": "error" }, { "inputs": [ { "internalType": "address", "name": "sender", "type": "address" }, { "internalType": "uint256", "name": "balance", "type": "uint256" }, { "internalType": "uint256", "name": "needed", "type": "uint256" } ], "name": "ERC20InsufficientBalance", "type": "error" }, { "inputs": [ { "internalType": "address", "name": "approver", "type": "address" } ], "name": "ERC20InvalidApprover", "type": "error" }, { "inputs": [ { "internalType": "address", "name": "receiver", "type": "address" } ], "name": "ERC20InvalidReceiver", "type": "error" }, { "inputs": [ { "internalType": "address", "name": "sender", "type": "address" } ], "name": "ERC20InvalidSender", "type": "error" }, { "inputs": [ { "internalType": "address", "name": "spender", "type": "address" } ], "name": "ERC20InvalidSpender", "type": "error" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "owner", "type": "address" }, { "indexed": true, "internalType": "address", "name": "spender", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "value", "type": "uint256" } ], "name": "Approval", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "from", "type": "address" }, { "indexed": true, "internalType": "address", "name": "to", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "value", "type": "uint256" } ], "name": "Transfer", "type": "event" }, { "inputs": [ { "internalType": "address", "name": "owner", "type": "address" }, { "internalType": "address", "name": "spender", "type": "address" } ], "name": "allowance", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "spender", "type": "address" }, { "internalType": "uint256", "name": "value", "type": "uint256" } ], "name": "approve", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "account", "type": "address" } ], "name": "balanceOf", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "bellumFactory", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "completeTheCurve", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "curveComplete", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "decimals", "outputs": [ { "internalType": "uint8", "name": "", "type": "uint8" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "name", "outputs": [ { "internalType": "string", "name": "", "type": "string" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "symbol", "outputs": [ { "internalType": "string", "name": "", "type": "string" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "totalSupply", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "to", "type": "address" }, { "internalType": "uint256", "name": "value", "type": "uint256" } ], "name": "transfer", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "from", "type": "address" }, { "internalType": "address", "name": "to", "type": "address" }, { "internalType": "uint256", "name": "value", "type": "uint256" } ], "name": "transferFrom", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "nonpayable", "type": "function" } ]
60806040523480156200001157600080fd5b5060405162000e3938038062000e3983398101604081905262000034916200037d565b8282600362000044838262000498565b50600462000053828262000498565b5050600580546001600160a01b031916339081179091556200008091506001600160701b03831662000089565b5050506200058c565b6001600160a01b038216620000b95760405163ec442f0560e01b8152600060048201526024015b60405180910390fd5b620000c760008383620000cb565b5050565b620000d883838362000185565b600554600160a01b900460ff1662000180576005546001600160a01b03848116911614806200011457506005546001600160a01b038381169116145b806200012757506001600160a01b038316155b620001805760405162461bcd60e51b815260206004820152602260248201527f42656c6c756d3a2043616e6e6f74207472616e7366657220746f6b656e732079604482015261195d60f21b6064820152608401620000b0565b505050565b6001600160a01b038316620001b4578060026000828254620001a8919062000564565b90915550620002289050565b6001600160a01b03831660009081526020819052604090205481811015620002095760405163391434e360e21b81526001600160a01b03851660048201526024810182905260448101839052606401620000b0565b6001600160a01b03841660009081526020819052604090209082900390555b6001600160a01b038216620002465760028054829003905562000265565b6001600160a01b03821660009081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051620002ab91815260200190565b60405180910390a3505050565b634e487b7160e01b600052604160045260246000fd5b600082601f830112620002e057600080fd5b81516001600160401b0380821115620002fd57620002fd620002b8565b604051601f8301601f19908116603f01168101908282118183101715620003285762000328620002b8565b816040528381526020925086838588010111156200034557600080fd5b600091505b838210156200036957858201830151818301840152908201906200034a565b600093810190920192909252949350505050565b6000806000606084860312156200039357600080fd5b83516001600160401b0380821115620003ab57600080fd5b620003b987838801620002ce565b94506020860151915080821115620003d057600080fd5b50620003df86828701620002ce565b604086015190935090506001600160701b0381168114620003ff57600080fd5b809150509250925092565b600181811c908216806200041f57607f821691505b6020821081036200044057634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200018057600081815260208120601f850160051c810160208610156200046f5750805b601f850160051c820191505b8181101562000490578281556001016200047b565b505050505050565b81516001600160401b03811115620004b457620004b4620002b8565b620004cc81620004c584546200040a565b8462000446565b602080601f831160018114620005045760008415620004eb5750858301515b600019600386901b1c1916600185901b17855562000490565b600085815260208120601f198616915b82811015620005355788860151825594840194600190910190840162000514565b5085821015620005545787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b808201808211156200058657634e487b7160e01b600052601160045260246000fd5b92915050565b61089d806200059c6000396000f3fe608060405234801561001057600080fd5b50600436106100b45760003560e01c80633a244650116100715780633a2446501461014257806370a082311461014c57806395d89b4114610175578063a02f51861461017d578063a9059cbb146101a8578063dd62ed3e146101bb57600080fd5b806306fdde03146100b9578063095ea7b3146100d757806318160ddd146100fa57806320f1b9121461010c57806323b872dd14610120578063313ce56714610133575b600080fd5b6100c16101f4565b6040516100ce91906106e7565b60405180910390f35b6100ea6100e5366004610751565b610286565b60405190151581526020016100ce565b6002545b6040519081526020016100ce565b6005546100ea90600160a01b900460ff1681565b6100ea61012e36600461077b565b6102a0565b604051601281526020016100ce565b61014a6102c4565b005b6100fe61015a3660046107b7565b6001600160a01b031660009081526020819052604090205490565b6100c161032e565b600554610190906001600160a01b031681565b6040516001600160a01b0390911681526020016100ce565b6100ea6101b6366004610751565b61033d565b6100fe6101c93660046107d9565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6060600380546102039061080c565b80601f016020809104026020016040519081016040528092919081815260200182805461022f9061080c565b801561027c5780601f106102515761010080835404028352916020019161027c565b820191906000526020600020905b81548152906001019060200180831161025f57829003601f168201915b5050505050905090565b60003361029481858561034b565b60019150505b92915050565b6000336102ae85828561035d565b6102b98585856103db565b506001949350505050565b6005546001600160a01b031633146103195760405162461bcd60e51b815260206004820152601360248201527210995b1b1d5b4e881393d517d0531313d5d151606a1b60448201526064015b60405180910390fd5b6005805460ff60a01b1916600160a01b179055565b6060600480546102039061080c565b6000336102948185856103db565b610358838383600161043a565b505050565b6001600160a01b0383811660009081526001602090815260408083209386168352929052205460001981146103d557818110156103c657604051637dc7a0d960e11b81526001600160a01b03841660048201526024810182905260448101839052606401610310565b6103d58484848403600061043a565b50505050565b6001600160a01b03831661040557604051634b637e8f60e11b815260006004820152602401610310565b6001600160a01b03821661042f5760405163ec442f0560e01b815260006004820152602401610310565b61035883838361050f565b6001600160a01b0384166104645760405163e602df0560e01b815260006004820152602401610310565b6001600160a01b03831661048e57604051634a1406b160e11b815260006004820152602401610310565b6001600160a01b03808516600090815260016020908152604080832093871683529290522082905580156103d557826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258460405161050191815260200190565b60405180910390a350505050565b61051a8383836105bd565b600554600160a01b900460ff16610358576005546001600160a01b038481169116148061055457506005546001600160a01b038381169116145b8061056657506001600160a01b038316155b6103585760405162461bcd60e51b815260206004820152602260248201527f42656c6c756d3a2043616e6e6f74207472616e7366657220746f6b656e732079604482015261195d60f21b6064820152608401610310565b6001600160a01b0383166105e85780600260008282546105dd9190610846565b9091555061065a9050565b6001600160a01b0383166000908152602081905260409020548181101561063b5760405163391434e360e21b81526001600160a01b03851660048201526024810182905260448101839052606401610310565b6001600160a01b03841660009081526020819052604090209082900390555b6001600160a01b03821661067657600280548290039055610695565b6001600160a01b03821660009081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516106da91815260200190565b60405180910390a3505050565b600060208083528351808285015260005b81811015610714578581018301518582016040015282016106f8565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b038116811461074c57600080fd5b919050565b6000806040838503121561076457600080fd5b61076d83610735565b946020939093013593505050565b60008060006060848603121561079057600080fd5b61079984610735565b92506107a760208501610735565b9150604084013590509250925092565b6000602082840312156107c957600080fd5b6107d282610735565b9392505050565b600080604083850312156107ec57600080fd5b6107f583610735565b915061080360208401610735565b90509250929050565b600181811c9082168061082057607f821691505b60208210810361084057634e487b7160e01b600052602260045260246000fd5b50919050565b8082018082111561029a57634e487b7160e01b600052601160045260246000fdfea2646970667358221220fad0a7f59dc44e53e3931d0525a729dcaec3fa56c05fc7e6e2433708b73143b864736f6c63430008140033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000005be6571172bc53c5800000000000000000000000000000000000000000000000000000000000000000000946756a692039303131000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044655313100000000000000000000000000000000000000000000000000000000