203 txs
4.6k calls
constructor
constructor(address _titanX, address _inferno, address _v3Quoter, address _v3PositionManager)
functions
allowance
viewfunction allowance(address owner, address spender) view returns (uint256)
auction
viewfunction auction() view returns (address)
auctionTreasury
viewfunction auctionTreasury() view returns (address)
balanceOf
viewfunction balanceOf(address account) view returns (uint256)
decimals
viewfunction decimals() view returns (uint8)
minting
viewfunction minting() view returns (address)
name
viewfunction name() view returns (string)
owner
viewfunction owner() view returns (address)
pool
viewfunction pool() view returns (address)
symbol
viewfunction symbol() view returns (string)
totalSupply
viewfunction totalSupply() view returns (uint256)
approve
nonpayablefunction approve(address spender, uint256 value) returns (bool)
burn
nonpayablefunction burn(uint256 value)
burnFrom
nonpayablefunction burnFrom(address account, uint256 value)
mint
nonpayablefunction mint(address _to, uint256 _amount)
renounceOwnership
nonpayablefunction renounceOwnership()
setAuction
nonpayablefunction setAuction(address _auction)
setAuctionTreasury
nonpayablefunction setAuctionTreasury(address _auctionTreasury)
setMinting
nonpayablefunction setMinting(address _minting)
transfer
nonpayablefunction transfer(address to, uint256 value) returns (bool)
transferFrom
nonpayablefunction transferFrom(address from, address to, uint256 value) returns (bool)
transferOwnership
nonpayablefunction transferOwnership(address newOwner)
events
Approval
event Approval(address indexed owner, address indexed spender, uint256 value)
OwnershipTransferred
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
Transfer
event Transfer(address indexed from, address indexed to, uint256 value)
errors
ERC20InsufficientAllowance
error ERC20InsufficientAllowance(address spender, uint256 allowance, uint256 needed)
ERC20InsufficientBalance
error ERC20InsufficientBalance(address sender, uint256 balance, uint256 needed)
ERC20InvalidApprover
error ERC20InvalidApprover(address approver)
ERC20InvalidReceiver
error ERC20InvalidReceiver(address receiver)
ERC20InvalidSender
error ERC20InvalidSender(address sender)
ERC20InvalidSpender
error ERC20InvalidSpender(address spender)
InvalidInput
error InvalidInput()
OnlyAuctionOrMinting
error OnlyAuctionOrMinting()
OwnableInvalidOwner
error OwnableInvalidOwner(address owner)
OwnableUnauthorizedAccount
error OwnableUnauthorizedAccount(address account)
creation bytecode
0x60a060405234801561000f575f5ffd5b5060405161116b38038061116b83398101604081905261002e91610426565b33604051806040016040528060078152602001660a0909e8a9c92b60cb1b815250604051806040016040528060038152602001620a090b60eb1b815250816003908161007a919061050f565b506004610087828261050f565b5050506001600160a01b0381166100b757604051631e4fbdf760e01b81525f600482015260240160405180910390fd5b6100c0816100e3565b506100cd84848484610134565b6001600160a01b03166080525061068492505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6040516001600160601b0319606086811b8216602084015261027160ec1b603484015285901b1660378201525f90309084908390604b0160408051601f198184030181529082905263cdca175360e01b825291505f906001600160a01b0384169063cdca1753906101b79085906b204fce5e3e25026110000000906004016105c9565b6020604051808303815f875af11580156101d3573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906101f79190610605565b90506b204fce5e3e250261100000005f806001600160a01b03808c1690881610610222578a87610225565b868b5b915091505f5f8c6001600160a01b0316846001600160a01b03161461024b57848661024e565b85855b90925090505f633b9aca006102f98461026f85670de0b6b3a764000061061c565b6102799190610645565b6001600160881b03811160071b81811c6001600160481b031060061b1781811c64ffffffffff1060051b1781811c62ffffff1060041b1781811c620100000160b5600192831c1b0260121c80830401811c80830401811c80830401811c80830401811c80830401811c80830401811c80830401901c908190048111900390565b610310906c0100000000000000000000000061061c565b61031a9190610645565b6040516309f56ab160e11b81526001600160a01b0387811660048301528681166024830152612710604483015280831660648301529192508d918216906313ead562906084016020604051808303815f875af115801561037c573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103a09190610664565b6040516332148f6760e01b815260646004820152909c506001600160a01b038d16906332148f67906024015f604051808303815f87803b1580156103e2575f5ffd5b505af11580156103f4573d5f5f3e3d5ffd5b505050505050505050505050505050949350505050565b80516001600160a01b0381168114610421575f5ffd5b919050565b5f5f5f5f60808587031215610439575f5ffd5b6104428561040b565b93506104506020860161040b565b925061045e6040860161040b565b915061046c6060860161040b565b905092959194509250565b634e487b7160e01b5f52604160045260245ffd5b600181811c9082168061049f57607f821691505b6020821081036104bd57634e487b7160e01b5f52602260045260245ffd5b50919050565b601f82111561050a57805f5260205f20601f840160051c810160208510156104e85750805b601f840160051c820191505b81811015610507575f81556001016104f4565b50505b505050565b81516001600160401b0381111561052857610528610477565b61053c81610536845461048b565b846104c3565b6020601f82116001811461056e575f83156105575750848201515b5f19600385901b1c1916600184901b178455610507565b5f84815260208120601f198516915b8281101561059d578785015182556020948501946001909201910161057d565b50848210156105ba57868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b604081525f83518060408401528060208601606085015e5f606082850101526060601f19601f8301168401019150508260208301529392505050565b5f60208284031215610615575f5ffd5b5051919050565b808202811582820484141761063f57634e487b7160e01b5f52601160045260245ffd5b92915050565b5f8261065f57634e487b7160e01b5f52601260045260245ffd5b500490565b5f60208284031215610674575f5ffd5b61067d8261040b565b9392505050565b608051610acf61069c5f395f6101c30152610acf5ff3fe608060405234801561000f575f5ffd5b506004361061013d575f3560e01c8063715018a6116100b457806395d89b411161007957806395d89b41146102b9578063a9059cbb146102c1578063b8c6f579146102d4578063c20b1650146102e7578063dd62ed3e146102fa578063f2fde38b14610332575f5ffd5b8063715018a61461026757806379cc67901461026f5780637d9f6db5146102825780637dc2268c146102955780638da5cb5b146102a8575f5ffd5b806318160ddd1161010557806318160ddd146101e557806323b872dd146101f7578063313ce5671461020a57806340c10f191461021957806342966c681461022c57806370a082311461023f575f5ffd5b80630181933814610141578063019d0b371461017157806306fdde0314610186578063095ea7b31461019b57806316f0115b146101be575b5f5ffd5b600854610154906001600160a01b031681565b6040516001600160a01b0390911681526020015b60405180910390f35b61018461017f366004610943565b610345565b005b61018e61036f565b6040516101689190610963565b6101ae6101a9366004610998565b6103ff565b6040519015158152602001610168565b6101547f000000000000000000000000000000000000000000000000000000000000000081565b6002545b604051908152602001610168565b6101ae6102053660046109c0565b610418565b60405160128152602001610168565b610184610227366004610998565b61043b565b61018461023a3660046109fa565b610451565b6101e961024d366004610943565b6001600160a01b03165f9081526020819052604090205490565b61018461045e565b61018461027d366004610998565b610471565b600654610154906001600160a01b031681565b600754610154906001600160a01b031681565b6005546001600160a01b0316610154565b61018e610486565b6101ae6102cf366004610998565b610495565b6101846102e2366004610943565b6104a2565b6101846102f5366004610943565b6104cc565b6101e9610308366004610a11565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b610184610340366004610943565b6104f6565b61034d610535565b600780546001600160a01b0319166001600160a01b0392909216919091179055565b60606003805461037e90610a42565b80601f01602080910402602001604051908101604052809291908181526020018280546103aa90610a42565b80156103f55780601f106103cc576101008083540402835291602001916103f5565b820191905f5260205f20905b8154815290600101906020018083116103d857829003601f168201915b5050505050905090565b5f3361040c818585610562565b60019150505b92915050565b5f33610425858285610574565b6104308585856105ef565b506001949350505050565b61044361064c565b61044d8282610677565b5050565b61045b33826106ab565b50565b610466610535565b61046f5f6106df565b565b61047c823383610574565b61044d82826106ab565b60606004805461037e90610a42565b5f3361040c8185856105ef565b6104aa610535565b600680546001600160a01b0319166001600160a01b0392909216919091179055565b6104d4610535565b600880546001600160a01b0319166001600160a01b0392909216919091179055565b6104fe610535565b6001600160a01b03811661052c57604051631e4fbdf760e01b81525f60048201526024015b60405180910390fd5b61045b816106df565b6005546001600160a01b0316331461046f5760405163118cdaa760e01b8152336004820152602401610523565b61056f8383836001610730565b505050565b6001600160a01b038381165f908152600160209081526040808320938616835292905220545f1981146105e957818110156105db57604051637dc7a0d960e11b81526001600160a01b03841660048201526024810182905260448101839052606401610523565b6105e984848484035f610730565b50505050565b6001600160a01b03831661061857604051634b637e8f60e11b81525f6004820152602401610523565b6001600160a01b0382166106415760405163ec442f0560e01b81525f6004820152602401610523565b61056f838383610802565b6007546001600160a01b0316331461046f57604051630b5487a360e01b815260040160405180910390fd5b6001600160a01b0382166106a05760405163ec442f0560e01b81525f6004820152602401610523565b61044d5f8383610802565b6001600160a01b0382166106d457604051634b637e8f60e11b81525f6004820152602401610523565b61044d825f83610802565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6001600160a01b0384166107595760405163e602df0560e01b81525f6004820152602401610523565b6001600160a01b03831661078257604051634a1406b160e11b81525f6004820152602401610523565b6001600160a01b038085165f90815260016020908152604080832093871683529290522082905580156105e957826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925846040516107f491815260200190565b60405180910390a350505050565b6001600160a01b03831661082c578060025f8282546108219190610a7a565b9091555061089c9050565b6001600160a01b0383165f908152602081905260409020548181101561087e5760405163391434e360e21b81526001600160a01b03851660048201526024810182905260448101839052606401610523565b6001600160a01b0384165f9081526020819052604090209082900390555b6001600160a01b0382166108b8576002805482900390556108d6565b6001600160a01b0382165f9081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161091b91815260200190565b60405180910390a3505050565b80356001600160a01b038116811461093e575f5ffd5b919050565b5f60208284031215610953575f5ffd5b61095c82610928565b9392505050565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b5f5f604083850312156109a9575f5ffd5b6109b283610928565b946020939093013593505050565b5f5f5f606084860312156109d2575f5ffd5b6109db84610928565b92506109e960208501610928565b929592945050506040919091013590565b5f60208284031215610a0a575f5ffd5b5035919050565b5f5f60408385031215610a22575f5ffd5b610a2b83610928565b9150610a3960208401610928565b90509250929050565b600181811c90821680610a5657607f821691505b602082108103610a7457634e487b7160e01b5f52602260045260245ffd5b50919050565b8082018082111561041257634e487b7160e01b5f52601160045260245ffdfea264697066735822122051cd6c2651a2c8c25a77c02829c5d54e35762ad09684c20cc7c627605b839d2464736f6c634300081b0033000000000000000000000000f19308f923582a6f7c465e5ce7a9dc1bec6665b100000000000000000000000000f116ac0c304c570daaa68fa6c30a86a04b5c5f000000000000000000000000b27308f9f90d607463bb33ea1bebb41c27ce5ab6000000000000000000000000c36442b4a4522e871399cd717abdd847ab11fe88