[ { "inputs": [ { "internalType": "string", "name": "_name", "type": "string" }, { "internalType": "string", "name": "_tick", "type": "string" }, { "internalType": "uint256", "name": "_cap", "type": "uint256" }, { "internalType": "uint256", "name": "_limitPerMint", "type": "uint256" }, { "components": [ { "internalType": "uint256", "name": "inscriptionId", "type": "uint256" }, { "internalType": "uint256", "name": "maxMintSize", "type": "uint256" }, { "internalType": "uint256", "name": "freezeTime", "type": "uint256" }, { "internalType": "address", "name": "onlyContractAddress", "type": "address" }, { "internalType": "uint256", "name": "onlyMinQuantity", "type": "uint256" }, { "internalType": "uint256", "name": "baseFee", "type": "uint256" }, { "internalType": "uint256", "name": "fundingCommission", "type": "uint256" }, { "internalType": "uint256", "name": "crowdFundingRate", "type": "uint256" }, { "internalType": "address", "name": "crowdFundingAddress", "type": "address" }, { "internalType": "address", "name": "inscriptionFactory", "type": "address" } ], "internalType": "struct IConfig.Config", "name": "_config", "type": "tuple" } ], "stateMutability": "nonpayable", "type": "constructor" }, { "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": "amount", "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": "baseFee", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "cap", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "crowdFundingRate", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "crowdfundingAddress", "outputs": [ { "internalType": "address payable", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "decimals", "outputs": [ { "internalType": "uint8", "name": "", "type": "uint8" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "spender", "type": "address" }, { "internalType": "uint256", "name": "subtractedValue", "type": "uint256" } ], "name": "decreaseAllowance", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "freezeTime", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "fundingCommission", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "_addr", "type": "address" } ], "name": "getMintFee", "outputs": [ { "internalType": "uint256", "name": "mintedTimes", "type": "uint256" }, { "internalType": "uint256", "name": "nextMintFee", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "spender", "type": "address" }, { "internalType": "uint256", "name": "addedValue", "type": "uint256" } ], "name": "increaseAllowance", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "inscriptionFactory", "outputs": [ { "internalType": "address payable", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "inscriptionId", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "", "type": "address" } ], "name": "lastMintFee", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "", "type": "address" } ], "name": "lastMintTimestamp", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "limitPerMint", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "maxMintSize", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "_to", "type": "address" } ], "name": "mint", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [], "name": "name", "outputs": [ { "internalType": "string", "name": "", "type": "string" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "onlyContractAddress", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "onlyMinQuantity", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "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": "amount", "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": "amount", "type": "uint256" } ], "name": "transferFrom", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "nonpayable", "type": "function" } ]
60806040523480156200001157600080fd5b50604051620018d8380380620018d883398101604081905262000034916200025d565b8484600362000044838262000416565b50600462000053828262000416565b50505081831015620000ab5760405162461bcd60e51b815260206004820152601960248201527f4c696d697420706572206d696e74206578636565642063617000000000000000604482015260640160405180910390fd5b6005929092556006558051600755602081015160085560408101516009556060810151600a80546001600160a01b03199081166001600160a01b03938416179091556080830151600b5560a0830151600c5560c0830151600d5560e0830151600e55610100830151600f805483169184169190911790556101209092015160108054909316911617905550620004e29050565b634e487b7160e01b600052604160045260246000fd5b60405161014081016001600160401b03811182821017156200017a576200017a6200013e565b60405290565b604051601f8201601f191681016001600160401b0381118282101715620001ab57620001ab6200013e565b604052919050565b600082601f830112620001c557600080fd5b81516001600160401b03811115620001e157620001e16200013e565b6020620001f7601f8301601f1916820162000180565b82815285828487010111156200020c57600080fd5b60005b838110156200022c5785810183015182820184015282016200020f565b506000928101909101919091529392505050565b80516001600160a01b03811681146200025857600080fd5b919050565b60008060008060008587036101c08112156200027857600080fd5b86516001600160401b03808211156200029057600080fd5b6200029e8a838b01620001b3565b97506020890151915080821115620002b557600080fd5b50620002c489828a01620001b3565b955050604087015193506060870151925061014080607f1983011215620002ea57600080fd5b620002f462000154565b91506080880151825260a0880151602083015260c088015160408301526200031f60e0890162000240565b6060830152610100808901516080840152610120808a015160a0850152828a015160c08501526101608a015160e08501526200035f6101808b0162000240565b82850152620003726101a08b0162000240565b81850152505050809150509295509295909350565b600181811c908216806200039c57607f821691505b602082108103620003bd57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200041157600081815260208120601f850160051c81016020861015620003ec5750805b601f850160051c820191505b818110156200040d57828155600101620003f8565b5050505b505050565b81516001600160401b038111156200043257620004326200013e565b6200044a8162000443845462000387565b84620003c3565b602080601f831160018114620004825760008415620004695750858301515b600019600386901b1c1916600185901b1785556200040d565b600085815260208120601f198616915b82811015620004b35788860151825594840194600190910190840162000492565b5085821015620004d25787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6113e680620004f26000396000f3fe60806040526004361061019c5760003560e01c806370a08231116100ec578063bde593c61161008a578063dd62ed3e11610064578063dd62ed3e146104a6578063def504bb146104c6578063e2ce9f51146104dc578063fd7e1bee146104f257600080fd5b8063bde593c61461044d578063be13197b14610463578063cb06bfdb1461049057600080fd5b80639f805924116100c65780639f805924146103cd5780639fc6a1dc146103ed578063a457c2d71461040d578063a9059cbb1461042d57600080fd5b806370a082311461034d5780638f81537b1461038357806395d89b41146103b857600080fd5b80632ca9160411610159578063395093511161013357806339509351146102ca5780635c4caf95146102ea5780636a627842146103225780636ef25c3a1461033757600080fd5b80632ca9160414610282578063313ce56714610298578063355274ea146102b457600080fd5b806306fdde03146101a1578063095ea7b3146101cc57806316b8060c146101fc57806318160ddd146102205780631c4cd1a51461023557806323b872dd14610262575b600080fd5b3480156101ad57600080fd5b506101b6610508565b6040516101c39190611153565b60405180910390f35b3480156101d857600080fd5b506101ec6101e736600461119d565b61059a565b60405190151581526020016101c3565b34801561020857600080fd5b5061021260085481565b6040519081526020016101c3565b34801561022c57600080fd5b50600254610212565b34801561024157600080fd5b506102126102503660046111c7565b60126020526000908152604090205481565b34801561026e57600080fd5b506101ec61027d3660046111e2565b6105b4565b34801561028e57600080fd5b50610212600e5481565b3480156102a457600080fd5b50604051601281526020016101c3565b3480156102c057600080fd5b5061021260055481565b3480156102d657600080fd5b506101ec6102e536600461119d565b6105da565b3480156102f657600080fd5b50600f5461030a906001600160a01b031681565b6040516001600160a01b0390911681526020016101c3565b6103356103303660046111c7565b6105fc565b005b34801561034357600080fd5b50610212600c5481565b34801561035957600080fd5b506102126103683660046111c7565b6001600160a01b031660009081526020819052604090205490565b34801561038f57600080fd5b506103a361039e3660046111c7565b6108eb565b604080519283526020830191909152016101c3565b3480156103c457600080fd5b506101b66109cb565b3480156103d957600080fd5b50600a5461030a906001600160a01b031681565b3480156103f957600080fd5b5060105461030a906001600160a01b031681565b34801561041957600080fd5b506101ec61042836600461119d565b6109da565b34801561043957600080fd5b506101ec61044836600461119d565b610a60565b34801561045957600080fd5b5061021260075481565b34801561046f57600080fd5b5061021261047e3660046111c7565b60116020526000908152604090205481565b34801561049c57600080fd5b50610212600d5481565b3480156104b257600080fd5b506102126104c136600461121e565b610a6e565b3480156104d257600080fd5b50610212600b5481565b3480156104e857600080fd5b5061021260065481565b3480156104fe57600080fd5b5061021260095481565b60606003805461051790611251565b80601f016020809104026020016040519081016040528092919081815260200182805461054390611251565b80156105905780601f1061056557610100808354040283529160200191610590565b820191906000526020600020905b81548152906001019060200180831161057357829003601f168201915b5050505050905090565b6000336105a8818585610a99565b60019150505b92915050565b6000336105c2858285610bbd565b6105cd858585610c37565b60019150505b9392505050565b6000336105a88185856105ed8383610a6e565b6105f791906112a1565b610a99565b333b156106505760405162461bcd60e51b815260206004820152601860248201527f63616c6c65722063616e277420626520636f6e7472616374000000000000000060448201526064015b60405180910390fd5b60055460065460025461066391906112a1565b111561069f5760405162461bcd60e51b815260206004820152600b60248201526a0546f7563686564206361760ac1b6044820152606401610647565b600a546001600160a01b031615806107265750600b54600a546040516370a0823160e01b81523360048201526001600160a01b03909116906370a08231906024016020604051808303816000875af11580156106ff573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061072391906112b4565b10155b6107725760405162461bcd60e51b815260206004820152601e60248201527f596f7520646f6e277420686176652072657175697265642061737365747300006044820152606401610647565b600954336000908152601160205260409020544291610790916112a1565b11156108595733600090815260126020526040902054156107cb57336000908152601260205260409020546107c69060026112cd565b6107cf565b600c545b336000908152601260205260409020819055600e546107ee91906112a1565b34101561084b5760405162461bcd60e51b815260206004820152602560248201527f53656e6420736f6d65204554482061732066656520616e642063726f776466756044820152646e64696e6760d81b6064820152608401610647565b61085434610ddb565b6108dc565b600e54156108bc57600e543410156108b35760405162461bcd60e51b815260206004820152601d60248201527f53656e6420736f6d65204554482061732063726f776466756e64696e670000006044820152606401610647565b6108bc34610ddb565b336000908152601260209081526040808320839055601190915290204290555b6108e881600654610df1565b50565b6009546001600160a01b038216600090815260116020526040812054909182914291610916916112a1565b11156109c6576001600160a01b038316600090815260126020526040902054670de0b6b3a7640000906706f05b59d3b200009015610977576001600160a01b0385166000908152601260205260409020546109729060026112cd565b61097b565b600c545b9250816109a183600c548661099091906112fa565b61099a919061130e565b8484610eb0565b6109ac90600161133e565b6109b69190611366565b6109c19060016112a1565b935050505b915091565b60606004805461051790611251565b600033816109e88286610a6e565b905083811015610a485760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610647565b610a558286868403610a99565b506001949350505050565b6000336105a8818585610c37565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6001600160a01b038316610afb5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610647565b6001600160a01b038216610b5c5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610647565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6000610bc98484610a6e565b90506000198114610c315781811015610c245760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610647565b610c318484848403610a99565b50505050565b6001600160a01b038316610c9b5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610647565b6001600160a01b038216610cfd5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610647565b6001600160a01b03831660009081526020819052604090205481811015610d755760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610647565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3610c31565b6010546108e8906001600160a01b031682610f69565b6001600160a01b038216610e475760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610647565b8060026000828254610e5991906112a1565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b6000808413610ebe57600080fd5b6000838512610ecf57506001610ee9565b6000199050846ec097ce7bc90715b34b9f10000000000494505b6000610f03858781610efd57610efd6112e4565b05611043565b8581029350905085811d858103610f1c575050026105d3565b845b6000811315610f59578682830281610f3857610f386112e4565b059150866002028212610f51579384019360019190911d905b60011d610f1e565b505050029392505050565b505050565b604080516000808252602082019092526001600160a01b038416908390604051610f939190611394565b60006040518083038185875af1925050503d8060008114610fd0576040519150601f19603f3d011682016040523d82523d6000602084013e610fd5565b606091505b5050905080610f645760405162461bcd60e51b815260206004820152603460248201527f5472616e7366657248656c7065723a3a736166655472616e736665724554483a60448201527308115512081d1c985b9cd9995c8819985a5b195960621b6064820152608401610647565b6000600160801b821061106357608091821c9161106090826112a1565b90505b68010000000000000000821061108657604091821c9161108390826112a1565b90505b64010000000082106110a557602091821c916110a290826112a1565b90505b6201000082106110c257601091821c916110bf90826112a1565b90505b61010082106110de57600891821c916110db90826112a1565b90505b601082106110f957600491821c916110f690826112a1565b90505b6004821061111457600291821c9161111190826112a1565b90505b6002821061112a576111276001826112a1565b90505b919050565b60005b8381101561114a578181015183820152602001611132565b50506000910152565b602081526000825180602084015261117281604085016020870161112f565b601f01601f19169190910160400192915050565b80356001600160a01b038116811461112a57600080fd5b600080604083850312156111b057600080fd5b6111b983611186565b946020939093013593505050565b6000602082840312156111d957600080fd5b6105d382611186565b6000806000606084860312156111f757600080fd5b61120084611186565b925061120e60208501611186565b9150604084013590509250925092565b6000806040838503121561123157600080fd5b61123a83611186565b915061124860208401611186565b90509250929050565b600181811c9082168061126557607f821691505b60208210810361128557634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b808201808211156105ae576105ae61128b565b6000602082840312156112c657600080fd5b5051919050565b80820281158282048414176105ae576105ae61128b565b634e487b7160e01b600052601260045260246000fd5b600082611309576113096112e4565b500490565b80820260008212600160ff1b8414161561132a5761132a61128b565b81810583148215176105ae576105ae61128b565b808201828112600083128015821682158216171561135e5761135e61128b565b505092915050565b600082611375576113756112e4565b600160ff1b82146000198414161561138f5761138f61128b565b500590565b600082516113a681846020870161112f565b919091019291505056fea2646970667358221220e50901c096f6289964942e54504327d00a36f9f25440c8ff5039b82a86264ab364736f6c6343000813003300000000000000000000000000000000000000000000000000000000000001c00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000084595161401484a000000000000000000000000000000000000000000000000084595161401484a0000000000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000004ec000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000e35fa931a000000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000e5931e7e5f40a781772984a5d24c84a011694a4b000000000000000000000000000000000000000000000000000000000000000b737765657420737567617200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000057375676172000000000000000000000000000000000000000000000000000000