[ { "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" }, { "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 payable", "name": "_crowdFundingAddress", "type": "address" }, { "internalType": "address payable", "name": "_inscriptionFactory", "type": "address" } ], "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": [ { "internalType": "address", "name": "_to", "type": "address" }, { "internalType": "uint256", "name": "_num", "type": "uint256" } ], "name": "batchMint", "outputs": [], "stateMutability": "payable", "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" } ]
608060405234620004c35762001b47803803806200001d81620004c8565b92833981016101c082820312620004c35781516001600160401b038111620004c357816200004d918401620004ee565b602083015190916001600160401b038211620004c35762000070918401620004ee565b60408301516060840151608085015160a086015160c087015160e08801519795929492916001600160a01b0389168903620004c3578695869586958695620000e36101a0620000db6101806101606101406101206101008e01519d01519d01519d01519d0162000560565b9c0162000560565b8c51909c6001600160401b038211620003965760035490600182811c92168015620004b8575b6020831014620003755781601f84931162000443575b50602090601f8311600114620003b857600092620003ac575b50508160011b916000199060031b1c1916176003555b8051906001600160401b038211620003965760045490600182811c921680156200038b575b6020831014620003755781601f84931162000303575b50602090601f831160011462000278576000926200026c575b50508160011b916000199060031b1c1916176004555b818110620002275760055560065560075560085560095560018060a01b03199660018060a01b031687600a541617600a55600b55600c55600d55600e5560018060a01b031682600f541617600f5560018060a01b03169060105416176010556040516115d19081620005768239f35b60405162461bcd60e51b815260206004820152601960248201527f4c696d697420706572206d696e742065786365656420636170000000000000006044820152606490fd5b015190503880620001a2565b600460009081527f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b9350601f198516905b818110620002ea5750908460019594939210620002d0575b505050811b01600455620001b8565b015160001960f88460031b161c19169055388080620002c1565b92936020600181928786015181550195019301620002a9565b60046000529091507f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b601f840160051c8101602085106200036d575b90849392915b601f830160051c820181106200035d57505062000189565b6000815585945060010162000345565b50806200033f565b634e487b7160e01b600052602260045260246000fd5b91607f169162000173565b634e487b7160e01b600052604160045260246000fd5b01519050388062000138565b600360009081527fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b9350601f198516905b8181106200042a575090846001959493921062000410575b505050811b016003556200014e565b015160001960f88460031b161c1916905538808062000401565b92936020600181928786015181550195019301620003e9565b60036000529091507fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b601f840160051c81019160208510620004ad575b90601f859493920160051c01905b8181106200049d57506200011f565b600081558493506001016200048e565b909150819062000480565b91607f169162000109565b600080fd5b6040519190601f01601f191682016001600160401b038111838210176200039657604052565b919080601f84011215620004c35782516001600160401b038111620003965760209062000524601f8201601f19168301620004c8565b92818452828287010111620004c35760005b8181106200054c57508260009394955001015290565b858101830151848201840152820162000536565b51906001600160a01b0382168203620004c35756fe608060408181526004918236101561001657600080fd5b600092833560e01c91826306fdde0314610d6d57508163095ea7b314610d4357816316b8060c14610d2457816318160ddd14610d055781631c4cd1a514610ccd57816323b872dd14610c035781632ca9160414610be4578163313ce56714610bc8578163355274ea14610ba95781633950935114610b5957816343508b051461090f5781635c4caf95146108e65781636a627842146106265781636ef25c3a1461060757816370a08231146105d05781638f81537b1461049e57816395d89b411461039b5781639f805924146103725781639fc6a1dc14610349578163a457c2d7146102a157508063a9059cbb14610271578063bde593c614610253578063be13197b1461021c578063cb06bfdb146101fe578063dd62ed3e146101b6578063def504bb14610198578063e2ce9f511461017a5763fd7e1bee1461015957600080fd5b346101765781600319360112610176576020906009549051908152f35b5080fd5b50346101765781600319360112610176576020906006549051908152f35b5034610176578160031936011261017657602090600b549051908152f35b5034610176578060031936011261017657806020926101d3610eab565b6101db610ec6565b6001600160a01b0391821683526001865283832091168252845220549051908152f35b5034610176578160031936011261017657602090600d549051908152f35b50346101765760203660031901126101765760209181906001600160a01b03610243610eab565b1681526011845220549051908152f35b50346101765781600319360112610176576020906007549051908152f35b503461017657806003193601126101765760209061029a610290610eab565b6024359033610f37565b5160018152f35b905082346103465782600319360112610346576102bc610eab565b918360243592338152600160205281812060018060a01b03861682526020522054908282106102f55760208561029a85850387336110a5565b608490602086519162461bcd60e51b8352820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152fd5b80fd5b50503461017657816003193601126101765760105490516001600160a01b039091168152602090f35b505034610176578160031936011261017657600a5490516001600160a01b039091168152602090f35b838334610176578160031936011261017657805191809380549160019083821c92828516948515610494575b60209586861081146104815785895290811561045d5750600114610405575b61040187876103f7828c0383610edc565b5191829182610e62565b0390f35b81529295507f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b5b82841061044a5750505082610401946103f7928201019486806103e6565b805486850188015292860192810161042c565b60ff19168887015250505050151560051b83010192506103f78261040186806103e6565b634e487b7160e01b845260228352602484fd5b93607f16936103c7565b90508234610346576020366003190112610346576104ba610eab565b908092819260018060a01b031680835260116020526104df8684205460095490610f14565b42106104f5575b50505082519182526020820152f35b82526012602052848220549193509150806105a95750600c54915b600c548381156105965704670de0b6b3a764000090818102908082058314901517156105835761053f906112f8565b60018101908360018312911290801582169115161761058357059160018301809311610570575050908380806104e6565b634e487b7160e01b825260119052602490fd5b634e487b7160e01b835260118452602483fd5b634e487b7160e01b835260128452602483fd5b8060011b9081046002036105bd5791610510565b634e487b7160e01b835260118252602483fd5b5050346101765760203660031901126101765760209181906001600160a01b036105f8610eab565b16815280845220549051908152f35b505034610176578160031936011261017657602090600c549051908152f35b8391506020806003193601126108e25761063e610eab565b9161064e60025460065490610f14565b600554106108b357600a546001600160a01b039290859084168015908390821561083e575b505061067f91506111a7565b338552601181526106968686205460095490610f14565b4210156107b35733855260128152858520548061078c5750600c54955b338652601282528681872055600e549687610713575b505050506106f1929350600e546106e08134611206565b6106f4575b50505b60065490611213565b80f35b61070661070c92601054169134611206565b906114ba565b83806106e5565b61071d9088610f14565b341061073d575050506107336106f193946112b6565b83928580806106c9565b5162461bcd60e51b815291820152602560248201527f53656e6420736f6d65204554482061732066656520616e642063726f776466756044820152646e64696e6760d81b606482015260849150fd5b8060011b9081046002036107a057956106b3565b634e487b7160e01b865260118352602486fd5b949150600e54806107df575b505060116106f193943386526012815285838120555242908420556106e8565b34106107fd575060116106f193946107f6346112b6565b94936107bf565b84606492519162461bcd60e51b8352820152601d60248201527f53656e6420736f6d65204554482061732063726f776466756e64696e670000006044820152fd5b90915060248951809481936370a0823160e01b835233898401525af180156108a9578690610876575b600b5487925011158289610673565b508181813d83116108a2575b61088c8183610edc565b8101031261089e5761067f9051610867565b8580fd5b503d610882565b87513d88823e3d90fd5b60649185519162461bcd60e51b8352820152600b60248201526a0546f7563686564206361760ac1b6044820152fd5b8280fd5b505034610176578160031936011261017657600f5490516001600160a01b039091168152602090f35b918091506003193601126108e257610925610eab565b916024928335926008548411610b21576002549061095060069261094a8454886111f3565b90610f14565b60055410610af457600954610aa657600a5487906001600160a01b03168015908115610a2c575b5061098291506111a7565b600e5485816109ca575b505050855b84811061099c578680f35b6109a7825484611213565b60001981146109b857600101610991565b634e487b7160e01b8752601184528587fd5b6109d3916111f3565b34106109eb57506109e3346112b6565b38808561098c565b5162461bcd60e51b8152602081850152601b818701527f43726f776466756e64696e6720455448206e6f7420656e6f75676800000000006044820152606490fd5b60209150888451809481936370a0823160e01b8352338b8401525af18015610a9c578890610a65575b600b548992501115610982610977565b506020813d8211610a94575b81610a7e60209383610edc565b81010312610a90576109829051610a55565b8780fd5b3d9150610a71565b82513d8a823e3d90fd5b5162461bcd60e51b81526020818501528086018690527f4261746368206d696e74206f6e6c7920666f72206e6f6e2d66726f7a656e207460448201526337b5b2b760e11b6064820152608490fd5b5162461bcd60e51b8152602081850152600981870152680546f756368206361760bc1b6044820152606490fd5b5162461bcd60e51b815260208184015260148186015273657863656564206d6178206d696e742073697a6560601b6044820152606490fd5b50503461017657806003193601126101765761029a602092610ba2610b7c610eab565b338352600186528483206001600160a01b03821684528652918490205460243590610f14565b90336110a5565b5050346101765781600319360112610176576020906005549051908152f35b5050346101765781600319360112610176576020905160128152f35b505034610176578160031936011261017657602090600e549051908152f35b8391503461017657606036600319011261017657610c1f610eab565b610c27610ec6565b91846044359460018060a01b038416815260016020528181203382526020522054906000198203610c61575b60208661029a878787610f37565b848210610c8a5750918391610c7f6020969561029a950333836110a5565b919394819350610c53565b606490602087519162461bcd60e51b8352820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152fd5b5050346101765760203660031901126101765760209181906001600160a01b03610cf5610eab565b1681526012845220549051908152f35b5050346101765781600319360112610176576020906002549051908152f35b5050346101765781600319360112610176576020906008549051908152f35b50503461017657806003193601126101765760209061029a610d63610eab565b60243590336110a5565b92915034610e5e5783600319360112610e5e57600354600181811c9186908281168015610e54575b6020958686108214610e415750848852908115610e1f5750600114610dc6575b61040186866103f7828b0383610edc565b929550600383527fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b5b828410610e0c5750505082610401946103f7928201019438610db5565b8054868501880152928601928101610def565b60ff191687860152505050151560051b83010192506103f78261040138610db5565b634e487b7160e01b845260229052602483fd5b93607f1693610d95565b8380fd5b6020808252825181830181905290939260005b828110610e9757505060409293506000838284010152601f8019910116010190565b818101860151848201604001528501610e75565b600435906001600160a01b0382168203610ec157565b600080fd5b602435906001600160a01b0382168203610ec157565b90601f8019910116810190811067ffffffffffffffff821117610efe57604052565b634e487b7160e01b600052604160045260246000fd5b91908201809211610f2157565b634e487b7160e01b600052601160045260246000fd5b6001600160a01b03908116918215611052571691821561100157600082815280602052604081205491808310610fad57604082827fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef958760209652828652038282205586815220818154019055604051908152a3565b60405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608490fd5b60405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608490fd5b60405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608490fd5b6001600160a01b0390811691821561115657169182156111065760207f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925918360005260018252604060002085600052825280604060002055604051908152a3565b60405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608490fd5b60405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608490fd5b156111ae57565b60405162461bcd60e51b815260206004820152601e60248201527f596f7520646f6e277420686176652072657175697265642061737365747300006044820152606490fd5b81810292918115918404141715610f2157565b91908203918211610f2157565b6001600160a01b0316908115611271577fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef602082611255600094600254610f14565b60025584845283825260408420818154019055604051908152a3565b60405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606490fd5b6127106112c5600d54836111f3565b046112e060018060a01b03926107068385600f541692611206565b806112e9575050565b6112f691601054166114ba565b565b6000908181131561017657670de0b6b3a76400009182821261149c576001925b81818405600160801b811015611491575b6801000000000000000081101561147c575b640100000000811015611467575b62010000811015611452575b61010081101561143d575b6010811015611428575b60048110156113ff575b600211156113df575b81810293811d908282146113d457506706f05b59d3b20000905b8382136113a657505050500290565b808391020590671bc16d674ec800008212156113c6575b60011d90611397565b809194019360011d906113bd565b925050929150020290565b600181018091111561137d57634e487b7160e01b83526011600452602483fd5b60021c90600281018091116114145790611374565b634e487b7160e01b84526011600452602484fd5b60041c9060048101809111611414579061136a565b60081c90600881018091116114145790611360565b60101c90601081018091116114145790611355565b60201c90602081018091116114145790611349565b60401c9060408101809111611414579061133b565b60809150811c611329565b600019926ec097ce7bc90715b34b9f10000000009290920491611318565b60405167ffffffffffffffff91906020810183811182821017610efe5760405260008080958194828095525af1913d15611594573d918211611580576040519161150e601f8201601f191660200184610edc565b825260203d92013e5b1561151e57565b60405162461bcd60e51b815260206004820152603460248201527f5472616e7366657248656c7065723a3a736166655472616e736665724554483a60448201527308115512081d1c985b9cd9995c8819985a5b195960621b6064820152608490fd5b634e487b7160e01b81526041600452602490fd5b505061151756fea2646970667358221220a33eba29b73f648eeb844835cefcabd924c052eab5a7386d771efe268152100d64736f6c6343000812003300000000000000000000000000000000000000000000000000000000000001c00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000115eec47f6cf7e3500000000000000000000000000000000000000000000000000021e19e0c9bab2400000000000000000000000000000000000000000000000000000000000000000003100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000e35fa931a00000000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000047b9949041ebf2472332883e64025d5d024941c6000000000000000000000000000000000000000000000000000000000000000a537570657220436f6f6c0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000046e69756200000000000000000000000000000000000000000000000000000000