From 7aebed2537136f5af4ea31d8f4ed95f88b2cb7c4 Mon Sep 17 00:00:00 2001 From: arjanjohan Date: Sat, 13 Jul 2024 19:36:17 +0200 Subject: [PATCH] fix --- .../534351/run-1720887358.json | 53 ++++ .../deploy_Notes.s.sol/534351/run-latest.json | 30 +-- .../84532/run-1720887069.json | 58 +++++ .../deploy_Notes.s.sol/84532/run-latest.json | 36 +-- packages/nextjs/app/create/page.tsx | 2 +- .../nextjs/contracts/deployedContracts.ts | 229 +++++++++++++++--- 6 files changed, 336 insertions(+), 72 deletions(-) create mode 100644 packages/foundry/broadcast/deploy_Notes.s.sol/534351/run-1720887358.json create mode 100644 packages/foundry/broadcast/deploy_Notes.s.sol/84532/run-1720887069.json diff --git a/packages/foundry/broadcast/deploy_Notes.s.sol/534351/run-1720887358.json b/packages/foundry/broadcast/deploy_Notes.s.sol/534351/run-1720887358.json new file mode 100644 index 0000000..009acd1 --- /dev/null +++ b/packages/foundry/broadcast/deploy_Notes.s.sol/534351/run-1720887358.json @@ -0,0 +1,53 @@ +{ + "transactions": [ + { + "hash": "0xa6b07bb88452ea7228baff400bc27afbc862fb35f29a0f209c5c0761660772df", + "transactionType": "CREATE", + "contractName": "Notes", + "contractAddress": "0xad0324c6b74d90666dea9ab290646ebf945fa99c", + "function": null, + "arguments": [ + "false", + "0x0000000000000000000000000000000000000000", + "\"app_staging_64b18cdf405848637e6fcb93b60e8597\"", + "\"create-note\"", + "\"create-vote\"" + ], + "transaction": { + "from": "0x199d51a2be04c65f325908911430e6ff79a15ce3", + "gas": "0x1ea615", + "value": "0x0", + "input": "0x60e0604052600160c05234801561001557600080fd5b50604051611dbc380380611dbc833981016040819052610034916101f2565b600080546001600160a81b031916861515610100600160a81b031916176101006001600160a01b038716021790556040516100a2906100909061007b9086906020016102b1565b60408051601f198184030181529190526100de565b8360405160200161007b9291906102cd565b6080526040516100d0906100be9061007b9086906020016102b1565b8260405160200161007b9291906102cd565b60a052506102f39350505050565b60006008826040516020016100f391906102b1565b60408051601f198184030181529190528051602090910120901c92915050565b80516001600160a01b038116811461012a57600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b60005b83811015610160578181015183820152602001610148565b50506000910152565b600082601f83011261017a57600080fd5b81516001600160401b038111156101935761019361012f565b604051601f8201601f19908116603f011681016001600160401b03811182821017156101c1576101c161012f565b6040528181528382016020018510156101d957600080fd5b6101ea826020830160208701610145565b949350505050565b600080600080600060a0868803121561020a57600080fd5b8551801515811461021a57600080fd5b945061022860208701610113565b60408701519094506001600160401b0381111561024457600080fd5b61025088828901610169565b606088015190945090506001600160401b0381111561026e57600080fd5b61027a88828901610169565b608088015190935090506001600160401b0381111561029857600080fd5b6102a488828901610169565b9150509295509295909350565b600082516102c3818460208701610145565b9190910192915050565b828152600082516102e5816020850160208701610145565b919091016020019392505050565b60805160a05160c051611a9d61031f6000396000505060006104dd015260006109d60152611a9d6000f3fe6080604052600436106100e85760003560e01c8063c70e012c1161008a578063da239bf111610059578063da239bf114610327578063f4ff0c681461033c578063f559b79b14610377578063f9eed6ab146103cc57600080fd5b8063c70e012c1461025e578063cead5f7a1461028d578063d1d368e7146102e6578063d306794d146102f957600080fd5b80635f85896c116100c65780635f85896c146101a45780636ad17676146101c65780637f889652146101f3578063a5aa50651461024457600080fd5b8063223094e9146100ed578063256e025a146101415780633ddbfa0a14610156575b600080fd5b3480156100f957600080fd5b5061012961010836600461112e565b600560209081526000928352604080842090915290825290205461ffff1681565b60405161ffff90911681526020015b60405180910390f35b34801561014d57600080fd5b50610129602881565b34801561016257600080fd5b50610197610171366004611173565b600860209081526000938452604080852082529284528284209052825290205460ff1681565b60405161013891906111e0565b3480156101b057600080fd5b506101c46101bf3660046112f7565b610401565b005b3480156101d257600080fd5b506101e66101e136600461134d565b610907565b604051610138919061149f565b3480156101ff57600080fd5b5061023461020e366004611173565b600260209081526000938452604080852082529284528284209052825290205460ff1681565b6040519015158152602001610138565b34801561025057600080fd5b506000546102349060ff1681565b34801561026a57600080fd5b5061027e6102793660046114b9565b610c94565b604051610138939291906114e3565b34801561029957600080fd5b506102d16102a836600461151d565b600660209081526000938452604080852082529284528284209052825290205463ffffffff1681565b60405163ffffffff9091168152602001610138565b6102346102f4366004611557565b610d6e565b34801561030557600080fd5b50610319610314366004611581565b610ec4565b60405161013892919061159c565b34801561033357600080fd5b50610129600a81565b34801561034857600080fd5b5061023461035736600461164e565b600160209081526000928352604080842090915290825290205460ff1681565b34801561038357600080fd5b506103b661039236600461166a565b600760209081526000928352604080842090915290825290205464ffffffffff1681565b60405164ffffffffff9091168152602001610138565b3480156103d857600080fd5b506103ec6103e73660046114b9565b61108f565b60408051928352901515602083015201610138565b3360009081526002602090815260408083206001600160a01b0386168452825280832061ffff8716845290915290205460ff161561045e5760016040516371709fb960e11b81526004016104559190611694565b60405180910390fd5b60005460ff161561055257600060019054906101000a90046001600160a01b03166001600160a01b031663354ca12082600001516104d684602001516040516020016104c2919060609190911b6bffffffffffffffffffffffff1916815260140190565b6040516020818303038152906040526110ce565b84604001517f000000000000000000000000000000000000000000000000000000000000000086606001516040518663ffffffff1660e01b81526004016105219594939291906116a7565b60006040518083038186803b15801561053957600080fd5b505afa15801561054d573d6000803e3d6000fd5b505050505b33600090815260076020526040812090856002811115610574576105746111b6565b6002811115610585576105856111b6565b815260208101919091526040016000908120805464ffffffffff16916105aa8361170f565b825464ffffffffff9182166101009390930a9283029190920219909116179055503360009081526008602090815260408083206001600160a01b0386168452825280832061ffff871684529091529020805485919060ff19166001836002811115610617576106176111b6565b02179055506001600160a01b038216600090815260066020908152604080832061ffff87168452909152812090856002811115610656576106566111b6565b6002811115610667576106676111b6565b815260208101919091526040016000908120805463ffffffff169161068b83611736565b82546101009290920a63ffffffff8181021990931691831602179091556001600160a01b038416600090815260066020908152604080832061ffff89168452825280832060018452909152808220546002835281832054838052918320549294508316926106fd929181169116611752565b6107079190611752565b9050600063ffffffff8216156107bd576001600160a01b038416600090815260066020908152604080832061ffff89168452825280832060028452909152902054829061075b9063ffffffff16602861176e565b6001600160a01b038616600090815260066020908152604080832061ffff8b168452825280832083805290915290205461079c9063ffffffff16605061176e565b6107a69190611752565b6107b09190611794565b63ffffffff1690506107c1565b5060005b60408051808201909152600060208201528181526028821180156107eb5750600a8363ffffffff16115b156107fc576001602082015261082c565b8060200151801561080d5750600a82105b801561081f5750600a8363ffffffff16115b1561082c57600060208201525b6001600160a01b0385166000908152600460205260409020805482919061ffff891690811061085d5761085d6117ca565b6000918252602080832084516002938402909101908155938101516001948501805491151560ff199283161790553380855292825260408085206001600160a01b038c1680875290845281862061ffff8e16875290935293849020805490911690941790935590517fc6c17ac9b5234cac54c97de00eef6ce25bdbb704c801bfe650017e716c328e52906108f6908a908c9088906117e0565b60405180910390a350505050505050565b604080516060808201835260008083526020830152918101919091523360009081526001602090815260408083206001600160a01b038a16845290915290205460ff161561096b5760006040516371709fb960e11b81526004016104559190611694565b60005460ff1615610a4b57600060019054906101000a90046001600160a01b03166001600160a01b031663354ca12083600001516109cf85602001516040516020016104c2919060609190911b6bffffffffffffffffffffffff1916815260140190565b85604001517f000000000000000000000000000000000000000000000000000000000000000087606001516040518663ffffffff1660e01b8152600401610a1a9594939291906116a7565b60006040518083038186803b158015610a3257600080fd5b505afa158015610a46573d6000803e3d6000fd5b505050505b6040518060600160405280336001600160a01b03168152602001846001811115610a7757610a776111b6565b815260200186868080601f016020809104026020016040519081016040528093929190818152602001838380828437600092018290525093909452505060408051808201825282815260208082018490526001600160a01b03808d168552600382529284208054600181810183559186529482902087516002909602018054959094166001600160a01b0319861681178555918701519697509195879550929384926001600160a81b031990911690911790600160a01b908490811115610b4057610b406111b6565b021790555060408201516001820190610b59908261188f565b5050506001600160a01b0387166000818152600460209081526040808320805460018082018355918552838520875160029092020190815586840151908201805460ff191691151591909117905593835260059091528120918690811115610bc357610bc36111b6565b6001811115610bd457610bd46111b6565b815260208101919091526040016000908120805461ffff1691610bf68361194e565b825461ffff9182166101009390930a9283029190920219909116179055503360008181526001602081815260408084206001600160a01b038d16808652908352818520805460ff19169094179093556003909152918290205491519092917f856b6fde5187880a03fdf824b79b5521ccc9396b3a4fb07be2693ad7035c02f891610c8291908790611966565b60405180910390a35095945050505050565b60036020528160005260406000208181548110610cb057600080fd5b6000918252602090912060029091020180546001820180546001600160a01b0383169550600160a01b90920460ff16935090610ceb90611806565b80601f0160208091040260200160405190810160405280929190818152602001828054610d1790611806565b8015610d645780601f10610d3957610100808354040283529160200191610d64565b820191906000526020600020905b815481529060010190602001808311610d4757829003601f168201915b5050505050905083565b6001600160a01b0381166000908152600360205260408120805461ffff8516908110610d9c57610d9c6117ca565b600091825260208220600290910201546040516001600160a01b039091169134919081818185875af1925050503d8060008114610df5576040519150601f19603f3d011682016040523d82523d6000602084013e610dfa565b606091505b50506001600160a01b03831660008181526003602052604090208054929350909161ffff8616908110610e2f57610e2f6117ca565b600091825260208083206002909202909101546001600160a01b038681168452600390925260409092208054919092169133917f9728d3b4ce6090c2419194a16313c30e5c8d99790e9e21140e5ee1e2ebde6dfa91349161ffff8a16908110610e9a57610e9a6117ca565b9060005260206000209060020201604051610eb692919061197f565b60405180910390a492915050565b6001600160a01b03811660009081526003602090815260408083208054825181850281018501909352808352606094859484015b8282101561100457600084815260209081902060408051606081019091526002850290910180546001600160a01b03811683529192909190830190600160a01b900460ff166001811115610f4e57610f4e6111b6565b6001811115610f5f57610f5f6111b6565b8152602001600182018054610f7390611806565b80601f0160208091040260200160405190810160405280929190818152602001828054610f9f90611806565b8015610fec5780601f10610fc157610100808354040283529160200191610fec565b820191906000526020600020905b815481529060010190602001808311610fcf57829003601f168201915b50505050508152505081526020019060010190610ef8565b5050506001600160a01b038516600090815260046020908152604080832080548251818502810185019093528083529597509094909350919084015b8282101561108457600084815260209081902060408051808201909152600285029091018054825260019081015460ff161515828401529083529092019101611040565b505050509050915091565b600460205281600052604060002081815481106110ab57600080fd5b60009182526020909120600290910201805460019091015490925060ff16905082565b60006008826040516020016110e39190611a4b565b60408051601f198184030181529190528051602090910120901c92915050565b80356001600160a01b038116811461111a57600080fd5b919050565b80356002811061111a57600080fd5b6000806040838503121561114157600080fd5b61114a83611103565b91506111586020840161111f565b90509250929050565b803561ffff8116811461111a57600080fd5b60008060006060848603121561118857600080fd5b61119184611103565b925061119f60208501611103565b91506111ad60408501611161565b90509250925092565b634e487b7160e01b600052602160045260246000fd5b600381106111dc576111dc6111b6565b9052565b602081016111ee82846111cc565b92915050565b80356003811061111a57600080fd5b634e487b7160e01b600052604160045260246000fd5b6040516080810167ffffffffffffffff8111828210171561123c5761123c611203565b60405290565b604051610100810167ffffffffffffffff8111828210171561123c5761123c611203565b6000610160828403121561127957600080fd5b611281611219565b82358152905061129360208301611103565b602082015260408281013590820152607f820183136112b157600080fd5b6112b9611242565b806101608401858111156112cc57600080fd5b606085015b818110156112e95780358452602093840193016112d1565b505060608301525092915050565b6000806000806101c0858703121561130e57600080fd5b611317856111f4565b935061132560208601611161565b925061133360408601611103565b91506113428660608701611266565b905092959194509250565b60008060008060006101c0868803121561136657600080fd5b61136f86611103565b9450602086013567ffffffffffffffff81111561138b57600080fd5b8601601f8101881361139c57600080fd5b803567ffffffffffffffff8111156113b357600080fd5b8860208284010111156113c557600080fd5b602091909101945092506113db6040870161111f565b91506113ea8760608801611266565b90509295509295909350565b60028110611406576114066111b6565b50565b60005b8381101561142457818101518382015260200161140c565b50506000910152565b60008151808452611445816020860160208601611409565b601f01601f19169290920160200192915050565b80516001600160a01b031682526020810151600090611477816113f6565b80602085015250604082015160606040850152611497606085018261142d565b949350505050565b6020815260006114b26020830184611459565b9392505050565b600080604083850312156114cc57600080fd5b6114d583611103565b946020939093013593505050565b6001600160a01b03841681526114f8836113f6565b826020820152606060408201526000611514606083018461142d565b95945050505050565b60008060006060848603121561153257600080fd5b61153b84611103565b925061154960208501611161565b91506111ad604085016111f4565b6000806040838503121561156a57600080fd5b61157383611161565b915061115860208401611103565b60006020828403121561159357600080fd5b6114b282611103565b6000604082016040835280855180835260608501915060608160051b86010192506020870160005b828110156115f557605f198786030184526115e0858351611459565b945060209384019391909101906001016115c4565b50505050828103602084015280845180835260208301915060208601925060005b818110156116425783518051845260209081015115158185015290930192604090920191600101611616565b50909695505050505050565b6000806040838503121561166157600080fd5b61157383611103565b6000806040838503121561167d57600080fd5b61168683611103565b9150611158602084016111f4565b602081016116a1836113f6565b91905290565b600061018082019050868252856020830152846040830152836060830152608082018360005b60088110156116ec5781518352602092830192909101906001016116cd565b5050509695505050505050565b634e487b7160e01b600052601160045260246000fd5b600064ffffffffff821664ffffffffff810361172d5761172d6116f9565b60010192915050565b600063ffffffff821663ffffffff810361172d5761172d6116f9565b63ffffffff81811683821601908111156111ee576111ee6116f9565b63ffffffff818116838216029081169081811461178d5761178d6116f9565b5092915050565b600063ffffffff8316806117b857634e487b7160e01b600052601260045260246000fd5b8063ffffffff84160491505092915050565b634e487b7160e01b600052603260045260246000fd5b61ffff84168152606081016117f860208301856111cc565b826040830152949350505050565b600181811c9082168061181a57607f821691505b60208210810361183a57634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111561188a57806000526020600020601f840160051c810160208510156118675750805b601f840160051c820191505b818110156118875760008155600101611873565b50505b505050565b815167ffffffffffffffff8111156118a9576118a9611203565b6118bd816118b78454611806565b84611840565b6020601f8211600181146118f157600083156118d95750848201515b600019600385901b1c1916600184901b178455611887565b600084815260208120601f198516915b828110156119215787850151825560209485019460019092019101611901565b508482101561193f5786840151600019600387901b60f8161c191681555b50505050600190811b01905550565b600061ffff821661ffff810361172d5761172d6116f9565b8281526040602082015260006114976040830184611459565b82815260406020820181905282546001600160a01b0381169183019190915260009060a01c60ff166119b0816113f6565b806060840152506001830160606080840152600081546119cf81611806565b8060a087015260018216600081146119ee5760018114611a0a57611a3e565b60ff19831660c088015260c082151560051b8801019350611a3e565b84600052602060002060005b83811015611a3557815489820160c00152600190910190602001611a16565b880160c0019450505b5091979650505050505050565b60008251611a5d818460208701611409565b919091019291505056fea2646970667358221220ae0fed7319536c41767329cc79d8f3a475d7a7ec883c1d4a9171fbe8c68acab564736f6c634300081a00330000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000000000000002c6170705f73746167696e675f36346231386364663430353834383633376536666362393362363065383539370000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b6372656174652d6e6f7465000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b6372656174652d766f7465000000000000000000000000000000000000000000", + "nonce": "0x65", + "chainId": "0x8274f" + }, + "additionalContracts": [], + "isFixedGasLimit": false + } + ], + "receipts": [ + { + "status": "0x1", + "cumulativeGasUsed": "0x187e91", + "logs": [], + "logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "type": "0x0", + "transactionHash": "0xa6b07bb88452ea7228baff400bc27afbc862fb35f29a0f209c5c0761660772df", + "transactionIndex": "0x2", + "blockHash": "0xee8c79e80112fa8ec9291271a65b6c4074fc352de32c152b0b88e0f1c048788f", + "blockNumber": "0x534b1f", + "gasUsed": "0x179567", + "effectiveGasPrice": "0x1dc60132d", + "from": "0x199d51a2be04c65f325908911430e6ff79a15ce3", + "to": null, + "contractAddress": "0xad0324c6b74d90666dea9ab290646ebf945fa99c", + "l1Fee": "0x22c9438ec6d" + } + ], + "libraries": [], + "pending": [], + "returns": {}, + "timestamp": 1720887358, + "chain": 534351, + "commit": "7f75a22" +} \ No newline at end of file diff --git a/packages/foundry/broadcast/deploy_Notes.s.sol/534351/run-latest.json b/packages/foundry/broadcast/deploy_Notes.s.sol/534351/run-latest.json index 90f4029..009acd1 100644 --- a/packages/foundry/broadcast/deploy_Notes.s.sol/534351/run-latest.json +++ b/packages/foundry/broadcast/deploy_Notes.s.sol/534351/run-latest.json @@ -1,10 +1,10 @@ { "transactions": [ { - "hash": "0x059fa3697ed63daa0aded7588ab610313716c8d65ef381705663cc79fb9d7713", + "hash": "0xa6b07bb88452ea7228baff400bc27afbc862fb35f29a0f209c5c0761660772df", "transactionType": "CREATE", "contractName": "Notes", - "contractAddress": "0x8f8184e86574e02d283b39c662e9b6dc9209b475", + "contractAddress": "0xad0324c6b74d90666dea9ab290646ebf945fa99c", "function": null, "arguments": [ "false", @@ -15,10 +15,10 @@ ], "transaction": { "from": "0x199d51a2be04c65f325908911430e6ff79a15ce3", - "gas": "0x1d9f13", + "gas": "0x1ea615", "value": "0x0", - "input": "0x60e0604052600160c05234801561001557600080fd5b50604051611cd9380380611cd9833981016040819052610034916101f2565b600080546001600160a81b031916861515610100600160a81b031916176101006001600160a01b038716021790556040516100a2906100909061007b9086906020016102b1565b60408051601f198184030181529190526100de565b8360405160200161007b9291906102cd565b6080526040516100d0906100be9061007b9086906020016102b1565b8260405160200161007b9291906102cd565b60a052506102f39350505050565b60006008826040516020016100f391906102b1565b60408051601f198184030181529190528051602090910120901c92915050565b80516001600160a01b038116811461012a57600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b60005b83811015610160578181015183820152602001610148565b50506000910152565b600082601f83011261017a57600080fd5b81516001600160401b038111156101935761019361012f565b604051601f8201601f19908116603f011681016001600160401b03811182821017156101c1576101c161012f565b6040528181528382016020018510156101d957600080fd5b6101ea826020830160208701610145565b949350505050565b600080600080600060a0868803121561020a57600080fd5b8551801515811461021a57600080fd5b945061022860208701610113565b60408701519094506001600160401b0381111561024457600080fd5b61025088828901610169565b606088015190945090506001600160401b0381111561026e57600080fd5b61027a88828901610169565b608088015190935090506001600160401b0381111561029857600080fd5b6102a488828901610169565b9150509295509295909350565b600082516102c3818460208701610145565b9190910192915050565b828152600082516102e5816020850160208701610145565b919091016020019392505050565b60805160a05160c0516119b0610329600039600081816104b501526109b90152600061051f01526000610a0f01526119b06000f3fe6080604052600436106100e85760003560e01c8063acc34ed91161008a578063d306794d11610059578063d306794d14610350578063da239bf11461037d578063f4ff0c6814610392578063f559b79b146103cd57600080fd5b8063acc34ed91461025e578063c70e012c146102b5578063cead5f7a146102e4578063d1d368e71461033d57600080fd5b80635f85896c116100c65780635f85896c146101a45780636ad17676146101c65780637f889652146101f3578063a5aa50651461024457600080fd5b8063223094e9146100ed578063256e025a146101415780633ddbfa0a14610156575b600080fd5b3480156100f957600080fd5b5061012961010836600461105d565b600460209081526000928352604080842090915290825290205461ffff1681565b60405161ffff90911681526020015b60405180910390f35b34801561014d57600080fd5b50610129602881565b34801561016257600080fd5b506101976101713660046110a2565b600860209081526000938452604080852082529284528284209052825290205460ff1681565b604051610138919061110f565b3480156101b057600080fd5b506101c46101bf366004611226565b610422565b005b3480156101d257600080fd5b506101e66101e136600461127c565b61091f565b60405161013891906113ce565b3480156101ff57600080fd5b5061023461020e3660046110a2565b600260209081526000938452604080852082529284528284209052825290205460ff1681565b6040519015158152602001610138565b34801561025057600080fd5b506000546102349060ff1681565b34801561026a57600080fd5b506102a06102793660046113e8565b60066020908152600092835260408084209091529082529020805460019091015460ff1682565b60408051928352901515602083015201610138565b3480156102c157600080fd5b506102d56102d0366004611412565b610c7e565b6040516101389392919061143c565b3480156102f057600080fd5b506103286102ff366004611476565b600560209081526000938452604080852082529284528284209052825290205463ffffffff1681565b60405163ffffffff9091168152602001610138565b61023461034b3660046114b0565b610d58565b34801561035c57600080fd5b5061037061036b3660046114da565b610eae565b60405161013891906114f5565b34801561038957600080fd5b50610129600a81565b34801561039e57600080fd5b506102346103ad36600461155a565b600160209081526000928352604080842090915290825290205460ff1681565b3480156103d957600080fd5b5061040c6103e8366004611576565b600760209081526000928352604080842090915290825290205464ffffffffff1681565b60405164ffffffffff9091168152602001610138565b3360009081526002602090815260408083206001600160a01b0386168452825280832061ffff8716845290915290205460ff161561047f5760016040516371709fb960e11b815260040161047691906115a0565b60405180910390fd5b60005460ff161561059557600060019054906101000a90046001600160a01b03166001600160a01b0316633bc778e382600001517f00000000000000000000000000000000000000000000000000000000000000006105188560200151604051602001610504919060609190911b6bffffffffffffffffffffffff1916815260140190565b604051602081830303815290604052610ffd565b85604001517f000000000000000000000000000000000000000000000000000000000000000087606001516040518763ffffffff1660e01b8152600401610564969594939291906115b3565b60006040518083038186803b15801561057c57600080fd5b505afa158015610590573d6000803e3d6000fd5b505050505b336000908152600760205260408120908560028111156105b7576105b76110e5565b60028111156105c8576105c86110e5565b815260208101919091526040016000908120805464ffffffffff16916105ed83611622565b825464ffffffffff9182166101009390930a9283029190920219909116179055503360009081526008602090815260408083206001600160a01b0386168452825280832061ffff871684529091529020805485919060ff1916600183600281111561065a5761065a6110e5565b02179055506001600160a01b038216600090815260056020908152604080832061ffff87168452909152812090856002811115610699576106996110e5565b60028111156106aa576106aa6110e5565b815260208101919091526040016000908120805463ffffffff16916106ce83611649565b82546101009290920a63ffffffff8181021990931691831602179091556001600160a01b038416600090815260056020908152604080832061ffff8916845282528083206001845290915280822054600283528183205483805291832054929450831692610740929181169116611665565b61074a9190611665565b9050600063ffffffff821615610800576001600160a01b038416600090815260056020908152604080832061ffff89168452825280832060028452909152902054829061079e9063ffffffff166028611681565b6001600160a01b038616600090815260056020908152604080832061ffff8b16845282528083208380529091529020546107df9063ffffffff166050611681565b6107e99190611665565b6107f391906116a7565b63ffffffff169050610804565b5060005b604080518082019091526000602082015281815260288211801561082e5750600a8363ffffffff16115b1561083f576001602082015261086f565b806020015180156108505750600a82105b80156108625750600a8363ffffffff16115b1561086f57600060208201525b6001600160a01b038516600081815260066020908152604080832061ffff8b1680855290835281842086518155838701516001918201805491151560ff199283161790553380875260028652848720888852865284872093875292909452938290208054909316909317909155517fc6c17ac9b5234cac54c97de00eef6ce25bdbb704c801bfe650017e716c328e529061090e908a908c9088906116dd565b60405180910390a350505050505050565b604080516060808201835260008083526020830152918101919091523360009081526001602090815260408083206001600160a01b038a16845290915290205460ff16156109835760006040516371709fb960e11b815260040161047691906115a0565b60005460ff1615610a8557600060019054906101000a90046001600160a01b03166001600160a01b0316633bc778e383600001517f0000000000000000000000000000000000000000000000000000000000000000610a088660200151604051602001610504919060609190911b6bffffffffffffffffffffffff1916815260140190565b86604001517f000000000000000000000000000000000000000000000000000000000000000088606001516040518763ffffffff1660e01b8152600401610a54969594939291906115b3565b60006040518083038186803b158015610a6c57600080fd5b505afa158015610a80573d6000803e3d6000fd5b505050505b6040518060600160405280336001600160a01b03168152602001846001811115610ab157610ab16110e5565b815260200186868080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201829052509390945250506001600160a01b038981168252600360209081526040832080546001808201835591855293829020865160029095020180546001600160a01b03198116959094169485178155918601519596508695919450909284926001600160a81b0319161790600160a01b908490811115610b6757610b676110e5565b021790555060408201516001820190610b80908261178c565b5050506001600160a01b038616600090815260046020526040812090846001811115610bae57610bae6110e5565b6001811115610bbf57610bbf6110e5565b815260208101919091526040016000908120805461ffff1691610be18361184b565b825461ffff9182166101009390930a9283029190920219909116179055503360008181526001602081815260408084206001600160a01b038c16808652908352818520805460ff19169094179093556003909152918290205491519092917f856b6fde5187880a03fdf824b79b5521ccc9396b3a4fb07be2693ad7035c02f891610c6d91908690611863565b60405180910390a395945050505050565b60036020528160005260406000208181548110610c9a57600080fd5b6000918252602090912060029091020180546001820180546001600160a01b0383169550600160a01b90920460ff16935090610cd590611703565b80601f0160208091040260200160405190810160405280929190818152602001828054610d0190611703565b8015610d4e5780601f10610d2357610100808354040283529160200191610d4e565b820191906000526020600020905b815481529060010190602001808311610d3157829003601f168201915b5050505050905083565b6001600160a01b0381166000908152600360205260408120805461ffff8516908110610d8657610d8661187c565b600091825260208220600290910201546040516001600160a01b039091169134919081818185875af1925050503d8060008114610ddf576040519150601f19603f3d011682016040523d82523d6000602084013e610de4565b606091505b50506001600160a01b03831660008181526003602052604090208054929350909161ffff8616908110610e1957610e1961187c565b600091825260208083206002909202909101546001600160a01b038681168452600390925260409092208054919092169133917f9728d3b4ce6090c2419194a16313c30e5c8d99790e9e21140e5ee1e2ebde6dfa91349161ffff8a16908110610e8457610e8461187c565b9060005260206000209060020201604051610ea0929190611892565b60405180910390a492915050565b6001600160a01b0381166000908152600360209081526040808320805482518185028101850190935280835260609492939192909184015b82821015610ff257600084815260209081902060408051606081019091526002850290910180546001600160a01b03811683529192909190830190600160a01b900460ff166001811115610f3c57610f3c6110e5565b6001811115610f4d57610f4d6110e5565b8152602001600182018054610f6190611703565b80601f0160208091040260200160405190810160405280929190818152602001828054610f8d90611703565b8015610fda5780601f10610faf57610100808354040283529160200191610fda565b820191906000526020600020905b815481529060010190602001808311610fbd57829003601f168201915b50505050508152505081526020019060010190610ee6565b505050509050919050565b6000600882604051602001611012919061195e565b60408051601f198184030181529190528051602090910120901c92915050565b80356001600160a01b038116811461104957600080fd5b919050565b80356002811061104957600080fd5b6000806040838503121561107057600080fd5b61107983611032565b91506110876020840161104e565b90509250929050565b803561ffff8116811461104957600080fd5b6000806000606084860312156110b757600080fd5b6110c084611032565b92506110ce60208501611032565b91506110dc60408501611090565b90509250925092565b634e487b7160e01b600052602160045260246000fd5b6003811061110b5761110b6110e5565b9052565b6020810161111d82846110fb565b92915050565b80356003811061104957600080fd5b634e487b7160e01b600052604160045260246000fd5b6040516080810167ffffffffffffffff8111828210171561116b5761116b611132565b60405290565b604051610100810167ffffffffffffffff8111828210171561116b5761116b611132565b600061016082840312156111a857600080fd5b6111b0611148565b8235815290506111c260208301611032565b602082015260408281013590820152607f820183136111e057600080fd5b6111e8611171565b806101608401858111156111fb57600080fd5b606085015b81811015611218578035845260209384019301611200565b505060608301525092915050565b6000806000806101c0858703121561123d57600080fd5b61124685611123565b935061125460208601611090565b925061126260408601611032565b91506112718660608701611195565b905092959194509250565b60008060008060006101c0868803121561129557600080fd5b61129e86611032565b9450602086013567ffffffffffffffff8111156112ba57600080fd5b8601601f810188136112cb57600080fd5b803567ffffffffffffffff8111156112e257600080fd5b8860208284010111156112f457600080fd5b6020919091019450925061130a6040870161104e565b91506113198760608801611195565b90509295509295909350565b60028110611335576113356110e5565b50565b60005b8381101561135357818101518382015260200161133b565b50506000910152565b60008151808452611374816020860160208601611338565b601f01601f19169290920160200192915050565b80516001600160a01b0316825260208101516000906113a681611325565b806020850152506040820151606060408501526113c6606085018261135c565b949350505050565b6020815260006113e16020830184611388565b9392505050565b600080604083850312156113fb57600080fd5b61140483611032565b915061108760208401611090565b6000806040838503121561142557600080fd5b61142e83611032565b946020939093013593505050565b6001600160a01b038416815261145183611325565b82602082015260606040820152600061146d606083018461135c565b95945050505050565b60008060006060848603121561148b57600080fd5b61149484611032565b92506114a260208501611090565b91506110dc60408501611123565b600080604083850312156114c357600080fd5b6114cc83611090565b915061108760208401611032565b6000602082840312156114ec57600080fd5b6113e182611032565b6000602082016020835280845180835260408501915060408160051b86010192506020860160005b8281101561154e57603f19878603018452611539858351611388565b9450602093840193919091019060010161151d565b50929695505050505050565b6000806040838503121561156d57600080fd5b6114cc83611032565b6000806040838503121561158957600080fd5b61159283611032565b915061108760208401611123565b602081016115ad83611325565b91905290565b60006101a08201905087825286602083015285604083015284606083015283608083015260a082018360005b60088110156115fe5781518352602092830192909101906001016115df565b505050979650505050505050565b634e487b7160e01b600052601160045260246000fd5b600064ffffffffff821664ffffffffff81036116405761164061160c565b60010192915050565b600063ffffffff821663ffffffff81036116405761164061160c565b63ffffffff818116838216019081111561111d5761111d61160c565b63ffffffff81811683821602908116908181146116a0576116a061160c565b5092915050565b600063ffffffff8316806116cb57634e487b7160e01b600052601260045260246000fd5b8063ffffffff84160491505092915050565b61ffff84168152606081016116f560208301856110fb565b826040830152949350505050565b600181811c9082168061171757607f821691505b60208210810361173757634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111561178757806000526020600020601f840160051c810160208510156117645750805b601f840160051c820191505b818110156117845760008155600101611770565b50505b505050565b815167ffffffffffffffff8111156117a6576117a6611132565b6117ba816117b48454611703565b8461173d565b6020601f8211600181146117ee57600083156117d65750848201515b600019600385901b1c1916600184901b178455611784565b600084815260208120601f198516915b8281101561181e57878501518255602094850194600190920191016117fe565b508482101561183c5786840151600019600387901b60f8161c191681555b50505050600190811b01905550565b600061ffff821661ffff81036116405761164061160c565b8281526040602082015260006113c66040830184611388565b634e487b7160e01b600052603260045260246000fd5b82815260406020820181905282546001600160a01b0381169183019190915260009060a01c60ff166118c381611325565b806060840152506001830160606080840152600081546118e281611703565b8060a08701526001821660008114611901576001811461191d57611951565b60ff19831660c088015260c082151560051b8801019350611951565b84600052602060002060005b8381101561194857815489820160c00152600190910190602001611929565b880160c0019450505b5091979650505050505050565b60008251611970818460208701611338565b919091019291505056fea264697066735822122093ae35dbca1992ebb920e7bed5c91a60b32d7cfb5d740a069780204733978c4264736f6c634300081a00330000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000000000000002c6170705f73746167696e675f36346231386364663430353834383633376536666362393362363065383539370000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b6372656174652d6e6f7465000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b6372656174652d766f7465000000000000000000000000000000000000000000", - "nonce": "0x61", + "input": "0x60e0604052600160c05234801561001557600080fd5b50604051611dbc380380611dbc833981016040819052610034916101f2565b600080546001600160a81b031916861515610100600160a81b031916176101006001600160a01b038716021790556040516100a2906100909061007b9086906020016102b1565b60408051601f198184030181529190526100de565b8360405160200161007b9291906102cd565b6080526040516100d0906100be9061007b9086906020016102b1565b8260405160200161007b9291906102cd565b60a052506102f39350505050565b60006008826040516020016100f391906102b1565b60408051601f198184030181529190528051602090910120901c92915050565b80516001600160a01b038116811461012a57600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b60005b83811015610160578181015183820152602001610148565b50506000910152565b600082601f83011261017a57600080fd5b81516001600160401b038111156101935761019361012f565b604051601f8201601f19908116603f011681016001600160401b03811182821017156101c1576101c161012f565b6040528181528382016020018510156101d957600080fd5b6101ea826020830160208701610145565b949350505050565b600080600080600060a0868803121561020a57600080fd5b8551801515811461021a57600080fd5b945061022860208701610113565b60408701519094506001600160401b0381111561024457600080fd5b61025088828901610169565b606088015190945090506001600160401b0381111561026e57600080fd5b61027a88828901610169565b608088015190935090506001600160401b0381111561029857600080fd5b6102a488828901610169565b9150509295509295909350565b600082516102c3818460208701610145565b9190910192915050565b828152600082516102e5816020850160208701610145565b919091016020019392505050565b60805160a05160c051611a9d61031f6000396000505060006104dd015260006109d60152611a9d6000f3fe6080604052600436106100e85760003560e01c8063c70e012c1161008a578063da239bf111610059578063da239bf114610327578063f4ff0c681461033c578063f559b79b14610377578063f9eed6ab146103cc57600080fd5b8063c70e012c1461025e578063cead5f7a1461028d578063d1d368e7146102e6578063d306794d146102f957600080fd5b80635f85896c116100c65780635f85896c146101a45780636ad17676146101c65780637f889652146101f3578063a5aa50651461024457600080fd5b8063223094e9146100ed578063256e025a146101415780633ddbfa0a14610156575b600080fd5b3480156100f957600080fd5b5061012961010836600461112e565b600560209081526000928352604080842090915290825290205461ffff1681565b60405161ffff90911681526020015b60405180910390f35b34801561014d57600080fd5b50610129602881565b34801561016257600080fd5b50610197610171366004611173565b600860209081526000938452604080852082529284528284209052825290205460ff1681565b60405161013891906111e0565b3480156101b057600080fd5b506101c46101bf3660046112f7565b610401565b005b3480156101d257600080fd5b506101e66101e136600461134d565b610907565b604051610138919061149f565b3480156101ff57600080fd5b5061023461020e366004611173565b600260209081526000938452604080852082529284528284209052825290205460ff1681565b6040519015158152602001610138565b34801561025057600080fd5b506000546102349060ff1681565b34801561026a57600080fd5b5061027e6102793660046114b9565b610c94565b604051610138939291906114e3565b34801561029957600080fd5b506102d16102a836600461151d565b600660209081526000938452604080852082529284528284209052825290205463ffffffff1681565b60405163ffffffff9091168152602001610138565b6102346102f4366004611557565b610d6e565b34801561030557600080fd5b50610319610314366004611581565b610ec4565b60405161013892919061159c565b34801561033357600080fd5b50610129600a81565b34801561034857600080fd5b5061023461035736600461164e565b600160209081526000928352604080842090915290825290205460ff1681565b34801561038357600080fd5b506103b661039236600461166a565b600760209081526000928352604080842090915290825290205464ffffffffff1681565b60405164ffffffffff9091168152602001610138565b3480156103d857600080fd5b506103ec6103e73660046114b9565b61108f565b60408051928352901515602083015201610138565b3360009081526002602090815260408083206001600160a01b0386168452825280832061ffff8716845290915290205460ff161561045e5760016040516371709fb960e11b81526004016104559190611694565b60405180910390fd5b60005460ff161561055257600060019054906101000a90046001600160a01b03166001600160a01b031663354ca12082600001516104d684602001516040516020016104c2919060609190911b6bffffffffffffffffffffffff1916815260140190565b6040516020818303038152906040526110ce565b84604001517f000000000000000000000000000000000000000000000000000000000000000086606001516040518663ffffffff1660e01b81526004016105219594939291906116a7565b60006040518083038186803b15801561053957600080fd5b505afa15801561054d573d6000803e3d6000fd5b505050505b33600090815260076020526040812090856002811115610574576105746111b6565b6002811115610585576105856111b6565b815260208101919091526040016000908120805464ffffffffff16916105aa8361170f565b825464ffffffffff9182166101009390930a9283029190920219909116179055503360009081526008602090815260408083206001600160a01b0386168452825280832061ffff871684529091529020805485919060ff19166001836002811115610617576106176111b6565b02179055506001600160a01b038216600090815260066020908152604080832061ffff87168452909152812090856002811115610656576106566111b6565b6002811115610667576106676111b6565b815260208101919091526040016000908120805463ffffffff169161068b83611736565b82546101009290920a63ffffffff8181021990931691831602179091556001600160a01b038416600090815260066020908152604080832061ffff89168452825280832060018452909152808220546002835281832054838052918320549294508316926106fd929181169116611752565b6107079190611752565b9050600063ffffffff8216156107bd576001600160a01b038416600090815260066020908152604080832061ffff89168452825280832060028452909152902054829061075b9063ffffffff16602861176e565b6001600160a01b038616600090815260066020908152604080832061ffff8b168452825280832083805290915290205461079c9063ffffffff16605061176e565b6107a69190611752565b6107b09190611794565b63ffffffff1690506107c1565b5060005b60408051808201909152600060208201528181526028821180156107eb5750600a8363ffffffff16115b156107fc576001602082015261082c565b8060200151801561080d5750600a82105b801561081f5750600a8363ffffffff16115b1561082c57600060208201525b6001600160a01b0385166000908152600460205260409020805482919061ffff891690811061085d5761085d6117ca565b6000918252602080832084516002938402909101908155938101516001948501805491151560ff199283161790553380855292825260408085206001600160a01b038c1680875290845281862061ffff8e16875290935293849020805490911690941790935590517fc6c17ac9b5234cac54c97de00eef6ce25bdbb704c801bfe650017e716c328e52906108f6908a908c9088906117e0565b60405180910390a350505050505050565b604080516060808201835260008083526020830152918101919091523360009081526001602090815260408083206001600160a01b038a16845290915290205460ff161561096b5760006040516371709fb960e11b81526004016104559190611694565b60005460ff1615610a4b57600060019054906101000a90046001600160a01b03166001600160a01b031663354ca12083600001516109cf85602001516040516020016104c2919060609190911b6bffffffffffffffffffffffff1916815260140190565b85604001517f000000000000000000000000000000000000000000000000000000000000000087606001516040518663ffffffff1660e01b8152600401610a1a9594939291906116a7565b60006040518083038186803b158015610a3257600080fd5b505afa158015610a46573d6000803e3d6000fd5b505050505b6040518060600160405280336001600160a01b03168152602001846001811115610a7757610a776111b6565b815260200186868080601f016020809104026020016040519081016040528093929190818152602001838380828437600092018290525093909452505060408051808201825282815260208082018490526001600160a01b03808d168552600382529284208054600181810183559186529482902087516002909602018054959094166001600160a01b0319861681178555918701519697509195879550929384926001600160a81b031990911690911790600160a01b908490811115610b4057610b406111b6565b021790555060408201516001820190610b59908261188f565b5050506001600160a01b0387166000818152600460209081526040808320805460018082018355918552838520875160029092020190815586840151908201805460ff191691151591909117905593835260059091528120918690811115610bc357610bc36111b6565b6001811115610bd457610bd46111b6565b815260208101919091526040016000908120805461ffff1691610bf68361194e565b825461ffff9182166101009390930a9283029190920219909116179055503360008181526001602081815260408084206001600160a01b038d16808652908352818520805460ff19169094179093556003909152918290205491519092917f856b6fde5187880a03fdf824b79b5521ccc9396b3a4fb07be2693ad7035c02f891610c8291908790611966565b60405180910390a35095945050505050565b60036020528160005260406000208181548110610cb057600080fd5b6000918252602090912060029091020180546001820180546001600160a01b0383169550600160a01b90920460ff16935090610ceb90611806565b80601f0160208091040260200160405190810160405280929190818152602001828054610d1790611806565b8015610d645780601f10610d3957610100808354040283529160200191610d64565b820191906000526020600020905b815481529060010190602001808311610d4757829003601f168201915b5050505050905083565b6001600160a01b0381166000908152600360205260408120805461ffff8516908110610d9c57610d9c6117ca565b600091825260208220600290910201546040516001600160a01b039091169134919081818185875af1925050503d8060008114610df5576040519150601f19603f3d011682016040523d82523d6000602084013e610dfa565b606091505b50506001600160a01b03831660008181526003602052604090208054929350909161ffff8616908110610e2f57610e2f6117ca565b600091825260208083206002909202909101546001600160a01b038681168452600390925260409092208054919092169133917f9728d3b4ce6090c2419194a16313c30e5c8d99790e9e21140e5ee1e2ebde6dfa91349161ffff8a16908110610e9a57610e9a6117ca565b9060005260206000209060020201604051610eb692919061197f565b60405180910390a492915050565b6001600160a01b03811660009081526003602090815260408083208054825181850281018501909352808352606094859484015b8282101561100457600084815260209081902060408051606081019091526002850290910180546001600160a01b03811683529192909190830190600160a01b900460ff166001811115610f4e57610f4e6111b6565b6001811115610f5f57610f5f6111b6565b8152602001600182018054610f7390611806565b80601f0160208091040260200160405190810160405280929190818152602001828054610f9f90611806565b8015610fec5780601f10610fc157610100808354040283529160200191610fec565b820191906000526020600020905b815481529060010190602001808311610fcf57829003601f168201915b50505050508152505081526020019060010190610ef8565b5050506001600160a01b038516600090815260046020908152604080832080548251818502810185019093528083529597509094909350919084015b8282101561108457600084815260209081902060408051808201909152600285029091018054825260019081015460ff161515828401529083529092019101611040565b505050509050915091565b600460205281600052604060002081815481106110ab57600080fd5b60009182526020909120600290910201805460019091015490925060ff16905082565b60006008826040516020016110e39190611a4b565b60408051601f198184030181529190528051602090910120901c92915050565b80356001600160a01b038116811461111a57600080fd5b919050565b80356002811061111a57600080fd5b6000806040838503121561114157600080fd5b61114a83611103565b91506111586020840161111f565b90509250929050565b803561ffff8116811461111a57600080fd5b60008060006060848603121561118857600080fd5b61119184611103565b925061119f60208501611103565b91506111ad60408501611161565b90509250925092565b634e487b7160e01b600052602160045260246000fd5b600381106111dc576111dc6111b6565b9052565b602081016111ee82846111cc565b92915050565b80356003811061111a57600080fd5b634e487b7160e01b600052604160045260246000fd5b6040516080810167ffffffffffffffff8111828210171561123c5761123c611203565b60405290565b604051610100810167ffffffffffffffff8111828210171561123c5761123c611203565b6000610160828403121561127957600080fd5b611281611219565b82358152905061129360208301611103565b602082015260408281013590820152607f820183136112b157600080fd5b6112b9611242565b806101608401858111156112cc57600080fd5b606085015b818110156112e95780358452602093840193016112d1565b505060608301525092915050565b6000806000806101c0858703121561130e57600080fd5b611317856111f4565b935061132560208601611161565b925061133360408601611103565b91506113428660608701611266565b905092959194509250565b60008060008060006101c0868803121561136657600080fd5b61136f86611103565b9450602086013567ffffffffffffffff81111561138b57600080fd5b8601601f8101881361139c57600080fd5b803567ffffffffffffffff8111156113b357600080fd5b8860208284010111156113c557600080fd5b602091909101945092506113db6040870161111f565b91506113ea8760608801611266565b90509295509295909350565b60028110611406576114066111b6565b50565b60005b8381101561142457818101518382015260200161140c565b50506000910152565b60008151808452611445816020860160208601611409565b601f01601f19169290920160200192915050565b80516001600160a01b031682526020810151600090611477816113f6565b80602085015250604082015160606040850152611497606085018261142d565b949350505050565b6020815260006114b26020830184611459565b9392505050565b600080604083850312156114cc57600080fd5b6114d583611103565b946020939093013593505050565b6001600160a01b03841681526114f8836113f6565b826020820152606060408201526000611514606083018461142d565b95945050505050565b60008060006060848603121561153257600080fd5b61153b84611103565b925061154960208501611161565b91506111ad604085016111f4565b6000806040838503121561156a57600080fd5b61157383611161565b915061115860208401611103565b60006020828403121561159357600080fd5b6114b282611103565b6000604082016040835280855180835260608501915060608160051b86010192506020870160005b828110156115f557605f198786030184526115e0858351611459565b945060209384019391909101906001016115c4565b50505050828103602084015280845180835260208301915060208601925060005b818110156116425783518051845260209081015115158185015290930192604090920191600101611616565b50909695505050505050565b6000806040838503121561166157600080fd5b61157383611103565b6000806040838503121561167d57600080fd5b61168683611103565b9150611158602084016111f4565b602081016116a1836113f6565b91905290565b600061018082019050868252856020830152846040830152836060830152608082018360005b60088110156116ec5781518352602092830192909101906001016116cd565b5050509695505050505050565b634e487b7160e01b600052601160045260246000fd5b600064ffffffffff821664ffffffffff810361172d5761172d6116f9565b60010192915050565b600063ffffffff821663ffffffff810361172d5761172d6116f9565b63ffffffff81811683821601908111156111ee576111ee6116f9565b63ffffffff818116838216029081169081811461178d5761178d6116f9565b5092915050565b600063ffffffff8316806117b857634e487b7160e01b600052601260045260246000fd5b8063ffffffff84160491505092915050565b634e487b7160e01b600052603260045260246000fd5b61ffff84168152606081016117f860208301856111cc565b826040830152949350505050565b600181811c9082168061181a57607f821691505b60208210810361183a57634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111561188a57806000526020600020601f840160051c810160208510156118675750805b601f840160051c820191505b818110156118875760008155600101611873565b50505b505050565b815167ffffffffffffffff8111156118a9576118a9611203565b6118bd816118b78454611806565b84611840565b6020601f8211600181146118f157600083156118d95750848201515b600019600385901b1c1916600184901b178455611887565b600084815260208120601f198516915b828110156119215787850151825560209485019460019092019101611901565b508482101561193f5786840151600019600387901b60f8161c191681555b50505050600190811b01905550565b600061ffff821661ffff810361172d5761172d6116f9565b8281526040602082015260006114976040830184611459565b82815260406020820181905282546001600160a01b0381169183019190915260009060a01c60ff166119b0816113f6565b806060840152506001830160606080840152600081546119cf81611806565b8060a087015260018216600081146119ee5760018114611a0a57611a3e565b60ff19831660c088015260c082151560051b8801019350611a3e565b84600052602060002060005b83811015611a3557815489820160c00152600190910190602001611a16565b880160c0019450505b5091979650505050505050565b60008251611a5d818460208701611409565b919091019291505056fea2646970667358221220ae0fed7319536c41767329cc79d8f3a475d7a7ec883c1d4a9171fbe8c68acab564736f6c634300081a00330000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000000000000002c6170705f73746167696e675f36346231386364663430353834383633376536666362393362363065383539370000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b6372656174652d6e6f7465000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b6372656174652d766f7465000000000000000000000000000000000000000000", + "nonce": "0x65", "chainId": "0x8274f" }, "additionalContracts": [], @@ -28,26 +28,26 @@ "receipts": [ { "status": "0x1", - "cumulativeGasUsed": "0x17b433", + "cumulativeGasUsed": "0x187e91", "logs": [], "logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", "type": "0x0", - "transactionHash": "0x059fa3697ed63daa0aded7588ab610313716c8d65ef381705663cc79fb9d7713", + "transactionHash": "0xa6b07bb88452ea7228baff400bc27afbc862fb35f29a0f209c5c0761660772df", "transactionIndex": "0x2", - "blockHash": "0xa06219e310c3055e3972cc8c93dc9b6793be44513a6bfb005f57b8663a167fb4", - "blockNumber": "0x534651", - "gasUsed": "0x16cb09", - "effectiveGasPrice": "0x1dd063dd2", + "blockHash": "0xee8c79e80112fa8ec9291271a65b6c4074fc352de32c152b0b88e0f1c048788f", + "blockNumber": "0x534b1f", + "gasUsed": "0x179567", + "effectiveGasPrice": "0x1dc60132d", "from": "0x199d51a2be04c65f325908911430e6ff79a15ce3", "to": null, - "contractAddress": "0x8f8184e86574e02d283b39c662e9b6dc9209b475", - "l1Fee": "0x251ae2bcafa" + "contractAddress": "0xad0324c6b74d90666dea9ab290646ebf945fa99c", + "l1Fee": "0x22c9438ec6d" } ], "libraries": [], "pending": [], "returns": {}, - "timestamp": 1720883669, + "timestamp": 1720887358, "chain": 534351, - "commit": "f6a769b" + "commit": "7f75a22" } \ No newline at end of file diff --git a/packages/foundry/broadcast/deploy_Notes.s.sol/84532/run-1720887069.json b/packages/foundry/broadcast/deploy_Notes.s.sol/84532/run-1720887069.json new file mode 100644 index 0000000..9c0e5d6 --- /dev/null +++ b/packages/foundry/broadcast/deploy_Notes.s.sol/84532/run-1720887069.json @@ -0,0 +1,58 @@ +{ + "transactions": [ + { + "hash": "0xfe4db7a69c665667942b84be16d5e08d0479a5f1964023f05eec3af87c0bdaa6", + "transactionType": "CREATE", + "contractName": "Notes", + "contractAddress": "0xe77fe9e644730ba9749da926ced8346aa80cbb29", + "function": null, + "arguments": [ + "true", + "0x163b09b4fE21177c455D850BD815B6D583732432", + "\"app_staging_64b18cdf405848637e6fcb93b60e8597\"", + "\"create-note\"", + "\"create-vote\"" + ], + "transaction": { + "from": "0x199d51a2be04c65f325908911430e6ff79a15ce3", + "gas": "0x1f0c6b", + "value": "0x0", + "input": "0x60e0604052600160c05234801561001557600080fd5b50604051611dbc380380611dbc833981016040819052610034916101f2565b600080546001600160a81b031916861515610100600160a81b031916176101006001600160a01b038716021790556040516100a2906100909061007b9086906020016102b1565b60408051601f198184030181529190526100de565b8360405160200161007b9291906102cd565b6080526040516100d0906100be9061007b9086906020016102b1565b8260405160200161007b9291906102cd565b60a052506102f39350505050565b60006008826040516020016100f391906102b1565b60408051601f198184030181529190528051602090910120901c92915050565b80516001600160a01b038116811461012a57600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b60005b83811015610160578181015183820152602001610148565b50506000910152565b600082601f83011261017a57600080fd5b81516001600160401b038111156101935761019361012f565b604051601f8201601f19908116603f011681016001600160401b03811182821017156101c1576101c161012f565b6040528181528382016020018510156101d957600080fd5b6101ea826020830160208701610145565b949350505050565b600080600080600060a0868803121561020a57600080fd5b8551801515811461021a57600080fd5b945061022860208701610113565b60408701519094506001600160401b0381111561024457600080fd5b61025088828901610169565b606088015190945090506001600160401b0381111561026e57600080fd5b61027a88828901610169565b608088015190935090506001600160401b0381111561029857600080fd5b6102a488828901610169565b9150509295509295909350565b600082516102c3818460208701610145565b9190910192915050565b828152600082516102e5816020850160208701610145565b919091016020019392505050565b60805160a05160c051611a9d61031f6000396000505060006104dd015260006109d60152611a9d6000f3fe6080604052600436106100e85760003560e01c8063c70e012c1161008a578063da239bf111610059578063da239bf114610327578063f4ff0c681461033c578063f559b79b14610377578063f9eed6ab146103cc57600080fd5b8063c70e012c1461025e578063cead5f7a1461028d578063d1d368e7146102e6578063d306794d146102f957600080fd5b80635f85896c116100c65780635f85896c146101a45780636ad17676146101c65780637f889652146101f3578063a5aa50651461024457600080fd5b8063223094e9146100ed578063256e025a146101415780633ddbfa0a14610156575b600080fd5b3480156100f957600080fd5b5061012961010836600461112e565b600560209081526000928352604080842090915290825290205461ffff1681565b60405161ffff90911681526020015b60405180910390f35b34801561014d57600080fd5b50610129602881565b34801561016257600080fd5b50610197610171366004611173565b600860209081526000938452604080852082529284528284209052825290205460ff1681565b60405161013891906111e0565b3480156101b057600080fd5b506101c46101bf3660046112f7565b610401565b005b3480156101d257600080fd5b506101e66101e136600461134d565b610907565b604051610138919061149f565b3480156101ff57600080fd5b5061023461020e366004611173565b600260209081526000938452604080852082529284528284209052825290205460ff1681565b6040519015158152602001610138565b34801561025057600080fd5b506000546102349060ff1681565b34801561026a57600080fd5b5061027e6102793660046114b9565b610c94565b604051610138939291906114e3565b34801561029957600080fd5b506102d16102a836600461151d565b600660209081526000938452604080852082529284528284209052825290205463ffffffff1681565b60405163ffffffff9091168152602001610138565b6102346102f4366004611557565b610d6e565b34801561030557600080fd5b50610319610314366004611581565b610ec4565b60405161013892919061159c565b34801561033357600080fd5b50610129600a81565b34801561034857600080fd5b5061023461035736600461164e565b600160209081526000928352604080842090915290825290205460ff1681565b34801561038357600080fd5b506103b661039236600461166a565b600760209081526000928352604080842090915290825290205464ffffffffff1681565b60405164ffffffffff9091168152602001610138565b3480156103d857600080fd5b506103ec6103e73660046114b9565b61108f565b60408051928352901515602083015201610138565b3360009081526002602090815260408083206001600160a01b0386168452825280832061ffff8716845290915290205460ff161561045e5760016040516371709fb960e11b81526004016104559190611694565b60405180910390fd5b60005460ff161561055257600060019054906101000a90046001600160a01b03166001600160a01b031663354ca12082600001516104d684602001516040516020016104c2919060609190911b6bffffffffffffffffffffffff1916815260140190565b6040516020818303038152906040526110ce565b84604001517f000000000000000000000000000000000000000000000000000000000000000086606001516040518663ffffffff1660e01b81526004016105219594939291906116a7565b60006040518083038186803b15801561053957600080fd5b505afa15801561054d573d6000803e3d6000fd5b505050505b33600090815260076020526040812090856002811115610574576105746111b6565b6002811115610585576105856111b6565b815260208101919091526040016000908120805464ffffffffff16916105aa8361170f565b825464ffffffffff9182166101009390930a9283029190920219909116179055503360009081526008602090815260408083206001600160a01b0386168452825280832061ffff871684529091529020805485919060ff19166001836002811115610617576106176111b6565b02179055506001600160a01b038216600090815260066020908152604080832061ffff87168452909152812090856002811115610656576106566111b6565b6002811115610667576106676111b6565b815260208101919091526040016000908120805463ffffffff169161068b83611736565b82546101009290920a63ffffffff8181021990931691831602179091556001600160a01b038416600090815260066020908152604080832061ffff89168452825280832060018452909152808220546002835281832054838052918320549294508316926106fd929181169116611752565b6107079190611752565b9050600063ffffffff8216156107bd576001600160a01b038416600090815260066020908152604080832061ffff89168452825280832060028452909152902054829061075b9063ffffffff16602861176e565b6001600160a01b038616600090815260066020908152604080832061ffff8b168452825280832083805290915290205461079c9063ffffffff16605061176e565b6107a69190611752565b6107b09190611794565b63ffffffff1690506107c1565b5060005b60408051808201909152600060208201528181526028821180156107eb5750600a8363ffffffff16115b156107fc576001602082015261082c565b8060200151801561080d5750600a82105b801561081f5750600a8363ffffffff16115b1561082c57600060208201525b6001600160a01b0385166000908152600460205260409020805482919061ffff891690811061085d5761085d6117ca565b6000918252602080832084516002938402909101908155938101516001948501805491151560ff199283161790553380855292825260408085206001600160a01b038c1680875290845281862061ffff8e16875290935293849020805490911690941790935590517fc6c17ac9b5234cac54c97de00eef6ce25bdbb704c801bfe650017e716c328e52906108f6908a908c9088906117e0565b60405180910390a350505050505050565b604080516060808201835260008083526020830152918101919091523360009081526001602090815260408083206001600160a01b038a16845290915290205460ff161561096b5760006040516371709fb960e11b81526004016104559190611694565b60005460ff1615610a4b57600060019054906101000a90046001600160a01b03166001600160a01b031663354ca12083600001516109cf85602001516040516020016104c2919060609190911b6bffffffffffffffffffffffff1916815260140190565b85604001517f000000000000000000000000000000000000000000000000000000000000000087606001516040518663ffffffff1660e01b8152600401610a1a9594939291906116a7565b60006040518083038186803b158015610a3257600080fd5b505afa158015610a46573d6000803e3d6000fd5b505050505b6040518060600160405280336001600160a01b03168152602001846001811115610a7757610a776111b6565b815260200186868080601f016020809104026020016040519081016040528093929190818152602001838380828437600092018290525093909452505060408051808201825282815260208082018490526001600160a01b03808d168552600382529284208054600181810183559186529482902087516002909602018054959094166001600160a01b0319861681178555918701519697509195879550929384926001600160a81b031990911690911790600160a01b908490811115610b4057610b406111b6565b021790555060408201516001820190610b59908261188f565b5050506001600160a01b0387166000818152600460209081526040808320805460018082018355918552838520875160029092020190815586840151908201805460ff191691151591909117905593835260059091528120918690811115610bc357610bc36111b6565b6001811115610bd457610bd46111b6565b815260208101919091526040016000908120805461ffff1691610bf68361194e565b825461ffff9182166101009390930a9283029190920219909116179055503360008181526001602081815260408084206001600160a01b038d16808652908352818520805460ff19169094179093556003909152918290205491519092917f856b6fde5187880a03fdf824b79b5521ccc9396b3a4fb07be2693ad7035c02f891610c8291908790611966565b60405180910390a35095945050505050565b60036020528160005260406000208181548110610cb057600080fd5b6000918252602090912060029091020180546001820180546001600160a01b0383169550600160a01b90920460ff16935090610ceb90611806565b80601f0160208091040260200160405190810160405280929190818152602001828054610d1790611806565b8015610d645780601f10610d3957610100808354040283529160200191610d64565b820191906000526020600020905b815481529060010190602001808311610d4757829003601f168201915b5050505050905083565b6001600160a01b0381166000908152600360205260408120805461ffff8516908110610d9c57610d9c6117ca565b600091825260208220600290910201546040516001600160a01b039091169134919081818185875af1925050503d8060008114610df5576040519150601f19603f3d011682016040523d82523d6000602084013e610dfa565b606091505b50506001600160a01b03831660008181526003602052604090208054929350909161ffff8616908110610e2f57610e2f6117ca565b600091825260208083206002909202909101546001600160a01b038681168452600390925260409092208054919092169133917f9728d3b4ce6090c2419194a16313c30e5c8d99790e9e21140e5ee1e2ebde6dfa91349161ffff8a16908110610e9a57610e9a6117ca565b9060005260206000209060020201604051610eb692919061197f565b60405180910390a492915050565b6001600160a01b03811660009081526003602090815260408083208054825181850281018501909352808352606094859484015b8282101561100457600084815260209081902060408051606081019091526002850290910180546001600160a01b03811683529192909190830190600160a01b900460ff166001811115610f4e57610f4e6111b6565b6001811115610f5f57610f5f6111b6565b8152602001600182018054610f7390611806565b80601f0160208091040260200160405190810160405280929190818152602001828054610f9f90611806565b8015610fec5780601f10610fc157610100808354040283529160200191610fec565b820191906000526020600020905b815481529060010190602001808311610fcf57829003601f168201915b50505050508152505081526020019060010190610ef8565b5050506001600160a01b038516600090815260046020908152604080832080548251818502810185019093528083529597509094909350919084015b8282101561108457600084815260209081902060408051808201909152600285029091018054825260019081015460ff161515828401529083529092019101611040565b505050509050915091565b600460205281600052604060002081815481106110ab57600080fd5b60009182526020909120600290910201805460019091015490925060ff16905082565b60006008826040516020016110e39190611a4b565b60408051601f198184030181529190528051602090910120901c92915050565b80356001600160a01b038116811461111a57600080fd5b919050565b80356002811061111a57600080fd5b6000806040838503121561114157600080fd5b61114a83611103565b91506111586020840161111f565b90509250929050565b803561ffff8116811461111a57600080fd5b60008060006060848603121561118857600080fd5b61119184611103565b925061119f60208501611103565b91506111ad60408501611161565b90509250925092565b634e487b7160e01b600052602160045260246000fd5b600381106111dc576111dc6111b6565b9052565b602081016111ee82846111cc565b92915050565b80356003811061111a57600080fd5b634e487b7160e01b600052604160045260246000fd5b6040516080810167ffffffffffffffff8111828210171561123c5761123c611203565b60405290565b604051610100810167ffffffffffffffff8111828210171561123c5761123c611203565b6000610160828403121561127957600080fd5b611281611219565b82358152905061129360208301611103565b602082015260408281013590820152607f820183136112b157600080fd5b6112b9611242565b806101608401858111156112cc57600080fd5b606085015b818110156112e95780358452602093840193016112d1565b505060608301525092915050565b6000806000806101c0858703121561130e57600080fd5b611317856111f4565b935061132560208601611161565b925061133360408601611103565b91506113428660608701611266565b905092959194509250565b60008060008060006101c0868803121561136657600080fd5b61136f86611103565b9450602086013567ffffffffffffffff81111561138b57600080fd5b8601601f8101881361139c57600080fd5b803567ffffffffffffffff8111156113b357600080fd5b8860208284010111156113c557600080fd5b602091909101945092506113db6040870161111f565b91506113ea8760608801611266565b90509295509295909350565b60028110611406576114066111b6565b50565b60005b8381101561142457818101518382015260200161140c565b50506000910152565b60008151808452611445816020860160208601611409565b601f01601f19169290920160200192915050565b80516001600160a01b031682526020810151600090611477816113f6565b80602085015250604082015160606040850152611497606085018261142d565b949350505050565b6020815260006114b26020830184611459565b9392505050565b600080604083850312156114cc57600080fd5b6114d583611103565b946020939093013593505050565b6001600160a01b03841681526114f8836113f6565b826020820152606060408201526000611514606083018461142d565b95945050505050565b60008060006060848603121561153257600080fd5b61153b84611103565b925061154960208501611161565b91506111ad604085016111f4565b6000806040838503121561156a57600080fd5b61157383611161565b915061115860208401611103565b60006020828403121561159357600080fd5b6114b282611103565b6000604082016040835280855180835260608501915060608160051b86010192506020870160005b828110156115f557605f198786030184526115e0858351611459565b945060209384019391909101906001016115c4565b50505050828103602084015280845180835260208301915060208601925060005b818110156116425783518051845260209081015115158185015290930192604090920191600101611616565b50909695505050505050565b6000806040838503121561166157600080fd5b61157383611103565b6000806040838503121561167d57600080fd5b61168683611103565b9150611158602084016111f4565b602081016116a1836113f6565b91905290565b600061018082019050868252856020830152846040830152836060830152608082018360005b60088110156116ec5781518352602092830192909101906001016116cd565b5050509695505050505050565b634e487b7160e01b600052601160045260246000fd5b600064ffffffffff821664ffffffffff810361172d5761172d6116f9565b60010192915050565b600063ffffffff821663ffffffff810361172d5761172d6116f9565b63ffffffff81811683821601908111156111ee576111ee6116f9565b63ffffffff818116838216029081169081811461178d5761178d6116f9565b5092915050565b600063ffffffff8316806117b857634e487b7160e01b600052601260045260246000fd5b8063ffffffff84160491505092915050565b634e487b7160e01b600052603260045260246000fd5b61ffff84168152606081016117f860208301856111cc565b826040830152949350505050565b600181811c9082168061181a57607f821691505b60208210810361183a57634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111561188a57806000526020600020601f840160051c810160208510156118675750805b601f840160051c820191505b818110156118875760008155600101611873565b50505b505050565b815167ffffffffffffffff8111156118a9576118a9611203565b6118bd816118b78454611806565b84611840565b6020601f8211600181146118f157600083156118d95750848201515b600019600385901b1c1916600184901b178455611887565b600084815260208120601f198516915b828110156119215787850151825560209485019460019092019101611901565b508482101561193f5786840151600019600387901b60f8161c191681555b50505050600190811b01905550565b600061ffff821661ffff810361172d5761172d6116f9565b8281526040602082015260006114976040830184611459565b82815260406020820181905282546001600160a01b0381169183019190915260009060a01c60ff166119b0816113f6565b806060840152506001830160606080840152600081546119cf81611806565b8060a087015260018216600081146119ee5760018114611a0a57611a3e565b60ff19831660c088015260c082151560051b8801019350611a3e565b84600052602060002060005b83811015611a3557815489820160c00152600190910190602001611a16565b880160c0019450505b5091979650505050505050565b60008251611a5d818460208701611409565b919091019291505056fea2646970667358221220ae0fed7319536c41767329cc79d8f3a475d7a7ec883c1d4a9171fbe8c68acab564736f6c634300081a00330000000000000000000000000000000000000000000000000000000000000001000000000000000000000000163b09b4fe21177c455d850bd815b6d58373243200000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000000000000002c6170705f73746167696e675f36346231386364663430353834383633376536666362393362363065383539370000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b6372656174652d6e6f7465000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b6372656174652d766f7465000000000000000000000000000000000000000000", + "nonce": "0x8", + "chainId": "0x14a34" + }, + "additionalContracts": [], + "isFixedGasLimit": false + } + ], + "receipts": [ + { + "status": "0x1", + "cumulativeGasUsed": "0xea7c99", + "logs": [], + "logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "type": "0x0", + "transactionHash": "0xfe4db7a69c665667942b84be16d5e08d0479a5f1964023f05eec3af87c0bdaa6", + "transactionIndex": "0x7", + "blockHash": "0x2bf37135fa42a8e15539eb7f952160b107c6e5845ba44cef9873525a5dbcf10f", + "blockNumber": "0xbfa413", + "gasUsed": "0x17e41f", + "effectiveGasPrice": "0xf434a", + "from": "0x199d51a2be04c65f325908911430e6ff79a15ce3", + "to": null, + "contractAddress": "0xe77fe9e644730ba9749da926ced8346aa80cbb29", + "l1BaseFeeScalar": "0x44d", + "l1BlobBaseFee": "0x1", + "l1BlobBaseFeeScalar": "0xa118b", + "l1Fee": "0x146fc2e5e6c", + "l1GasPrice": "0x42c5e073a", + "l1GasUsed": "0x115fb" + } + ], + "libraries": [], + "pending": [], + "returns": {}, + "timestamp": 1720887069, + "chain": 84532, + "commit": "7f75a22" +} \ No newline at end of file diff --git a/packages/foundry/broadcast/deploy_Notes.s.sol/84532/run-latest.json b/packages/foundry/broadcast/deploy_Notes.s.sol/84532/run-latest.json index 01c3519..9c0e5d6 100644 --- a/packages/foundry/broadcast/deploy_Notes.s.sol/84532/run-latest.json +++ b/packages/foundry/broadcast/deploy_Notes.s.sol/84532/run-latest.json @@ -1,10 +1,10 @@ { "transactions": [ { - "hash": "0xfcbdae3f42a7e3938354a51a88ae5dc9ba7e9a9e6f1813bb56dd2bd7ab2e30e1", + "hash": "0xfe4db7a69c665667942b84be16d5e08d0479a5f1964023f05eec3af87c0bdaa6", "transactionType": "CREATE", "contractName": "Notes", - "contractAddress": "0x5c0bda6a6d287dfdc058b86bdafc7509db74e111", + "contractAddress": "0xe77fe9e644730ba9749da926ced8346aa80cbb29", "function": null, "arguments": [ "true", @@ -15,10 +15,10 @@ ], "transaction": { "from": "0x199d51a2be04c65f325908911430e6ff79a15ce3", - "gas": "0x1e0569", + "gas": "0x1f0c6b", "value": "0x0", - "input": "0x60e0604052600160c05234801561001557600080fd5b50604051611cd9380380611cd9833981016040819052610034916101f2565b600080546001600160a81b031916861515610100600160a81b031916176101006001600160a01b038716021790556040516100a2906100909061007b9086906020016102b1565b60408051601f198184030181529190526100de565b8360405160200161007b9291906102cd565b6080526040516100d0906100be9061007b9086906020016102b1565b8260405160200161007b9291906102cd565b60a052506102f39350505050565b60006008826040516020016100f391906102b1565b60408051601f198184030181529190528051602090910120901c92915050565b80516001600160a01b038116811461012a57600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b60005b83811015610160578181015183820152602001610148565b50506000910152565b600082601f83011261017a57600080fd5b81516001600160401b038111156101935761019361012f565b604051601f8201601f19908116603f011681016001600160401b03811182821017156101c1576101c161012f565b6040528181528382016020018510156101d957600080fd5b6101ea826020830160208701610145565b949350505050565b600080600080600060a0868803121561020a57600080fd5b8551801515811461021a57600080fd5b945061022860208701610113565b60408701519094506001600160401b0381111561024457600080fd5b61025088828901610169565b606088015190945090506001600160401b0381111561026e57600080fd5b61027a88828901610169565b608088015190935090506001600160401b0381111561029857600080fd5b6102a488828901610169565b9150509295509295909350565b600082516102c3818460208701610145565b9190910192915050565b828152600082516102e5816020850160208701610145565b919091016020019392505050565b60805160a05160c0516119b0610329600039600081816104b501526109b90152600061051f01526000610a0f01526119b06000f3fe6080604052600436106100e85760003560e01c8063acc34ed91161008a578063d306794d11610059578063d306794d14610350578063da239bf11461037d578063f4ff0c6814610392578063f559b79b146103cd57600080fd5b8063acc34ed91461025e578063c70e012c146102b5578063cead5f7a146102e4578063d1d368e71461033d57600080fd5b80635f85896c116100c65780635f85896c146101a45780636ad17676146101c65780637f889652146101f3578063a5aa50651461024457600080fd5b8063223094e9146100ed578063256e025a146101415780633ddbfa0a14610156575b600080fd5b3480156100f957600080fd5b5061012961010836600461105d565b600460209081526000928352604080842090915290825290205461ffff1681565b60405161ffff90911681526020015b60405180910390f35b34801561014d57600080fd5b50610129602881565b34801561016257600080fd5b506101976101713660046110a2565b600860209081526000938452604080852082529284528284209052825290205460ff1681565b604051610138919061110f565b3480156101b057600080fd5b506101c46101bf366004611226565b610422565b005b3480156101d257600080fd5b506101e66101e136600461127c565b61091f565b60405161013891906113ce565b3480156101ff57600080fd5b5061023461020e3660046110a2565b600260209081526000938452604080852082529284528284209052825290205460ff1681565b6040519015158152602001610138565b34801561025057600080fd5b506000546102349060ff1681565b34801561026a57600080fd5b506102a06102793660046113e8565b60066020908152600092835260408084209091529082529020805460019091015460ff1682565b60408051928352901515602083015201610138565b3480156102c157600080fd5b506102d56102d0366004611412565b610c7e565b6040516101389392919061143c565b3480156102f057600080fd5b506103286102ff366004611476565b600560209081526000938452604080852082529284528284209052825290205463ffffffff1681565b60405163ffffffff9091168152602001610138565b61023461034b3660046114b0565b610d58565b34801561035c57600080fd5b5061037061036b3660046114da565b610eae565b60405161013891906114f5565b34801561038957600080fd5b50610129600a81565b34801561039e57600080fd5b506102346103ad36600461155a565b600160209081526000928352604080842090915290825290205460ff1681565b3480156103d957600080fd5b5061040c6103e8366004611576565b600760209081526000928352604080842090915290825290205464ffffffffff1681565b60405164ffffffffff9091168152602001610138565b3360009081526002602090815260408083206001600160a01b0386168452825280832061ffff8716845290915290205460ff161561047f5760016040516371709fb960e11b815260040161047691906115a0565b60405180910390fd5b60005460ff161561059557600060019054906101000a90046001600160a01b03166001600160a01b0316633bc778e382600001517f00000000000000000000000000000000000000000000000000000000000000006105188560200151604051602001610504919060609190911b6bffffffffffffffffffffffff1916815260140190565b604051602081830303815290604052610ffd565b85604001517f000000000000000000000000000000000000000000000000000000000000000087606001516040518763ffffffff1660e01b8152600401610564969594939291906115b3565b60006040518083038186803b15801561057c57600080fd5b505afa158015610590573d6000803e3d6000fd5b505050505b336000908152600760205260408120908560028111156105b7576105b76110e5565b60028111156105c8576105c86110e5565b815260208101919091526040016000908120805464ffffffffff16916105ed83611622565b825464ffffffffff9182166101009390930a9283029190920219909116179055503360009081526008602090815260408083206001600160a01b0386168452825280832061ffff871684529091529020805485919060ff1916600183600281111561065a5761065a6110e5565b02179055506001600160a01b038216600090815260056020908152604080832061ffff87168452909152812090856002811115610699576106996110e5565b60028111156106aa576106aa6110e5565b815260208101919091526040016000908120805463ffffffff16916106ce83611649565b82546101009290920a63ffffffff8181021990931691831602179091556001600160a01b038416600090815260056020908152604080832061ffff8916845282528083206001845290915280822054600283528183205483805291832054929450831692610740929181169116611665565b61074a9190611665565b9050600063ffffffff821615610800576001600160a01b038416600090815260056020908152604080832061ffff89168452825280832060028452909152902054829061079e9063ffffffff166028611681565b6001600160a01b038616600090815260056020908152604080832061ffff8b16845282528083208380529091529020546107df9063ffffffff166050611681565b6107e99190611665565b6107f391906116a7565b63ffffffff169050610804565b5060005b604080518082019091526000602082015281815260288211801561082e5750600a8363ffffffff16115b1561083f576001602082015261086f565b806020015180156108505750600a82105b80156108625750600a8363ffffffff16115b1561086f57600060208201525b6001600160a01b038516600081815260066020908152604080832061ffff8b1680855290835281842086518155838701516001918201805491151560ff199283161790553380875260028652848720888852865284872093875292909452938290208054909316909317909155517fc6c17ac9b5234cac54c97de00eef6ce25bdbb704c801bfe650017e716c328e529061090e908a908c9088906116dd565b60405180910390a350505050505050565b604080516060808201835260008083526020830152918101919091523360009081526001602090815260408083206001600160a01b038a16845290915290205460ff16156109835760006040516371709fb960e11b815260040161047691906115a0565b60005460ff1615610a8557600060019054906101000a90046001600160a01b03166001600160a01b0316633bc778e383600001517f0000000000000000000000000000000000000000000000000000000000000000610a088660200151604051602001610504919060609190911b6bffffffffffffffffffffffff1916815260140190565b86604001517f000000000000000000000000000000000000000000000000000000000000000088606001516040518763ffffffff1660e01b8152600401610a54969594939291906115b3565b60006040518083038186803b158015610a6c57600080fd5b505afa158015610a80573d6000803e3d6000fd5b505050505b6040518060600160405280336001600160a01b03168152602001846001811115610ab157610ab16110e5565b815260200186868080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201829052509390945250506001600160a01b038981168252600360209081526040832080546001808201835591855293829020865160029095020180546001600160a01b03198116959094169485178155918601519596508695919450909284926001600160a81b0319161790600160a01b908490811115610b6757610b676110e5565b021790555060408201516001820190610b80908261178c565b5050506001600160a01b038616600090815260046020526040812090846001811115610bae57610bae6110e5565b6001811115610bbf57610bbf6110e5565b815260208101919091526040016000908120805461ffff1691610be18361184b565b825461ffff9182166101009390930a9283029190920219909116179055503360008181526001602081815260408084206001600160a01b038c16808652908352818520805460ff19169094179093556003909152918290205491519092917f856b6fde5187880a03fdf824b79b5521ccc9396b3a4fb07be2693ad7035c02f891610c6d91908690611863565b60405180910390a395945050505050565b60036020528160005260406000208181548110610c9a57600080fd5b6000918252602090912060029091020180546001820180546001600160a01b0383169550600160a01b90920460ff16935090610cd590611703565b80601f0160208091040260200160405190810160405280929190818152602001828054610d0190611703565b8015610d4e5780601f10610d2357610100808354040283529160200191610d4e565b820191906000526020600020905b815481529060010190602001808311610d3157829003601f168201915b5050505050905083565b6001600160a01b0381166000908152600360205260408120805461ffff8516908110610d8657610d8661187c565b600091825260208220600290910201546040516001600160a01b039091169134919081818185875af1925050503d8060008114610ddf576040519150601f19603f3d011682016040523d82523d6000602084013e610de4565b606091505b50506001600160a01b03831660008181526003602052604090208054929350909161ffff8616908110610e1957610e1961187c565b600091825260208083206002909202909101546001600160a01b038681168452600390925260409092208054919092169133917f9728d3b4ce6090c2419194a16313c30e5c8d99790e9e21140e5ee1e2ebde6dfa91349161ffff8a16908110610e8457610e8461187c565b9060005260206000209060020201604051610ea0929190611892565b60405180910390a492915050565b6001600160a01b0381166000908152600360209081526040808320805482518185028101850190935280835260609492939192909184015b82821015610ff257600084815260209081902060408051606081019091526002850290910180546001600160a01b03811683529192909190830190600160a01b900460ff166001811115610f3c57610f3c6110e5565b6001811115610f4d57610f4d6110e5565b8152602001600182018054610f6190611703565b80601f0160208091040260200160405190810160405280929190818152602001828054610f8d90611703565b8015610fda5780601f10610faf57610100808354040283529160200191610fda565b820191906000526020600020905b815481529060010190602001808311610fbd57829003601f168201915b50505050508152505081526020019060010190610ee6565b505050509050919050565b6000600882604051602001611012919061195e565b60408051601f198184030181529190528051602090910120901c92915050565b80356001600160a01b038116811461104957600080fd5b919050565b80356002811061104957600080fd5b6000806040838503121561107057600080fd5b61107983611032565b91506110876020840161104e565b90509250929050565b803561ffff8116811461104957600080fd5b6000806000606084860312156110b757600080fd5b6110c084611032565b92506110ce60208501611032565b91506110dc60408501611090565b90509250925092565b634e487b7160e01b600052602160045260246000fd5b6003811061110b5761110b6110e5565b9052565b6020810161111d82846110fb565b92915050565b80356003811061104957600080fd5b634e487b7160e01b600052604160045260246000fd5b6040516080810167ffffffffffffffff8111828210171561116b5761116b611132565b60405290565b604051610100810167ffffffffffffffff8111828210171561116b5761116b611132565b600061016082840312156111a857600080fd5b6111b0611148565b8235815290506111c260208301611032565b602082015260408281013590820152607f820183136111e057600080fd5b6111e8611171565b806101608401858111156111fb57600080fd5b606085015b81811015611218578035845260209384019301611200565b505060608301525092915050565b6000806000806101c0858703121561123d57600080fd5b61124685611123565b935061125460208601611090565b925061126260408601611032565b91506112718660608701611195565b905092959194509250565b60008060008060006101c0868803121561129557600080fd5b61129e86611032565b9450602086013567ffffffffffffffff8111156112ba57600080fd5b8601601f810188136112cb57600080fd5b803567ffffffffffffffff8111156112e257600080fd5b8860208284010111156112f457600080fd5b6020919091019450925061130a6040870161104e565b91506113198760608801611195565b90509295509295909350565b60028110611335576113356110e5565b50565b60005b8381101561135357818101518382015260200161133b565b50506000910152565b60008151808452611374816020860160208601611338565b601f01601f19169290920160200192915050565b80516001600160a01b0316825260208101516000906113a681611325565b806020850152506040820151606060408501526113c6606085018261135c565b949350505050565b6020815260006113e16020830184611388565b9392505050565b600080604083850312156113fb57600080fd5b61140483611032565b915061108760208401611090565b6000806040838503121561142557600080fd5b61142e83611032565b946020939093013593505050565b6001600160a01b038416815261145183611325565b82602082015260606040820152600061146d606083018461135c565b95945050505050565b60008060006060848603121561148b57600080fd5b61149484611032565b92506114a260208501611090565b91506110dc60408501611123565b600080604083850312156114c357600080fd5b6114cc83611090565b915061108760208401611032565b6000602082840312156114ec57600080fd5b6113e182611032565b6000602082016020835280845180835260408501915060408160051b86010192506020860160005b8281101561154e57603f19878603018452611539858351611388565b9450602093840193919091019060010161151d565b50929695505050505050565b6000806040838503121561156d57600080fd5b6114cc83611032565b6000806040838503121561158957600080fd5b61159283611032565b915061108760208401611123565b602081016115ad83611325565b91905290565b60006101a08201905087825286602083015285604083015284606083015283608083015260a082018360005b60088110156115fe5781518352602092830192909101906001016115df565b505050979650505050505050565b634e487b7160e01b600052601160045260246000fd5b600064ffffffffff821664ffffffffff81036116405761164061160c565b60010192915050565b600063ffffffff821663ffffffff81036116405761164061160c565b63ffffffff818116838216019081111561111d5761111d61160c565b63ffffffff81811683821602908116908181146116a0576116a061160c565b5092915050565b600063ffffffff8316806116cb57634e487b7160e01b600052601260045260246000fd5b8063ffffffff84160491505092915050565b61ffff84168152606081016116f560208301856110fb565b826040830152949350505050565b600181811c9082168061171757607f821691505b60208210810361173757634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111561178757806000526020600020601f840160051c810160208510156117645750805b601f840160051c820191505b818110156117845760008155600101611770565b50505b505050565b815167ffffffffffffffff8111156117a6576117a6611132565b6117ba816117b48454611703565b8461173d565b6020601f8211600181146117ee57600083156117d65750848201515b600019600385901b1c1916600184901b178455611784565b600084815260208120601f198516915b8281101561181e57878501518255602094850194600190920191016117fe565b508482101561183c5786840151600019600387901b60f8161c191681555b50505050600190811b01905550565b600061ffff821661ffff81036116405761164061160c565b8281526040602082015260006113c66040830184611388565b634e487b7160e01b600052603260045260246000fd5b82815260406020820181905282546001600160a01b0381169183019190915260009060a01c60ff166118c381611325565b806060840152506001830160606080840152600081546118e281611703565b8060a08701526001821660008114611901576001811461191d57611951565b60ff19831660c088015260c082151560051b8801019350611951565b84600052602060002060005b8381101561194857815489820160c00152600190910190602001611929565b880160c0019450505b5091979650505050505050565b60008251611970818460208701611338565b919091019291505056fea264697066735822122093ae35dbca1992ebb920e7bed5c91a60b32d7cfb5d740a069780204733978c4264736f6c634300081a00330000000000000000000000000000000000000000000000000000000000000001000000000000000000000000163b09b4fe21177c455d850bd815b6d58373243200000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000000000000002c6170705f73746167696e675f36346231386364663430353834383633376536666362393362363065383539370000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b6372656174652d6e6f7465000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b6372656174652d766f7465000000000000000000000000000000000000000000", - "nonce": "0x7", + "input": "0x60e0604052600160c05234801561001557600080fd5b50604051611dbc380380611dbc833981016040819052610034916101f2565b600080546001600160a81b031916861515610100600160a81b031916176101006001600160a01b038716021790556040516100a2906100909061007b9086906020016102b1565b60408051601f198184030181529190526100de565b8360405160200161007b9291906102cd565b6080526040516100d0906100be9061007b9086906020016102b1565b8260405160200161007b9291906102cd565b60a052506102f39350505050565b60006008826040516020016100f391906102b1565b60408051601f198184030181529190528051602090910120901c92915050565b80516001600160a01b038116811461012a57600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b60005b83811015610160578181015183820152602001610148565b50506000910152565b600082601f83011261017a57600080fd5b81516001600160401b038111156101935761019361012f565b604051601f8201601f19908116603f011681016001600160401b03811182821017156101c1576101c161012f565b6040528181528382016020018510156101d957600080fd5b6101ea826020830160208701610145565b949350505050565b600080600080600060a0868803121561020a57600080fd5b8551801515811461021a57600080fd5b945061022860208701610113565b60408701519094506001600160401b0381111561024457600080fd5b61025088828901610169565b606088015190945090506001600160401b0381111561026e57600080fd5b61027a88828901610169565b608088015190935090506001600160401b0381111561029857600080fd5b6102a488828901610169565b9150509295509295909350565b600082516102c3818460208701610145565b9190910192915050565b828152600082516102e5816020850160208701610145565b919091016020019392505050565b60805160a05160c051611a9d61031f6000396000505060006104dd015260006109d60152611a9d6000f3fe6080604052600436106100e85760003560e01c8063c70e012c1161008a578063da239bf111610059578063da239bf114610327578063f4ff0c681461033c578063f559b79b14610377578063f9eed6ab146103cc57600080fd5b8063c70e012c1461025e578063cead5f7a1461028d578063d1d368e7146102e6578063d306794d146102f957600080fd5b80635f85896c116100c65780635f85896c146101a45780636ad17676146101c65780637f889652146101f3578063a5aa50651461024457600080fd5b8063223094e9146100ed578063256e025a146101415780633ddbfa0a14610156575b600080fd5b3480156100f957600080fd5b5061012961010836600461112e565b600560209081526000928352604080842090915290825290205461ffff1681565b60405161ffff90911681526020015b60405180910390f35b34801561014d57600080fd5b50610129602881565b34801561016257600080fd5b50610197610171366004611173565b600860209081526000938452604080852082529284528284209052825290205460ff1681565b60405161013891906111e0565b3480156101b057600080fd5b506101c46101bf3660046112f7565b610401565b005b3480156101d257600080fd5b506101e66101e136600461134d565b610907565b604051610138919061149f565b3480156101ff57600080fd5b5061023461020e366004611173565b600260209081526000938452604080852082529284528284209052825290205460ff1681565b6040519015158152602001610138565b34801561025057600080fd5b506000546102349060ff1681565b34801561026a57600080fd5b5061027e6102793660046114b9565b610c94565b604051610138939291906114e3565b34801561029957600080fd5b506102d16102a836600461151d565b600660209081526000938452604080852082529284528284209052825290205463ffffffff1681565b60405163ffffffff9091168152602001610138565b6102346102f4366004611557565b610d6e565b34801561030557600080fd5b50610319610314366004611581565b610ec4565b60405161013892919061159c565b34801561033357600080fd5b50610129600a81565b34801561034857600080fd5b5061023461035736600461164e565b600160209081526000928352604080842090915290825290205460ff1681565b34801561038357600080fd5b506103b661039236600461166a565b600760209081526000928352604080842090915290825290205464ffffffffff1681565b60405164ffffffffff9091168152602001610138565b3480156103d857600080fd5b506103ec6103e73660046114b9565b61108f565b60408051928352901515602083015201610138565b3360009081526002602090815260408083206001600160a01b0386168452825280832061ffff8716845290915290205460ff161561045e5760016040516371709fb960e11b81526004016104559190611694565b60405180910390fd5b60005460ff161561055257600060019054906101000a90046001600160a01b03166001600160a01b031663354ca12082600001516104d684602001516040516020016104c2919060609190911b6bffffffffffffffffffffffff1916815260140190565b6040516020818303038152906040526110ce565b84604001517f000000000000000000000000000000000000000000000000000000000000000086606001516040518663ffffffff1660e01b81526004016105219594939291906116a7565b60006040518083038186803b15801561053957600080fd5b505afa15801561054d573d6000803e3d6000fd5b505050505b33600090815260076020526040812090856002811115610574576105746111b6565b6002811115610585576105856111b6565b815260208101919091526040016000908120805464ffffffffff16916105aa8361170f565b825464ffffffffff9182166101009390930a9283029190920219909116179055503360009081526008602090815260408083206001600160a01b0386168452825280832061ffff871684529091529020805485919060ff19166001836002811115610617576106176111b6565b02179055506001600160a01b038216600090815260066020908152604080832061ffff87168452909152812090856002811115610656576106566111b6565b6002811115610667576106676111b6565b815260208101919091526040016000908120805463ffffffff169161068b83611736565b82546101009290920a63ffffffff8181021990931691831602179091556001600160a01b038416600090815260066020908152604080832061ffff89168452825280832060018452909152808220546002835281832054838052918320549294508316926106fd929181169116611752565b6107079190611752565b9050600063ffffffff8216156107bd576001600160a01b038416600090815260066020908152604080832061ffff89168452825280832060028452909152902054829061075b9063ffffffff16602861176e565b6001600160a01b038616600090815260066020908152604080832061ffff8b168452825280832083805290915290205461079c9063ffffffff16605061176e565b6107a69190611752565b6107b09190611794565b63ffffffff1690506107c1565b5060005b60408051808201909152600060208201528181526028821180156107eb5750600a8363ffffffff16115b156107fc576001602082015261082c565b8060200151801561080d5750600a82105b801561081f5750600a8363ffffffff16115b1561082c57600060208201525b6001600160a01b0385166000908152600460205260409020805482919061ffff891690811061085d5761085d6117ca565b6000918252602080832084516002938402909101908155938101516001948501805491151560ff199283161790553380855292825260408085206001600160a01b038c1680875290845281862061ffff8e16875290935293849020805490911690941790935590517fc6c17ac9b5234cac54c97de00eef6ce25bdbb704c801bfe650017e716c328e52906108f6908a908c9088906117e0565b60405180910390a350505050505050565b604080516060808201835260008083526020830152918101919091523360009081526001602090815260408083206001600160a01b038a16845290915290205460ff161561096b5760006040516371709fb960e11b81526004016104559190611694565b60005460ff1615610a4b57600060019054906101000a90046001600160a01b03166001600160a01b031663354ca12083600001516109cf85602001516040516020016104c2919060609190911b6bffffffffffffffffffffffff1916815260140190565b85604001517f000000000000000000000000000000000000000000000000000000000000000087606001516040518663ffffffff1660e01b8152600401610a1a9594939291906116a7565b60006040518083038186803b158015610a3257600080fd5b505afa158015610a46573d6000803e3d6000fd5b505050505b6040518060600160405280336001600160a01b03168152602001846001811115610a7757610a776111b6565b815260200186868080601f016020809104026020016040519081016040528093929190818152602001838380828437600092018290525093909452505060408051808201825282815260208082018490526001600160a01b03808d168552600382529284208054600181810183559186529482902087516002909602018054959094166001600160a01b0319861681178555918701519697509195879550929384926001600160a81b031990911690911790600160a01b908490811115610b4057610b406111b6565b021790555060408201516001820190610b59908261188f565b5050506001600160a01b0387166000818152600460209081526040808320805460018082018355918552838520875160029092020190815586840151908201805460ff191691151591909117905593835260059091528120918690811115610bc357610bc36111b6565b6001811115610bd457610bd46111b6565b815260208101919091526040016000908120805461ffff1691610bf68361194e565b825461ffff9182166101009390930a9283029190920219909116179055503360008181526001602081815260408084206001600160a01b038d16808652908352818520805460ff19169094179093556003909152918290205491519092917f856b6fde5187880a03fdf824b79b5521ccc9396b3a4fb07be2693ad7035c02f891610c8291908790611966565b60405180910390a35095945050505050565b60036020528160005260406000208181548110610cb057600080fd5b6000918252602090912060029091020180546001820180546001600160a01b0383169550600160a01b90920460ff16935090610ceb90611806565b80601f0160208091040260200160405190810160405280929190818152602001828054610d1790611806565b8015610d645780601f10610d3957610100808354040283529160200191610d64565b820191906000526020600020905b815481529060010190602001808311610d4757829003601f168201915b5050505050905083565b6001600160a01b0381166000908152600360205260408120805461ffff8516908110610d9c57610d9c6117ca565b600091825260208220600290910201546040516001600160a01b039091169134919081818185875af1925050503d8060008114610df5576040519150601f19603f3d011682016040523d82523d6000602084013e610dfa565b606091505b50506001600160a01b03831660008181526003602052604090208054929350909161ffff8616908110610e2f57610e2f6117ca565b600091825260208083206002909202909101546001600160a01b038681168452600390925260409092208054919092169133917f9728d3b4ce6090c2419194a16313c30e5c8d99790e9e21140e5ee1e2ebde6dfa91349161ffff8a16908110610e9a57610e9a6117ca565b9060005260206000209060020201604051610eb692919061197f565b60405180910390a492915050565b6001600160a01b03811660009081526003602090815260408083208054825181850281018501909352808352606094859484015b8282101561100457600084815260209081902060408051606081019091526002850290910180546001600160a01b03811683529192909190830190600160a01b900460ff166001811115610f4e57610f4e6111b6565b6001811115610f5f57610f5f6111b6565b8152602001600182018054610f7390611806565b80601f0160208091040260200160405190810160405280929190818152602001828054610f9f90611806565b8015610fec5780601f10610fc157610100808354040283529160200191610fec565b820191906000526020600020905b815481529060010190602001808311610fcf57829003601f168201915b50505050508152505081526020019060010190610ef8565b5050506001600160a01b038516600090815260046020908152604080832080548251818502810185019093528083529597509094909350919084015b8282101561108457600084815260209081902060408051808201909152600285029091018054825260019081015460ff161515828401529083529092019101611040565b505050509050915091565b600460205281600052604060002081815481106110ab57600080fd5b60009182526020909120600290910201805460019091015490925060ff16905082565b60006008826040516020016110e39190611a4b565b60408051601f198184030181529190528051602090910120901c92915050565b80356001600160a01b038116811461111a57600080fd5b919050565b80356002811061111a57600080fd5b6000806040838503121561114157600080fd5b61114a83611103565b91506111586020840161111f565b90509250929050565b803561ffff8116811461111a57600080fd5b60008060006060848603121561118857600080fd5b61119184611103565b925061119f60208501611103565b91506111ad60408501611161565b90509250925092565b634e487b7160e01b600052602160045260246000fd5b600381106111dc576111dc6111b6565b9052565b602081016111ee82846111cc565b92915050565b80356003811061111a57600080fd5b634e487b7160e01b600052604160045260246000fd5b6040516080810167ffffffffffffffff8111828210171561123c5761123c611203565b60405290565b604051610100810167ffffffffffffffff8111828210171561123c5761123c611203565b6000610160828403121561127957600080fd5b611281611219565b82358152905061129360208301611103565b602082015260408281013590820152607f820183136112b157600080fd5b6112b9611242565b806101608401858111156112cc57600080fd5b606085015b818110156112e95780358452602093840193016112d1565b505060608301525092915050565b6000806000806101c0858703121561130e57600080fd5b611317856111f4565b935061132560208601611161565b925061133360408601611103565b91506113428660608701611266565b905092959194509250565b60008060008060006101c0868803121561136657600080fd5b61136f86611103565b9450602086013567ffffffffffffffff81111561138b57600080fd5b8601601f8101881361139c57600080fd5b803567ffffffffffffffff8111156113b357600080fd5b8860208284010111156113c557600080fd5b602091909101945092506113db6040870161111f565b91506113ea8760608801611266565b90509295509295909350565b60028110611406576114066111b6565b50565b60005b8381101561142457818101518382015260200161140c565b50506000910152565b60008151808452611445816020860160208601611409565b601f01601f19169290920160200192915050565b80516001600160a01b031682526020810151600090611477816113f6565b80602085015250604082015160606040850152611497606085018261142d565b949350505050565b6020815260006114b26020830184611459565b9392505050565b600080604083850312156114cc57600080fd5b6114d583611103565b946020939093013593505050565b6001600160a01b03841681526114f8836113f6565b826020820152606060408201526000611514606083018461142d565b95945050505050565b60008060006060848603121561153257600080fd5b61153b84611103565b925061154960208501611161565b91506111ad604085016111f4565b6000806040838503121561156a57600080fd5b61157383611161565b915061115860208401611103565b60006020828403121561159357600080fd5b6114b282611103565b6000604082016040835280855180835260608501915060608160051b86010192506020870160005b828110156115f557605f198786030184526115e0858351611459565b945060209384019391909101906001016115c4565b50505050828103602084015280845180835260208301915060208601925060005b818110156116425783518051845260209081015115158185015290930192604090920191600101611616565b50909695505050505050565b6000806040838503121561166157600080fd5b61157383611103565b6000806040838503121561167d57600080fd5b61168683611103565b9150611158602084016111f4565b602081016116a1836113f6565b91905290565b600061018082019050868252856020830152846040830152836060830152608082018360005b60088110156116ec5781518352602092830192909101906001016116cd565b5050509695505050505050565b634e487b7160e01b600052601160045260246000fd5b600064ffffffffff821664ffffffffff810361172d5761172d6116f9565b60010192915050565b600063ffffffff821663ffffffff810361172d5761172d6116f9565b63ffffffff81811683821601908111156111ee576111ee6116f9565b63ffffffff818116838216029081169081811461178d5761178d6116f9565b5092915050565b600063ffffffff8316806117b857634e487b7160e01b600052601260045260246000fd5b8063ffffffff84160491505092915050565b634e487b7160e01b600052603260045260246000fd5b61ffff84168152606081016117f860208301856111cc565b826040830152949350505050565b600181811c9082168061181a57607f821691505b60208210810361183a57634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111561188a57806000526020600020601f840160051c810160208510156118675750805b601f840160051c820191505b818110156118875760008155600101611873565b50505b505050565b815167ffffffffffffffff8111156118a9576118a9611203565b6118bd816118b78454611806565b84611840565b6020601f8211600181146118f157600083156118d95750848201515b600019600385901b1c1916600184901b178455611887565b600084815260208120601f198516915b828110156119215787850151825560209485019460019092019101611901565b508482101561193f5786840151600019600387901b60f8161c191681555b50505050600190811b01905550565b600061ffff821661ffff810361172d5761172d6116f9565b8281526040602082015260006114976040830184611459565b82815260406020820181905282546001600160a01b0381169183019190915260009060a01c60ff166119b0816113f6565b806060840152506001830160606080840152600081546119cf81611806565b8060a087015260018216600081146119ee5760018114611a0a57611a3e565b60ff19831660c088015260c082151560051b8801019350611a3e565b84600052602060002060005b83811015611a3557815489820160c00152600190910190602001611a16565b880160c0019450505b5091979650505050505050565b60008251611a5d818460208701611409565b919091019291505056fea2646970667358221220ae0fed7319536c41767329cc79d8f3a475d7a7ec883c1d4a9171fbe8c68acab564736f6c634300081a00330000000000000000000000000000000000000000000000000000000000000001000000000000000000000000163b09b4fe21177c455d850bd815b6d58373243200000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000000000000002c6170705f73746167696e675f36346231386364663430353834383633376536666362393362363065383539370000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b6372656174652d6e6f7465000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b6372656174652d766f7465000000000000000000000000000000000000000000", + "nonce": "0x8", "chainId": "0x14a34" }, "additionalContracts": [], @@ -28,31 +28,31 @@ "receipts": [ { "status": "0x1", - "cumulativeGasUsed": "0x1f2880", + "cumulativeGasUsed": "0xea7c99", "logs": [], "logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", "type": "0x0", - "transactionHash": "0xfcbdae3f42a7e3938354a51a88ae5dc9ba7e9a9e6f1813bb56dd2bd7ab2e30e1", - "transactionIndex": "0x5", - "blockHash": "0x4d21186425ce720cf5449e760d8867b7860e53eff13b659367e3d0baea099bff", - "blockNumber": "0xbf9d26", - "gasUsed": "0x1719c1", - "effectiveGasPrice": "0xf434f", + "transactionHash": "0xfe4db7a69c665667942b84be16d5e08d0479a5f1964023f05eec3af87c0bdaa6", + "transactionIndex": "0x7", + "blockHash": "0x2bf37135fa42a8e15539eb7f952160b107c6e5845ba44cef9873525a5dbcf10f", + "blockNumber": "0xbfa413", + "gasUsed": "0x17e41f", + "effectiveGasPrice": "0xf434a", "from": "0x199d51a2be04c65f325908911430e6ff79a15ce3", "to": null, - "contractAddress": "0x5c0bda6a6d287dfdc058b86bdafc7509db74e111", + "contractAddress": "0xe77fe9e644730ba9749da926ced8346aa80cbb29", "l1BaseFeeScalar": "0x44d", "l1BlobBaseFee": "0x1", "l1BlobBaseFeeScalar": "0xa118b", - "l1Fee": "0x93b62502de", - "l1GasPrice": "0x1f517dfd9", - "l1GasUsed": "0x10bbc" + "l1Fee": "0x146fc2e5e6c", + "l1GasPrice": "0x42c5e073a", + "l1GasUsed": "0x115fb" } ], "libraries": [], "pending": [], "returns": {}, - "timestamp": 1720883631, + "timestamp": 1720887069, "chain": 84532, - "commit": "f6a769b" + "commit": "7f75a22" } \ No newline at end of file diff --git a/packages/nextjs/app/create/page.tsx b/packages/nextjs/app/create/page.tsx index 6251cdf..4408f7f 100644 --- a/packages/nextjs/app/create/page.tsx +++ b/packages/nextjs/app/create/page.tsx @@ -109,7 +109,7 @@ const CreateNote: NextPage = () => { app_id={process.env.NEXT_PUBLIC_APP_ID as `app_${string}`} action={process.env.NEXT_PUBLIC_ACTION_CREATE as string} - signal={address} // proof will only verify if the signal is unchanged, this prevents tampering + signal={connectedAccount} // proof will only verify if the signal is unchanged, this prevents tampering onSuccess={setProof} // use onSuccess to call your smart contract // no use for handleVerify, so it is removed // use default verification_level (orb-only), as device credentials are not supported on-chain diff --git a/packages/nextjs/contracts/deployedContracts.ts b/packages/nextjs/contracts/deployedContracts.ts index cc40f7a..d105981 100644 --- a/packages/nextjs/contracts/deployedContracts.ts +++ b/packages/nextjs/contracts/deployedContracts.ts @@ -259,12 +259,29 @@ const deployedContracts = { }, ], }, + { + name: "_scores", + type: "tuple[]", + internalType: "struct CNDataTypes.NoteScore[]", + components: [ + { + name: "score", + type: "uint256", + internalType: "uint256", + }, + { + name: "consideredHelpful", + type: "bool", + internalType: "bool", + }, + ], + }, ], stateMutability: "view", }, { type: "function", - name: "scoreInfoOf", + name: "scoresOf", inputs: [ { name: "contractAddress", @@ -272,9 +289,9 @@ const deployedContracts = { internalType: "address", }, { - name: "index", - type: "uint16", - internalType: "uint16", + name: "", + type: "uint256", + internalType: "uint256", }, ], outputs: [ @@ -892,12 +909,29 @@ const deployedContracts = { }, ], }, + { + name: "_scores", + type: "tuple[]", + internalType: "struct CNDataTypes.NoteScore[]", + components: [ + { + name: "score", + type: "uint256", + internalType: "uint256", + }, + { + name: "consideredHelpful", + type: "bool", + internalType: "bool", + }, + ], + }, ], stateMutability: "view", }, { type: "function", - name: "scoreInfoOf", + name: "scoresOf", inputs: [ { name: "contractAddress", @@ -905,9 +939,9 @@ const deployedContracts = { internalType: "address", }, { - name: "index", - type: "uint16", - internalType: "uint16", + name: "", + type: "uint256", + internalType: "uint256", }, ], outputs: [ @@ -1525,12 +1559,29 @@ const deployedContracts = { }, ], }, + { + name: "_scores", + type: "tuple[]", + internalType: "struct CNDataTypes.NoteScore[]", + components: [ + { + name: "score", + type: "uint256", + internalType: "uint256", + }, + { + name: "consideredHelpful", + type: "bool", + internalType: "bool", + }, + ], + }, ], stateMutability: "view", }, { type: "function", - name: "scoreInfoOf", + name: "scoresOf", inputs: [ { name: "contractAddress", @@ -1538,9 +1589,9 @@ const deployedContracts = { internalType: "address", }, { - name: "index", - type: "uint16", - internalType: "uint16", + name: "", + type: "uint256", + internalType: "uint256", }, ], outputs: [ @@ -2158,12 +2209,29 @@ const deployedContracts = { }, ], }, + { + name: "_scores", + type: "tuple[]", + internalType: "struct CNDataTypes.NoteScore[]", + components: [ + { + name: "score", + type: "uint256", + internalType: "uint256", + }, + { + name: "consideredHelpful", + type: "bool", + internalType: "bool", + }, + ], + }, ], stateMutability: "view", }, { type: "function", - name: "scoreInfoOf", + name: "scoresOf", inputs: [ { name: "contractAddress", @@ -2171,9 +2239,9 @@ const deployedContracts = { internalType: "address", }, { - name: "index", - type: "uint16", - internalType: "uint16", + name: "", + type: "uint256", + internalType: "uint256", }, ], outputs: [ @@ -2539,7 +2607,7 @@ const deployedContracts = { }, 84532: { Notes: { - address: "0x5c0bda6a6d287dfdc058b86bdafc7509db74e111", + address: "0xe77fe9e644730ba9749da926ced8346aa80cbb29", abi: [ { type: "constructor", @@ -2791,12 +2859,29 @@ const deployedContracts = { }, ], }, + { + name: "_scores", + type: "tuple[]", + internalType: "struct CNDataTypes.NoteScore[]", + components: [ + { + name: "score", + type: "uint256", + internalType: "uint256", + }, + { + name: "consideredHelpful", + type: "bool", + internalType: "bool", + }, + ], + }, ], stateMutability: "view", }, { type: "function", - name: "scoreInfoOf", + name: "scoresOf", inputs: [ { name: "contractAddress", @@ -2804,9 +2889,9 @@ const deployedContracts = { internalType: "address", }, { - name: "index", - type: "uint16", - internalType: "uint16", + name: "", + type: "uint256", + internalType: "uint256", }, ], outputs: [ @@ -3424,12 +3509,29 @@ const deployedContracts = { }, ], }, + { + name: "_scores", + type: "tuple[]", + internalType: "struct CNDataTypes.NoteScore[]", + components: [ + { + name: "score", + type: "uint256", + internalType: "uint256", + }, + { + name: "consideredHelpful", + type: "bool", + internalType: "bool", + }, + ], + }, ], stateMutability: "view", }, { type: "function", - name: "scoreInfoOf", + name: "scoresOf", inputs: [ { name: "contractAddress", @@ -3437,9 +3539,9 @@ const deployedContracts = { internalType: "address", }, { - name: "index", - type: "uint16", - internalType: "uint16", + name: "", + type: "uint256", + internalType: "uint256", }, ], outputs: [ @@ -3805,7 +3907,7 @@ const deployedContracts = { }, 534351: { Notes: { - address: "0x8f8184e86574e02d283b39c662e9b6dc9209b475", + address: "0xad0324c6b74d90666dea9ab290646ebf945fa99c", abi: [ { type: "constructor", @@ -4057,12 +4159,29 @@ const deployedContracts = { }, ], }, + { + name: "_scores", + type: "tuple[]", + internalType: "struct CNDataTypes.NoteScore[]", + components: [ + { + name: "score", + type: "uint256", + internalType: "uint256", + }, + { + name: "consideredHelpful", + type: "bool", + internalType: "bool", + }, + ], + }, ], stateMutability: "view", }, { type: "function", - name: "scoreInfoOf", + name: "scoresOf", inputs: [ { name: "contractAddress", @@ -4070,9 +4189,9 @@ const deployedContracts = { internalType: "address", }, { - name: "index", - type: "uint16", - internalType: "uint16", + name: "", + type: "uint256", + internalType: "uint256", }, ], outputs: [ @@ -4690,12 +4809,29 @@ const deployedContracts = { }, ], }, + { + name: "_scores", + type: "tuple[]", + internalType: "struct CNDataTypes.NoteScore[]", + components: [ + { + name: "score", + type: "uint256", + internalType: "uint256", + }, + { + name: "consideredHelpful", + type: "bool", + internalType: "bool", + }, + ], + }, ], stateMutability: "view", }, { type: "function", - name: "scoreInfoOf", + name: "scoresOf", inputs: [ { name: "contractAddress", @@ -4703,9 +4839,9 @@ const deployedContracts = { internalType: "address", }, { - name: "index", - type: "uint16", - internalType: "uint16", + name: "", + type: "uint256", + internalType: "uint256", }, ], outputs: [ @@ -5323,12 +5459,29 @@ const deployedContracts = { }, ], }, + { + name: "_scores", + type: "tuple[]", + internalType: "struct CNDataTypes.NoteScore[]", + components: [ + { + name: "score", + type: "uint256", + internalType: "uint256", + }, + { + name: "consideredHelpful", + type: "bool", + internalType: "bool", + }, + ], + }, ], stateMutability: "view", }, { type: "function", - name: "scoreInfoOf", + name: "scoresOf", inputs: [ { name: "contractAddress", @@ -5336,9 +5489,9 @@ const deployedContracts = { internalType: "address", }, { - name: "index", - type: "uint16", - internalType: "uint16", + name: "", + type: "uint256", + internalType: "uint256", }, ], outputs: [