github.com/energicryptocurrency/go-energi@v1.1.7/energi/abi/CheckpointRegistryV3.go (about) 1 // Code generated - DO NOT EDIT. 2 // This file is a generated binding and any manual changes will be lost. 3 4 package abi 5 6 import ( 7 "math/big" 8 "strings" 9 10 ethereum "github.com/energicryptocurrency/go-energi" 11 "github.com/energicryptocurrency/go-energi/accounts/abi" 12 "github.com/energicryptocurrency/go-energi/accounts/abi/bind" 13 "github.com/energicryptocurrency/go-energi/common" 14 "github.com/energicryptocurrency/go-energi/core/types" 15 "github.com/energicryptocurrency/go-energi/event" 16 ) 17 18 // Reference imports to suppress errors if they are not otherwise used. 19 var ( 20 _ = big.NewInt 21 _ = strings.NewReader 22 _ = ethereum.NotFound 23 _ = abi.U256 24 _ = bind.Bind 25 _ = common.Big1 26 _ = types.BloomLookup 27 _ = event.NewSubscription 28 ) 29 30 // CheckpointRegistryV3ABI is the input ABI used to generate the binding from. 31 const CheckpointRegistryV3ABI = "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_proxy\",\"type\":\"address\"},{\"internalType\":\"contractIGovernedProxy\",\"name\":\"_mnregistry_proxy\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_cpp_signer\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"number\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"hash\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"contractICheckpoint\",\"name\":\"checkpoint\",\"type\":\"address\"}],\"name\":\"Checkpoint\",\"type\":\"event\"},{\"payable\":true,\"stateMutability\":\"payable\",\"type\":\"fallback\"},{\"constant\":true,\"inputs\":[],\"name\":\"CPP_signer\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"checkpoints\",\"outputs\":[{\"internalType\":\"contractICheckpoint[]\",\"name\":\"\",\"type\":\"address[]\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"contractIGovernedContract\",\"name\":\"_newImpl\",\"type\":\"address\"}],\"name\":\"destroy\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"contractIGovernedContract\",\"name\":\"_oldImpl\",\"type\":\"address\"}],\"name\":\"migrate\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"mnregistry_proxy\",\"outputs\":[{\"internalType\":\"contractIGovernedProxy\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"number\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"hash\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"name\":\"propose\",\"outputs\":[{\"internalType\":\"contractICheckpoint\",\"name\":\"checkpoint\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"proxy\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"number\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"hash\",\"type\":\"bytes32\"}],\"name\":\"remove\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"deleted\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"contractICheckpoint\",\"name\":\"checkpoint\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"name\":\"sign\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"number\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"hash\",\"type\":\"bytes32\"}],\"name\":\"signatureBase\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"sigbase\",\"type\":\"bytes32\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"v2storage\",\"outputs\":[{\"internalType\":\"contractStorageCheckpointRegistryV2\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"}]" 32 33 // CheckpointRegistryV3Bin is the compiled bytecode used for deploying new contracts. 34 const CheckpointRegistryV3Bin = `60806040523480156200001157600080fd5b506040516200332f3803806200332f8339810160408190526200003491620000eb565b600080546001600160a01b0319166001600160a01b0385161790556040516200005d90620000bd565b604051809103906000f0801580156200007a573d6000803e3d6000fd5b50600180546001600160a01b03199081166001600160a01b039384161790915560028054821694831694909417909355600380549093169116179055506200018a565b610c4680620026e983390190565b8051620000d88162000165565b92915050565b8051620000d8816200017f565b6000806000606084860312156200010157600080fd5b60006200010f8686620000cb565b93505060206200012286828701620000de565b92505060406200013586828701620000cb565b9150509250925092565b6000620000d88262000159565b6000620000d8826200013f565b6001600160a01b031690565b62000170816200013f565b81146200017c57600080fd5b50565b62000170816200014c565b61254f806200019a6000396000f3fe608060405260043610620000cd5760003560e01c8063851f2209116200007f578063d59f17581162000055578063d59f1758146200025f578063ec5568891462000286578063fe7334e8146200029e57620000cd565b8063851f220914620001e1578063c20fa2ee1462000215578063ce5494bb146200023a57620000cd565b806351fae95911620000b557806351fae959146200016e5780635a48c0b0146200019357806378d0970f14620001ba57620000cd565b8062f55d9d146200010a57806328b0558b1462000131575b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620001019062001112565b60405180910390fd5b3480156200011757600080fd5b506200012f6200012936600462000c77565b620002b6565b005b3480156200013e57600080fd5b50620001566200015036600462000bdc565b6200032e565b60405162000165919062000fc3565b60405180910390f35b3480156200017b57600080fd5b506200012f6200018d36600462000c1b565b6200045b565b348015620001a057600080fd5b50620001ab620004ea565b60405162000165919062000fb0565b348015620001c757600080fd5b50620001d2620005b9565b6040516200016591906200105c565b348015620001ee57600080fd5b50620002066200020036600462000bdc565b620005d5565b60405162000165919062000fd3565b3480156200022257600080fd5b50620001d26200023436600462000c98565b6200060a565b3480156200024757600080fd5b506200012f6200025936600462000c77565b620008eb565b3480156200026c57600080fd5b506200027762000948565b60405162000165919062000fa0565b3480156200029357600080fd5b506200027762000964565b348015620002ab57600080fd5b50620001d262000980565b60005473ffffffffffffffffffffffffffffffffffffffff1633146200030a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200010190620010dc565b62000315816200099c565b8073ffffffffffffffffffffffffffffffffffffffff16ff5b60035460009073ffffffffffffffffffffffffffffffffffffffff166200035462000a2b565b73ffffffffffffffffffffffffffffffffffffffff1614620003a4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200010190620010ca565b6001546040517f28b0558b00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff909116906328b0558b90620003fe908690869060040162001124565b602060405180830381600087803b1580156200041957600080fd5b505af11580156200042e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525062000454919081019062000bbb565b9392505050565b6040517f76cd7cbc00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8416906376cd7cbc90620004b1908590859060040162001048565b600060405180830381600087803b158015620004cc57600080fd5b505af1158015620004e1573d6000803e3d6000fd5b50505050505050565b600154604080517fd9592ead000000000000000000000000000000000000000000000000000000008152905160609273ffffffffffffffffffffffffffffffffffffffff169163d9592ead916004808301926000929190829003018186803b1580156200055657600080fd5b505afa1580156200056b573d6000803e3d6000fd5b505050506040513d6000823e601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0168201604052620005b3919081019062000b7a565b90505b90565b60015473ffffffffffffffffffffffffffffffffffffffff1681565b60008282604051602001620005ec92919062000f69565b60405160208183030381529060405280519060200120905092915050565b60035460009073ffffffffffffffffffffffffffffffffffffffff166200063062000a2b565b73ffffffffffffffffffffffffffffffffffffffff161462000680576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200010190620010ca565b60006200068e8686620005d5565b905060418314620006cd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620001019062001100565b600080620006de8587018762000bdc565b600354919350915073ffffffffffffffffffffffffffffffffffffffff16600184888860408181106200070d57fe5b6040805160008152602001908190526200073594939091013560f81c91508790879062001002565b6020604051602081039080840390855afa15801562000758573d6000803e3d6000fd5b5050506020604051035173ffffffffffffffffffffffffffffffffffffffff1614620007b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200010190620010ee565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168888858989604051620007e89062000a5d565b620007f9969594939291906200106c565b604051809103906000f08015801562000816573d6000803e3d6000fd5b506001546040517f0a3b0a4f00000000000000000000000000000000000000000000000000000000815291955073ffffffffffffffffffffffffffffffffffffffff1690630a3b0a4f90620008709087906004016200105c565b600060405180830381600087803b1580156200088b57600080fd5b505af1158015620008a0573d6000803e3d6000fd5b50505050877f7f582e7a234c68b135245365b0c69d608f9235392a1ef801b46f04ca5d6cdad48886604051620008d892919062000fe3565b60405180910390a2505050949350505050565b60005473ffffffffffffffffffffffffffffffffffffffff1633146200093f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200010190620010dc565b62000945815b50565b60035473ffffffffffffffffffffffffffffffffffffffff1681565b60005473ffffffffffffffffffffffffffffffffffffffff1681565b60025473ffffffffffffffffffffffffffffffffffffffff1681565b6001546040517f13af403500000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff909116906313af403590620009f49084906004016200105c565b600060405180830381600087803b15801562000a0f57600080fd5b505af115801562000a24573d6000803e3d6000fd5b5050505050565b6000805473ffffffffffffffffffffffffffffffffffffffff1633141562000a55575032620005b6565b5033620005b6565b6112c8806200124583390190565b600082601f83011262000a7d57600080fd5b815162000a9462000a8e826200116b565b62001143565b9150818183526020840193506020810190508385602084028201111562000aba57600080fd5b60005b8381101562000aea578162000ad3888262000b6d565b845250602092830192919091019060010162000abd565b5050505092915050565b805162000b018162001217565b92915050565b803562000b01816200122e565b60008083601f84011262000b2757600080fd5b50813567ffffffffffffffff81111562000b4057600080fd5b60208301915083600182028301111562000b5957600080fd5b9250929050565b803562000b018162001239565b805162000b018162001239565b60006020828403121562000b8d57600080fd5b815167ffffffffffffffff81111562000ba557600080fd5b62000bb38482850162000a6b565b949350505050565b60006020828403121562000bce57600080fd5b600062000bb3848462000af4565b6000806040838503121562000bf057600080fd5b600062000bfe858562000b07565b925050602062000c118582860162000b07565b9150509250929050565b60008060006040848603121562000c3157600080fd5b600062000c3f868662000b60565b935050602084013567ffffffffffffffff81111562000c5d57600080fd5b62000c6b8682870162000b14565b92509250509250925092565b60006020828403121562000c8a57600080fd5b600062000bb3848462000b60565b6000806000806060858703121562000caf57600080fd5b600062000cbd878762000b07565b945050602062000cd08782880162000b07565b935050604085013567ffffffffffffffff81111562000cee57600080fd5b62000cfc8782880162000b14565b95989497509550505050565b600062000d16838362000df1565b505060200190565b62000d2981620011a5565b82525050565b600062000d3c8262001193565b62000d48818562001197565b935062000d55836200118d565b8060005b8381101562000d8957815162000d70888262000d08565b975062000d7d836200118d565b92505060010162000d59565b509495945050505050565b62000d2981620011b2565b62000d2981620005b6565b62000d2962000db982620005b6565b620005b6565b600062000dcd838562001197565b935062000ddc838584620011e3565b62000de783620011ef565b9093019392505050565b62000d2981620011b7565b600062000e0b600f8362001197565b7f4e6f7420637070207369676e6572210000000000000000000000000000000000815260200192915050565b600062000e4660098362001197565b7f4e6f742070726f78790000000000000000000000000000000000000000000000815260200192915050565b600062000e81600e8362001197565b7f496e76616c6964207369676e6572000000000000000000000000000000000000815260200192915050565b600062000ebc60188362001197565b7f496e76616c6964207369676e6174757265206c656e6774680000000000000000815260200192915050565b600062000ef7602083620011a0565b7f7c7c456e6572676920426c6f636b636861696e20436865636b706f696e747c7c815260200192915050565b600062000f32600d8362001197565b7f4e6f7420737570706f7274656400000000000000000000000000000000000000815260200192915050565b62000d2981620011dd565b600062000f768262000ee8565b915062000f84828562000daa565b60208201915062000f96828462000daa565b5060200192915050565b6020810162000b01828462000d1e565b6020808252810162000454818462000d2f565b6020810162000b01828462000d94565b6020810162000b01828462000d9f565b6040810162000ff3828562000d9f565b62000454602083018462000df1565b6080810162001012828762000d9f565b62001021602083018662000f5e565b62001030604083018562000d9f565b6200103f606083018462000d9f565b95945050505050565b6020808252810162000bb381848662000dbf565b6020810162000b01828462000df1565b60a081016200107c828962000df1565b6200108b602083018862000d9f565b6200109a604083018762000d9f565b620010a9606083018662000d9f565b8181036080830152620010be81848662000dbf565b98975050505050505050565b6020808252810162000b018162000dfc565b6020808252810162000b018162000e37565b6020808252810162000b018162000e72565b6020808252810162000b018162000ead565b6020808252810162000b018162000f23565b6040810162001134828562000d9f565b62000454602083018462000d9f565b60405181810167ffffffffffffffff811182821017156200116357600080fd5b604052919050565b600067ffffffffffffffff8211156200118357600080fd5b5060209081020190565b60200190565b5190565b90815260200190565b919050565b600062000b0182620011c4565b151590565b600062000b0182620011a5565b73ffffffffffffffffffffffffffffffffffffffff1690565b60ff1690565b82818337506000910152565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01690565b6200122281620011b2565b81146200094557600080fd5b6200122281620005b6565b6200122281620011b756fe60806040523480156200001157600080fd5b50604051620012c8380380620012c8833981016040819052620000349162000310565b600080546001600160a01b0319166001600160a01b038716179055436001556002849055600383905560048290558051604114620000a9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620000a09062000445565b60405180910390fd5b60008082806020019051620000c29190810190620002d1565b91509150600060018585604081518110620000d957fe5b602001015160f81c60f81b60f81c858560405160008152602001604052604051620001089493929190620003ff565b6020604051602081039080840390855afa1580156200012b573d6000803e3d6000fd5b5050604051601f1901516006805460018101808355600092909252875192945090925062000183917ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d3f909101906020880190620001b0565b50506006546001600160a01b03909116600090815260056020526040902055506200053395505050505050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10620001f357805160ff191683800117855562000223565b8280016001018555821562000223579182015b828111156200022357825182559160200191906001019062000206565b506200023192915062000235565b5090565b6200025291905b808211156200023157600081556001016200023c565b90565b805162000262816200050e565b92915050565b600082601f8301126200027a57600080fd5b8151620002916200028b826200047e565b62000457565b91508082526020830160208301858383011115620002ae57600080fd5b620002bb838284620004db565b50505092915050565b8051620002628162000528565b60008060408385031215620002e557600080fd5b6000620002f3858562000255565b9250506020620003068582860162000255565b9150509250929050565b600080600080600060a086880312156200032957600080fd5b6000620003378888620002c4565b95505060206200034a8882890162000255565b94505060406200035d8882890162000255565b9350506060620003708882890162000255565b92505060808601516001600160401b038111156200038d57600080fd5b6200039b8882890162000268565b9150509295509295909350565b620003b38162000252565b82525050565b6000620003c8601883620004a6565b7f496e76616c6964207369676e6174757265206c656e6774680000000000000000815260200192915050565b620003b381620004d5565b608081016200040f8287620003a8565b6200041e6020830186620003f4565b6200042d6040830185620003a8565b6200043c6060830184620003a8565b95945050505050565b602080825281016200026281620003b9565b6040518181016001600160401b03811182821017156200047657600080fd5b604052919050565b60006001600160401b038211156200049557600080fd5b506020601f91909101601f19160190565b90815260200190565b60006200026282620004c9565b60006200026282620004af565b6001600160a01b031690565b60ff1690565b60005b83811015620004f8578181015183820152602001620004de565b8381111562000508576000848401525b50505050565b620005198162000252565b81146200052557600080fd5b50565b6200051981620004bc565b610d8580620005436000396000f3fe608060405234801561001057600080fd5b50600436106100725760003560e01c806376cd7cbc1161005057806376cd7cbc146100cc578063adfaa72e146100e1578063f27959c71461010157610072565b8063124321c4146100775780632bbe2c8814610095578063370158ea146100b5575b600080fd5b61007f610116565b60405161008c9190610b96565b60405180910390f35b6100a86100a336600461088b565b61011c565b60405161008c9190610be2565b6100bd61024f565b60405161008c93929190610c43565b6100df6100da366004610909565b61025d565b005b6100f46100ef36600461088b565b6105c0565b60405161008c9190610b88565b610109610610565b60405161008c9190610b77565b60045481565b73ffffffffffffffffffffffffffffffffffffffff811660009081526005602052604090205460609080610185576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161017c90610c23565b60405180910390fd5b6006600182038154811061019557fe5b600091825260209182902001805460408051601f60027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6101006001871615020190941693909304928301859004850281018501909152818152928301828280156102415780601f1061021657610100808354040283529160200191610241565b820191906000526020600020905b81548152906001019060200180831161022457829003601f168201915b50505050509150505b919050565b600254600354600154909192565b6105a060015443031061029c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161017c90610bf3565b604181146102d6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161017c90610c33565b6000806102e5838501856108cf565b9150915060006001600454868660408181106102fd57fe5b60408051600081526020019081905261032394939091013560f81c915087908790610ba4565b6020604051602081039080840390855afa158015610345573d6000803e3d6000fd5b5050604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0015173ffffffffffffffffffffffffffffffffffffffff81166000908152600560205291909120549092501590506103d0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161017c90610c03565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16638abf60776040518163ffffffff1660e01b815260040160206040518083038186803b15801561043957600080fd5b505afa15801561044d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250610471919081019061094b565b6040517f9f8a13d700000000000000000000000000000000000000000000000000000000815290915073ffffffffffffffffffffffffffffffffffffffff821690639f8a13d7906104c6908590600401610b69565b60206040518083038186803b1580156104de57600080fd5b505afa1580156104f2573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525061051691908101906108b1565b61054c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161017c90610c13565b600680546001810180835560009290925261058a907ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d3f018888610757565b505060065473ffffffffffffffffffffffffffffffffffffffff9092166000908152600560205260409020919091555050505050565b73ffffffffffffffffffffffffffffffffffffffff8116600090815260056020526040812054156105f35750600061024a565b6105a06001544303106106085750600061024a565b506001919050565b6006546040805182815260208084028201019091526060919081801561064a57816020015b60608152602001906001900390816106355790505b509150805b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81019015610752576006818154811061068557fe5b600091825260209182902001805460408051601f60027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6101006001871615020190941693909304928301859004850281018501909152818152928301828280156107315780601f1061070657610100808354040283529160200191610731565b820191906000526020600020905b81548152906001019060200180831161071457829003601f168201915b505050505083828151811061074257fe5b602002602001018190525061064f565b505090565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106107b6578280017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff008235161785556107e3565b828001600101855582156107e3579182015b828111156107e35782358255916020019190600101906107c8565b506107ef9291506107f3565b5090565b61080d91905b808211156107ef57600081556001016107f9565b90565b803561081b81610d10565b92915050565b805161081b81610d27565b803561081b81610d30565b60008083601f84011261084957600080fd5b50813567ffffffffffffffff81111561086157600080fd5b60208301915083600182028301111561087957600080fd5b9250929050565b805161081b81610d39565b60006020828403121561089d57600080fd5b60006108a98484610810565b949350505050565b6000602082840312156108c357600080fd5b60006108a98484610821565b600080604083850312156108e257600080fd5b60006108ee858561082c565b92505060206108ff8582860161082c565b9150509250929050565b6000806020838503121561091c57600080fd5b823567ffffffffffffffff81111561093357600080fd5b61093f85828601610837565b92509250509250929050565b60006020828403121561095d57600080fd5b60006108a98484610880565b60006109758383610a0b565b9392505050565b61098581610c7e565b82525050565b600061099682610c71565b6109a08185610c75565b9350836020820285016109b285610c6b565b8060005b858110156109ec57848403895281516109cf8582610969565b94506109da83610c6b565b60209a909a01999250506001016109b6565b5091979650505050505050565b61098581610c89565b6109858161080d565b6000610a1682610c71565b610a208185610c75565b9350610a30818560208601610cb8565b610a3981610ce8565b9093019392505050565b6000610a50601183610c75565b7f5369676e696e672068617320656e646564000000000000000000000000000000815260200192915050565b6000610a89600e83610c75565b7f416c7265616479207369676e6564000000000000000000000000000000000000815260200192915050565b6000610ac2600d83610c75565b7f4e6f7420616374697665204d4e00000000000000000000000000000000000000815260200192915050565b6000610afb600e83610c75565b7f4e6f74207369676e656420796574000000000000000000000000000000000000815260200192915050565b6000610b34601883610c75565b7f496e76616c6964207369676e6174757265206c656e6774680000000000000000815260200192915050565b61098581610cb2565b6020810161081b828461097c565b60208082528101610975818461098b565b6020810161081b82846109f9565b6020810161081b8284610a02565b60808101610bb28287610a02565b610bbf6020830186610b60565b610bcc6040830185610a02565b610bd96060830184610a02565b95945050505050565b602080825281016109758184610a0b565b6020808252810161081b81610a43565b6020808252810161081b81610a7c565b6020808252810161081b81610ab5565b6020808252810161081b81610aee565b6020808252810161081b81610b27565b60608101610c518286610a02565b610c5e6020830185610a02565b6108a96040830184610a02565b60200190565b5190565b90815260200190565b600061081b82610c99565b151590565b600061081b82610c7e565b73ffffffffffffffffffffffffffffffffffffffff1690565b60ff1690565b60005b83811015610cd3578181015183820152602001610cbb565b83811115610ce2576000848401525b50505050565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01690565b610d1981610c7e565b8114610d2457600080fd5b50565b610d1981610c89565b610d198161080d565b610d1981610c8e56fea365627a7a72315820059207961dfc83712ec1e11a0313b805932ebf320d9d4a1492f74b24fe8e796b6c6578706572696d656e74616cf564736f6c63430005100040a365627a7a72315820e321d75ade19885dbba8c54ae9d9928433f47f6f432a3b2705e73959d2c0eeee6c6578706572696d656e74616cf564736f6c634300051000406080604052600080546001600160a01b03191633179055610c21806100256000396000f3fe608060405234801561001057600080fd5b506004361061007d5760003560e01c806341c0e1b51161005b57806341c0e1b5146100d3578063a4ece52c146100db578063b8a24252146100e3578063d9592ead146101035761007d565b80630a3b0a4f1461008257806313af40351461009757806328b0558b146100aa575b600080fd5b6100956100903660046109aa565b610118565b005b6100956100a53660046109aa565b61030a565b6100bd6100b83660046109ee565b6103a2565b6040516100ca9190610b4b565b60405180910390f35b610095610699565b6100956106ed565b6100f66100f13660046109d0565b610834565b6040516100ca9190610b59565b61010b61085c565b6040516100ca9190610b33565b60005473ffffffffffffffffffffffffffffffffffffffff163314610172576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161016990610b67565b60405180910390fd5b6002546fffffffffffffffffffffffffffffffff70010000000000000000000000000000000090910416600a141561026e57600280546fffffffffffffffffffffffffffffffff908116600090815260016020819052604080832080547fffffffffffffffffffffffff000000000000000000000000000000000000000090811690915585547001000000000000000000000000000000008104861690861601851684529220805490921673ffffffffffffffffffffffffffffffffffffffff86161790915582547fffffffffffffffffffffffffffffffff000000000000000000000000000000008116908316909101909116179055610307565b600280546fffffffffffffffffffffffffffffffff8082167001000000000000000000000000000000009283900482160181166000908152600160208190526040909120805473ffffffffffffffffffffffffffffffffffffffff87167fffffffffffffffffffffffff000000000000000000000000000000000000000090911617905583548381048316909101821690920291161790555b50565b60005473ffffffffffffffffffffffffffffffffffffffff16331461035b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161016990610b67565b600080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b6000805473ffffffffffffffffffffffffffffffffffffffff1633146103f4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161016990610b67565b506002546000906fffffffffffffffffffffffffffffffff165b6002546fffffffffffffffffffffffffffffffff80821670010000000000000000000000000000000090920481169190910116811015610524576000818152600160205260408082205481517f370158ea0000000000000000000000000000000000000000000000000000000081529151839273ffffffffffffffffffffffffffffffffffffffff9092169163370158ea916004808301926060929190829003018186803b1580156104bf57600080fd5b505afa1580156104d3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052506104f79190810190610a28565b5091509150818614801561050a57508085145b1561051a57600193505050610524565b505060010161040e565b6001821515141561069157805b6002547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6fffffffffffffffffffffffffffffffff80831670010000000000000000000000000000000090930481169290920101168110156105f1576001818101600081815260209290925260408083205493835290912080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff90931692909217909155610531565b50600280547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6fffffffffffffffffffffffffffffffff8083167001000000000000000000000000000000009384900482160182018116600090815260016020526040902080547fffffffffffffffffffffffff000000000000000000000000000000000000000016905583548381048216909201811690920291161790555b505b92915050565b60005473ffffffffffffffffffffffffffffffffffffffff1633146106ea576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161016990610b67565b33ff5b60005473ffffffffffffffffffffffffffffffffffffffff16331461073e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161016990610b67565b60025470010000000000000000000000000000000090046fffffffffffffffffffffffffffffffff1661077057610832565b600280546fffffffffffffffffffffffffffffffff908116600090815260016020819052604090912080547fffffffffffffffffffffffff000000000000000000000000000000000000000016905582547fffffffffffffffffffffffffffffffff0000000000000000000000000000000081169083169091018216178082167001000000000000000000000000000000009182900483167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff01909216021790555b565b60016020526000908152604090205473ffffffffffffffffffffffffffffffffffffffff1681565b6060600260109054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff166040519080825280602002602001820160405280156108b8578160200160208202803883390190505b506002549091506fffffffffffffffffffffffffffffffff165b6002546fffffffffffffffffffffffffffffffff8082167001000000000000000000000000000000009092048116919091011681101561098557600081815260016020526040902054600254835173ffffffffffffffffffffffffffffffffffffffff9092169184916fffffffffffffffffffffffffffffffff16840390811061095857fe5b73ffffffffffffffffffffffffffffffffffffffff909216602092830291909101909101526001016108d2565b5090565b803561069381610bc1565b805161069381610bc1565b803561069381610bd5565b6000602082840312156109bc57600080fd5b60006109c8848461099f565b949350505050565b6000602082840312156109e257600080fd5b60006109c88484610989565b60008060408385031215610a0157600080fd5b6000610a0d8585610989565b9250506020610a1e85828601610989565b9150509250929050565b600080600060608486031215610a3d57600080fd5b6000610a498686610994565b9350506020610a5a86828701610994565b9250506040610a6b86828701610994565b9150509250925092565b6000610a818383610af1565b505060200190565b6000610a9482610b7d565b610a9e8185610b81565b9350610aa983610b77565b8060005b83811015610ad7578151610ac18882610a75565b9750610acc83610b77565b925050600101610aad565b509495945050505050565b610aeb81610b95565b82525050565b610aeb81610b9d565b6000610b07600a83610b81565b7f4e6f74206f776e65722100000000000000000000000000000000000000000000815260200192915050565b60208082528101610b448184610a89565b9392505050565b602081016106938284610ae2565b602081016106938284610af1565b6020808252810161069381610afa565b60200190565b5190565b90815260200190565b600061069382610ba8565b151590565b90565b600061069382610b8a565b73ffffffffffffffffffffffffffffffffffffffff1690565b610bca81610b9a565b811461030757600080fd5b610bca81610b9d56fea365627a7a72315820871f3dbeb7c03aa95b5e793ce94024dfe084dc5cc854faa91c867102045fe9f06c6578706572696d656e74616cf564736f6c63430005100040` 35 36 // DeployCheckpointRegistryV3 deploys a new Ethereum contract, binding an instance of CheckpointRegistryV3 to it. 37 func DeployCheckpointRegistryV3(auth *bind.TransactOpts, backend bind.ContractBackend, _proxy common.Address, _mnregistry_proxy common.Address, _cpp_signer common.Address) (common.Address, *types.Transaction, *CheckpointRegistryV3, error) { 38 parsed, err := abi.JSON(strings.NewReader(CheckpointRegistryV3ABI)) 39 if err != nil { 40 return common.Address{}, nil, nil, err 41 } 42 address, tx, contract, err := bind.DeployContract(auth, parsed, common.FromHex(CheckpointRegistryV3Bin), backend, _proxy, _mnregistry_proxy, _cpp_signer) 43 if err != nil { 44 return common.Address{}, nil, nil, err 45 } 46 return address, tx, &CheckpointRegistryV3{CheckpointRegistryV3Caller: CheckpointRegistryV3Caller{contract: contract}, CheckpointRegistryV3Transactor: CheckpointRegistryV3Transactor{contract: contract}, CheckpointRegistryV3Filterer: CheckpointRegistryV3Filterer{contract: contract}}, nil 47 } 48 49 // CheckpointRegistryV3Bin is the compiled bytecode of contract after deployment. 50 const CheckpointRegistryV3RuntimeBin = `608060405260043610620000cd5760003560e01c8063851f2209116200007f578063d59f17581162000055578063d59f1758146200025f578063ec5568891462000286578063fe7334e8146200029e57620000cd565b8063851f220914620001e1578063c20fa2ee1462000215578063ce5494bb146200023a57620000cd565b806351fae95911620000b557806351fae959146200016e5780635a48c0b0146200019357806378d0970f14620001ba57620000cd565b8062f55d9d146200010a57806328b0558b1462000131575b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620001019062001112565b60405180910390fd5b3480156200011757600080fd5b506200012f6200012936600462000c77565b620002b6565b005b3480156200013e57600080fd5b50620001566200015036600462000bdc565b6200032e565b60405162000165919062000fc3565b60405180910390f35b3480156200017b57600080fd5b506200012f6200018d36600462000c1b565b6200045b565b348015620001a057600080fd5b50620001ab620004ea565b60405162000165919062000fb0565b348015620001c757600080fd5b50620001d2620005b9565b6040516200016591906200105c565b348015620001ee57600080fd5b50620002066200020036600462000bdc565b620005d5565b60405162000165919062000fd3565b3480156200022257600080fd5b50620001d26200023436600462000c98565b6200060a565b3480156200024757600080fd5b506200012f6200025936600462000c77565b620008eb565b3480156200026c57600080fd5b506200027762000948565b60405162000165919062000fa0565b3480156200029357600080fd5b506200027762000964565b348015620002ab57600080fd5b50620001d262000980565b60005473ffffffffffffffffffffffffffffffffffffffff1633146200030a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200010190620010dc565b62000315816200099c565b8073ffffffffffffffffffffffffffffffffffffffff16ff5b60035460009073ffffffffffffffffffffffffffffffffffffffff166200035462000a2b565b73ffffffffffffffffffffffffffffffffffffffff1614620003a4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200010190620010ca565b6001546040517f28b0558b00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff909116906328b0558b90620003fe908690869060040162001124565b602060405180830381600087803b1580156200041957600080fd5b505af11580156200042e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525062000454919081019062000bbb565b9392505050565b6040517f76cd7cbc00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8416906376cd7cbc90620004b1908590859060040162001048565b600060405180830381600087803b158015620004cc57600080fd5b505af1158015620004e1573d6000803e3d6000fd5b50505050505050565b600154604080517fd9592ead000000000000000000000000000000000000000000000000000000008152905160609273ffffffffffffffffffffffffffffffffffffffff169163d9592ead916004808301926000929190829003018186803b1580156200055657600080fd5b505afa1580156200056b573d6000803e3d6000fd5b505050506040513d6000823e601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0168201604052620005b3919081019062000b7a565b90505b90565b60015473ffffffffffffffffffffffffffffffffffffffff1681565b60008282604051602001620005ec92919062000f69565b60405160208183030381529060405280519060200120905092915050565b60035460009073ffffffffffffffffffffffffffffffffffffffff166200063062000a2b565b73ffffffffffffffffffffffffffffffffffffffff161462000680576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200010190620010ca565b60006200068e8686620005d5565b905060418314620006cd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620001019062001100565b600080620006de8587018762000bdc565b600354919350915073ffffffffffffffffffffffffffffffffffffffff16600184888860408181106200070d57fe5b6040805160008152602001908190526200073594939091013560f81c91508790879062001002565b6020604051602081039080840390855afa15801562000758573d6000803e3d6000fd5b5050506020604051035173ffffffffffffffffffffffffffffffffffffffff1614620007b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200010190620010ee565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168888858989604051620007e89062000a5d565b620007f9969594939291906200106c565b604051809103906000f08015801562000816573d6000803e3d6000fd5b506001546040517f0a3b0a4f00000000000000000000000000000000000000000000000000000000815291955073ffffffffffffffffffffffffffffffffffffffff1690630a3b0a4f90620008709087906004016200105c565b600060405180830381600087803b1580156200088b57600080fd5b505af1158015620008a0573d6000803e3d6000fd5b50505050877f7f582e7a234c68b135245365b0c69d608f9235392a1ef801b46f04ca5d6cdad48886604051620008d892919062000fe3565b60405180910390a2505050949350505050565b60005473ffffffffffffffffffffffffffffffffffffffff1633146200093f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200010190620010dc565b62000945815b50565b60035473ffffffffffffffffffffffffffffffffffffffff1681565b60005473ffffffffffffffffffffffffffffffffffffffff1681565b60025473ffffffffffffffffffffffffffffffffffffffff1681565b6001546040517f13af403500000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff909116906313af403590620009f49084906004016200105c565b600060405180830381600087803b15801562000a0f57600080fd5b505af115801562000a24573d6000803e3d6000fd5b5050505050565b6000805473ffffffffffffffffffffffffffffffffffffffff1633141562000a55575032620005b6565b5033620005b6565b6112c8806200124583390190565b600082601f83011262000a7d57600080fd5b815162000a9462000a8e826200116b565b62001143565b9150818183526020840193506020810190508385602084028201111562000aba57600080fd5b60005b8381101562000aea578162000ad3888262000b6d565b845250602092830192919091019060010162000abd565b5050505092915050565b805162000b018162001217565b92915050565b803562000b01816200122e565b60008083601f84011262000b2757600080fd5b50813567ffffffffffffffff81111562000b4057600080fd5b60208301915083600182028301111562000b5957600080fd5b9250929050565b803562000b018162001239565b805162000b018162001239565b60006020828403121562000b8d57600080fd5b815167ffffffffffffffff81111562000ba557600080fd5b62000bb38482850162000a6b565b949350505050565b60006020828403121562000bce57600080fd5b600062000bb3848462000af4565b6000806040838503121562000bf057600080fd5b600062000bfe858562000b07565b925050602062000c118582860162000b07565b9150509250929050565b60008060006040848603121562000c3157600080fd5b600062000c3f868662000b60565b935050602084013567ffffffffffffffff81111562000c5d57600080fd5b62000c6b8682870162000b14565b92509250509250925092565b60006020828403121562000c8a57600080fd5b600062000bb3848462000b60565b6000806000806060858703121562000caf57600080fd5b600062000cbd878762000b07565b945050602062000cd08782880162000b07565b935050604085013567ffffffffffffffff81111562000cee57600080fd5b62000cfc8782880162000b14565b95989497509550505050565b600062000d16838362000df1565b505060200190565b62000d2981620011a5565b82525050565b600062000d3c8262001193565b62000d48818562001197565b935062000d55836200118d565b8060005b8381101562000d8957815162000d70888262000d08565b975062000d7d836200118d565b92505060010162000d59565b509495945050505050565b62000d2981620011b2565b62000d2981620005b6565b62000d2962000db982620005b6565b620005b6565b600062000dcd838562001197565b935062000ddc838584620011e3565b62000de783620011ef565b9093019392505050565b62000d2981620011b7565b600062000e0b600f8362001197565b7f4e6f7420637070207369676e6572210000000000000000000000000000000000815260200192915050565b600062000e4660098362001197565b7f4e6f742070726f78790000000000000000000000000000000000000000000000815260200192915050565b600062000e81600e8362001197565b7f496e76616c6964207369676e6572000000000000000000000000000000000000815260200192915050565b600062000ebc60188362001197565b7f496e76616c6964207369676e6174757265206c656e6774680000000000000000815260200192915050565b600062000ef7602083620011a0565b7f7c7c456e6572676920426c6f636b636861696e20436865636b706f696e747c7c815260200192915050565b600062000f32600d8362001197565b7f4e6f7420737570706f7274656400000000000000000000000000000000000000815260200192915050565b62000d2981620011dd565b600062000f768262000ee8565b915062000f84828562000daa565b60208201915062000f96828462000daa565b5060200192915050565b6020810162000b01828462000d1e565b6020808252810162000454818462000d2f565b6020810162000b01828462000d94565b6020810162000b01828462000d9f565b6040810162000ff3828562000d9f565b62000454602083018462000df1565b6080810162001012828762000d9f565b62001021602083018662000f5e565b62001030604083018562000d9f565b6200103f606083018462000d9f565b95945050505050565b6020808252810162000bb381848662000dbf565b6020810162000b01828462000df1565b60a081016200107c828962000df1565b6200108b602083018862000d9f565b6200109a604083018762000d9f565b620010a9606083018662000d9f565b8181036080830152620010be81848662000dbf565b98975050505050505050565b6020808252810162000b018162000dfc565b6020808252810162000b018162000e37565b6020808252810162000b018162000e72565b6020808252810162000b018162000ead565b6020808252810162000b018162000f23565b6040810162001134828562000d9f565b62000454602083018462000d9f565b60405181810167ffffffffffffffff811182821017156200116357600080fd5b604052919050565b600067ffffffffffffffff8211156200118357600080fd5b5060209081020190565b60200190565b5190565b90815260200190565b919050565b600062000b0182620011c4565b151590565b600062000b0182620011a5565b73ffffffffffffffffffffffffffffffffffffffff1690565b60ff1690565b82818337506000910152565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01690565b6200122281620011b2565b81146200094557600080fd5b6200122281620005b6565b6200122281620011b756fe60806040523480156200001157600080fd5b50604051620012c8380380620012c8833981016040819052620000349162000310565b600080546001600160a01b0319166001600160a01b038716179055436001556002849055600383905560048290558051604114620000a9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620000a09062000445565b60405180910390fd5b60008082806020019051620000c29190810190620002d1565b91509150600060018585604081518110620000d957fe5b602001015160f81c60f81b60f81c858560405160008152602001604052604051620001089493929190620003ff565b6020604051602081039080840390855afa1580156200012b573d6000803e3d6000fd5b5050604051601f1901516006805460018101808355600092909252875192945090925062000183917ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d3f909101906020880190620001b0565b50506006546001600160a01b03909116600090815260056020526040902055506200053395505050505050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10620001f357805160ff191683800117855562000223565b8280016001018555821562000223579182015b828111156200022357825182559160200191906001019062000206565b506200023192915062000235565b5090565b6200025291905b808211156200023157600081556001016200023c565b90565b805162000262816200050e565b92915050565b600082601f8301126200027a57600080fd5b8151620002916200028b826200047e565b62000457565b91508082526020830160208301858383011115620002ae57600080fd5b620002bb838284620004db565b50505092915050565b8051620002628162000528565b60008060408385031215620002e557600080fd5b6000620002f3858562000255565b9250506020620003068582860162000255565b9150509250929050565b600080600080600060a086880312156200032957600080fd5b6000620003378888620002c4565b95505060206200034a8882890162000255565b94505060406200035d8882890162000255565b9350506060620003708882890162000255565b92505060808601516001600160401b038111156200038d57600080fd5b6200039b8882890162000268565b9150509295509295909350565b620003b38162000252565b82525050565b6000620003c8601883620004a6565b7f496e76616c6964207369676e6174757265206c656e6774680000000000000000815260200192915050565b620003b381620004d5565b608081016200040f8287620003a8565b6200041e6020830186620003f4565b6200042d6040830185620003a8565b6200043c6060830184620003a8565b95945050505050565b602080825281016200026281620003b9565b6040518181016001600160401b03811182821017156200047657600080fd5b604052919050565b60006001600160401b038211156200049557600080fd5b506020601f91909101601f19160190565b90815260200190565b60006200026282620004c9565b60006200026282620004af565b6001600160a01b031690565b60ff1690565b60005b83811015620004f8578181015183820152602001620004de565b8381111562000508576000848401525b50505050565b620005198162000252565b81146200052557600080fd5b50565b6200051981620004bc565b610d8580620005436000396000f3fe608060405234801561001057600080fd5b50600436106100725760003560e01c806376cd7cbc1161005057806376cd7cbc146100cc578063adfaa72e146100e1578063f27959c71461010157610072565b8063124321c4146100775780632bbe2c8814610095578063370158ea146100b5575b600080fd5b61007f610116565b60405161008c9190610b96565b60405180910390f35b6100a86100a336600461088b565b61011c565b60405161008c9190610be2565b6100bd61024f565b60405161008c93929190610c43565b6100df6100da366004610909565b61025d565b005b6100f46100ef36600461088b565b6105c0565b60405161008c9190610b88565b610109610610565b60405161008c9190610b77565b60045481565b73ffffffffffffffffffffffffffffffffffffffff811660009081526005602052604090205460609080610185576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161017c90610c23565b60405180910390fd5b6006600182038154811061019557fe5b600091825260209182902001805460408051601f60027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6101006001871615020190941693909304928301859004850281018501909152818152928301828280156102415780601f1061021657610100808354040283529160200191610241565b820191906000526020600020905b81548152906001019060200180831161022457829003601f168201915b50505050509150505b919050565b600254600354600154909192565b6105a060015443031061029c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161017c90610bf3565b604181146102d6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161017c90610c33565b6000806102e5838501856108cf565b9150915060006001600454868660408181106102fd57fe5b60408051600081526020019081905261032394939091013560f81c915087908790610ba4565b6020604051602081039080840390855afa158015610345573d6000803e3d6000fd5b5050604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0015173ffffffffffffffffffffffffffffffffffffffff81166000908152600560205291909120549092501590506103d0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161017c90610c03565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16638abf60776040518163ffffffff1660e01b815260040160206040518083038186803b15801561043957600080fd5b505afa15801561044d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250610471919081019061094b565b6040517f9f8a13d700000000000000000000000000000000000000000000000000000000815290915073ffffffffffffffffffffffffffffffffffffffff821690639f8a13d7906104c6908590600401610b69565b60206040518083038186803b1580156104de57600080fd5b505afa1580156104f2573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525061051691908101906108b1565b61054c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161017c90610c13565b600680546001810180835560009290925261058a907ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d3f018888610757565b505060065473ffffffffffffffffffffffffffffffffffffffff9092166000908152600560205260409020919091555050505050565b73ffffffffffffffffffffffffffffffffffffffff8116600090815260056020526040812054156105f35750600061024a565b6105a06001544303106106085750600061024a565b506001919050565b6006546040805182815260208084028201019091526060919081801561064a57816020015b60608152602001906001900390816106355790505b509150805b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81019015610752576006818154811061068557fe5b600091825260209182902001805460408051601f60027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6101006001871615020190941693909304928301859004850281018501909152818152928301828280156107315780601f1061070657610100808354040283529160200191610731565b820191906000526020600020905b81548152906001019060200180831161071457829003601f168201915b505050505083828151811061074257fe5b602002602001018190525061064f565b505090565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106107b6578280017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff008235161785556107e3565b828001600101855582156107e3579182015b828111156107e35782358255916020019190600101906107c8565b506107ef9291506107f3565b5090565b61080d91905b808211156107ef57600081556001016107f9565b90565b803561081b81610d10565b92915050565b805161081b81610d27565b803561081b81610d30565b60008083601f84011261084957600080fd5b50813567ffffffffffffffff81111561086157600080fd5b60208301915083600182028301111561087957600080fd5b9250929050565b805161081b81610d39565b60006020828403121561089d57600080fd5b60006108a98484610810565b949350505050565b6000602082840312156108c357600080fd5b60006108a98484610821565b600080604083850312156108e257600080fd5b60006108ee858561082c565b92505060206108ff8582860161082c565b9150509250929050565b6000806020838503121561091c57600080fd5b823567ffffffffffffffff81111561093357600080fd5b61093f85828601610837565b92509250509250929050565b60006020828403121561095d57600080fd5b60006108a98484610880565b60006109758383610a0b565b9392505050565b61098581610c7e565b82525050565b600061099682610c71565b6109a08185610c75565b9350836020820285016109b285610c6b565b8060005b858110156109ec57848403895281516109cf8582610969565b94506109da83610c6b565b60209a909a01999250506001016109b6565b5091979650505050505050565b61098581610c89565b6109858161080d565b6000610a1682610c71565b610a208185610c75565b9350610a30818560208601610cb8565b610a3981610ce8565b9093019392505050565b6000610a50601183610c75565b7f5369676e696e672068617320656e646564000000000000000000000000000000815260200192915050565b6000610a89600e83610c75565b7f416c7265616479207369676e6564000000000000000000000000000000000000815260200192915050565b6000610ac2600d83610c75565b7f4e6f7420616374697665204d4e00000000000000000000000000000000000000815260200192915050565b6000610afb600e83610c75565b7f4e6f74207369676e656420796574000000000000000000000000000000000000815260200192915050565b6000610b34601883610c75565b7f496e76616c6964207369676e6174757265206c656e6774680000000000000000815260200192915050565b61098581610cb2565b6020810161081b828461097c565b60208082528101610975818461098b565b6020810161081b82846109f9565b6020810161081b8284610a02565b60808101610bb28287610a02565b610bbf6020830186610b60565b610bcc6040830185610a02565b610bd96060830184610a02565b95945050505050565b602080825281016109758184610a0b565b6020808252810161081b81610a43565b6020808252810161081b81610a7c565b6020808252810161081b81610ab5565b6020808252810161081b81610aee565b6020808252810161081b81610b27565b60608101610c518286610a02565b610c5e6020830185610a02565b6108a96040830184610a02565b60200190565b5190565b90815260200190565b600061081b82610c99565b151590565b600061081b82610c7e565b73ffffffffffffffffffffffffffffffffffffffff1690565b60ff1690565b60005b83811015610cd3578181015183820152602001610cbb565b83811115610ce2576000848401525b50505050565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01690565b610d1981610c7e565b8114610d2457600080fd5b50565b610d1981610c89565b610d198161080d565b610d1981610c8e56fea365627a7a72315820059207961dfc83712ec1e11a0313b805932ebf320d9d4a1492f74b24fe8e796b6c6578706572696d656e74616cf564736f6c63430005100040a365627a7a72315820e321d75ade19885dbba8c54ae9d9928433f47f6f432a3b2705e73959d2c0eeee6c6578706572696d656e74616cf564736f6c63430005100040` 51 52 // CheckpointRegistryV3 is an auto generated Go binding around an Ethereum contract. 53 type CheckpointRegistryV3 struct { 54 CheckpointRegistryV3Caller // Read-only binding to the contract 55 CheckpointRegistryV3Transactor // Write-only binding to the contract 56 CheckpointRegistryV3Filterer // Log filterer for contract events 57 } 58 59 // CheckpointRegistryV3Caller is an auto generated read-only Go binding around an Ethereum contract. 60 type CheckpointRegistryV3Caller struct { 61 contract *bind.BoundContract // Generic contract wrapper for the low level calls 62 } 63 64 // CheckpointRegistryV3Transactor is an auto generated write-only Go binding around an Ethereum contract. 65 type CheckpointRegistryV3Transactor struct { 66 contract *bind.BoundContract // Generic contract wrapper for the low level calls 67 } 68 69 // CheckpointRegistryV3Filterer is an auto generated log filtering Go binding around an Ethereum contract events. 70 type CheckpointRegistryV3Filterer struct { 71 contract *bind.BoundContract // Generic contract wrapper for the low level calls 72 } 73 74 // CheckpointRegistryV3Session is an auto generated Go binding around an Ethereum contract, 75 // with pre-set call and transact options. 76 type CheckpointRegistryV3Session struct { 77 Contract *CheckpointRegistryV3 // Generic contract binding to set the session for 78 CallOpts bind.CallOpts // Call options to use throughout this session 79 TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session 80 } 81 82 // CheckpointRegistryV3CallerSession is an auto generated read-only Go binding around an Ethereum contract, 83 // with pre-set call options. 84 type CheckpointRegistryV3CallerSession struct { 85 Contract *CheckpointRegistryV3Caller // Generic contract caller binding to set the session for 86 CallOpts bind.CallOpts // Call options to use throughout this session 87 } 88 89 // CheckpointRegistryV3TransactorSession is an auto generated write-only Go binding around an Ethereum contract, 90 // with pre-set transact options. 91 type CheckpointRegistryV3TransactorSession struct { 92 Contract *CheckpointRegistryV3Transactor // Generic contract transactor binding to set the session for 93 TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session 94 } 95 96 // CheckpointRegistryV3Raw is an auto generated low-level Go binding around an Ethereum contract. 97 type CheckpointRegistryV3Raw struct { 98 Contract *CheckpointRegistryV3 // Generic contract binding to access the raw methods on 99 } 100 101 // CheckpointRegistryV3CallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract. 102 type CheckpointRegistryV3CallerRaw struct { 103 Contract *CheckpointRegistryV3Caller // Generic read-only contract binding to access the raw methods on 104 } 105 106 // CheckpointRegistryV3TransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract. 107 type CheckpointRegistryV3TransactorRaw struct { 108 Contract *CheckpointRegistryV3Transactor // Generic write-only contract binding to access the raw methods on 109 } 110 111 // NewCheckpointRegistryV3 creates a new instance of CheckpointRegistryV3, bound to a specific deployed contract. 112 func NewCheckpointRegistryV3(address common.Address, backend bind.ContractBackend) (*CheckpointRegistryV3, error) { 113 contract, err := bindCheckpointRegistryV3(address, backend, backend, backend) 114 if err != nil { 115 return nil, err 116 } 117 return &CheckpointRegistryV3{CheckpointRegistryV3Caller: CheckpointRegistryV3Caller{contract: contract}, CheckpointRegistryV3Transactor: CheckpointRegistryV3Transactor{contract: contract}, CheckpointRegistryV3Filterer: CheckpointRegistryV3Filterer{contract: contract}}, nil 118 } 119 120 // NewCheckpointRegistryV3Caller creates a new read-only instance of CheckpointRegistryV3, bound to a specific deployed contract. 121 func NewCheckpointRegistryV3Caller(address common.Address, caller bind.ContractCaller) (*CheckpointRegistryV3Caller, error) { 122 contract, err := bindCheckpointRegistryV3(address, caller, nil, nil) 123 if err != nil { 124 return nil, err 125 } 126 return &CheckpointRegistryV3Caller{contract: contract}, nil 127 } 128 129 // NewCheckpointRegistryV3Transactor creates a new write-only instance of CheckpointRegistryV3, bound to a specific deployed contract. 130 func NewCheckpointRegistryV3Transactor(address common.Address, transactor bind.ContractTransactor) (*CheckpointRegistryV3Transactor, error) { 131 contract, err := bindCheckpointRegistryV3(address, nil, transactor, nil) 132 if err != nil { 133 return nil, err 134 } 135 return &CheckpointRegistryV3Transactor{contract: contract}, nil 136 } 137 138 // NewCheckpointRegistryV3Filterer creates a new log filterer instance of CheckpointRegistryV3, bound to a specific deployed contract. 139 func NewCheckpointRegistryV3Filterer(address common.Address, filterer bind.ContractFilterer) (*CheckpointRegistryV3Filterer, error) { 140 contract, err := bindCheckpointRegistryV3(address, nil, nil, filterer) 141 if err != nil { 142 return nil, err 143 } 144 return &CheckpointRegistryV3Filterer{contract: contract}, nil 145 } 146 147 // bindCheckpointRegistryV3 binds a generic wrapper to an already deployed contract. 148 func bindCheckpointRegistryV3(address common.Address, caller bind.ContractCaller, transactor bind.ContractTransactor, filterer bind.ContractFilterer) (*bind.BoundContract, error) { 149 parsed, err := abi.JSON(strings.NewReader(CheckpointRegistryV3ABI)) 150 if err != nil { 151 return nil, err 152 } 153 return bind.NewBoundContract(address, parsed, caller, transactor, filterer), nil 154 } 155 156 // Call invokes the (constant) contract method with params as input values and 157 // sets the output to result. The result type might be a single field for simple 158 // returns, a slice of interfaces for anonymous returns and a struct for named 159 // returns. 160 func (_CheckpointRegistryV3 *CheckpointRegistryV3Raw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error { 161 return _CheckpointRegistryV3.Contract.CheckpointRegistryV3Caller.contract.Call(opts, result, method, params...) 162 } 163 164 // Transfer initiates a plain transaction to move funds to the contract, calling 165 // its default method if one is available. 166 func (_CheckpointRegistryV3 *CheckpointRegistryV3Raw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error) { 167 return _CheckpointRegistryV3.Contract.CheckpointRegistryV3Transactor.contract.Transfer(opts) 168 } 169 170 // Transact invokes the (paid) contract method with params as input values. 171 func (_CheckpointRegistryV3 *CheckpointRegistryV3Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error) { 172 return _CheckpointRegistryV3.Contract.CheckpointRegistryV3Transactor.contract.Transact(opts, method, params...) 173 } 174 175 // Call invokes the (constant) contract method with params as input values and 176 // sets the output to result. The result type might be a single field for simple 177 // returns, a slice of interfaces for anonymous returns and a struct for named 178 // returns. 179 func (_CheckpointRegistryV3 *CheckpointRegistryV3CallerRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error { 180 return _CheckpointRegistryV3.Contract.contract.Call(opts, result, method, params...) 181 } 182 183 // Transfer initiates a plain transaction to move funds to the contract, calling 184 // its default method if one is available. 185 func (_CheckpointRegistryV3 *CheckpointRegistryV3TransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error) { 186 return _CheckpointRegistryV3.Contract.contract.Transfer(opts) 187 } 188 189 // Transact invokes the (paid) contract method with params as input values. 190 func (_CheckpointRegistryV3 *CheckpointRegistryV3TransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error) { 191 return _CheckpointRegistryV3.Contract.contract.Transact(opts, method, params...) 192 } 193 194 // CPPSigner is a free data retrieval call binding the contract method 0xd59f1758. 195 // 196 // Solidity: function CPP_signer() constant returns(address) 197 func (_CheckpointRegistryV3 *CheckpointRegistryV3Caller) CPPSigner(opts *bind.CallOpts) (common.Address, error) { 198 var ( 199 ret0 = new(common.Address) 200 ) 201 out := ret0 202 err := _CheckpointRegistryV3.contract.Call(opts, out, "CPP_signer") 203 return *ret0, err 204 } 205 206 // CPPSigner is a free data retrieval call binding the contract method 0xd59f1758. 207 // 208 // Solidity: function CPP_signer() constant returns(address) 209 func (_CheckpointRegistryV3 *CheckpointRegistryV3Session) CPPSigner() (common.Address, error) { 210 return _CheckpointRegistryV3.Contract.CPPSigner(&_CheckpointRegistryV3.CallOpts) 211 } 212 213 // CPPSigner is a free data retrieval call binding the contract method 0xd59f1758. 214 // 215 // Solidity: function CPP_signer() constant returns(address) 216 func (_CheckpointRegistryV3 *CheckpointRegistryV3CallerSession) CPPSigner() (common.Address, error) { 217 return _CheckpointRegistryV3.Contract.CPPSigner(&_CheckpointRegistryV3.CallOpts) 218 } 219 220 // Checkpoints is a free data retrieval call binding the contract method 0x5a48c0b0. 221 // 222 // Solidity: function checkpoints() constant returns(address[]) 223 func (_CheckpointRegistryV3 *CheckpointRegistryV3Caller) Checkpoints(opts *bind.CallOpts) ([]common.Address, error) { 224 var ( 225 ret0 = new([]common.Address) 226 ) 227 out := ret0 228 err := _CheckpointRegistryV3.contract.Call(opts, out, "checkpoints") 229 return *ret0, err 230 } 231 232 // Checkpoints is a free data retrieval call binding the contract method 0x5a48c0b0. 233 // 234 // Solidity: function checkpoints() constant returns(address[]) 235 func (_CheckpointRegistryV3 *CheckpointRegistryV3Session) Checkpoints() ([]common.Address, error) { 236 return _CheckpointRegistryV3.Contract.Checkpoints(&_CheckpointRegistryV3.CallOpts) 237 } 238 239 // Checkpoints is a free data retrieval call binding the contract method 0x5a48c0b0. 240 // 241 // Solidity: function checkpoints() constant returns(address[]) 242 func (_CheckpointRegistryV3 *CheckpointRegistryV3CallerSession) Checkpoints() ([]common.Address, error) { 243 return _CheckpointRegistryV3.Contract.Checkpoints(&_CheckpointRegistryV3.CallOpts) 244 } 245 246 // MnregistryProxy is a free data retrieval call binding the contract method 0xfe7334e8. 247 // 248 // Solidity: function mnregistry_proxy() constant returns(address) 249 func (_CheckpointRegistryV3 *CheckpointRegistryV3Caller) MnregistryProxy(opts *bind.CallOpts) (common.Address, error) { 250 var ( 251 ret0 = new(common.Address) 252 ) 253 out := ret0 254 err := _CheckpointRegistryV3.contract.Call(opts, out, "mnregistry_proxy") 255 return *ret0, err 256 } 257 258 // MnregistryProxy is a free data retrieval call binding the contract method 0xfe7334e8. 259 // 260 // Solidity: function mnregistry_proxy() constant returns(address) 261 func (_CheckpointRegistryV3 *CheckpointRegistryV3Session) MnregistryProxy() (common.Address, error) { 262 return _CheckpointRegistryV3.Contract.MnregistryProxy(&_CheckpointRegistryV3.CallOpts) 263 } 264 265 // MnregistryProxy is a free data retrieval call binding the contract method 0xfe7334e8. 266 // 267 // Solidity: function mnregistry_proxy() constant returns(address) 268 func (_CheckpointRegistryV3 *CheckpointRegistryV3CallerSession) MnregistryProxy() (common.Address, error) { 269 return _CheckpointRegistryV3.Contract.MnregistryProxy(&_CheckpointRegistryV3.CallOpts) 270 } 271 272 // Proxy is a free data retrieval call binding the contract method 0xec556889. 273 // 274 // Solidity: function proxy() constant returns(address) 275 func (_CheckpointRegistryV3 *CheckpointRegistryV3Caller) Proxy(opts *bind.CallOpts) (common.Address, error) { 276 var ( 277 ret0 = new(common.Address) 278 ) 279 out := ret0 280 err := _CheckpointRegistryV3.contract.Call(opts, out, "proxy") 281 return *ret0, err 282 } 283 284 // Proxy is a free data retrieval call binding the contract method 0xec556889. 285 // 286 // Solidity: function proxy() constant returns(address) 287 func (_CheckpointRegistryV3 *CheckpointRegistryV3Session) Proxy() (common.Address, error) { 288 return _CheckpointRegistryV3.Contract.Proxy(&_CheckpointRegistryV3.CallOpts) 289 } 290 291 // Proxy is a free data retrieval call binding the contract method 0xec556889. 292 // 293 // Solidity: function proxy() constant returns(address) 294 func (_CheckpointRegistryV3 *CheckpointRegistryV3CallerSession) Proxy() (common.Address, error) { 295 return _CheckpointRegistryV3.Contract.Proxy(&_CheckpointRegistryV3.CallOpts) 296 } 297 298 // SignatureBase is a free data retrieval call binding the contract method 0x851f2209. 299 // 300 // Solidity: function signatureBase(uint256 number, bytes32 hash) constant returns(bytes32 sigbase) 301 func (_CheckpointRegistryV3 *CheckpointRegistryV3Caller) SignatureBase(opts *bind.CallOpts, number *big.Int, hash [32]byte) ([32]byte, error) { 302 var ( 303 ret0 = new([32]byte) 304 ) 305 out := ret0 306 err := _CheckpointRegistryV3.contract.Call(opts, out, "signatureBase", number, hash) 307 return *ret0, err 308 } 309 310 // SignatureBase is a free data retrieval call binding the contract method 0x851f2209. 311 // 312 // Solidity: function signatureBase(uint256 number, bytes32 hash) constant returns(bytes32 sigbase) 313 func (_CheckpointRegistryV3 *CheckpointRegistryV3Session) SignatureBase(number *big.Int, hash [32]byte) ([32]byte, error) { 314 return _CheckpointRegistryV3.Contract.SignatureBase(&_CheckpointRegistryV3.CallOpts, number, hash) 315 } 316 317 // SignatureBase is a free data retrieval call binding the contract method 0x851f2209. 318 // 319 // Solidity: function signatureBase(uint256 number, bytes32 hash) constant returns(bytes32 sigbase) 320 func (_CheckpointRegistryV3 *CheckpointRegistryV3CallerSession) SignatureBase(number *big.Int, hash [32]byte) ([32]byte, error) { 321 return _CheckpointRegistryV3.Contract.SignatureBase(&_CheckpointRegistryV3.CallOpts, number, hash) 322 } 323 324 // V2storage is a free data retrieval call binding the contract method 0x78d0970f. 325 // 326 // Solidity: function v2storage() constant returns(address) 327 func (_CheckpointRegistryV3 *CheckpointRegistryV3Caller) V2storage(opts *bind.CallOpts) (common.Address, error) { 328 var ( 329 ret0 = new(common.Address) 330 ) 331 out := ret0 332 err := _CheckpointRegistryV3.contract.Call(opts, out, "v2storage") 333 return *ret0, err 334 } 335 336 // V2storage is a free data retrieval call binding the contract method 0x78d0970f. 337 // 338 // Solidity: function v2storage() constant returns(address) 339 func (_CheckpointRegistryV3 *CheckpointRegistryV3Session) V2storage() (common.Address, error) { 340 return _CheckpointRegistryV3.Contract.V2storage(&_CheckpointRegistryV3.CallOpts) 341 } 342 343 // V2storage is a free data retrieval call binding the contract method 0x78d0970f. 344 // 345 // Solidity: function v2storage() constant returns(address) 346 func (_CheckpointRegistryV3 *CheckpointRegistryV3CallerSession) V2storage() (common.Address, error) { 347 return _CheckpointRegistryV3.Contract.V2storage(&_CheckpointRegistryV3.CallOpts) 348 } 349 350 // Destroy is a paid mutator transaction binding the contract method 0x00f55d9d. 351 // 352 // Solidity: function destroy(address _newImpl) returns() 353 func (_CheckpointRegistryV3 *CheckpointRegistryV3Transactor) Destroy(opts *bind.TransactOpts, _newImpl common.Address) (*types.Transaction, error) { 354 return _CheckpointRegistryV3.contract.Transact(opts, "destroy", _newImpl) 355 } 356 357 // Destroy is a paid mutator transaction binding the contract method 0x00f55d9d. 358 // 359 // Solidity: function destroy(address _newImpl) returns() 360 func (_CheckpointRegistryV3 *CheckpointRegistryV3Session) Destroy(_newImpl common.Address) (*types.Transaction, error) { 361 return _CheckpointRegistryV3.Contract.Destroy(&_CheckpointRegistryV3.TransactOpts, _newImpl) 362 } 363 364 // Destroy is a paid mutator transaction binding the contract method 0x00f55d9d. 365 // 366 // Solidity: function destroy(address _newImpl) returns() 367 func (_CheckpointRegistryV3 *CheckpointRegistryV3TransactorSession) Destroy(_newImpl common.Address) (*types.Transaction, error) { 368 return _CheckpointRegistryV3.Contract.Destroy(&_CheckpointRegistryV3.TransactOpts, _newImpl) 369 } 370 371 // Migrate is a paid mutator transaction binding the contract method 0xce5494bb. 372 // 373 // Solidity: function migrate(address _oldImpl) returns() 374 func (_CheckpointRegistryV3 *CheckpointRegistryV3Transactor) Migrate(opts *bind.TransactOpts, _oldImpl common.Address) (*types.Transaction, error) { 375 return _CheckpointRegistryV3.contract.Transact(opts, "migrate", _oldImpl) 376 } 377 378 // Migrate is a paid mutator transaction binding the contract method 0xce5494bb. 379 // 380 // Solidity: function migrate(address _oldImpl) returns() 381 func (_CheckpointRegistryV3 *CheckpointRegistryV3Session) Migrate(_oldImpl common.Address) (*types.Transaction, error) { 382 return _CheckpointRegistryV3.Contract.Migrate(&_CheckpointRegistryV3.TransactOpts, _oldImpl) 383 } 384 385 // Migrate is a paid mutator transaction binding the contract method 0xce5494bb. 386 // 387 // Solidity: function migrate(address _oldImpl) returns() 388 func (_CheckpointRegistryV3 *CheckpointRegistryV3TransactorSession) Migrate(_oldImpl common.Address) (*types.Transaction, error) { 389 return _CheckpointRegistryV3.Contract.Migrate(&_CheckpointRegistryV3.TransactOpts, _oldImpl) 390 } 391 392 // Propose is a paid mutator transaction binding the contract method 0xc20fa2ee. 393 // 394 // Solidity: function propose(uint256 number, bytes32 hash, bytes signature) returns(address checkpoint) 395 func (_CheckpointRegistryV3 *CheckpointRegistryV3Transactor) Propose(opts *bind.TransactOpts, number *big.Int, hash [32]byte, signature []byte) (*types.Transaction, error) { 396 return _CheckpointRegistryV3.contract.Transact(opts, "propose", number, hash, signature) 397 } 398 399 // Propose is a paid mutator transaction binding the contract method 0xc20fa2ee. 400 // 401 // Solidity: function propose(uint256 number, bytes32 hash, bytes signature) returns(address checkpoint) 402 func (_CheckpointRegistryV3 *CheckpointRegistryV3Session) Propose(number *big.Int, hash [32]byte, signature []byte) (*types.Transaction, error) { 403 return _CheckpointRegistryV3.Contract.Propose(&_CheckpointRegistryV3.TransactOpts, number, hash, signature) 404 } 405 406 // Propose is a paid mutator transaction binding the contract method 0xc20fa2ee. 407 // 408 // Solidity: function propose(uint256 number, bytes32 hash, bytes signature) returns(address checkpoint) 409 func (_CheckpointRegistryV3 *CheckpointRegistryV3TransactorSession) Propose(number *big.Int, hash [32]byte, signature []byte) (*types.Transaction, error) { 410 return _CheckpointRegistryV3.Contract.Propose(&_CheckpointRegistryV3.TransactOpts, number, hash, signature) 411 } 412 413 // Remove is a paid mutator transaction binding the contract method 0x28b0558b. 414 // 415 // Solidity: function remove(uint256 number, bytes32 hash) returns(bool deleted) 416 func (_CheckpointRegistryV3 *CheckpointRegistryV3Transactor) Remove(opts *bind.TransactOpts, number *big.Int, hash [32]byte) (*types.Transaction, error) { 417 return _CheckpointRegistryV3.contract.Transact(opts, "remove", number, hash) 418 } 419 420 // Remove is a paid mutator transaction binding the contract method 0x28b0558b. 421 // 422 // Solidity: function remove(uint256 number, bytes32 hash) returns(bool deleted) 423 func (_CheckpointRegistryV3 *CheckpointRegistryV3Session) Remove(number *big.Int, hash [32]byte) (*types.Transaction, error) { 424 return _CheckpointRegistryV3.Contract.Remove(&_CheckpointRegistryV3.TransactOpts, number, hash) 425 } 426 427 // Remove is a paid mutator transaction binding the contract method 0x28b0558b. 428 // 429 // Solidity: function remove(uint256 number, bytes32 hash) returns(bool deleted) 430 func (_CheckpointRegistryV3 *CheckpointRegistryV3TransactorSession) Remove(number *big.Int, hash [32]byte) (*types.Transaction, error) { 431 return _CheckpointRegistryV3.Contract.Remove(&_CheckpointRegistryV3.TransactOpts, number, hash) 432 } 433 434 // Sign is a paid mutator transaction binding the contract method 0x51fae959. 435 // 436 // Solidity: function sign(address checkpoint, bytes signature) returns() 437 func (_CheckpointRegistryV3 *CheckpointRegistryV3Transactor) Sign(opts *bind.TransactOpts, checkpoint common.Address, signature []byte) (*types.Transaction, error) { 438 return _CheckpointRegistryV3.contract.Transact(opts, "sign", checkpoint, signature) 439 } 440 441 // Sign is a paid mutator transaction binding the contract method 0x51fae959. 442 // 443 // Solidity: function sign(address checkpoint, bytes signature) returns() 444 func (_CheckpointRegistryV3 *CheckpointRegistryV3Session) Sign(checkpoint common.Address, signature []byte) (*types.Transaction, error) { 445 return _CheckpointRegistryV3.Contract.Sign(&_CheckpointRegistryV3.TransactOpts, checkpoint, signature) 446 } 447 448 // Sign is a paid mutator transaction binding the contract method 0x51fae959. 449 // 450 // Solidity: function sign(address checkpoint, bytes signature) returns() 451 func (_CheckpointRegistryV3 *CheckpointRegistryV3TransactorSession) Sign(checkpoint common.Address, signature []byte) (*types.Transaction, error) { 452 return _CheckpointRegistryV3.Contract.Sign(&_CheckpointRegistryV3.TransactOpts, checkpoint, signature) 453 } 454 455 // CheckpointRegistryV3CheckpointIterator is returned from FilterCheckpoint and is used to iterate over the raw logs and unpacked data for Checkpoint events raised by the CheckpointRegistryV3 contract. 456 type CheckpointRegistryV3CheckpointIterator struct { 457 Event *CheckpointRegistryV3Checkpoint // Event containing the contract specifics and raw log 458 459 contract *bind.BoundContract // Generic contract to use for unpacking event data 460 event string // Event name to use for unpacking event data 461 462 logs chan types.Log // Log channel receiving the found contract events 463 sub ethereum.Subscription // Subscription for errors, completion and termination 464 done bool // Whether the subscription completed delivering logs 465 fail error // Occurred error to stop iteration 466 } 467 468 // Next advances the iterator to the subsequent event, returning whether there 469 // are any more events found. In case of a retrieval or parsing error, false is 470 // returned and Error() can be queried for the exact failure. 471 func (it *CheckpointRegistryV3CheckpointIterator) Next() bool { 472 // If the iterator failed, stop iterating 473 if it.fail != nil { 474 return false 475 } 476 // If the iterator completed, deliver directly whatever's available 477 if it.done { 478 select { 479 case log := <-it.logs: 480 it.Event = new(CheckpointRegistryV3Checkpoint) 481 if err := it.contract.UnpackLog(it.Event, it.event, log); err != nil { 482 it.fail = err 483 return false 484 } 485 it.Event.Raw = log 486 return true 487 488 default: 489 return false 490 } 491 } 492 // Iterator still in progress, wait for either a data or an error event 493 select { 494 case log := <-it.logs: 495 it.Event = new(CheckpointRegistryV3Checkpoint) 496 if err := it.contract.UnpackLog(it.Event, it.event, log); err != nil { 497 it.fail = err 498 return false 499 } 500 it.Event.Raw = log 501 return true 502 503 case err := <-it.sub.Err(): 504 it.done = true 505 it.fail = err 506 return it.Next() 507 } 508 } 509 510 // Error returns any retrieval or parsing error occurred during filtering. 511 func (it *CheckpointRegistryV3CheckpointIterator) Error() error { 512 return it.fail 513 } 514 515 // Close terminates the iteration process, releasing any pending underlying 516 // resources. 517 func (it *CheckpointRegistryV3CheckpointIterator) Close() error { 518 it.sub.Unsubscribe() 519 return nil 520 } 521 522 // CheckpointRegistryV3Checkpoint represents a Checkpoint event raised by the CheckpointRegistryV3 contract. 523 type CheckpointRegistryV3Checkpoint struct { 524 Number *big.Int 525 Hash [32]byte 526 Checkpoint common.Address 527 Raw types.Log // Blockchain specific contextual infos 528 } 529 530 // FilterCheckpoint is a free log retrieval operation binding the contract event 0x7f582e7a234c68b135245365b0c69d608f9235392a1ef801b46f04ca5d6cdad4. 531 // 532 // Solidity: event Checkpoint(uint256 indexed number, bytes32 hash, address checkpoint) 533 func (_CheckpointRegistryV3 *CheckpointRegistryV3Filterer) FilterCheckpoint(opts *bind.FilterOpts, number []*big.Int) (*CheckpointRegistryV3CheckpointIterator, error) { 534 535 var numberRule []interface{} 536 for _, numberItem := range number { 537 numberRule = append(numberRule, numberItem) 538 } 539 540 logs, sub, err := _CheckpointRegistryV3.contract.FilterLogs(opts, "Checkpoint", numberRule) 541 if err != nil { 542 return nil, err 543 } 544 return &CheckpointRegistryV3CheckpointIterator{contract: _CheckpointRegistryV3.contract, event: "Checkpoint", logs: logs, sub: sub}, nil 545 } 546 547 // WatchCheckpoint is a free log subscription operation binding the contract event 0x7f582e7a234c68b135245365b0c69d608f9235392a1ef801b46f04ca5d6cdad4. 548 // 549 // Solidity: event Checkpoint(uint256 indexed number, bytes32 hash, address checkpoint) 550 func (_CheckpointRegistryV3 *CheckpointRegistryV3Filterer) WatchCheckpoint(opts *bind.WatchOpts, sink chan<- *CheckpointRegistryV3Checkpoint, number []*big.Int) (event.Subscription, error) { 551 552 var numberRule []interface{} 553 for _, numberItem := range number { 554 numberRule = append(numberRule, numberItem) 555 } 556 557 logs, sub, err := _CheckpointRegistryV3.contract.WatchLogs(opts, "Checkpoint", numberRule) 558 if err != nil { 559 return nil, err 560 } 561 return event.NewSubscription(func(quit <-chan struct{}) error { 562 defer sub.Unsubscribe() 563 for { 564 select { 565 case log := <-logs: 566 // New log arrived, parse the event and forward to the user 567 event := new(CheckpointRegistryV3Checkpoint) 568 if err := _CheckpointRegistryV3.contract.UnpackLog(event, "Checkpoint", log); err != nil { 569 return err 570 } 571 event.Raw = log 572 573 select { 574 case sink <- event: 575 case err := <-sub.Err(): 576 return err 577 case <-quit: 578 return nil 579 } 580 case err := <-sub.Err(): 581 return err 582 case <-quit: 583 return nil 584 } 585 } 586 }), nil 587 }