// Code generated - DO NOT EDIT.
// This file is a generated binding and any manual changes will be lost.

package abi

import (
	"math/big"
	"strings"

	ethereum "github.com/energicryptocurrency/energi"
	"github.com/energicryptocurrency/energi/accounts/abi"
	"github.com/energicryptocurrency/energi/accounts/abi/bind"
	"github.com/energicryptocurrency/energi/common"
	"github.com/energicryptocurrency/energi/core/types"
	"github.com/energicryptocurrency/energi/event"
)

// Reference imports to suppress errors if they are not otherwise used.
var (
	_ = big.NewInt
	_ = strings.NewReader
	_ = ethereum.NotFound
	_ = abi.U256
	_ = bind.Bind
	_ = common.Big1
	_ = types.BloomLookup
	_ = event.NewSubscription
)

// CheckpointRegistryV3ABI is the input ABI used to generate the binding from.
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\"}]"

// CheckpointRegistryV3Bin is the compiled bytecode used for deploying new contracts.
const CheckpointRegistryV3Bin = `60806040523480156200001157600080fd5b506040516200332f3803806200332f8339810160408190526200003491620000eb565b600080546001600160a01b0319166001600160a01b0385161790556040516200005d90620000bd565b604051809103906000f0801580156200007a573d6000803e3d6000fd5b50600180546001600160a01b03199081166001600160a01b039384161790915560028054821694831694909417909355600380549093169116179055506200018a565b610c4680620026e983390190565b8051620000d88162000165565b92915050565b8051620000d8816200017f565b6000806000606084860312156200010157600080fd5b60006200010f8686620000cb565b93505060206200012286828701620000de565b92505060406200013586828701620000cb565b9150509250925092565b6000620000d88262000159565b6000620000d8826200013f565b6001600160a01b031690565b62000170816200013f565b81146200017c57600080fd5b50565b62000170816200014c565b61254f806200019a6000396000f3fe608060405260043610620000cd5760003560e01c8063851f2209116200007f578063d59f17581162000055578063d59f1758146200025f578063ec5568891462000286578063fe7334e8146200029e57620000cd565b8063851f220914620001e1578063c20fa2ee1462000215578063ce5494bb146200023a57620000cd565b806351fae95911620000b557806351fae959146200016e5780635a48c0b0146200019357806378d0970f14620001ba57620000cd565b8062f55d9d146200010a57806328b0558b1462000131575b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620001019062001112565b60405180910390fd5b3480156200011757600080fd5b506200012f6200012936600462000c77565b620002b6565b005b3480156200013e57600080fd5b50620001566200015036600462000bdc565b6200032e565b60405162000165919062000fc3565b60405180910390f35b3480156200017b57600080fd5b506200012f6200018d36600462000c1b565b6200045b565b348015620001a057600080fd5b50620001ab620004ea565b60405162000165919062000fb0565b348015620001c757600080fd5b50620001d2620005b9565b6040516200016591906200105c565b348015620001ee57600080fd5b50620002066200020036600462000bdc565b620005d5565b60405162000165919062000fd3565b3480156200022257600080fd5b50620001d26200023436600462000c98565b6200060a565b3480156200024757600080fd5b506200012f6200025936600462000c77565b620008eb565b3480156200026c57600080fd5b506200027762000948565b60405162000165919062000fa0565b3480156200029357600080fd5b506200027762000964565b348015620002ab57600080fd5b50620001d262000980565b60005473ffffffffffffffffffffffffffffffffffffffff1633146200030a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200010190620010dc565b62000315816200099c565b8073ffffffffffffffffffffffffffffffffffffffff16ff5b60035460009073ffffffffffffffffffffffffffffffffffffffff166200035462000a2b565b73ffffffffffffffffffffffffffffffffffffffff1614620003a4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200010190620010ca565b6001546040517f28b0558b00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff909116906328b0558b90620003fe908690869060040162001124565b602060405180830381600087803b1580156200041957600080fd5b505af11580156200042e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525062000454919081019062000bbb565b9392505050565b6040517f76cd7cbc00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8416906376cd7cbc90620004b1908590859060040162001048565b600060405180830381600087803b158015620004cc57600080fd5b505af1158015620004e1573d6000803e3d6000fd5b50505050505050565b600154604080517fd9592ead000000000000000000000000000000000000000000000000000000008152905160609273ffffffffffffffffffffffffffffffffffffffff169163d9592ead916004808301926000929190829003018186803b1580156200055657600080fd5b505afa1580156200056b573d6000803e3d6000fd5b505050506040513d6000823e601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0168201604052620005b3919081019062000b7a565b90505b90565b60015473ffffffffffffffffffffffffffffffffffffffff1681565b60008282604051602001620005ec92919062000f69565b60405160208183030381529060405280519060200120905092915050565b60035460009073ffffffffffffffffffffffffffffffffffffffff166200063062000a2b565b73ffffffffffffffffffffffffffffffffffffffff161462000680576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200010190620010ca565b60006200068e8686620005d5565b905060418314620006cd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620001019062001100565b600080620006de8587018762000bdc565b600354919350915073ffffffffffffffffffffffffffffffffffffffff16600184888860408181106200070d57fe5b6040805160008152602001908190526200073594939091013560f81c91508790879062001002565b6020604051602081039080840390855afa15801562000758573d6000803e3d6000fd5b5050506020604051035173ffffffffffffffffffffffffffffffffffffffff1614620007b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200010190620010ee565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168888858989604051620007e89062000a5d565b620007f9969594939291906200106c565b604051809103906000f08015801562000816573d6000803e3d6000fd5b506001546040517f0a3b0a4f00000000000000000000000000000000000000000000000000000000815291955073ffffffffffffffffffffffffffffffffffffffff1690630a3b0a4f90620008709087906004016200105c565b600060405180830381600087803b1580156200088b57600080fd5b505af1158015620008a0573d6000803e3d6000fd5b50505050877f7f582e7a234c68b135245365b0c69d608f9235392a1ef801b46f04ca5d6cdad48886604051620008d892919062000fe3565b60405180910390a2505050949350505050565b60005473ffffffffffffffffffffffffffffffffffffffff1633146200093f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200010190620010dc565b62000945815b50565b60035473ffffffffffffffffffffffffffffffffffffffff1681565b60005473ffffffffffffffffffffffffffffffffffffffff1681565b60025473ffffffffffffffffffffffffffffffffffffffff1681565b6001546040517f13af403500000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff909116906313af403590620009f49084906004016200105c565b600060405180830381600087803b15801562000a0f57600080fd5b505af115801562000a24573d6000803e3d6000fd5b5050505050565b6000805473ffffffffffffffffffffffffffffffffffffffff1633141562000a55575032620005b6565b5033620005b6565b6112c8806200124583390190565b600082601f83011262000a7d57600080fd5b815162000a9462000a8e826200116b565b62001143565b9150818183526020840193506020810190508385602084028201111562000aba57600080fd5b60005b8381101562000aea578162000ad3888262000b6d565b845250602092830192919091019060010162000abd565b5050505092915050565b805162000b018162001217565b92915050565b803562000b01816200122e565b60008083601f84011262000b2757600080fd5b50813567ffffffffffffffff81111562000b4057600080fd5b60208301915083600182028301111562000b5957600080fd5b9250929050565b803562000b018162001239565b805162000b018162001239565b60006020828403121562000b8d57600080fd5b815167ffffffffffffffff81111562000ba557600080fd5b62000bb38482850162000a6b565b949350505050565b60006020828403121562000bce57600080fd5b600062000bb3848462000af4565b6000806040838503121562000bf057600080fd5b600062000bfe858562000b07565b925050602062000c118582860162000b07565b9150509250929050565b60008060006040848603121562000c3157600080fd5b600062000c3f868662000b60565b935050602084013567ffffffffffffffff81111562000c5d57600080fd5b62000c6b8682870162000b14565b92509250509250925092565b60006020828403121562000c8a57600080fd5b600062000bb3848462000b60565b6000806000806060858703121562000caf57600080fd5b600062000cbd878762000b07565b945050602062000cd08782880162000b07565b935050604085013567ffffffffffffffff81111562000cee57600080fd5b62000cfc8782880162000b14565b95989497509550505050565b600062000d16838362000df1565b505060200190565b62000d2981620011a5565b82525050565b600062000d3c8262001193565b62000d48818562001197565b935062000d55836200118d565b8060005b8381101562000d8957815162000d70888262000d08565b975062000d7d836200118d565b92505060010162000d59565b509495945050505050565b62000d2981620011b2565b62000d2981620005b6565b62000d2962000db982620005b6565b620005b6565b600062000dcd838562001197565b935062000ddc838584620011e3565b62000de783620011ef565b9093019392505050565b62000d2981620011b7565b600062000e0b600f8362001197565b7f4e6f7420637070207369676e6572210000000000000000000000000000000000815260200192915050565b600062000e4660098362001197565b7f4e6f742070726f78790000000000000000000000000000000000000000000000815260200192915050565b600062000e81600e8362001197565b7f496e76616c6964207369676e6572000000000000000000000000000000000000815260200192915050565b600062000ebc60188362001197565b7f496e76616c6964207369676e6174757265206c656e6774680000000000000000815260200192915050565b600062000ef7602083620011a0565b7f7c7c456e6572676920426c6f636b636861696e20436865636b706f696e747c7c815260200192915050565b600062000f32600d8362001197565b7f4e6f7420737570706f7274656400000000000000000000000000000000000000815260200192915050565b62000d2981620011dd565b600062000f768262000ee8565b915062000f84828562000daa565b60208201915062000f96828462000daa565b5060200192915050565b6020810162000b01828462000d1e565b6020808252810162000454818462000d2f565b6020810162000b01828462000d94565b6020810162000b01828462000d9f565b6040810162000ff3828562000d9f565b62000454602083018462000df1565b6080810162001012828762000d9f565b62001021602083018662000f5e565b62001030604083018562000d9f565b6200103f606083018462000d9f565b95945050505050565b6020808252810162000bb381848662000dbf565b6020810162000b01828462000df1565b60a081016200107c828962000df1565b6200108b602083018862000d9f565b6200109a604083018762000d9f565b620010a9606083018662000d9f565b8181036080830152620010be81848662000dbf565b98975050505050505050565b6020808252810162000b018162000dfc565b6020808252810162000b018162000e37565b6020808252810162000b018162000e72565b6020808252810162000b018162000ead565b6020808252810162000b018162000f23565b6040810162001134828562000d9f565b62000454602083018462000d9f565b60405181810167ffffffffffffffff811182821017156200116357600080fd5b604052919050565b600067ffffffffffffffff8211156200118357600080fd5b5060209081020190565b60200190565b5190565b90815260200190565b919050565b600062000b0182620011c4565b151590565b600062000b0182620011a5565b73ffffffffffffffffffffffffffffffffffffffff1690565b60ff1690565b82818337506000910152565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01690565b6200122281620011b2565b81146200094557600080fd5b6200122281620005b6565b6200122281620011b756fe60806040523480156200001157600080fd5b50604051620012c8380380620012c8833981016040819052620000349162000310565b600080546001600160a01b0319166001600160a01b038716179055436001556002849055600383905560048290558051604114620000a9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620000a09062000445565b60405180910390fd5b60008082806020019051620000c29190810190620002d1565b91509150600060018585604081518110620000d957fe5b602001015160f81c60f81b60f81c858560405160008152602001604052604051620001089493929190620003ff565b6020604051602081039080840390855afa1580156200012b573d6000803e3d6000fd5b5050604051601f1901516006805460018101808355600092909252875192945090925062000183917ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d3f909101906020880190620001b0565b50506006546001600160a01b03909116600090815260056020526040902055506200053395505050505050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10620001f357805160ff191683800117855562000223565b8280016001018555821562000223579182015b828111156200022357825182559160200191906001019062000206565b506200023192915062000235565b5090565b6200025291905b808211156200023157600081556001016200023c565b90565b805162000262816200050e565b92915050565b600082601f8301126200027a57600080fd5b8151620002916200028b826200047e565b62000457565b91508082526020830160208301858383011115620002ae57600080fd5b620002bb838284620004db565b50505092915050565b8051620002628162000528565b60008060408385031215620002e557600080fd5b6000620002f3858562000255565b9250506020620003068582860162000255565b9150509250929050565b600080600080600060a086880312156200032957600080fd5b6000620003378888620002c4565b95505060206200034a8882890162000255565b94505060406200035d8882890162000255565b9350506060620003708882890162000255565b92505060808601516001600160401b038111156200038d57600080fd5b6200039b8882890162000268565b9150509295509295909350565b620003b38162000252565b82525050565b6000620003c8601883620004a6565b7f496e76616c6964207369676e6174757265206c656e6774680000000000000000815260200192915050565b620003b381620004d5565b608081016200040f8287620003a8565b6200041e6020830186620003f4565b6200042d6040830185620003a8565b6200043c6060830184620003a8565b95945050505050565b602080825281016200026281620003b9565b6040518181016001600160401b03811182821017156200047657600080fd5b604052919050565b60006001600160401b038211156200049557600080fd5b506020601f91909101601f19160190565b90815260200190565b60006200026282620004c9565b60006200026282620004af565b6001600160a01b031690565b60ff1690565b60005b83811015620004f8578181015183820152602001620004de565b8381111562000508576000848401525b50505050565b620005198162000252565b81146200052557600080fd5b50565b6200051981620004bc565b610d8580620005436000396000f3fe608060405234801561001057600080fd5b50600436106100725760003560e01c806376cd7cbc1161005057806376cd7cbc146100cc578063adfaa72e146100e1578063f27959c71461010157610072565b8063124321c4146100775780632bbe2c8814610095578063370158ea146100b5575b600080fd5b61007f610116565b60405161008c9190610b96565b60405180910390f35b6100a86100a336600461088b565b61011c565b60405161008c9190610be2565b6100bd61024f565b60405161008c93929190610c43565b6100df6100da366004610909565b61025d565b005b6100f46100ef36600461088b565b6105c0565b60405161008c9190610b88565b610109610610565b60405161008c9190610b77565b60045481565b73ffffffffffffffffffffffffffffffffffffffff811660009081526005602052604090205460609080610185576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161017c90610c23565b60405180910390fd5b6006600182038154811061019557fe5b600091825260209182902001805460408051601f60027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6101006001871615020190941693909304928301859004850281018501909152818152928301828280156102415780601f1061021657610100808354040283529160200191610241565b820191906000526020600020905b81548152906001019060200180831161022457829003601f168201915b50505050509150505b919050565b600254600354600154909192565b6105a060015443031061029c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161017c90610bf3565b604181146102d6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161017c90610c33565b6000806102e5838501856108cf565b9150915060006001600454868660408181106102fd57fe5b60408051600081526020019081905261032394939091013560f81c915087908790610ba4565b6020604051602081039080840390855afa158015610345573d6000803e3d6000fd5b5050604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0015173ffffffffffffffffffffffffffffffffffffffff81166000908152600560205291909120549092501590506103d0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161017c90610c03565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16638abf60776040518163ffffffff1660e01b815260040160206040518083038186803b15801561043957600080fd5b505afa15801561044d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250610471919081019061094b565b6040517f9f8a13d700000000000000000000000000000000000000000000000000000000815290915073ffffffffffffffffffffffffffffffffffffffff821690639f8a13d7906104c6908590600401610b69565b60206040518083038186803b1580156104de57600080fd5b505afa1580156104f2573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525061051691908101906108b1565b61054c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161017c90610c13565b600680546001810180835560009290925261058a907ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d3f018888610757565b505060065473ffffffffffffffffffffffffffffffffffffffff9092166000908152600560205260409020919091555050505050565b73ffffffffffffffffffffffffffffffffffffffff8116600090815260056020526040812054156105f35750600061024a565b6105a06001544303106106085750600061024a565b506001919050565b6006546040805182815260208084028201019091526060919081801561064a57816020015b60608152602001906001900390816106355790505b509150805b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81019015610752576006818154811061068557fe5b600091825260209182902001805460408051601f60027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6101006001871615020190941693909304928301859004850281018501909152818152928301828280156107315780601f1061070657610100808354040283529160200191610731565b820191906000526020600020905b81548152906001019060200180831161071457829003601f168201915b505050505083828151811061074257fe5b602002602001018190525061064f565b505090565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106107b6578280017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff008235161785556107e3565b828001600101855582156107e3579182015b828111156107e35782358255916020019190600101906107c8565b506107ef9291506107f3565b5090565b61080d91905b808211156107ef57600081556001016107f9565b90565b803561081b81610d10565b92915050565b805161081b81610d27565b803561081b81610d30565b60008083601f84011261084957600080fd5b50813567ffffffffffffffff81111561086157600080fd5b60208301915083600182028301111561087957600080fd5b9250929050565b805161081b81610d39565b60006020828403121561089d57600080fd5b60006108a98484610810565b949350505050565b6000602082840312156108c357600080fd5b60006108a98484610821565b600080604083850312156108e257600080fd5b60006108ee858561082c565b92505060206108ff8582860161082c565b9150509250929050565b6000806020838503121561091c57600080fd5b823567ffffffffffffffff81111561093357600080fd5b61093f85828601610837565b92509250509250929050565b60006020828403121561095d57600080fd5b60006108a98484610880565b60006109758383610a0b565b9392505050565b61098581610c7e565b82525050565b600061099682610c71565b6109a08185610c75565b9350836020820285016109b285610c6b565b8060005b858110156109ec57848403895281516109cf8582610969565b94506109da83610c6b565b60209a909a01999250506001016109b6565b5091979650505050505050565b61098581610c89565b6109858161080d565b6000610a1682610c71565b610a208185610c75565b9350610a30818560208601610cb8565b610a3981610ce8565b9093019392505050565b6000610a50601183610c75565b7f5369676e696e672068617320656e646564000000000000000000000000000000815260200192915050565b6000610a89600e83610c75565b7f416c7265616479207369676e6564000000000000000000000000000000000000815260200192915050565b6000610ac2600d83610c75565b7f4e6f7420616374697665204d4e00000000000000000000000000000000000000815260200192915050565b6000610afb600e83610c75565b7f4e6f74207369676e656420796574000000000000000000000000000000000000815260200192915050565b6000610b34601883610c75565b7f496e76616c6964207369676e6174757265206c656e6774680000000000000000815260200192915050565b61098581610cb2565b6020810161081b828461097c565b60208082528101610975818461098b565b6020810161081b82846109f9565b6020810161081b8284610a02565b60808101610bb28287610a02565b610bbf6020830186610b60565b610bcc6040830185610a02565b610bd96060830184610a02565b95945050505050565b602080825281016109758184610a0b565b6020808252810161081b81610a43565b6020808252810161081b81610a7c565b6020808252810161081b81610ab5565b6020808252810161081b81610aee565b6020808252810161081b81610b27565b60608101610c518286610a02565b610c5e6020830185610a02565b6108a96040830184610a02565b60200190565b5190565b90815260200190565b600061081b82610c99565b151590565b600061081b82610c7e565b73ffffffffffffffffffffffffffffffffffffffff1690565b60ff1690565b60005b83811015610cd3578181015183820152602001610cbb565b83811115610ce2576000848401525b50505050565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01690565b610d1981610c7e565b8114610d2457600080fd5b50565b610d1981610c89565b610d198161080d565b610d1981610c8e56fea365627a7a72315820059207961dfc83712ec1e11a0313b805932ebf320d9d4a1492f74b24fe8e796b6c6578706572696d656e74616cf564736f6c63430005100040a365627a7a72315820e321d75ade19885dbba8c54ae9d9928433f47f6f432a3b2705e73959d2c0eeee6c6578706572696d656e74616cf564736f6c634300051000406080604052600080546001600160a01b03191633179055610c21806100256000396000f3fe608060405234801561001057600080fd5b506004361061007d5760003560e01c806341c0e1b51161005b57806341c0e1b5146100d3578063a4ece52c146100db578063b8a24252146100e3578063d9592ead146101035761007d565b80630a3b0a4f1461008257806313af40351461009757806328b0558b146100aa575b600080fd5b6100956100903660046109aa565b610118565b005b6100956100a53660046109aa565b61030a565b6100bd6100b83660046109ee565b6103a2565b6040516100ca9190610b4b565b60405180910390f35b610095610699565b6100956106ed565b6100f66100f13660046109d0565b610834565b6040516100ca9190610b59565b61010b61085c565b6040516100ca9190610b33565b60005473ffffffffffffffffffffffffffffffffffffffff163314610172576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161016990610b67565b60405180910390fd5b6002546fffffffffffffffffffffffffffffffff70010000000000000000000000000000000090910416600a141561026e57600280546fffffffffffffffffffffffffffffffff908116600090815260016020819052604080832080547fffffffffffffffffffffffff000000000000000000000000000000000000000090811690915585547001000000000000000000000000000000008104861690861601851684529220805490921673ffffffffffffffffffffffffffffffffffffffff86161790915582547fffffffffffffffffffffffffffffffff000000000000000000000000000000008116908316909101909116179055610307565b600280546fffffffffffffffffffffffffffffffff8082167001000000000000000000000000000000009283900482160181166000908152600160208190526040909120805473ffffffffffffffffffffffffffffffffffffffff87167fffffffffffffffffffffffff000000000000000000000000000000000000000090911617905583548381048316909101821690920291161790555b50565b60005473ffffffffffffffffffffffffffffffffffffffff16331461035b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161016990610b67565b600080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b6000805473ffffffffffffffffffffffffffffffffffffffff1633146103f4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161016990610b67565b506002546000906fffffffffffffffffffffffffffffffff165b6002546fffffffffffffffffffffffffffffffff80821670010000000000000000000000000000000090920481169190910116811015610524576000818152600160205260408082205481517f370158ea0000000000000000000000000000000000000000000000000000000081529151839273ffffffffffffffffffffffffffffffffffffffff9092169163370158ea916004808301926060929190829003018186803b1580156104bf57600080fd5b505afa1580156104d3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052506104f79190810190610a28565b5091509150818614801561050a57508085145b1561051a57600193505050610524565b505060010161040e565b6001821515141561069157805b6002547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6fffffffffffffffffffffffffffffffff80831670010000000000000000000000000000000090930481169290920101168110156105f1576001818101600081815260209290925260408083205493835290912080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff90931692909217909155610531565b50600280547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6fffffffffffffffffffffffffffffffff8083167001000000000000000000000000000000009384900482160182018116600090815260016020526040902080547fffffffffffffffffffffffff000000000000000000000000000000000000000016905583548381048216909201811690920291161790555b505b92915050565b60005473ffffffffffffffffffffffffffffffffffffffff1633146106ea576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161016990610b67565b33ff5b60005473ffffffffffffffffffffffffffffffffffffffff16331461073e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161016990610b67565b60025470010000000000000000000000000000000090046fffffffffffffffffffffffffffffffff1661077057610832565b600280546fffffffffffffffffffffffffffffffff908116600090815260016020819052604090912080547fffffffffffffffffffffffff000000000000000000000000000000000000000016905582547fffffffffffffffffffffffffffffffff0000000000000000000000000000000081169083169091018216178082167001000000000000000000000000000000009182900483167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff01909216021790555b565b60016020526000908152604090205473ffffffffffffffffffffffffffffffffffffffff1681565b6060600260109054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff166040519080825280602002602001820160405280156108b8578160200160208202803883390190505b506002549091506fffffffffffffffffffffffffffffffff165b6002546fffffffffffffffffffffffffffffffff8082167001000000000000000000000000000000009092048116919091011681101561098557600081815260016020526040902054600254835173ffffffffffffffffffffffffffffffffffffffff9092169184916fffffffffffffffffffffffffffffffff16840390811061095857fe5b73ffffffffffffffffffffffffffffffffffffffff909216602092830291909101909101526001016108d2565b5090565b803561069381610bc1565b805161069381610bc1565b803561069381610bd5565b6000602082840312156109bc57600080fd5b60006109c8848461099f565b949350505050565b6000602082840312156109e257600080fd5b60006109c88484610989565b60008060408385031215610a0157600080fd5b6000610a0d8585610989565b9250506020610a1e85828601610989565b9150509250929050565b600080600060608486031215610a3d57600080fd5b6000610a498686610994565b9350506020610a5a86828701610994565b9250506040610a6b86828701610994565b9150509250925092565b6000610a818383610af1565b505060200190565b6000610a9482610b7d565b610a9e8185610b81565b9350610aa983610b77565b8060005b83811015610ad7578151610ac18882610a75565b9750610acc83610b77565b925050600101610aad565b509495945050505050565b610aeb81610b95565b82525050565b610aeb81610b9d565b6000610b07600a83610b81565b7f4e6f74206f776e65722100000000000000000000000000000000000000000000815260200192915050565b60208082528101610b448184610a89565b9392505050565b602081016106938284610ae2565b602081016106938284610af1565b6020808252810161069381610afa565b60200190565b5190565b90815260200190565b600061069382610ba8565b151590565b90565b600061069382610b8a565b73ffffffffffffffffffffffffffffffffffffffff1690565b610bca81610b9a565b811461030757600080fd5b610bca81610b9d56fea365627a7a72315820871f3dbeb7c03aa95b5e793ce94024dfe084dc5cc854faa91c867102045fe9f06c6578706572696d656e74616cf564736f6c63430005100040`

// DeployCheckpointRegistryV3 deploys a new Ethereum contract, binding an instance of CheckpointRegistryV3 to it.
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) {
	parsed, err := abi.JSON(strings.NewReader(CheckpointRegistryV3ABI))
	if err != nil {
		return common.Address{}, nil, nil, err
	}
	address, tx, contract, err := bind.DeployContract(auth, parsed, common.FromHex(CheckpointRegistryV3Bin), backend, _proxy, _mnregistry_proxy, _cpp_signer)
	if err != nil {
		return common.Address{}, nil, nil, err
	}
	return address, tx, &CheckpointRegistryV3{CheckpointRegistryV3Caller: CheckpointRegistryV3Caller{contract: contract}, CheckpointRegistryV3Transactor: CheckpointRegistryV3Transactor{contract: contract}, CheckpointRegistryV3Filterer: CheckpointRegistryV3Filterer{contract: contract}}, nil
}

// CheckpointRegistryV3Bin is the compiled bytecode of contract after deployment.
const CheckpointRegistryV3RuntimeBin = `608060405260043610620000cd5760003560e01c8063851f2209116200007f578063d59f17581162000055578063d59f1758146200025f578063ec5568891462000286578063fe7334e8146200029e57620000cd565b8063851f220914620001e1578063c20fa2ee1462000215578063ce5494bb146200023a57620000cd565b806351fae95911620000b557806351fae959146200016e5780635a48c0b0146200019357806378d0970f14620001ba57620000cd565b8062f55d9d146200010a57806328b0558b1462000131575b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620001019062001112565b60405180910390fd5b3480156200011757600080fd5b506200012f6200012936600462000c77565b620002b6565b005b3480156200013e57600080fd5b50620001566200015036600462000bdc565b6200032e565b60405162000165919062000fc3565b60405180910390f35b3480156200017b57600080fd5b506200012f6200018d36600462000c1b565b6200045b565b348015620001a057600080fd5b50620001ab620004ea565b60405162000165919062000fb0565b348015620001c757600080fd5b50620001d2620005b9565b6040516200016591906200105c565b348015620001ee57600080fd5b50620002066200020036600462000bdc565b620005d5565b60405162000165919062000fd3565b3480156200022257600080fd5b50620001d26200023436600462000c98565b6200060a565b3480156200024757600080fd5b506200012f6200025936600462000c77565b620008eb565b3480156200026c57600080fd5b506200027762000948565b60405162000165919062000fa0565b3480156200029357600080fd5b506200027762000964565b348015620002ab57600080fd5b50620001d262000980565b60005473ffffffffffffffffffffffffffffffffffffffff1633146200030a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200010190620010dc565b62000315816200099c565b8073ffffffffffffffffffffffffffffffffffffffff16ff5b60035460009073ffffffffffffffffffffffffffffffffffffffff166200035462000a2b565b73ffffffffffffffffffffffffffffffffffffffff1614620003a4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200010190620010ca565b6001546040517f28b0558b00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff909116906328b0558b90620003fe908690869060040162001124565b602060405180830381600087803b1580156200041957600080fd5b505af11580156200042e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525062000454919081019062000bbb565b9392505050565b6040517f76cd7cbc00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8416906376cd7cbc90620004b1908590859060040162001048565b600060405180830381600087803b158015620004cc57600080fd5b505af1158015620004e1573d6000803e3d6000fd5b50505050505050565b600154604080517fd9592ead000000000000000000000000000000000000000000000000000000008152905160609273ffffffffffffffffffffffffffffffffffffffff169163d9592ead916004808301926000929190829003018186803b1580156200055657600080fd5b505afa1580156200056b573d6000803e3d6000fd5b505050506040513d6000823e601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0168201604052620005b3919081019062000b7a565b90505b90565b60015473ffffffffffffffffffffffffffffffffffffffff1681565b60008282604051602001620005ec92919062000f69565b60405160208183030381529060405280519060200120905092915050565b60035460009073ffffffffffffffffffffffffffffffffffffffff166200063062000a2b565b73ffffffffffffffffffffffffffffffffffffffff161462000680576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200010190620010ca565b60006200068e8686620005d5565b905060418314620006cd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620001019062001100565b600080620006de8587018762000bdc565b600354919350915073ffffffffffffffffffffffffffffffffffffffff16600184888860408181106200070d57fe5b6040805160008152602001908190526200073594939091013560f81c91508790879062001002565b6020604051602081039080840390855afa15801562000758573d6000803e3d6000fd5b5050506020604051035173ffffffffffffffffffffffffffffffffffffffff1614620007b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200010190620010ee565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168888858989604051620007e89062000a5d565b620007f9969594939291906200106c565b604051809103906000f08015801562000816573d6000803e3d6000fd5b506001546040517f0a3b0a4f00000000000000000000000000000000000000000000000000000000815291955073ffffffffffffffffffffffffffffffffffffffff1690630a3b0a4f90620008709087906004016200105c565b600060405180830381600087803b1580156200088b57600080fd5b505af1158015620008a0573d6000803e3d6000fd5b50505050877f7f582e7a234c68b135245365b0c69d608f9235392a1ef801b46f04ca5d6cdad48886604051620008d892919062000fe3565b60405180910390a2505050949350505050565b60005473ffffffffffffffffffffffffffffffffffffffff1633146200093f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200010190620010dc565b62000945815b50565b60035473ffffffffffffffffffffffffffffffffffffffff1681565b60005473ffffffffffffffffffffffffffffffffffffffff1681565b60025473ffffffffffffffffffffffffffffffffffffffff1681565b6001546040517f13af403500000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff909116906313af403590620009f49084906004016200105c565b600060405180830381600087803b15801562000a0f57600080fd5b505af115801562000a24573d6000803e3d6000fd5b5050505050565b6000805473ffffffffffffffffffffffffffffffffffffffff1633141562000a55575032620005b6565b5033620005b6565b6112c8806200124583390190565b600082601f83011262000a7d57600080fd5b815162000a9462000a8e826200116b565b62001143565b9150818183526020840193506020810190508385602084028201111562000aba57600080fd5b60005b8381101562000aea578162000ad3888262000b6d565b845250602092830192919091019060010162000abd565b5050505092915050565b805162000b018162001217565b92915050565b803562000b01816200122e565b60008083601f84011262000b2757600080fd5b50813567ffffffffffffffff81111562000b4057600080fd5b60208301915083600182028301111562000b5957600080fd5b9250929050565b803562000b018162001239565b805162000b018162001239565b60006020828403121562000b8d57600080fd5b815167ffffffffffffffff81111562000ba557600080fd5b62000bb38482850162000a6b565b949350505050565b60006020828403121562000bce57600080fd5b600062000bb3848462000af4565b6000806040838503121562000bf057600080fd5b600062000bfe858562000b07565b925050602062000c118582860162000b07565b9150509250929050565b60008060006040848603121562000c3157600080fd5b600062000c3f868662000b60565b935050602084013567ffffffffffffffff81111562000c5d57600080fd5b62000c6b8682870162000b14565b92509250509250925092565b60006020828403121562000c8a57600080fd5b600062000bb3848462000b60565b6000806000806060858703121562000caf57600080fd5b600062000cbd878762000b07565b945050602062000cd08782880162000b07565b935050604085013567ffffffffffffffff81111562000cee57600080fd5b62000cfc8782880162000b14565b95989497509550505050565b600062000d16838362000df1565b505060200190565b62000d2981620011a5565b82525050565b600062000d3c8262001193565b62000d48818562001197565b935062000d55836200118d565b8060005b8381101562000d8957815162000d70888262000d08565b975062000d7d836200118d565b92505060010162000d59565b509495945050505050565b62000d2981620011b2565b62000d2981620005b6565b62000d2962000db982620005b6565b620005b6565b600062000dcd838562001197565b935062000ddc838584620011e3565b62000de783620011ef565b9093019392505050565b62000d2981620011b7565b600062000e0b600f8362001197565b7f4e6f7420637070207369676e6572210000000000000000000000000000000000815260200192915050565b600062000e4660098362001197565b7f4e6f742070726f78790000000000000000000000000000000000000000000000815260200192915050565b600062000e81600e8362001197565b7f496e76616c6964207369676e6572000000000000000000000000000000000000815260200192915050565b600062000ebc60188362001197565b7f496e76616c6964207369676e6174757265206c656e6774680000000000000000815260200192915050565b600062000ef7602083620011a0565b7f7c7c456e6572676920426c6f636b636861696e20436865636b706f696e747c7c815260200192915050565b600062000f32600d8362001197565b7f4e6f7420737570706f7274656400000000000000000000000000000000000000815260200192915050565b62000d2981620011dd565b600062000f768262000ee8565b915062000f84828562000daa565b60208201915062000f96828462000daa565b5060200192915050565b6020810162000b01828462000d1e565b6020808252810162000454818462000d2f565b6020810162000b01828462000d94565b6020810162000b01828462000d9f565b6040810162000ff3828562000d9f565b62000454602083018462000df1565b6080810162001012828762000d9f565b62001021602083018662000f5e565b62001030604083018562000d9f565b6200103f606083018462000d9f565b95945050505050565b6020808252810162000bb381848662000dbf565b6020810162000b01828462000df1565b60a081016200107c828962000df1565b6200108b602083018862000d9f565b6200109a604083018762000d9f565b620010a9606083018662000d9f565b8181036080830152620010be81848662000dbf565b98975050505050505050565b6020808252810162000b018162000dfc565b6020808252810162000b018162000e37565b6020808252810162000b018162000e72565b6020808252810162000b018162000ead565b6020808252810162000b018162000f23565b6040810162001134828562000d9f565b62000454602083018462000d9f565b60405181810167ffffffffffffffff811182821017156200116357600080fd5b604052919050565b600067ffffffffffffffff8211156200118357600080fd5b5060209081020190565b60200190565b5190565b90815260200190565b919050565b600062000b0182620011c4565b151590565b600062000b0182620011a5565b73ffffffffffffffffffffffffffffffffffffffff1690565b60ff1690565b82818337506000910152565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01690565b6200122281620011b2565b81146200094557600080fd5b6200122281620005b6565b6200122281620011b756fe60806040523480156200001157600080fd5b50604051620012c8380380620012c8833981016040819052620000349162000310565b600080546001600160a01b0319166001600160a01b038716179055436001556002849055600383905560048290558051604114620000a9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620000a09062000445565b60405180910390fd5b60008082806020019051620000c29190810190620002d1565b91509150600060018585604081518110620000d957fe5b602001015160f81c60f81b60f81c858560405160008152602001604052604051620001089493929190620003ff565b6020604051602081039080840390855afa1580156200012b573d6000803e3d6000fd5b5050604051601f1901516006805460018101808355600092909252875192945090925062000183917ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d3f909101906020880190620001b0565b50506006546001600160a01b03909116600090815260056020526040902055506200053395505050505050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10620001f357805160ff191683800117855562000223565b8280016001018555821562000223579182015b828111156200022357825182559160200191906001019062000206565b506200023192915062000235565b5090565b6200025291905b808211156200023157600081556001016200023c565b90565b805162000262816200050e565b92915050565b600082601f8301126200027a57600080fd5b8151620002916200028b826200047e565b62000457565b91508082526020830160208301858383011115620002ae57600080fd5b620002bb838284620004db565b50505092915050565b8051620002628162000528565b60008060408385031215620002e557600080fd5b6000620002f3858562000255565b9250506020620003068582860162000255565b9150509250929050565b600080600080600060a086880312156200032957600080fd5b6000620003378888620002c4565b95505060206200034a8882890162000255565b94505060406200035d8882890162000255565b9350506060620003708882890162000255565b92505060808601516001600160401b038111156200038d57600080fd5b6200039b8882890162000268565b9150509295509295909350565b620003b38162000252565b82525050565b6000620003c8601883620004a6565b7f496e76616c6964207369676e6174757265206c656e6774680000000000000000815260200192915050565b620003b381620004d5565b608081016200040f8287620003a8565b6200041e6020830186620003f4565b6200042d6040830185620003a8565b6200043c6060830184620003a8565b95945050505050565b602080825281016200026281620003b9565b6040518181016001600160401b03811182821017156200047657600080fd5b604052919050565b60006001600160401b038211156200049557600080fd5b506020601f91909101601f19160190565b90815260200190565b60006200026282620004c9565b60006200026282620004af565b6001600160a01b031690565b60ff1690565b60005b83811015620004f8578181015183820152602001620004de565b8381111562000508576000848401525b50505050565b620005198162000252565b81146200052557600080fd5b50565b6200051981620004bc565b610d8580620005436000396000f3fe608060405234801561001057600080fd5b50600436106100725760003560e01c806376cd7cbc1161005057806376cd7cbc146100cc578063adfaa72e146100e1578063f27959c71461010157610072565b8063124321c4146100775780632bbe2c8814610095578063370158ea146100b5575b600080fd5b61007f610116565b60405161008c9190610b96565b60405180910390f35b6100a86100a336600461088b565b61011c565b60405161008c9190610be2565b6100bd61024f565b60405161008c93929190610c43565b6100df6100da366004610909565b61025d565b005b6100f46100ef36600461088b565b6105c0565b60405161008c9190610b88565b610109610610565b60405161008c9190610b77565b60045481565b73ffffffffffffffffffffffffffffffffffffffff811660009081526005602052604090205460609080610185576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161017c90610c23565b60405180910390fd5b6006600182038154811061019557fe5b600091825260209182902001805460408051601f60027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6101006001871615020190941693909304928301859004850281018501909152818152928301828280156102415780601f1061021657610100808354040283529160200191610241565b820191906000526020600020905b81548152906001019060200180831161022457829003601f168201915b50505050509150505b919050565b600254600354600154909192565b6105a060015443031061029c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161017c90610bf3565b604181146102d6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161017c90610c33565b6000806102e5838501856108cf565b9150915060006001600454868660408181106102fd57fe5b60408051600081526020019081905261032394939091013560f81c915087908790610ba4565b6020604051602081039080840390855afa158015610345573d6000803e3d6000fd5b5050604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0015173ffffffffffffffffffffffffffffffffffffffff81166000908152600560205291909120549092501590506103d0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161017c90610c03565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16638abf60776040518163ffffffff1660e01b815260040160206040518083038186803b15801561043957600080fd5b505afa15801561044d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250610471919081019061094b565b6040517f9f8a13d700000000000000000000000000000000000000000000000000000000815290915073ffffffffffffffffffffffffffffffffffffffff821690639f8a13d7906104c6908590600401610b69565b60206040518083038186803b1580156104de57600080fd5b505afa1580156104f2573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525061051691908101906108b1565b61054c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161017c90610c13565b600680546001810180835560009290925261058a907ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d3f018888610757565b505060065473ffffffffffffffffffffffffffffffffffffffff9092166000908152600560205260409020919091555050505050565b73ffffffffffffffffffffffffffffffffffffffff8116600090815260056020526040812054156105f35750600061024a565b6105a06001544303106106085750600061024a565b506001919050565b6006546040805182815260208084028201019091526060919081801561064a57816020015b60608152602001906001900390816106355790505b509150805b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81019015610752576006818154811061068557fe5b600091825260209182902001805460408051601f60027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6101006001871615020190941693909304928301859004850281018501909152818152928301828280156107315780601f1061070657610100808354040283529160200191610731565b820191906000526020600020905b81548152906001019060200180831161071457829003601f168201915b505050505083828151811061074257fe5b602002602001018190525061064f565b505090565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106107b6578280017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff008235161785556107e3565b828001600101855582156107e3579182015b828111156107e35782358255916020019190600101906107c8565b506107ef9291506107f3565b5090565b61080d91905b808211156107ef57600081556001016107f9565b90565b803561081b81610d10565b92915050565b805161081b81610d27565b803561081b81610d30565b60008083601f84011261084957600080fd5b50813567ffffffffffffffff81111561086157600080fd5b60208301915083600182028301111561087957600080fd5b9250929050565b805161081b81610d39565b60006020828403121561089d57600080fd5b60006108a98484610810565b949350505050565b6000602082840312156108c357600080fd5b60006108a98484610821565b600080604083850312156108e257600080fd5b60006108ee858561082c565b92505060206108ff8582860161082c565b9150509250929050565b6000806020838503121561091c57600080fd5b823567ffffffffffffffff81111561093357600080fd5b61093f85828601610837565b92509250509250929050565b60006020828403121561095d57600080fd5b60006108a98484610880565b60006109758383610a0b565b9392505050565b61098581610c7e565b82525050565b600061099682610c71565b6109a08185610c75565b9350836020820285016109b285610c6b565b8060005b858110156109ec57848403895281516109cf8582610969565b94506109da83610c6b565b60209a909a01999250506001016109b6565b5091979650505050505050565b61098581610c89565b6109858161080d565b6000610a1682610c71565b610a208185610c75565b9350610a30818560208601610cb8565b610a3981610ce8565b9093019392505050565b6000610a50601183610c75565b7f5369676e696e672068617320656e646564000000000000000000000000000000815260200192915050565b6000610a89600e83610c75565b7f416c7265616479207369676e6564000000000000000000000000000000000000815260200192915050565b6000610ac2600d83610c75565b7f4e6f7420616374697665204d4e00000000000000000000000000000000000000815260200192915050565b6000610afb600e83610c75565b7f4e6f74207369676e656420796574000000000000000000000000000000000000815260200192915050565b6000610b34601883610c75565b7f496e76616c6964207369676e6174757265206c656e6774680000000000000000815260200192915050565b61098581610cb2565b6020810161081b828461097c565b60208082528101610975818461098b565b6020810161081b82846109f9565b6020810161081b8284610a02565b60808101610bb28287610a02565b610bbf6020830186610b60565b610bcc6040830185610a02565b610bd96060830184610a02565b95945050505050565b602080825281016109758184610a0b565b6020808252810161081b81610a43565b6020808252810161081b81610a7c565b6020808252810161081b81610ab5565b6020808252810161081b81610aee565b6020808252810161081b81610b27565b60608101610c518286610a02565b610c5e6020830185610a02565b6108a96040830184610a02565b60200190565b5190565b90815260200190565b600061081b82610c99565b151590565b600061081b82610c7e565b73ffffffffffffffffffffffffffffffffffffffff1690565b60ff1690565b60005b83811015610cd3578181015183820152602001610cbb565b83811115610ce2576000848401525b50505050565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01690565b610d1981610c7e565b8114610d2457600080fd5b50565b610d1981610c89565b610d198161080d565b610d1981610c8e56fea365627a7a72315820059207961dfc83712ec1e11a0313b805932ebf320d9d4a1492f74b24fe8e796b6c6578706572696d656e74616cf564736f6c63430005100040a365627a7a72315820e321d75ade19885dbba8c54ae9d9928433f47f6f432a3b2705e73959d2c0eeee6c6578706572696d656e74616cf564736f6c63430005100040`

// CheckpointRegistryV3 is an auto generated Go binding around an Ethereum contract.
type CheckpointRegistryV3 struct {
	CheckpointRegistryV3Caller     // Read-only binding to the contract
	CheckpointRegistryV3Transactor // Write-only binding to the contract
	CheckpointRegistryV3Filterer   // Log filterer for contract events
}

// CheckpointRegistryV3Caller is an auto generated read-only Go binding around an Ethereum contract.
type CheckpointRegistryV3Caller struct {
	contract *bind.BoundContract // Generic contract wrapper for the low level calls
}

// CheckpointRegistryV3Transactor is an auto generated write-only Go binding around an Ethereum contract.
type CheckpointRegistryV3Transactor struct {
	contract *bind.BoundContract // Generic contract wrapper for the low level calls
}

// CheckpointRegistryV3Filterer is an auto generated log filtering Go binding around an Ethereum contract events.
type CheckpointRegistryV3Filterer struct {
	contract *bind.BoundContract // Generic contract wrapper for the low level calls
}

// CheckpointRegistryV3Session is an auto generated Go binding around an Ethereum contract,
// with pre-set call and transact options.
type CheckpointRegistryV3Session struct {
	Contract     *CheckpointRegistryV3 // Generic contract binding to set the session for
	CallOpts     bind.CallOpts         // Call options to use throughout this session
	TransactOpts bind.TransactOpts     // Transaction auth options to use throughout this session
}

// CheckpointRegistryV3CallerSession is an auto generated read-only Go binding around an Ethereum contract,
// with pre-set call options.
type CheckpointRegistryV3CallerSession struct {
	Contract *CheckpointRegistryV3Caller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts               // Call options to use throughout this session
}

// CheckpointRegistryV3TransactorSession is an auto generated write-only Go binding around an Ethereum contract,
// with pre-set transact options.
type CheckpointRegistryV3TransactorSession struct {
	Contract     *CheckpointRegistryV3Transactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts               // Transaction auth options to use throughout this session
}

// CheckpointRegistryV3Raw is an auto generated low-level Go binding around an Ethereum contract.
type CheckpointRegistryV3Raw struct {
	Contract *CheckpointRegistryV3 // Generic contract binding to access the raw methods on
}

// CheckpointRegistryV3CallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
type CheckpointRegistryV3CallerRaw struct {
	Contract *CheckpointRegistryV3Caller // Generic read-only contract binding to access the raw methods on
}

// CheckpointRegistryV3TransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
type CheckpointRegistryV3TransactorRaw struct {
	Contract *CheckpointRegistryV3Transactor // Generic write-only contract binding to access the raw methods on
}

// NewCheckpointRegistryV3 creates a new instance of CheckpointRegistryV3, bound to a specific deployed contract.
func NewCheckpointRegistryV3(address common.Address, backend bind.ContractBackend) (*CheckpointRegistryV3, error) {
	contract, err := bindCheckpointRegistryV3(address, backend, backend, backend)
	if err != nil {
		return nil, err
	}
	return &CheckpointRegistryV3{CheckpointRegistryV3Caller: CheckpointRegistryV3Caller{contract: contract}, CheckpointRegistryV3Transactor: CheckpointRegistryV3Transactor{contract: contract}, CheckpointRegistryV3Filterer: CheckpointRegistryV3Filterer{contract: contract}}, nil
}

// NewCheckpointRegistryV3Caller creates a new read-only instance of CheckpointRegistryV3, bound to a specific deployed contract.
func NewCheckpointRegistryV3Caller(address common.Address, caller bind.ContractCaller) (*CheckpointRegistryV3Caller, error) {
	contract, err := bindCheckpointRegistryV3(address, caller, nil, nil)
	if err != nil {
		return nil, err
	}
	return &CheckpointRegistryV3Caller{contract: contract}, nil
}

// NewCheckpointRegistryV3Transactor creates a new write-only instance of CheckpointRegistryV3, bound to a specific deployed contract.
func NewCheckpointRegistryV3Transactor(address common.Address, transactor bind.ContractTransactor) (*CheckpointRegistryV3Transactor, error) {
	contract, err := bindCheckpointRegistryV3(address, nil, transactor, nil)
	if err != nil {
		return nil, err
	}
	return &CheckpointRegistryV3Transactor{contract: contract}, nil
}

// NewCheckpointRegistryV3Filterer creates a new log filterer instance of CheckpointRegistryV3, bound to a specific deployed contract.
func NewCheckpointRegistryV3Filterer(address common.Address, filterer bind.ContractFilterer) (*CheckpointRegistryV3Filterer, error) {
	contract, err := bindCheckpointRegistryV3(address, nil, nil, filterer)
	if err != nil {
		return nil, err
	}
	return &CheckpointRegistryV3Filterer{contract: contract}, nil
}

// bindCheckpointRegistryV3 binds a generic wrapper to an already deployed contract.
func bindCheckpointRegistryV3(address common.Address, caller bind.ContractCaller, transactor bind.ContractTransactor, filterer bind.ContractFilterer) (*bind.BoundContract, error) {
	parsed, err := abi.JSON(strings.NewReader(CheckpointRegistryV3ABI))
	if err != nil {
		return nil, err
	}
	return bind.NewBoundContract(address, parsed, caller, transactor, filterer), nil
}

// Call invokes the (constant) contract method with params as input values and
// sets the output to result. The result type might be a single field for simple
// returns, a slice of interfaces for anonymous returns and a struct for named
// returns.
func (_CheckpointRegistryV3 *CheckpointRegistryV3Raw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error {
	return _CheckpointRegistryV3.Contract.CheckpointRegistryV3Caller.contract.Call(opts, result, method, params...)
}

// Transfer initiates a plain transaction to move funds to the contract, calling
// its default method if one is available.
func (_CheckpointRegistryV3 *CheckpointRegistryV3Raw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error) {
	return _CheckpointRegistryV3.Contract.CheckpointRegistryV3Transactor.contract.Transfer(opts)
}

// Transact invokes the (paid) contract method with params as input values.
func (_CheckpointRegistryV3 *CheckpointRegistryV3Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error) {
	return _CheckpointRegistryV3.Contract.CheckpointRegistryV3Transactor.contract.Transact(opts, method, params...)
}

// Call invokes the (constant) contract method with params as input values and
// sets the output to result. The result type might be a single field for simple
// returns, a slice of interfaces for anonymous returns and a struct for named
// returns.
func (_CheckpointRegistryV3 *CheckpointRegistryV3CallerRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error {
	return _CheckpointRegistryV3.Contract.contract.Call(opts, result, method, params...)
}

// Transfer initiates a plain transaction to move funds to the contract, calling
// its default method if one is available.
func (_CheckpointRegistryV3 *CheckpointRegistryV3TransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error) {
	return _CheckpointRegistryV3.Contract.contract.Transfer(opts)
}

// Transact invokes the (paid) contract method with params as input values.
func (_CheckpointRegistryV3 *CheckpointRegistryV3TransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error) {
	return _CheckpointRegistryV3.Contract.contract.Transact(opts, method, params...)
}

// CPPSigner is a free data retrieval call binding the contract method 0xd59f1758.
//
// Solidity: function CPP_signer() constant returns(address)
func (_CheckpointRegistryV3 *CheckpointRegistryV3Caller) CPPSigner(opts *bind.CallOpts) (common.Address, error) {
	var (
		ret0 = new(common.Address)
	)
	out := ret0
	err := _CheckpointRegistryV3.contract.Call(opts, out, "CPP_signer")
	return *ret0, err
}

// CPPSigner is a free data retrieval call binding the contract method 0xd59f1758.
//
// Solidity: function CPP_signer() constant returns(address)
func (_CheckpointRegistryV3 *CheckpointRegistryV3Session) CPPSigner() (common.Address, error) {
	return _CheckpointRegistryV3.Contract.CPPSigner(&_CheckpointRegistryV3.CallOpts)
}

// CPPSigner is a free data retrieval call binding the contract method 0xd59f1758.
//
// Solidity: function CPP_signer() constant returns(address)
func (_CheckpointRegistryV3 *CheckpointRegistryV3CallerSession) CPPSigner() (common.Address, error) {
	return _CheckpointRegistryV3.Contract.CPPSigner(&_CheckpointRegistryV3.CallOpts)
}

// Checkpoints is a free data retrieval call binding the contract method 0x5a48c0b0.
//
// Solidity: function checkpoints() constant returns(address[])
func (_CheckpointRegistryV3 *CheckpointRegistryV3Caller) Checkpoints(opts *bind.CallOpts) ([]common.Address, error) {
	var (
		ret0 = new([]common.Address)
	)
	out := ret0
	err := _CheckpointRegistryV3.contract.Call(opts, out, "checkpoints")
	return *ret0, err
}

// Checkpoints is a free data retrieval call binding the contract method 0x5a48c0b0.
//
// Solidity: function checkpoints() constant returns(address[])
func (_CheckpointRegistryV3 *CheckpointRegistryV3Session) Checkpoints() ([]common.Address, error) {
	return _CheckpointRegistryV3.Contract.Checkpoints(&_CheckpointRegistryV3.CallOpts)
}

// Checkpoints is a free data retrieval call binding the contract method 0x5a48c0b0.
//
// Solidity: function checkpoints() constant returns(address[])
func (_CheckpointRegistryV3 *CheckpointRegistryV3CallerSession) Checkpoints() ([]common.Address, error) {
	return _CheckpointRegistryV3.Contract.Checkpoints(&_CheckpointRegistryV3.CallOpts)
}

// MnregistryProxy is a free data retrieval call binding the contract method 0xfe7334e8.
//
// Solidity: function mnregistry_proxy() constant returns(address)
func (_CheckpointRegistryV3 *CheckpointRegistryV3Caller) MnregistryProxy(opts *bind.CallOpts) (common.Address, error) {
	var (
		ret0 = new(common.Address)
	)
	out := ret0
	err := _CheckpointRegistryV3.contract.Call(opts, out, "mnregistry_proxy")
	return *ret0, err
}

// MnregistryProxy is a free data retrieval call binding the contract method 0xfe7334e8.
//
// Solidity: function mnregistry_proxy() constant returns(address)
func (_CheckpointRegistryV3 *CheckpointRegistryV3Session) MnregistryProxy() (common.Address, error) {
	return _CheckpointRegistryV3.Contract.MnregistryProxy(&_CheckpointRegistryV3.CallOpts)
}

// MnregistryProxy is a free data retrieval call binding the contract method 0xfe7334e8.
//
// Solidity: function mnregistry_proxy() constant returns(address)
func (_CheckpointRegistryV3 *CheckpointRegistryV3CallerSession) MnregistryProxy() (common.Address, error) {
	return _CheckpointRegistryV3.Contract.MnregistryProxy(&_CheckpointRegistryV3.CallOpts)
}

// Proxy is a free data retrieval call binding the contract method 0xec556889.
//
// Solidity: function proxy() constant returns(address)
func (_CheckpointRegistryV3 *CheckpointRegistryV3Caller) Proxy(opts *bind.CallOpts) (common.Address, error) {
	var (
		ret0 = new(common.Address)
	)
	out := ret0
	err := _CheckpointRegistryV3.contract.Call(opts, out, "proxy")
	return *ret0, err
}

// Proxy is a free data retrieval call binding the contract method 0xec556889.
//
// Solidity: function proxy() constant returns(address)
func (_CheckpointRegistryV3 *CheckpointRegistryV3Session) Proxy() (common.Address, error) {
	return _CheckpointRegistryV3.Contract.Proxy(&_CheckpointRegistryV3.CallOpts)
}

// Proxy is a free data retrieval call binding the contract method 0xec556889.
//
// Solidity: function proxy() constant returns(address)
func (_CheckpointRegistryV3 *CheckpointRegistryV3CallerSession) Proxy() (common.Address, error) {
	return _CheckpointRegistryV3.Contract.Proxy(&_CheckpointRegistryV3.CallOpts)
}

// SignatureBase is a free data retrieval call binding the contract method 0x851f2209.
//
// Solidity: function signatureBase(uint256 number, bytes32 hash) constant returns(bytes32 sigbase)
func (_CheckpointRegistryV3 *CheckpointRegistryV3Caller) SignatureBase(opts *bind.CallOpts, number *big.Int, hash [32]byte) ([32]byte, error) {
	var (
		ret0 = new([32]byte)
	)
	out := ret0
	err := _CheckpointRegistryV3.contract.Call(opts, out, "signatureBase", number, hash)
	return *ret0, err
}

// SignatureBase is a free data retrieval call binding the contract method 0x851f2209.
//
// Solidity: function signatureBase(uint256 number, bytes32 hash) constant returns(bytes32 sigbase)
func (_CheckpointRegistryV3 *CheckpointRegistryV3Session) SignatureBase(number *big.Int, hash [32]byte) ([32]byte, error) {
	return _CheckpointRegistryV3.Contract.SignatureBase(&_CheckpointRegistryV3.CallOpts, number, hash)
}

// SignatureBase is a free data retrieval call binding the contract method 0x851f2209.
//
// Solidity: function signatureBase(uint256 number, bytes32 hash) constant returns(bytes32 sigbase)
func (_CheckpointRegistryV3 *CheckpointRegistryV3CallerSession) SignatureBase(number *big.Int, hash [32]byte) ([32]byte, error) {
	return _CheckpointRegistryV3.Contract.SignatureBase(&_CheckpointRegistryV3.CallOpts, number, hash)
}

// V2storage is a free data retrieval call binding the contract method 0x78d0970f.
//
// Solidity: function v2storage() constant returns(address)
func (_CheckpointRegistryV3 *CheckpointRegistryV3Caller) V2storage(opts *bind.CallOpts) (common.Address, error) {
	var (
		ret0 = new(common.Address)
	)
	out := ret0
	err := _CheckpointRegistryV3.contract.Call(opts, out, "v2storage")
	return *ret0, err
}

// V2storage is a free data retrieval call binding the contract method 0x78d0970f.
//
// Solidity: function v2storage() constant returns(address)
func (_CheckpointRegistryV3 *CheckpointRegistryV3Session) V2storage() (common.Address, error) {
	return _CheckpointRegistryV3.Contract.V2storage(&_CheckpointRegistryV3.CallOpts)
}

// V2storage is a free data retrieval call binding the contract method 0x78d0970f.
//
// Solidity: function v2storage() constant returns(address)
func (_CheckpointRegistryV3 *CheckpointRegistryV3CallerSession) V2storage() (common.Address, error) {
	return _CheckpointRegistryV3.Contract.V2storage(&_CheckpointRegistryV3.CallOpts)
}

// Destroy is a paid mutator transaction binding the contract method 0x00f55d9d.
//
// Solidity: function destroy(address _newImpl) returns()
func (_CheckpointRegistryV3 *CheckpointRegistryV3Transactor) Destroy(opts *bind.TransactOpts, _newImpl common.Address) (*types.Transaction, error) {
	return _CheckpointRegistryV3.contract.Transact(opts, "destroy", _newImpl)
}

// Destroy is a paid mutator transaction binding the contract method 0x00f55d9d.
//
// Solidity: function destroy(address _newImpl) returns()
func (_CheckpointRegistryV3 *CheckpointRegistryV3Session) Destroy(_newImpl common.Address) (*types.Transaction, error) {
	return _CheckpointRegistryV3.Contract.Destroy(&_CheckpointRegistryV3.TransactOpts, _newImpl)
}

// Destroy is a paid mutator transaction binding the contract method 0x00f55d9d.
//
// Solidity: function destroy(address _newImpl) returns()
func (_CheckpointRegistryV3 *CheckpointRegistryV3TransactorSession) Destroy(_newImpl common.Address) (*types.Transaction, error) {
	return _CheckpointRegistryV3.Contract.Destroy(&_CheckpointRegistryV3.TransactOpts, _newImpl)
}

// Migrate is a paid mutator transaction binding the contract method 0xce5494bb.
//
// Solidity: function migrate(address _oldImpl) returns()
func (_CheckpointRegistryV3 *CheckpointRegistryV3Transactor) Migrate(opts *bind.TransactOpts, _oldImpl common.Address) (*types.Transaction, error) {
	return _CheckpointRegistryV3.contract.Transact(opts, "migrate", _oldImpl)
}

// Migrate is a paid mutator transaction binding the contract method 0xce5494bb.
//
// Solidity: function migrate(address _oldImpl) returns()
func (_CheckpointRegistryV3 *CheckpointRegistryV3Session) Migrate(_oldImpl common.Address) (*types.Transaction, error) {
	return _CheckpointRegistryV3.Contract.Migrate(&_CheckpointRegistryV3.TransactOpts, _oldImpl)
}

// Migrate is a paid mutator transaction binding the contract method 0xce5494bb.
//
// Solidity: function migrate(address _oldImpl) returns()
func (_CheckpointRegistryV3 *CheckpointRegistryV3TransactorSession) Migrate(_oldImpl common.Address) (*types.Transaction, error) {
	return _CheckpointRegistryV3.Contract.Migrate(&_CheckpointRegistryV3.TransactOpts, _oldImpl)
}

// Propose is a paid mutator transaction binding the contract method 0xc20fa2ee.
//
// Solidity: function propose(uint256 number, bytes32 hash, bytes signature) returns(address checkpoint)
func (_CheckpointRegistryV3 *CheckpointRegistryV3Transactor) Propose(opts *bind.TransactOpts, number *big.Int, hash [32]byte, signature []byte) (*types.Transaction, error) {
	return _CheckpointRegistryV3.contract.Transact(opts, "propose", number, hash, signature)
}

// Propose is a paid mutator transaction binding the contract method 0xc20fa2ee.
//
// Solidity: function propose(uint256 number, bytes32 hash, bytes signature) returns(address checkpoint)
func (_CheckpointRegistryV3 *CheckpointRegistryV3Session) Propose(number *big.Int, hash [32]byte, signature []byte) (*types.Transaction, error) {
	return _CheckpointRegistryV3.Contract.Propose(&_CheckpointRegistryV3.TransactOpts, number, hash, signature)
}

// Propose is a paid mutator transaction binding the contract method 0xc20fa2ee.
//
// Solidity: function propose(uint256 number, bytes32 hash, bytes signature) returns(address checkpoint)
func (_CheckpointRegistryV3 *CheckpointRegistryV3TransactorSession) Propose(number *big.Int, hash [32]byte, signature []byte) (*types.Transaction, error) {
	return _CheckpointRegistryV3.Contract.Propose(&_CheckpointRegistryV3.TransactOpts, number, hash, signature)
}

// Remove is a paid mutator transaction binding the contract method 0x28b0558b.
//
// Solidity: function remove(uint256 number, bytes32 hash) returns(bool deleted)
func (_CheckpointRegistryV3 *CheckpointRegistryV3Transactor) Remove(opts *bind.TransactOpts, number *big.Int, hash [32]byte) (*types.Transaction, error) {
	return _CheckpointRegistryV3.contract.Transact(opts, "remove", number, hash)
}

// Remove is a paid mutator transaction binding the contract method 0x28b0558b.
//
// Solidity: function remove(uint256 number, bytes32 hash) returns(bool deleted)
func (_CheckpointRegistryV3 *CheckpointRegistryV3Session) Remove(number *big.Int, hash [32]byte) (*types.Transaction, error) {
	return _CheckpointRegistryV3.Contract.Remove(&_CheckpointRegistryV3.TransactOpts, number, hash)
}

// Remove is a paid mutator transaction binding the contract method 0x28b0558b.
//
// Solidity: function remove(uint256 number, bytes32 hash) returns(bool deleted)
func (_CheckpointRegistryV3 *CheckpointRegistryV3TransactorSession) Remove(number *big.Int, hash [32]byte) (*types.Transaction, error) {
	return _CheckpointRegistryV3.Contract.Remove(&_CheckpointRegistryV3.TransactOpts, number, hash)
}

// Sign is a paid mutator transaction binding the contract method 0x51fae959.
//
// Solidity: function sign(address checkpoint, bytes signature) returns()
func (_CheckpointRegistryV3 *CheckpointRegistryV3Transactor) Sign(opts *bind.TransactOpts, checkpoint common.Address, signature []byte) (*types.Transaction, error) {
	return _CheckpointRegistryV3.contract.Transact(opts, "sign", checkpoint, signature)
}

// Sign is a paid mutator transaction binding the contract method 0x51fae959.
//
// Solidity: function sign(address checkpoint, bytes signature) returns()
func (_CheckpointRegistryV3 *CheckpointRegistryV3Session) Sign(checkpoint common.Address, signature []byte) (*types.Transaction, error) {
	return _CheckpointRegistryV3.Contract.Sign(&_CheckpointRegistryV3.TransactOpts, checkpoint, signature)
}

// Sign is a paid mutator transaction binding the contract method 0x51fae959.
//
// Solidity: function sign(address checkpoint, bytes signature) returns()
func (_CheckpointRegistryV3 *CheckpointRegistryV3TransactorSession) Sign(checkpoint common.Address, signature []byte) (*types.Transaction, error) {
	return _CheckpointRegistryV3.Contract.Sign(&_CheckpointRegistryV3.TransactOpts, checkpoint, signature)
}

// 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.
type CheckpointRegistryV3CheckpointIterator struct {
	Event *CheckpointRegistryV3Checkpoint // Event containing the contract specifics and raw log

	contract *bind.BoundContract // Generic contract to use for unpacking event data
	event    string              // Event name to use for unpacking event data

	logs chan types.Log        // Log channel receiving the found contract events
	sub  ethereum.Subscription // Subscription for errors, completion and termination
	done bool                  // Whether the subscription completed delivering logs
	fail error                 // Occurred error to stop iteration
}

// Next advances the iterator to the subsequent event, returning whether there
// are any more events found. In case of a retrieval or parsing error, false is
// returned and Error() can be queried for the exact failure.
func (it *CheckpointRegistryV3CheckpointIterator) Next() bool {
	// If the iterator failed, stop iterating
	if it.fail != nil {
		return false
	}
	// If the iterator completed, deliver directly whatever's available
	if it.done {
		select {
		case log := <-it.logs:
			it.Event = new(CheckpointRegistryV3Checkpoint)
			if err := it.contract.UnpackLog(it.Event, it.event, log); err != nil {
				it.fail = err
				return false
			}
			it.Event.Raw = log
			return true

		default:
			return false
		}
	}
	// Iterator still in progress, wait for either a data or an error event
	select {
	case log := <-it.logs:
		it.Event = new(CheckpointRegistryV3Checkpoint)
		if err := it.contract.UnpackLog(it.Event, it.event, log); err != nil {
			it.fail = err
			return false
		}
		it.Event.Raw = log
		return true

	case err := <-it.sub.Err():
		it.done = true
		it.fail = err
		return it.Next()
	}
}

// Error returns any retrieval or parsing error occurred during filtering.
func (it *CheckpointRegistryV3CheckpointIterator) Error() error {
	return it.fail
}

// Close terminates the iteration process, releasing any pending underlying
// resources.
func (it *CheckpointRegistryV3CheckpointIterator) Close() error {
	it.sub.Unsubscribe()
	return nil
}

// CheckpointRegistryV3Checkpoint represents a Checkpoint event raised by the CheckpointRegistryV3 contract.
type CheckpointRegistryV3Checkpoint struct {
	Number     *big.Int
	Hash       [32]byte
	Checkpoint common.Address
	Raw        types.Log // Blockchain specific contextual infos
}

// FilterCheckpoint is a free log retrieval operation binding the contract event 0x7f582e7a234c68b135245365b0c69d608f9235392a1ef801b46f04ca5d6cdad4.
//
// Solidity: event Checkpoint(uint256 indexed number, bytes32 hash, address checkpoint)
func (_CheckpointRegistryV3 *CheckpointRegistryV3Filterer) FilterCheckpoint(opts *bind.FilterOpts, number []*big.Int) (*CheckpointRegistryV3CheckpointIterator, error) {

	var numberRule []interface{}
	for _, numberItem := range number {
		numberRule = append(numberRule, numberItem)
	}

	logs, sub, err := _CheckpointRegistryV3.contract.FilterLogs(opts, "Checkpoint", numberRule)
	if err != nil {
		return nil, err
	}
	return &CheckpointRegistryV3CheckpointIterator{contract: _CheckpointRegistryV3.contract, event: "Checkpoint", logs: logs, sub: sub}, nil
}

// WatchCheckpoint is a free log subscription operation binding the contract event 0x7f582e7a234c68b135245365b0c69d608f9235392a1ef801b46f04ca5d6cdad4.
//
// Solidity: event Checkpoint(uint256 indexed number, bytes32 hash, address checkpoint)
func (_CheckpointRegistryV3 *CheckpointRegistryV3Filterer) WatchCheckpoint(opts *bind.WatchOpts, sink chan<- *CheckpointRegistryV3Checkpoint, number []*big.Int) (event.Subscription, error) {

	var numberRule []interface{}
	for _, numberItem := range number {
		numberRule = append(numberRule, numberItem)
	}

	logs, sub, err := _CheckpointRegistryV3.contract.WatchLogs(opts, "Checkpoint", numberRule)
	if err != nil {
		return nil, err
	}
	return event.NewSubscription(func(quit <-chan struct{}) error {
		defer sub.Unsubscribe()
		for {
			select {
			case log := <-logs:
				// New log arrived, parse the event and forward to the user
				event := new(CheckpointRegistryV3Checkpoint)
				if err := _CheckpointRegistryV3.contract.UnpackLog(event, "Checkpoint", log); err != nil {
					return err
				}
				event.Raw = log

				select {
				case sink <- event:
				case err := <-sub.Err():
					return err
				case <-quit:
					return nil
				}
			case err := <-sub.Err():
				return err
			case <-quit:
				return nil
			}
		}
	}), nil
}
