github.com/klaytn/klaytn@v1.12.1/contracts/reward/contract/AddressBookMock.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 contract 5 6 import ( 7 "errors" 8 "math/big" 9 "strings" 10 11 "github.com/klaytn/klaytn" 12 "github.com/klaytn/klaytn/accounts/abi" 13 "github.com/klaytn/klaytn/accounts/abi/bind" 14 "github.com/klaytn/klaytn/blockchain/types" 15 "github.com/klaytn/klaytn/common" 16 "github.com/klaytn/klaytn/event" 17 ) 18 19 // Reference imports to suppress errors if they are not otherwise used. 20 var ( 21 _ = errors.New 22 _ = big.NewInt 23 _ = strings.NewReader 24 _ = klaytn.NotFound 25 _ = bind.Bind 26 _ = common.Big1 27 _ = types.BloomLookup 28 _ = event.NewSubscription 29 _ = abi.ConvertType 30 ) 31 32 // AddressBookMockMetaData contains all meta data concerning the AddressBookMock contract. 33 var AddressBookMockMetaData = &bind.MetaData{ 34 ABI: "[{\"constant\":true,\"inputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"cnNodeIdList\",\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"adminList\",\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_cnNodeId\",\"type\":\"address\"}],\"name\":\"getCnInfo\",\"outputs\":[{\"name\":\"\",\"type\":\"address\"},{\"name\":\"\",\"type\":\"address\"},{\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"getAllAddressInfo\",\"outputs\":[{\"name\":\"\",\"type\":\"address[]\"},{\"name\":\"\",\"type\":\"address[]\"},{\"name\":\"\",\"type\":\"address[]\"},{\"name\":\"\",\"type\":\"address\"},{\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"getState\",\"outputs\":[{\"name\":\"\",\"type\":\"address[]\"},{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_pocContractAddress\",\"type\":\"address\"},{\"name\":\"_version\",\"type\":\"uint256\"}],\"name\":\"submitUpdatePocContract\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_cnNodeId\",\"type\":\"address\"},{\"name\":\"_cnStakingContractAddress\",\"type\":\"address\"},{\"name\":\"_cnRewardAddress\",\"type\":\"address\"}],\"name\":\"registerCnStakingContract\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"CN_REWARD_ADDRESS_TYPE\",\"outputs\":[{\"name\":\"\",\"type\":\"uint8\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_spareContractAddress\",\"type\":\"address\"}],\"name\":\"submitUpdateSpareContract\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"cnRewardAddressList\",\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"\",\"type\":\"uint8\"},{\"name\":\"\",\"type\":\"bytes32\"},{\"name\":\"\",\"type\":\"bytes32\"},{\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"revokeRequest\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"KIR_CONTRACT_TYPE\",\"outputs\":[{\"name\":\"\",\"type\":\"uint8\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"isActivated\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"CONTRACT_TYPE\",\"outputs\":[{\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_kirContractAddress\",\"type\":\"address\"},{\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"updateKirContract\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"isConstructed\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_cnNodeId\",\"type\":\"address\"}],\"name\":\"unregisterCnStakingContract\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"MAX_ADMIN\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_cnNodeIdList\",\"type\":\"address[]\"},{\"name\":\"_cnStakingContractAddressList\",\"type\":\"address[]\"},{\"name\":\"_cnRewardAddressList\",\"type\":\"address[]\"}],\"name\":\"mockRegisterCnStakingContracts\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"spareContractAddress\",\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"getAllAddress\",\"outputs\":[{\"name\":\"\",\"type\":\"uint8[]\"},{\"name\":\"\",\"type\":\"address[]\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"CN_NODE_ID_TYPE\",\"outputs\":[{\"name\":\"\",\"type\":\"uint8\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"MAX_PENDING_REQUEST\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"\",\"type\":\"address[]\"},{\"name\":\"_requirement\",\"type\":\"uint256\"}],\"name\":\"constructContract\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"\",\"type\":\"address\"}],\"name\":\"submitDeleteAdmin\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"\",\"type\":\"address\"}],\"name\":\"submitAddAdmin\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[],\"name\":\"submitClearRequest\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"ONE_WEEK\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_kirContractAddress\",\"type\":\"address\"},{\"name\":\"_version\",\"type\":\"uint256\"}],\"name\":\"submitUpdateKirContract\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"TWO_WEEKS\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_cnNodeIdList\",\"type\":\"address[]\"}],\"name\":\"mockUnregisterCnStakingContracts\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_spareContractAddress\",\"type\":\"address\"}],\"name\":\"updateSpareContract\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"POC_CONTRACT_TYPE\",\"outputs\":[{\"name\":\"\",\"type\":\"uint8\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_cnNodeId\",\"type\":\"address\"}],\"name\":\"submitUnregisterCnStakingContract\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"requirement\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"kirContractAddress\",\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_requirement\",\"type\":\"uint256\"}],\"name\":\"updateRequirement\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_pocContractAddress\",\"type\":\"address\"},{\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"updatePocContract\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_cnNodeId\",\"type\":\"address\"},{\"name\":\"_cnStakingContractAddress\",\"type\":\"address\"},{\"name\":\"_cnRewardAddress\",\"type\":\"address\"}],\"name\":\"submitRegisterCnStakingContract\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[],\"name\":\"activateAddressBook\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"pocContractAddress\",\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"\",\"type\":\"address\"}],\"name\":\"cnIndexMap\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"cnStakingContractList\",\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"CN_STAKING_ADDRESS_TYPE\",\"outputs\":[{\"name\":\"\",\"type\":\"uint8\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_requirement\",\"type\":\"uint256\"}],\"name\":\"submitUpdateRequirement\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[],\"name\":\"submitActivateAddressBook\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"VERSION\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"}]", 35 Sigs: map[string]string{ 36 "76674c54": "CN_NODE_ID_TYPE()", 37 "32b91e85": "CN_REWARD_ADDRESS_TYPE()", 38 "de5bbfbc": "CN_STAKING_ADDRESS_TYPE()", 39 "4b6a94cc": "CONTRACT_TYPE()", 40 "41b6945c": "KIR_CONTRACT_TYPE()", 41 "58d65880": "MAX_ADMIN()", 42 "778f39cb": "MAX_PENDING_REQUEST()", 43 "8e6f6b77": "ONE_WEEK()", 44 "b50060e4": "POC_CONTRACT_TYPE()", 45 "934d1fa4": "TWO_WEEKS()", 46 "ffa1ad74": "VERSION()", 47 "cec92466": "activateAddressBook()", 48 "11117fc8": "adminList(uint256)", 49 "dd8bd2cc": "cnIndexMap(address)", 50 "056eb492": "cnNodeIdList(uint256)", 51 "3a48ef97": "cnRewardAddressList(uint256)", 52 "de38e29f": "cnStakingContractList(uint256)", 53 "7894c366": "constructContract(address[],uint256)", 54 "715b208b": "getAllAddress()", 55 "160370b8": "getAllAddressInfo()", 56 "15575d5a": "getCnInfo(address)", 57 "1865c57d": "getState()", 58 "4a8c1fb4": "isActivated()", 59 "50a5bb69": "isConstructed()", 60 "b858dd95": "kirContractAddress()", 61 "666d7190": "mockRegisterCnStakingContracts(address[],address[],address[])", 62 "abed9435": "mockUnregisterCnStakingContracts(address[])", 63 "d267eda5": "pocContractAddress()", 64 "298b3c61": "registerCnStakingContract(address,address,address)", 65 "b7563930": "requirement()", 66 "3f0628b1": "revokeRequest(uint8,bytes32,bytes32,bytes32)", 67 "6abd623d": "spareContractAddress()", 68 "feb15ca1": "submitActivateAddressBook()", 69 "863f5c0a": "submitAddAdmin(address)", 70 "87cd9feb": "submitClearRequest()", 71 "791b5123": "submitDeleteAdmin(address)", 72 "cc11efc0": "submitRegisterCnStakingContract(address,address,address)", 73 "b5067706": "submitUnregisterCnStakingContract(address)", 74 "9258d768": "submitUpdateKirContract(address,uint256)", 75 "21ac4ad4": "submitUpdatePocContract(address,uint256)", 76 "e748357b": "submitUpdateRequirement(uint256)", 77 "394a144a": "submitUpdateSpareContract(address)", 78 "579740db": "unregisterCnStakingContract(address)", 79 "4c5d435c": "updateKirContract(address,uint256)", 80 "c7e9de75": "updatePocContract(address,uint256)", 81 "c47afb3a": "updateRequirement(uint256)", 82 "afaaf330": "updateSpareContract(address)", 83 }, 84 Bin: "0x608060405234801561001057600080fd5b50611ea1806100206000396000f30060806040526004361061023a5763ffffffff7c0100000000000000000000000000000000000000000000000000000000600035041663056eb492811461023f57806311117fc81461027357806315575d5a1461028b578063160370b8146102d75780631865c57d146103e157806321ac4ad414610451578063298b3c611461047757806332b91e85146104a4578063394a144a146104cf5780633a48ef97146104f05780633f0628b11461050857806341b6945c1461052c5780634a8c1fb4146105415780634b6a94cc1461056a5780634c5d435c146105f457806350a5bb6914610618578063579740db1461062d57806358d658801461064e578063666d7190146106755780636abd623d146106ad578063715b208b146106c257806376674c5414610770578063778f39cb146107855780637894c3661461079a578063791b5123146107be578063863f5c0a146107be57806387cd9feb146107df5780638e6f6b77146107f45780639258d76814610809578063934d1fa41461082d578063abed943514610842578063afaaf33014610862578063b50060e414610883578063b506770614610898578063b7563930146108b9578063b858dd95146108ce578063c47afb3a146108e3578063c7e9de75146108fb578063cc11efc01461091f578063cec924661461094c578063d267eda514610961578063dd8bd2cc14610976578063de38e29f14610997578063de5bbfbc146109af578063e748357b146109c4578063feb15ca1146109dc578063ffa1ad74146109f1575b600080fd5b34801561024b57600080fd5b50610257600435610a06565b60408051600160a060020a039092168252519081900360200190f35b34801561027f57600080fd5b50610257600435610a2e565b34801561029757600080fd5b506102ac600160a060020a0360043516610a3c565b60408051600160a060020a039485168152928416602084015292168183015290519081900360600190f35b3480156102e357600080fd5b506102ec610b53565b60408051600160a060020a0380851660608301528316608082015260a080825287519082015286519091829160208084019284019160c08501918b8101910280838360005b83811015610349578181015183820152602001610331565b50505050905001848103835288818151815260200191508051906020019060200280838360005b83811015610388578181015183820152602001610370565b50505050905001848103825287818151815260200191508051906020019060200280838360005b838110156103c75781810151838201526020016103af565b505050509050019850505050505050505060405180910390f35b3480156103ed57600080fd5b506103f6610c9e565b6040518080602001838152602001828103825284818151815260200191508051906020019060200280838360005b8381101561043c578181015183820152602001610424565b50505050905001935050505060405180910390f35b34801561045d57600080fd5b50610475600160a060020a0360043516602435610d0a565b005b34801561048357600080fd5b50610475600160a060020a0360043581169060243581169060443516610d18565b3480156104b057600080fd5b506104b9610edf565b6040805160ff9092168252519081900360200190f35b3480156104db57600080fd5b50610475600160a060020a0360043516610ee4565b3480156104fc57600080fd5b50610257600435610ef0565b34801561051457600080fd5b5061047560ff60043516602435604435606435610efe565b34801561053857600080fd5b506104b9610f04565b34801561054d57600080fd5b50610556610f09565b604080519115158252519081900360200190f35b34801561057657600080fd5b5061057f610f2a565b6040805160208082528351818301528351919283929083019185019080838360005b838110156105b95781810151838201526020016105a1565b50505050905090810190601f1680156105e65780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561060057600080fd5b50610475600160a060020a0360043516602435610f61565b34801561062457600080fd5b50610556610fd5565b34801561063957600080fd5b50610475600160a060020a0360043516610fe5565b34801561065a57600080fd5b5061066361137a565b60408051918252519081900360200190f35b34801561068157600080fd5b50610475602460048035828101929082013591813580830192908201359160443591820191013561137f565b3480156106b957600080fd5b50610257611575565b3480156106ce57600080fd5b506106d7611584565b604051808060200180602001838103835285818151815260200191508051906020019060200280838360005b8381101561071b578181015183820152602001610703565b50505050905001838103825284818151815260200191508051906020019060200280838360005b8381101561075a578181015183820152602001610742565b5050505090500194505050505060405180910390f35b34801561077c57600080fd5b506104b961188b565b34801561079157600080fd5b50610663611890565b3480156107a657600080fd5b50610475602460048035828101929101359035611895565b3480156107ca57600080fd5b50610475600160a060020a0360043516610eed565b3480156107eb57600080fd5b506104756118c1565b34801561080057600080fd5b506106636118c3565b34801561081557600080fd5b50610475600160a060020a03600435166024356118ca565b34801561083957600080fd5b506106636118d4565b34801561084e57600080fd5b5061047560048035602481019101356118db565b34801561086e57600080fd5b50610475600160a060020a036004351661199c565b34801561088f57600080fd5b506104b9611a0f565b3480156108a457600080fd5b50610475600160a060020a0360043516611a14565b3480156108c557600080fd5b50610663611a1d565b3480156108da57600080fd5b50610257611a23565b3480156108ef57600080fd5b50610475600435611a32565b34801561090757600080fd5b50610475600160a060020a0360043516602435611a37565b34801561092b57600080fd5b50610475600160a060020a0360043581169060243581169060443516611aab565b34801561095857600080fd5b50610475611ab6565b34801561096d57600080fd5b50610257611dd0565b34801561098257600080fd5b50610663600160a060020a0360043516611ddf565b3480156109a357600080fd5b50610257600435611df1565b3480156109bb57600080fd5b506104b9611dff565b3480156109d057600080fd5b50610475600435611e04565b3480156109e857600080fd5b50610475611e0d565b3480156109fd57600080fd5b5061066361188b565b6006805482908110610a1457fe5b600091825260209091200154600160a060020a0316905081565b6000805482908110610a1457fe5b600160a060020a03811660008181526005602052604081205460068054929384938493929083908110610a6b57fe5b600091825260209091200154600160a060020a031614610ad5576040805160e560020a62461bcd02815260206004820152601360248201527f496e76616c696420434e206e6f64652049442e00000000000000000000000000604482015290519081900360640190fd5b6006805482908110610ae357fe5b60009182526020909120015460078054600160a060020a039092169183908110610b0957fe5b60009182526020909120015460088054600160a060020a039092169184908110610b2f57fe5b6000918252602090912001549195509350600160a060020a03169150509193909250565b60025460035460068054604080516020808402820181019092528281526060958695869560009586959194600794600894600160a060020a03918216949116928791830182828015610bce57602002820191906000526020600020905b8154600160a060020a03168152600190910190602001808311610bb0575b5050505050945083805480602002602001604051908101604052809291908181526020018280548015610c2a57602002820191906000526020600020905b8154600160a060020a03168152600190910190602001808311610c0c575b5050505050935082805480602002602001604051908101604052809291908181526020018280548015610c8657602002820191906000526020600020905b8154600160a060020a03168152600190910190602001808311610c68575b50505050509250945094509450945094509091929394565b6060600080600081805480602002602001604051908101604052809291908181526020018280548015610cfa57602002820191906000526020600020905b8154600160a060020a03168152600190910190602001808311610cdc575b5093975093955050505050509091565b610d148282611a37565b5050565b60045460009060a860020a900460ff161515610d6c576040805160e560020a62461bcd02815260206004820152601f6024820152600080516020611e56833981519152604482015290519081900360640190fd5b60065460001015610e0a57600160a060020a038416600081815260056020526040902054600680549091908110610d9f57fe5b600091825260209091200154600160a060020a03161415610e0a576040805160e560020a62461bcd02815260206004820152601960248201527f434e206e6f646520494420616c72656164792065786973742e00000000000000604482015290519081900360640190fd5b5060068054600160a060020a03948516600081815260056020526040812083905560018084019094557ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d3f9092018054600160a060020a03199081169092179055600780548085019091557fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c6880180549587169582169590951790945560088054928301815590527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee3018054919093169116179055565b600281565b610eed8161199c565b50565b6008805482908110610a1457fe5b50505050565b600481565b60045474010000000000000000000000000000000000000000900460ff1681565b60408051808201909152600f81527f41646472657373426f6f6b4d6f636b0000000000000000000000000000000000602082015281565b60045460a860020a900460ff161515610fb2576040805160e560020a62461bcd02815260206004820152601f6024820152600080516020611e56833981519152604482015290519081900360640190fd5b5060038054600160a060020a031916600160a060020a0392909216919091179055565b60045460a860020a900460ff1681565b60045460009060a860020a900460ff161515611039576040805160e560020a62461bcd02815260206004820152601f6024820152600080516020611e56833981519152604482015290519081900360640190fd5b50600160a060020a038116600081815260056020526040902054600680549192918390811061106457fe5b600091825260209091200154600160a060020a0316146110ce576040805160e560020a62461bcd02815260206004820152601360248201527f496e76616c696420434e206e6f64652049442e00000000000000000000000000604482015290519081900360640190fd5b600654600110611128576040805160e560020a62461bcd02815260206004820152601b60248201527f434e2073686f756c64206265206d6f7265207468616e206f6e652e0000000000604482015290519081900360640190fd5b600654600019018110156112a05760068054600019810190811061114857fe5b60009182526020909120015460068054600160a060020a03909216918390811061116e57fe5b60009182526020909120018054600160a060020a031916600160a060020a0392909216919091179055600654600780549091600019019081106111ad57fe5b60009182526020909120015460078054600160a060020a0390921691839081106111d357fe5b60009182526020909120018054600160a060020a031916600160a060020a03929092169190911790556006546008805490916000190190811061121257fe5b60009182526020909120015460088054600160a060020a03909216918390811061123857fe5b600091825260208220018054600160a060020a031916600160a060020a0393909316929092179091556006805483926005929091600019810190811061127a57fe5b6000918252602080832090910154600160a060020a031683528201929092526040019020555b600160a060020a0382166000908152600560205260408120556006805460001981019081106112cb57fe5b60009182526020909120018054600160a060020a03191690556006805460001901906112f79082611e15565b5060078054600019810190811061130a57fe5b60009182526020909120018054600160a060020a03191690556007805460001901906113369082611e15565b5060088054600019810190811061134957fe5b60009182526020909120018054600160a060020a03191690556008805460001901906113759082611e15565b505050565b603281565b6000808685146113ff576040805160e560020a62461bcd02815260206004820152602860248201527f446966666572656e7420636e4e6f6465496420616e6420636e5374616b696e6760448201527f206c656e67746873000000000000000000000000000000000000000000000000606482015290519081900360840190fd5b86831461147c576040805160e560020a62461bcd02815260206004820152602560248201527f446966666572656e7420636e4e6f6465496420616e6420726577617264206c6560448201527f6e67746873000000000000000000000000000000000000000000000000000000606482015290519081900360840190fd5b600091505b8682101561156b5787878381811061149557fe5b90506020020135600160a060020a0316905060006006805490501180156114f65750600160a060020a0381166000818152600560205260409020546006805490919081106114df57fe5b600091825260209091200154600160a060020a0316145b1561150057611560565b61156088888481811061150f57fe5b90506020020135600160a060020a0316878785818110151561152d57fe5b90506020020135600160a060020a0316868686818110151561154b57fe5b90506020020135600160a060020a0316610d18565b600190910190611481565b5050505050505050565b600454600160a060020a031681565b600454606090819081908190600090819074010000000000000000000000000000000000000000900460ff1615156115d5576040805160008082526020820190815281830190925294509250611880565b60068054905060030260020160405190808252806020026020018201604052801561160a578160200160208202803883390190505b509350600680549050600302600201604051908082528060200260200182016040528015611642578160200160208202803883390190505b506006549093509150600090505b818110156117c2576000848260030281518110151561166b57fe5b60ff909216602092830290910190910152600680548290811061168a57fe5b6000918252602090912001548351600160a060020a03909116908490600384029081106116b357fe5b600160a060020a03909216602092830290910190910152835160019085906003840283019081106116e057fe5b60ff90921660209283029091019091015260078054829081106116ff57fe5b6000918252602090912001548351600160a060020a039091169084906003840260010190811061172b57fe5b600160a060020a039092166020928302909101909101528351600290859060038402830190811061175857fe5b60ff909216602092830290910190910152600880548290811061177757fe5b6000918252602090912001548351600160a060020a03909116908490600260038502019081106117a357fe5b600160a060020a03909216602092830290910190910152600101611650565b600384836003028151811015156117d557fe5b60ff9092166020928302909101909101526002548351600160a060020a039091169084906003850290811061180657fe5b600160a060020a03909216602092830290910190910152835160049085906001600386020190811061183457fe5b60ff909216602092830290910190910152600380548451600160a060020a0390911691859190850260010190811061186857fe5b600160a060020a039092166020928302909101909101525b509194909350915050565b600081565b606481565b60015550506004805475ff000000000000000000000000000000000000000000191660a860020a179055565b565b62093a8081565b610d148282610f61565b6212750081565b600080805b83831015611995578484848181106118f457fe5b90506020020135600160a060020a031691506005600083600160a060020a0316600160a060020a0316815260200190815260200160002054905081600160a060020a031660068281548110151561194757fe5b600091825260209091200154600160a060020a0316146119665761198a565b61198a85858581811061197557fe5b90506020020135600160a060020a0316610fe5565b6001909201916118e0565b5050505050565b60045460a860020a900460ff1615156119ed576040805160e560020a62461bcd02815260206004820152601f6024820152600080516020611e56833981519152604482015290519081900360640190fd5b60048054600160a060020a031916600160a060020a0392909216919091179055565b600381565b610eed81610fe5565b60015481565b600354600160a060020a031681565b600155565b60045460a860020a900460ff161515611a88576040805160e560020a62461bcd02815260206004820152601f6024820152600080516020611e56833981519152604482015290519081900360640190fd5b5060028054600160a060020a031916600160a060020a0392909216919091179055565b611375838383610d18565b60045474010000000000000000000000000000000000000000900460ff1615611b29576040805160e560020a62461bcd02815260206004820152601260248201527f416c7265616479206163746976617465642e0000000000000000000000000000604482015290519081900360640190fd5b60045460a860020a900460ff161515611b7a576040805160e560020a62461bcd02815260206004820152601f6024820152600080516020611e56833981519152604482015290519081900360640190fd5b600254600160a060020a03161515611bdc576040805160e560020a62461bcd02815260206004820152601f60248201527f506f4320636f6e7472616374206973206e6f7420726567697374657265642e00604482015290519081900360640190fd5b600354600160a060020a03161515611c3e576040805160e560020a62461bcd02815260206004820152601f60248201527f4b495220636f6e7472616374206973206e6f7420726567697374657265642e00604482015290519081900360640190fd5b6006541515611c97576040805160e560020a62461bcd02815260206004820152601560248201527f4e6f206e6f6465204944206973206c69737465642e0000000000000000000000604482015290519081900360640190fd5b60075460065414611d18576040805160e560020a62461bcd02815260206004820152603660248201527f496e76616c6964206c656e677468206265747765656e206e6f6465204944732060448201527f616e64207374616b696e6720636f6e7472616374732e00000000000000000000606482015290519081900360840190fd5b60085460075414611d99576040805160e560020a62461bcd02815260206004820152603e60248201527f496e76616c6964206c656e677468206265747765656e207374616b696e67206360448201527f6f6e74726163747320616e6420726577617264206164647265737365732e0000606482015290519081900360840190fd5b6004805474ff0000000000000000000000000000000000000000191674010000000000000000000000000000000000000000179055565b600254600160a060020a031681565b60056020526000908152604090205481565b6007805482908110610a1457fe5b600181565b610eed81611a32565b6118c1611ab6565b81548183558181111561137557600083815260209020611375918101908301611e5291905b80821115611e4e5760008155600101611e3a565b5090565b90560041646472657373426f6f6b4d6f636b206e6f7420636f6e737472756374656400a165627a7a7230582060927740457a6e6c9c4f2307c5df9ec6a3d3e1e7d178e4e882e9ed65748150cf0029", 85 } 86 87 // AddressBookMockABI is the input ABI used to generate the binding from. 88 // Deprecated: Use AddressBookMockMetaData.ABI instead. 89 var AddressBookMockABI = AddressBookMockMetaData.ABI 90 91 // AddressBookMockBinRuntime is the compiled bytecode used for adding genesis block without deploying code. 92 const AddressBookMockBinRuntime = `60806040526004361061023a5763ffffffff7c0100000000000000000000000000000000000000000000000000000000600035041663056eb492811461023f57806311117fc81461027357806315575d5a1461028b578063160370b8146102d75780631865c57d146103e157806321ac4ad414610451578063298b3c611461047757806332b91e85146104a4578063394a144a146104cf5780633a48ef97146104f05780633f0628b11461050857806341b6945c1461052c5780634a8c1fb4146105415780634b6a94cc1461056a5780634c5d435c146105f457806350a5bb6914610618578063579740db1461062d57806358d658801461064e578063666d7190146106755780636abd623d146106ad578063715b208b146106c257806376674c5414610770578063778f39cb146107855780637894c3661461079a578063791b5123146107be578063863f5c0a146107be57806387cd9feb146107df5780638e6f6b77146107f45780639258d76814610809578063934d1fa41461082d578063abed943514610842578063afaaf33014610862578063b50060e414610883578063b506770614610898578063b7563930146108b9578063b858dd95146108ce578063c47afb3a146108e3578063c7e9de75146108fb578063cc11efc01461091f578063cec924661461094c578063d267eda514610961578063dd8bd2cc14610976578063de38e29f14610997578063de5bbfbc146109af578063e748357b146109c4578063feb15ca1146109dc578063ffa1ad74146109f1575b600080fd5b34801561024b57600080fd5b50610257600435610a06565b60408051600160a060020a039092168252519081900360200190f35b34801561027f57600080fd5b50610257600435610a2e565b34801561029757600080fd5b506102ac600160a060020a0360043516610a3c565b60408051600160a060020a039485168152928416602084015292168183015290519081900360600190f35b3480156102e357600080fd5b506102ec610b53565b60408051600160a060020a0380851660608301528316608082015260a080825287519082015286519091829160208084019284019160c08501918b8101910280838360005b83811015610349578181015183820152602001610331565b50505050905001848103835288818151815260200191508051906020019060200280838360005b83811015610388578181015183820152602001610370565b50505050905001848103825287818151815260200191508051906020019060200280838360005b838110156103c75781810151838201526020016103af565b505050509050019850505050505050505060405180910390f35b3480156103ed57600080fd5b506103f6610c9e565b6040518080602001838152602001828103825284818151815260200191508051906020019060200280838360005b8381101561043c578181015183820152602001610424565b50505050905001935050505060405180910390f35b34801561045d57600080fd5b50610475600160a060020a0360043516602435610d0a565b005b34801561048357600080fd5b50610475600160a060020a0360043581169060243581169060443516610d18565b3480156104b057600080fd5b506104b9610edf565b6040805160ff9092168252519081900360200190f35b3480156104db57600080fd5b50610475600160a060020a0360043516610ee4565b3480156104fc57600080fd5b50610257600435610ef0565b34801561051457600080fd5b5061047560ff60043516602435604435606435610efe565b34801561053857600080fd5b506104b9610f04565b34801561054d57600080fd5b50610556610f09565b604080519115158252519081900360200190f35b34801561057657600080fd5b5061057f610f2a565b6040805160208082528351818301528351919283929083019185019080838360005b838110156105b95781810151838201526020016105a1565b50505050905090810190601f1680156105e65780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561060057600080fd5b50610475600160a060020a0360043516602435610f61565b34801561062457600080fd5b50610556610fd5565b34801561063957600080fd5b50610475600160a060020a0360043516610fe5565b34801561065a57600080fd5b5061066361137a565b60408051918252519081900360200190f35b34801561068157600080fd5b50610475602460048035828101929082013591813580830192908201359160443591820191013561137f565b3480156106b957600080fd5b50610257611575565b3480156106ce57600080fd5b506106d7611584565b604051808060200180602001838103835285818151815260200191508051906020019060200280838360005b8381101561071b578181015183820152602001610703565b50505050905001838103825284818151815260200191508051906020019060200280838360005b8381101561075a578181015183820152602001610742565b5050505090500194505050505060405180910390f35b34801561077c57600080fd5b506104b961188b565b34801561079157600080fd5b50610663611890565b3480156107a657600080fd5b50610475602460048035828101929101359035611895565b3480156107ca57600080fd5b50610475600160a060020a0360043516610eed565b3480156107eb57600080fd5b506104756118c1565b34801561080057600080fd5b506106636118c3565b34801561081557600080fd5b50610475600160a060020a03600435166024356118ca565b34801561083957600080fd5b506106636118d4565b34801561084e57600080fd5b5061047560048035602481019101356118db565b34801561086e57600080fd5b50610475600160a060020a036004351661199c565b34801561088f57600080fd5b506104b9611a0f565b3480156108a457600080fd5b50610475600160a060020a0360043516611a14565b3480156108c557600080fd5b50610663611a1d565b3480156108da57600080fd5b50610257611a23565b3480156108ef57600080fd5b50610475600435611a32565b34801561090757600080fd5b50610475600160a060020a0360043516602435611a37565b34801561092b57600080fd5b50610475600160a060020a0360043581169060243581169060443516611aab565b34801561095857600080fd5b50610475611ab6565b34801561096d57600080fd5b50610257611dd0565b34801561098257600080fd5b50610663600160a060020a0360043516611ddf565b3480156109a357600080fd5b50610257600435611df1565b3480156109bb57600080fd5b506104b9611dff565b3480156109d057600080fd5b50610475600435611e04565b3480156109e857600080fd5b50610475611e0d565b3480156109fd57600080fd5b5061066361188b565b6006805482908110610a1457fe5b600091825260209091200154600160a060020a0316905081565b6000805482908110610a1457fe5b600160a060020a03811660008181526005602052604081205460068054929384938493929083908110610a6b57fe5b600091825260209091200154600160a060020a031614610ad5576040805160e560020a62461bcd02815260206004820152601360248201527f496e76616c696420434e206e6f64652049442e00000000000000000000000000604482015290519081900360640190fd5b6006805482908110610ae357fe5b60009182526020909120015460078054600160a060020a039092169183908110610b0957fe5b60009182526020909120015460088054600160a060020a039092169184908110610b2f57fe5b6000918252602090912001549195509350600160a060020a03169150509193909250565b60025460035460068054604080516020808402820181019092528281526060958695869560009586959194600794600894600160a060020a03918216949116928791830182828015610bce57602002820191906000526020600020905b8154600160a060020a03168152600190910190602001808311610bb0575b5050505050945083805480602002602001604051908101604052809291908181526020018280548015610c2a57602002820191906000526020600020905b8154600160a060020a03168152600190910190602001808311610c0c575b5050505050935082805480602002602001604051908101604052809291908181526020018280548015610c8657602002820191906000526020600020905b8154600160a060020a03168152600190910190602001808311610c68575b50505050509250945094509450945094509091929394565b6060600080600081805480602002602001604051908101604052809291908181526020018280548015610cfa57602002820191906000526020600020905b8154600160a060020a03168152600190910190602001808311610cdc575b5093975093955050505050509091565b610d148282611a37565b5050565b60045460009060a860020a900460ff161515610d6c576040805160e560020a62461bcd02815260206004820152601f6024820152600080516020611e56833981519152604482015290519081900360640190fd5b60065460001015610e0a57600160a060020a038416600081815260056020526040902054600680549091908110610d9f57fe5b600091825260209091200154600160a060020a03161415610e0a576040805160e560020a62461bcd02815260206004820152601960248201527f434e206e6f646520494420616c72656164792065786973742e00000000000000604482015290519081900360640190fd5b5060068054600160a060020a03948516600081815260056020526040812083905560018084019094557ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d3f9092018054600160a060020a03199081169092179055600780548085019091557fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c6880180549587169582169590951790945560088054928301815590527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee3018054919093169116179055565b600281565b610eed8161199c565b50565b6008805482908110610a1457fe5b50505050565b600481565b60045474010000000000000000000000000000000000000000900460ff1681565b60408051808201909152600f81527f41646472657373426f6f6b4d6f636b0000000000000000000000000000000000602082015281565b60045460a860020a900460ff161515610fb2576040805160e560020a62461bcd02815260206004820152601f6024820152600080516020611e56833981519152604482015290519081900360640190fd5b5060038054600160a060020a031916600160a060020a0392909216919091179055565b60045460a860020a900460ff1681565b60045460009060a860020a900460ff161515611039576040805160e560020a62461bcd02815260206004820152601f6024820152600080516020611e56833981519152604482015290519081900360640190fd5b50600160a060020a038116600081815260056020526040902054600680549192918390811061106457fe5b600091825260209091200154600160a060020a0316146110ce576040805160e560020a62461bcd02815260206004820152601360248201527f496e76616c696420434e206e6f64652049442e00000000000000000000000000604482015290519081900360640190fd5b600654600110611128576040805160e560020a62461bcd02815260206004820152601b60248201527f434e2073686f756c64206265206d6f7265207468616e206f6e652e0000000000604482015290519081900360640190fd5b600654600019018110156112a05760068054600019810190811061114857fe5b60009182526020909120015460068054600160a060020a03909216918390811061116e57fe5b60009182526020909120018054600160a060020a031916600160a060020a0392909216919091179055600654600780549091600019019081106111ad57fe5b60009182526020909120015460078054600160a060020a0390921691839081106111d357fe5b60009182526020909120018054600160a060020a031916600160a060020a03929092169190911790556006546008805490916000190190811061121257fe5b60009182526020909120015460088054600160a060020a03909216918390811061123857fe5b600091825260208220018054600160a060020a031916600160a060020a0393909316929092179091556006805483926005929091600019810190811061127a57fe5b6000918252602080832090910154600160a060020a031683528201929092526040019020555b600160a060020a0382166000908152600560205260408120556006805460001981019081106112cb57fe5b60009182526020909120018054600160a060020a03191690556006805460001901906112f79082611e15565b5060078054600019810190811061130a57fe5b60009182526020909120018054600160a060020a03191690556007805460001901906113369082611e15565b5060088054600019810190811061134957fe5b60009182526020909120018054600160a060020a03191690556008805460001901906113759082611e15565b505050565b603281565b6000808685146113ff576040805160e560020a62461bcd02815260206004820152602860248201527f446966666572656e7420636e4e6f6465496420616e6420636e5374616b696e6760448201527f206c656e67746873000000000000000000000000000000000000000000000000606482015290519081900360840190fd5b86831461147c576040805160e560020a62461bcd02815260206004820152602560248201527f446966666572656e7420636e4e6f6465496420616e6420726577617264206c6560448201527f6e67746873000000000000000000000000000000000000000000000000000000606482015290519081900360840190fd5b600091505b8682101561156b5787878381811061149557fe5b90506020020135600160a060020a0316905060006006805490501180156114f65750600160a060020a0381166000818152600560205260409020546006805490919081106114df57fe5b600091825260209091200154600160a060020a0316145b1561150057611560565b61156088888481811061150f57fe5b90506020020135600160a060020a0316878785818110151561152d57fe5b90506020020135600160a060020a0316868686818110151561154b57fe5b90506020020135600160a060020a0316610d18565b600190910190611481565b5050505050505050565b600454600160a060020a031681565b600454606090819081908190600090819074010000000000000000000000000000000000000000900460ff1615156115d5576040805160008082526020820190815281830190925294509250611880565b60068054905060030260020160405190808252806020026020018201604052801561160a578160200160208202803883390190505b509350600680549050600302600201604051908082528060200260200182016040528015611642578160200160208202803883390190505b506006549093509150600090505b818110156117c2576000848260030281518110151561166b57fe5b60ff909216602092830290910190910152600680548290811061168a57fe5b6000918252602090912001548351600160a060020a03909116908490600384029081106116b357fe5b600160a060020a03909216602092830290910190910152835160019085906003840283019081106116e057fe5b60ff90921660209283029091019091015260078054829081106116ff57fe5b6000918252602090912001548351600160a060020a039091169084906003840260010190811061172b57fe5b600160a060020a039092166020928302909101909101528351600290859060038402830190811061175857fe5b60ff909216602092830290910190910152600880548290811061177757fe5b6000918252602090912001548351600160a060020a03909116908490600260038502019081106117a357fe5b600160a060020a03909216602092830290910190910152600101611650565b600384836003028151811015156117d557fe5b60ff9092166020928302909101909101526002548351600160a060020a039091169084906003850290811061180657fe5b600160a060020a03909216602092830290910190910152835160049085906001600386020190811061183457fe5b60ff909216602092830290910190910152600380548451600160a060020a0390911691859190850260010190811061186857fe5b600160a060020a039092166020928302909101909101525b509194909350915050565b600081565b606481565b60015550506004805475ff000000000000000000000000000000000000000000191660a860020a179055565b565b62093a8081565b610d148282610f61565b6212750081565b600080805b83831015611995578484848181106118f457fe5b90506020020135600160a060020a031691506005600083600160a060020a0316600160a060020a0316815260200190815260200160002054905081600160a060020a031660068281548110151561194757fe5b600091825260209091200154600160a060020a0316146119665761198a565b61198a85858581811061197557fe5b90506020020135600160a060020a0316610fe5565b6001909201916118e0565b5050505050565b60045460a860020a900460ff1615156119ed576040805160e560020a62461bcd02815260206004820152601f6024820152600080516020611e56833981519152604482015290519081900360640190fd5b60048054600160a060020a031916600160a060020a0392909216919091179055565b600381565b610eed81610fe5565b60015481565b600354600160a060020a031681565b600155565b60045460a860020a900460ff161515611a88576040805160e560020a62461bcd02815260206004820152601f6024820152600080516020611e56833981519152604482015290519081900360640190fd5b5060028054600160a060020a031916600160a060020a0392909216919091179055565b611375838383610d18565b60045474010000000000000000000000000000000000000000900460ff1615611b29576040805160e560020a62461bcd02815260206004820152601260248201527f416c7265616479206163746976617465642e0000000000000000000000000000604482015290519081900360640190fd5b60045460a860020a900460ff161515611b7a576040805160e560020a62461bcd02815260206004820152601f6024820152600080516020611e56833981519152604482015290519081900360640190fd5b600254600160a060020a03161515611bdc576040805160e560020a62461bcd02815260206004820152601f60248201527f506f4320636f6e7472616374206973206e6f7420726567697374657265642e00604482015290519081900360640190fd5b600354600160a060020a03161515611c3e576040805160e560020a62461bcd02815260206004820152601f60248201527f4b495220636f6e7472616374206973206e6f7420726567697374657265642e00604482015290519081900360640190fd5b6006541515611c97576040805160e560020a62461bcd02815260206004820152601560248201527f4e6f206e6f6465204944206973206c69737465642e0000000000000000000000604482015290519081900360640190fd5b60075460065414611d18576040805160e560020a62461bcd02815260206004820152603660248201527f496e76616c6964206c656e677468206265747765656e206e6f6465204944732060448201527f616e64207374616b696e6720636f6e7472616374732e00000000000000000000606482015290519081900360840190fd5b60085460075414611d99576040805160e560020a62461bcd02815260206004820152603e60248201527f496e76616c6964206c656e677468206265747765656e207374616b696e67206360448201527f6f6e74726163747320616e6420726577617264206164647265737365732e0000606482015290519081900360840190fd5b6004805474ff0000000000000000000000000000000000000000191674010000000000000000000000000000000000000000179055565b600254600160a060020a031681565b60056020526000908152604090205481565b6007805482908110610a1457fe5b600181565b610eed81611a32565b6118c1611ab6565b81548183558181111561137557600083815260209020611375918101908301611e5291905b80821115611e4e5760008155600101611e3a565b5090565b90560041646472657373426f6f6b4d6f636b206e6f7420636f6e737472756374656400a165627a7a7230582060927740457a6e6c9c4f2307c5df9ec6a3d3e1e7d178e4e882e9ed65748150cf0029` 93 94 // AddressBookMockFuncSigs maps the 4-byte function signature to its string representation. 95 // Deprecated: Use AddressBookMockMetaData.Sigs instead. 96 var AddressBookMockFuncSigs = AddressBookMockMetaData.Sigs 97 98 // AddressBookMockBin is the compiled bytecode used for deploying new contracts. 99 // Deprecated: Use AddressBookMockMetaData.Bin instead. 100 var AddressBookMockBin = AddressBookMockMetaData.Bin 101 102 // DeployAddressBookMock deploys a new Klaytn contract, binding an instance of AddressBookMock to it. 103 func DeployAddressBookMock(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *AddressBookMock, error) { 104 parsed, err := AddressBookMockMetaData.GetAbi() 105 if err != nil { 106 return common.Address{}, nil, nil, err 107 } 108 if parsed == nil { 109 return common.Address{}, nil, nil, errors.New("GetABI returned nil") 110 } 111 112 address, tx, contract, err := bind.DeployContract(auth, *parsed, common.FromHex(AddressBookMockBin), backend) 113 if err != nil { 114 return common.Address{}, nil, nil, err 115 } 116 return address, tx, &AddressBookMock{AddressBookMockCaller: AddressBookMockCaller{contract: contract}, AddressBookMockTransactor: AddressBookMockTransactor{contract: contract}, AddressBookMockFilterer: AddressBookMockFilterer{contract: contract}}, nil 117 } 118 119 // AddressBookMock is an auto generated Go binding around a Klaytn contract. 120 type AddressBookMock struct { 121 AddressBookMockCaller // Read-only binding to the contract 122 AddressBookMockTransactor // Write-only binding to the contract 123 AddressBookMockFilterer // Log filterer for contract events 124 } 125 126 // AddressBookMockCaller is an auto generated read-only Go binding around a Klaytn contract. 127 type AddressBookMockCaller struct { 128 contract *bind.BoundContract // Generic contract wrapper for the low level calls 129 } 130 131 // AddressBookMockTransactor is an auto generated write-only Go binding around a Klaytn contract. 132 type AddressBookMockTransactor struct { 133 contract *bind.BoundContract // Generic contract wrapper for the low level calls 134 } 135 136 // AddressBookMockFilterer is an auto generated log filtering Go binding around a Klaytn contract events. 137 type AddressBookMockFilterer struct { 138 contract *bind.BoundContract // Generic contract wrapper for the low level calls 139 } 140 141 // AddressBookMockSession is an auto generated Go binding around a Klaytn contract, 142 // with pre-set call and transact options. 143 type AddressBookMockSession struct { 144 Contract *AddressBookMock // Generic contract binding to set the session for 145 CallOpts bind.CallOpts // Call options to use throughout this session 146 TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session 147 } 148 149 // AddressBookMockCallerSession is an auto generated read-only Go binding around a Klaytn contract, 150 // with pre-set call options. 151 type AddressBookMockCallerSession struct { 152 Contract *AddressBookMockCaller // Generic contract caller binding to set the session for 153 CallOpts bind.CallOpts // Call options to use throughout this session 154 } 155 156 // AddressBookMockTransactorSession is an auto generated write-only Go binding around a Klaytn contract, 157 // with pre-set transact options. 158 type AddressBookMockTransactorSession struct { 159 Contract *AddressBookMockTransactor // Generic contract transactor binding to set the session for 160 TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session 161 } 162 163 // AddressBookMockRaw is an auto generated low-level Go binding around a Klaytn contract. 164 type AddressBookMockRaw struct { 165 Contract *AddressBookMock // Generic contract binding to access the raw methods on 166 } 167 168 // AddressBookMockCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. 169 type AddressBookMockCallerRaw struct { 170 Contract *AddressBookMockCaller // Generic read-only contract binding to access the raw methods on 171 } 172 173 // AddressBookMockTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. 174 type AddressBookMockTransactorRaw struct { 175 Contract *AddressBookMockTransactor // Generic write-only contract binding to access the raw methods on 176 } 177 178 // NewAddressBookMock creates a new instance of AddressBookMock, bound to a specific deployed contract. 179 func NewAddressBookMock(address common.Address, backend bind.ContractBackend) (*AddressBookMock, error) { 180 contract, err := bindAddressBookMock(address, backend, backend, backend) 181 if err != nil { 182 return nil, err 183 } 184 return &AddressBookMock{AddressBookMockCaller: AddressBookMockCaller{contract: contract}, AddressBookMockTransactor: AddressBookMockTransactor{contract: contract}, AddressBookMockFilterer: AddressBookMockFilterer{contract: contract}}, nil 185 } 186 187 // NewAddressBookMockCaller creates a new read-only instance of AddressBookMock, bound to a specific deployed contract. 188 func NewAddressBookMockCaller(address common.Address, caller bind.ContractCaller) (*AddressBookMockCaller, error) { 189 contract, err := bindAddressBookMock(address, caller, nil, nil) 190 if err != nil { 191 return nil, err 192 } 193 return &AddressBookMockCaller{contract: contract}, nil 194 } 195 196 // NewAddressBookMockTransactor creates a new write-only instance of AddressBookMock, bound to a specific deployed contract. 197 func NewAddressBookMockTransactor(address common.Address, transactor bind.ContractTransactor) (*AddressBookMockTransactor, error) { 198 contract, err := bindAddressBookMock(address, nil, transactor, nil) 199 if err != nil { 200 return nil, err 201 } 202 return &AddressBookMockTransactor{contract: contract}, nil 203 } 204 205 // NewAddressBookMockFilterer creates a new log filterer instance of AddressBookMock, bound to a specific deployed contract. 206 func NewAddressBookMockFilterer(address common.Address, filterer bind.ContractFilterer) (*AddressBookMockFilterer, error) { 207 contract, err := bindAddressBookMock(address, nil, nil, filterer) 208 if err != nil { 209 return nil, err 210 } 211 return &AddressBookMockFilterer{contract: contract}, nil 212 } 213 214 // bindAddressBookMock binds a generic wrapper to an already deployed contract. 215 func bindAddressBookMock(address common.Address, caller bind.ContractCaller, transactor bind.ContractTransactor, filterer bind.ContractFilterer) (*bind.BoundContract, error) { 216 parsed, err := AddressBookMockMetaData.GetAbi() 217 if err != nil { 218 return nil, err 219 } 220 return bind.NewBoundContract(address, *parsed, caller, transactor, filterer), nil 221 } 222 223 // Call invokes the (constant) contract method with params as input values and 224 // sets the output to result. The result type might be a single field for simple 225 // returns, a slice of interfaces for anonymous returns and a struct for named 226 // returns. 227 func (_AddressBookMock *AddressBookMockRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error { 228 return _AddressBookMock.Contract.AddressBookMockCaller.contract.Call(opts, result, method, params...) 229 } 230 231 // Transfer initiates a plain transaction to move funds to the contract, calling 232 // its default method if one is available. 233 func (_AddressBookMock *AddressBookMockRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error) { 234 return _AddressBookMock.Contract.AddressBookMockTransactor.contract.Transfer(opts) 235 } 236 237 // Transact invokes the (paid) contract method with params as input values. 238 func (_AddressBookMock *AddressBookMockRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error) { 239 return _AddressBookMock.Contract.AddressBookMockTransactor.contract.Transact(opts, method, params...) 240 } 241 242 // Call invokes the (constant) contract method with params as input values and 243 // sets the output to result. The result type might be a single field for simple 244 // returns, a slice of interfaces for anonymous returns and a struct for named 245 // returns. 246 func (_AddressBookMock *AddressBookMockCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error { 247 return _AddressBookMock.Contract.contract.Call(opts, result, method, params...) 248 } 249 250 // Transfer initiates a plain transaction to move funds to the contract, calling 251 // its default method if one is available. 252 func (_AddressBookMock *AddressBookMockTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error) { 253 return _AddressBookMock.Contract.contract.Transfer(opts) 254 } 255 256 // Transact invokes the (paid) contract method with params as input values. 257 func (_AddressBookMock *AddressBookMockTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error) { 258 return _AddressBookMock.Contract.contract.Transact(opts, method, params...) 259 } 260 261 // CNNODEIDTYPE is a free data retrieval call binding the contract method 0x76674c54. 262 // 263 // Solidity: function CN_NODE_ID_TYPE() view returns(uint8) 264 func (_AddressBookMock *AddressBookMockCaller) CNNODEIDTYPE(opts *bind.CallOpts) (uint8, error) { 265 var out []interface{} 266 err := _AddressBookMock.contract.Call(opts, &out, "CN_NODE_ID_TYPE") 267 268 if err != nil { 269 return *new(uint8), err 270 } 271 272 out0 := *abi.ConvertType(out[0], new(uint8)).(*uint8) 273 274 return out0, err 275 276 } 277 278 // CNNODEIDTYPE is a free data retrieval call binding the contract method 0x76674c54. 279 // 280 // Solidity: function CN_NODE_ID_TYPE() view returns(uint8) 281 func (_AddressBookMock *AddressBookMockSession) CNNODEIDTYPE() (uint8, error) { 282 return _AddressBookMock.Contract.CNNODEIDTYPE(&_AddressBookMock.CallOpts) 283 } 284 285 // CNNODEIDTYPE is a free data retrieval call binding the contract method 0x76674c54. 286 // 287 // Solidity: function CN_NODE_ID_TYPE() view returns(uint8) 288 func (_AddressBookMock *AddressBookMockCallerSession) CNNODEIDTYPE() (uint8, error) { 289 return _AddressBookMock.Contract.CNNODEIDTYPE(&_AddressBookMock.CallOpts) 290 } 291 292 // CNREWARDADDRESSTYPE is a free data retrieval call binding the contract method 0x32b91e85. 293 // 294 // Solidity: function CN_REWARD_ADDRESS_TYPE() view returns(uint8) 295 func (_AddressBookMock *AddressBookMockCaller) CNREWARDADDRESSTYPE(opts *bind.CallOpts) (uint8, error) { 296 var out []interface{} 297 err := _AddressBookMock.contract.Call(opts, &out, "CN_REWARD_ADDRESS_TYPE") 298 299 if err != nil { 300 return *new(uint8), err 301 } 302 303 out0 := *abi.ConvertType(out[0], new(uint8)).(*uint8) 304 305 return out0, err 306 307 } 308 309 // CNREWARDADDRESSTYPE is a free data retrieval call binding the contract method 0x32b91e85. 310 // 311 // Solidity: function CN_REWARD_ADDRESS_TYPE() view returns(uint8) 312 func (_AddressBookMock *AddressBookMockSession) CNREWARDADDRESSTYPE() (uint8, error) { 313 return _AddressBookMock.Contract.CNREWARDADDRESSTYPE(&_AddressBookMock.CallOpts) 314 } 315 316 // CNREWARDADDRESSTYPE is a free data retrieval call binding the contract method 0x32b91e85. 317 // 318 // Solidity: function CN_REWARD_ADDRESS_TYPE() view returns(uint8) 319 func (_AddressBookMock *AddressBookMockCallerSession) CNREWARDADDRESSTYPE() (uint8, error) { 320 return _AddressBookMock.Contract.CNREWARDADDRESSTYPE(&_AddressBookMock.CallOpts) 321 } 322 323 // CNSTAKINGADDRESSTYPE is a free data retrieval call binding the contract method 0xde5bbfbc. 324 // 325 // Solidity: function CN_STAKING_ADDRESS_TYPE() view returns(uint8) 326 func (_AddressBookMock *AddressBookMockCaller) CNSTAKINGADDRESSTYPE(opts *bind.CallOpts) (uint8, error) { 327 var out []interface{} 328 err := _AddressBookMock.contract.Call(opts, &out, "CN_STAKING_ADDRESS_TYPE") 329 330 if err != nil { 331 return *new(uint8), err 332 } 333 334 out0 := *abi.ConvertType(out[0], new(uint8)).(*uint8) 335 336 return out0, err 337 338 } 339 340 // CNSTAKINGADDRESSTYPE is a free data retrieval call binding the contract method 0xde5bbfbc. 341 // 342 // Solidity: function CN_STAKING_ADDRESS_TYPE() view returns(uint8) 343 func (_AddressBookMock *AddressBookMockSession) CNSTAKINGADDRESSTYPE() (uint8, error) { 344 return _AddressBookMock.Contract.CNSTAKINGADDRESSTYPE(&_AddressBookMock.CallOpts) 345 } 346 347 // CNSTAKINGADDRESSTYPE is a free data retrieval call binding the contract method 0xde5bbfbc. 348 // 349 // Solidity: function CN_STAKING_ADDRESS_TYPE() view returns(uint8) 350 func (_AddressBookMock *AddressBookMockCallerSession) CNSTAKINGADDRESSTYPE() (uint8, error) { 351 return _AddressBookMock.Contract.CNSTAKINGADDRESSTYPE(&_AddressBookMock.CallOpts) 352 } 353 354 // CONTRACTTYPE is a free data retrieval call binding the contract method 0x4b6a94cc. 355 // 356 // Solidity: function CONTRACT_TYPE() view returns(string) 357 func (_AddressBookMock *AddressBookMockCaller) CONTRACTTYPE(opts *bind.CallOpts) (string, error) { 358 var out []interface{} 359 err := _AddressBookMock.contract.Call(opts, &out, "CONTRACT_TYPE") 360 361 if err != nil { 362 return *new(string), err 363 } 364 365 out0 := *abi.ConvertType(out[0], new(string)).(*string) 366 367 return out0, err 368 369 } 370 371 // CONTRACTTYPE is a free data retrieval call binding the contract method 0x4b6a94cc. 372 // 373 // Solidity: function CONTRACT_TYPE() view returns(string) 374 func (_AddressBookMock *AddressBookMockSession) CONTRACTTYPE() (string, error) { 375 return _AddressBookMock.Contract.CONTRACTTYPE(&_AddressBookMock.CallOpts) 376 } 377 378 // CONTRACTTYPE is a free data retrieval call binding the contract method 0x4b6a94cc. 379 // 380 // Solidity: function CONTRACT_TYPE() view returns(string) 381 func (_AddressBookMock *AddressBookMockCallerSession) CONTRACTTYPE() (string, error) { 382 return _AddressBookMock.Contract.CONTRACTTYPE(&_AddressBookMock.CallOpts) 383 } 384 385 // KIRCONTRACTTYPE is a free data retrieval call binding the contract method 0x41b6945c. 386 // 387 // Solidity: function KIR_CONTRACT_TYPE() view returns(uint8) 388 func (_AddressBookMock *AddressBookMockCaller) KIRCONTRACTTYPE(opts *bind.CallOpts) (uint8, error) { 389 var out []interface{} 390 err := _AddressBookMock.contract.Call(opts, &out, "KIR_CONTRACT_TYPE") 391 392 if err != nil { 393 return *new(uint8), err 394 } 395 396 out0 := *abi.ConvertType(out[0], new(uint8)).(*uint8) 397 398 return out0, err 399 400 } 401 402 // KIRCONTRACTTYPE is a free data retrieval call binding the contract method 0x41b6945c. 403 // 404 // Solidity: function KIR_CONTRACT_TYPE() view returns(uint8) 405 func (_AddressBookMock *AddressBookMockSession) KIRCONTRACTTYPE() (uint8, error) { 406 return _AddressBookMock.Contract.KIRCONTRACTTYPE(&_AddressBookMock.CallOpts) 407 } 408 409 // KIRCONTRACTTYPE is a free data retrieval call binding the contract method 0x41b6945c. 410 // 411 // Solidity: function KIR_CONTRACT_TYPE() view returns(uint8) 412 func (_AddressBookMock *AddressBookMockCallerSession) KIRCONTRACTTYPE() (uint8, error) { 413 return _AddressBookMock.Contract.KIRCONTRACTTYPE(&_AddressBookMock.CallOpts) 414 } 415 416 // MAXADMIN is a free data retrieval call binding the contract method 0x58d65880. 417 // 418 // Solidity: function MAX_ADMIN() view returns(uint256) 419 func (_AddressBookMock *AddressBookMockCaller) MAXADMIN(opts *bind.CallOpts) (*big.Int, error) { 420 var out []interface{} 421 err := _AddressBookMock.contract.Call(opts, &out, "MAX_ADMIN") 422 423 if err != nil { 424 return *new(*big.Int), err 425 } 426 427 out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) 428 429 return out0, err 430 431 } 432 433 // MAXADMIN is a free data retrieval call binding the contract method 0x58d65880. 434 // 435 // Solidity: function MAX_ADMIN() view returns(uint256) 436 func (_AddressBookMock *AddressBookMockSession) MAXADMIN() (*big.Int, error) { 437 return _AddressBookMock.Contract.MAXADMIN(&_AddressBookMock.CallOpts) 438 } 439 440 // MAXADMIN is a free data retrieval call binding the contract method 0x58d65880. 441 // 442 // Solidity: function MAX_ADMIN() view returns(uint256) 443 func (_AddressBookMock *AddressBookMockCallerSession) MAXADMIN() (*big.Int, error) { 444 return _AddressBookMock.Contract.MAXADMIN(&_AddressBookMock.CallOpts) 445 } 446 447 // MAXPENDINGREQUEST is a free data retrieval call binding the contract method 0x778f39cb. 448 // 449 // Solidity: function MAX_PENDING_REQUEST() view returns(uint256) 450 func (_AddressBookMock *AddressBookMockCaller) MAXPENDINGREQUEST(opts *bind.CallOpts) (*big.Int, error) { 451 var out []interface{} 452 err := _AddressBookMock.contract.Call(opts, &out, "MAX_PENDING_REQUEST") 453 454 if err != nil { 455 return *new(*big.Int), err 456 } 457 458 out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) 459 460 return out0, err 461 462 } 463 464 // MAXPENDINGREQUEST is a free data retrieval call binding the contract method 0x778f39cb. 465 // 466 // Solidity: function MAX_PENDING_REQUEST() view returns(uint256) 467 func (_AddressBookMock *AddressBookMockSession) MAXPENDINGREQUEST() (*big.Int, error) { 468 return _AddressBookMock.Contract.MAXPENDINGREQUEST(&_AddressBookMock.CallOpts) 469 } 470 471 // MAXPENDINGREQUEST is a free data retrieval call binding the contract method 0x778f39cb. 472 // 473 // Solidity: function MAX_PENDING_REQUEST() view returns(uint256) 474 func (_AddressBookMock *AddressBookMockCallerSession) MAXPENDINGREQUEST() (*big.Int, error) { 475 return _AddressBookMock.Contract.MAXPENDINGREQUEST(&_AddressBookMock.CallOpts) 476 } 477 478 // ONEWEEK is a free data retrieval call binding the contract method 0x8e6f6b77. 479 // 480 // Solidity: function ONE_WEEK() view returns(uint256) 481 func (_AddressBookMock *AddressBookMockCaller) ONEWEEK(opts *bind.CallOpts) (*big.Int, error) { 482 var out []interface{} 483 err := _AddressBookMock.contract.Call(opts, &out, "ONE_WEEK") 484 485 if err != nil { 486 return *new(*big.Int), err 487 } 488 489 out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) 490 491 return out0, err 492 493 } 494 495 // ONEWEEK is a free data retrieval call binding the contract method 0x8e6f6b77. 496 // 497 // Solidity: function ONE_WEEK() view returns(uint256) 498 func (_AddressBookMock *AddressBookMockSession) ONEWEEK() (*big.Int, error) { 499 return _AddressBookMock.Contract.ONEWEEK(&_AddressBookMock.CallOpts) 500 } 501 502 // ONEWEEK is a free data retrieval call binding the contract method 0x8e6f6b77. 503 // 504 // Solidity: function ONE_WEEK() view returns(uint256) 505 func (_AddressBookMock *AddressBookMockCallerSession) ONEWEEK() (*big.Int, error) { 506 return _AddressBookMock.Contract.ONEWEEK(&_AddressBookMock.CallOpts) 507 } 508 509 // POCCONTRACTTYPE is a free data retrieval call binding the contract method 0xb50060e4. 510 // 511 // Solidity: function POC_CONTRACT_TYPE() view returns(uint8) 512 func (_AddressBookMock *AddressBookMockCaller) POCCONTRACTTYPE(opts *bind.CallOpts) (uint8, error) { 513 var out []interface{} 514 err := _AddressBookMock.contract.Call(opts, &out, "POC_CONTRACT_TYPE") 515 516 if err != nil { 517 return *new(uint8), err 518 } 519 520 out0 := *abi.ConvertType(out[0], new(uint8)).(*uint8) 521 522 return out0, err 523 524 } 525 526 // POCCONTRACTTYPE is a free data retrieval call binding the contract method 0xb50060e4. 527 // 528 // Solidity: function POC_CONTRACT_TYPE() view returns(uint8) 529 func (_AddressBookMock *AddressBookMockSession) POCCONTRACTTYPE() (uint8, error) { 530 return _AddressBookMock.Contract.POCCONTRACTTYPE(&_AddressBookMock.CallOpts) 531 } 532 533 // POCCONTRACTTYPE is a free data retrieval call binding the contract method 0xb50060e4. 534 // 535 // Solidity: function POC_CONTRACT_TYPE() view returns(uint8) 536 func (_AddressBookMock *AddressBookMockCallerSession) POCCONTRACTTYPE() (uint8, error) { 537 return _AddressBookMock.Contract.POCCONTRACTTYPE(&_AddressBookMock.CallOpts) 538 } 539 540 // TWOWEEKS is a free data retrieval call binding the contract method 0x934d1fa4. 541 // 542 // Solidity: function TWO_WEEKS() view returns(uint256) 543 func (_AddressBookMock *AddressBookMockCaller) TWOWEEKS(opts *bind.CallOpts) (*big.Int, error) { 544 var out []interface{} 545 err := _AddressBookMock.contract.Call(opts, &out, "TWO_WEEKS") 546 547 if err != nil { 548 return *new(*big.Int), err 549 } 550 551 out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) 552 553 return out0, err 554 555 } 556 557 // TWOWEEKS is a free data retrieval call binding the contract method 0x934d1fa4. 558 // 559 // Solidity: function TWO_WEEKS() view returns(uint256) 560 func (_AddressBookMock *AddressBookMockSession) TWOWEEKS() (*big.Int, error) { 561 return _AddressBookMock.Contract.TWOWEEKS(&_AddressBookMock.CallOpts) 562 } 563 564 // TWOWEEKS is a free data retrieval call binding the contract method 0x934d1fa4. 565 // 566 // Solidity: function TWO_WEEKS() view returns(uint256) 567 func (_AddressBookMock *AddressBookMockCallerSession) TWOWEEKS() (*big.Int, error) { 568 return _AddressBookMock.Contract.TWOWEEKS(&_AddressBookMock.CallOpts) 569 } 570 571 // VERSION is a free data retrieval call binding the contract method 0xffa1ad74. 572 // 573 // Solidity: function VERSION() view returns(uint256) 574 func (_AddressBookMock *AddressBookMockCaller) VERSION(opts *bind.CallOpts) (*big.Int, error) { 575 var out []interface{} 576 err := _AddressBookMock.contract.Call(opts, &out, "VERSION") 577 578 if err != nil { 579 return *new(*big.Int), err 580 } 581 582 out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) 583 584 return out0, err 585 586 } 587 588 // VERSION is a free data retrieval call binding the contract method 0xffa1ad74. 589 // 590 // Solidity: function VERSION() view returns(uint256) 591 func (_AddressBookMock *AddressBookMockSession) VERSION() (*big.Int, error) { 592 return _AddressBookMock.Contract.VERSION(&_AddressBookMock.CallOpts) 593 } 594 595 // VERSION is a free data retrieval call binding the contract method 0xffa1ad74. 596 // 597 // Solidity: function VERSION() view returns(uint256) 598 func (_AddressBookMock *AddressBookMockCallerSession) VERSION() (*big.Int, error) { 599 return _AddressBookMock.Contract.VERSION(&_AddressBookMock.CallOpts) 600 } 601 602 // AdminList is a free data retrieval call binding the contract method 0x11117fc8. 603 // 604 // Solidity: function adminList(uint256 ) view returns(address) 605 func (_AddressBookMock *AddressBookMockCaller) AdminList(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error) { 606 var out []interface{} 607 err := _AddressBookMock.contract.Call(opts, &out, "adminList", arg0) 608 609 if err != nil { 610 return *new(common.Address), err 611 } 612 613 out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) 614 615 return out0, err 616 617 } 618 619 // AdminList is a free data retrieval call binding the contract method 0x11117fc8. 620 // 621 // Solidity: function adminList(uint256 ) view returns(address) 622 func (_AddressBookMock *AddressBookMockSession) AdminList(arg0 *big.Int) (common.Address, error) { 623 return _AddressBookMock.Contract.AdminList(&_AddressBookMock.CallOpts, arg0) 624 } 625 626 // AdminList is a free data retrieval call binding the contract method 0x11117fc8. 627 // 628 // Solidity: function adminList(uint256 ) view returns(address) 629 func (_AddressBookMock *AddressBookMockCallerSession) AdminList(arg0 *big.Int) (common.Address, error) { 630 return _AddressBookMock.Contract.AdminList(&_AddressBookMock.CallOpts, arg0) 631 } 632 633 // CnIndexMap is a free data retrieval call binding the contract method 0xdd8bd2cc. 634 // 635 // Solidity: function cnIndexMap(address ) view returns(uint256) 636 func (_AddressBookMock *AddressBookMockCaller) CnIndexMap(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error) { 637 var out []interface{} 638 err := _AddressBookMock.contract.Call(opts, &out, "cnIndexMap", arg0) 639 640 if err != nil { 641 return *new(*big.Int), err 642 } 643 644 out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) 645 646 return out0, err 647 648 } 649 650 // CnIndexMap is a free data retrieval call binding the contract method 0xdd8bd2cc. 651 // 652 // Solidity: function cnIndexMap(address ) view returns(uint256) 653 func (_AddressBookMock *AddressBookMockSession) CnIndexMap(arg0 common.Address) (*big.Int, error) { 654 return _AddressBookMock.Contract.CnIndexMap(&_AddressBookMock.CallOpts, arg0) 655 } 656 657 // CnIndexMap is a free data retrieval call binding the contract method 0xdd8bd2cc. 658 // 659 // Solidity: function cnIndexMap(address ) view returns(uint256) 660 func (_AddressBookMock *AddressBookMockCallerSession) CnIndexMap(arg0 common.Address) (*big.Int, error) { 661 return _AddressBookMock.Contract.CnIndexMap(&_AddressBookMock.CallOpts, arg0) 662 } 663 664 // CnNodeIdList is a free data retrieval call binding the contract method 0x056eb492. 665 // 666 // Solidity: function cnNodeIdList(uint256 ) view returns(address) 667 func (_AddressBookMock *AddressBookMockCaller) CnNodeIdList(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error) { 668 var out []interface{} 669 err := _AddressBookMock.contract.Call(opts, &out, "cnNodeIdList", arg0) 670 671 if err != nil { 672 return *new(common.Address), err 673 } 674 675 out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) 676 677 return out0, err 678 679 } 680 681 // CnNodeIdList is a free data retrieval call binding the contract method 0x056eb492. 682 // 683 // Solidity: function cnNodeIdList(uint256 ) view returns(address) 684 func (_AddressBookMock *AddressBookMockSession) CnNodeIdList(arg0 *big.Int) (common.Address, error) { 685 return _AddressBookMock.Contract.CnNodeIdList(&_AddressBookMock.CallOpts, arg0) 686 } 687 688 // CnNodeIdList is a free data retrieval call binding the contract method 0x056eb492. 689 // 690 // Solidity: function cnNodeIdList(uint256 ) view returns(address) 691 func (_AddressBookMock *AddressBookMockCallerSession) CnNodeIdList(arg0 *big.Int) (common.Address, error) { 692 return _AddressBookMock.Contract.CnNodeIdList(&_AddressBookMock.CallOpts, arg0) 693 } 694 695 // CnRewardAddressList is a free data retrieval call binding the contract method 0x3a48ef97. 696 // 697 // Solidity: function cnRewardAddressList(uint256 ) view returns(address) 698 func (_AddressBookMock *AddressBookMockCaller) CnRewardAddressList(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error) { 699 var out []interface{} 700 err := _AddressBookMock.contract.Call(opts, &out, "cnRewardAddressList", arg0) 701 702 if err != nil { 703 return *new(common.Address), err 704 } 705 706 out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) 707 708 return out0, err 709 710 } 711 712 // CnRewardAddressList is a free data retrieval call binding the contract method 0x3a48ef97. 713 // 714 // Solidity: function cnRewardAddressList(uint256 ) view returns(address) 715 func (_AddressBookMock *AddressBookMockSession) CnRewardAddressList(arg0 *big.Int) (common.Address, error) { 716 return _AddressBookMock.Contract.CnRewardAddressList(&_AddressBookMock.CallOpts, arg0) 717 } 718 719 // CnRewardAddressList is a free data retrieval call binding the contract method 0x3a48ef97. 720 // 721 // Solidity: function cnRewardAddressList(uint256 ) view returns(address) 722 func (_AddressBookMock *AddressBookMockCallerSession) CnRewardAddressList(arg0 *big.Int) (common.Address, error) { 723 return _AddressBookMock.Contract.CnRewardAddressList(&_AddressBookMock.CallOpts, arg0) 724 } 725 726 // CnStakingContractList is a free data retrieval call binding the contract method 0xde38e29f. 727 // 728 // Solidity: function cnStakingContractList(uint256 ) view returns(address) 729 func (_AddressBookMock *AddressBookMockCaller) CnStakingContractList(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error) { 730 var out []interface{} 731 err := _AddressBookMock.contract.Call(opts, &out, "cnStakingContractList", arg0) 732 733 if err != nil { 734 return *new(common.Address), err 735 } 736 737 out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) 738 739 return out0, err 740 741 } 742 743 // CnStakingContractList is a free data retrieval call binding the contract method 0xde38e29f. 744 // 745 // Solidity: function cnStakingContractList(uint256 ) view returns(address) 746 func (_AddressBookMock *AddressBookMockSession) CnStakingContractList(arg0 *big.Int) (common.Address, error) { 747 return _AddressBookMock.Contract.CnStakingContractList(&_AddressBookMock.CallOpts, arg0) 748 } 749 750 // CnStakingContractList is a free data retrieval call binding the contract method 0xde38e29f. 751 // 752 // Solidity: function cnStakingContractList(uint256 ) view returns(address) 753 func (_AddressBookMock *AddressBookMockCallerSession) CnStakingContractList(arg0 *big.Int) (common.Address, error) { 754 return _AddressBookMock.Contract.CnStakingContractList(&_AddressBookMock.CallOpts, arg0) 755 } 756 757 // GetAllAddress is a free data retrieval call binding the contract method 0x715b208b. 758 // 759 // Solidity: function getAllAddress() view returns(uint8[], address[]) 760 func (_AddressBookMock *AddressBookMockCaller) GetAllAddress(opts *bind.CallOpts) ([]uint8, []common.Address, error) { 761 var out []interface{} 762 err := _AddressBookMock.contract.Call(opts, &out, "getAllAddress") 763 764 if err != nil { 765 return *new([]uint8), *new([]common.Address), err 766 } 767 768 out0 := *abi.ConvertType(out[0], new([]uint8)).(*[]uint8) 769 out1 := *abi.ConvertType(out[1], new([]common.Address)).(*[]common.Address) 770 771 return out0, out1, err 772 773 } 774 775 // GetAllAddress is a free data retrieval call binding the contract method 0x715b208b. 776 // 777 // Solidity: function getAllAddress() view returns(uint8[], address[]) 778 func (_AddressBookMock *AddressBookMockSession) GetAllAddress() ([]uint8, []common.Address, error) { 779 return _AddressBookMock.Contract.GetAllAddress(&_AddressBookMock.CallOpts) 780 } 781 782 // GetAllAddress is a free data retrieval call binding the contract method 0x715b208b. 783 // 784 // Solidity: function getAllAddress() view returns(uint8[], address[]) 785 func (_AddressBookMock *AddressBookMockCallerSession) GetAllAddress() ([]uint8, []common.Address, error) { 786 return _AddressBookMock.Contract.GetAllAddress(&_AddressBookMock.CallOpts) 787 } 788 789 // GetAllAddressInfo is a free data retrieval call binding the contract method 0x160370b8. 790 // 791 // Solidity: function getAllAddressInfo() view returns(address[], address[], address[], address, address) 792 func (_AddressBookMock *AddressBookMockCaller) GetAllAddressInfo(opts *bind.CallOpts) ([]common.Address, []common.Address, []common.Address, common.Address, common.Address, error) { 793 var out []interface{} 794 err := _AddressBookMock.contract.Call(opts, &out, "getAllAddressInfo") 795 796 if err != nil { 797 return *new([]common.Address), *new([]common.Address), *new([]common.Address), *new(common.Address), *new(common.Address), err 798 } 799 800 out0 := *abi.ConvertType(out[0], new([]common.Address)).(*[]common.Address) 801 out1 := *abi.ConvertType(out[1], new([]common.Address)).(*[]common.Address) 802 out2 := *abi.ConvertType(out[2], new([]common.Address)).(*[]common.Address) 803 out3 := *abi.ConvertType(out[3], new(common.Address)).(*common.Address) 804 out4 := *abi.ConvertType(out[4], new(common.Address)).(*common.Address) 805 806 return out0, out1, out2, out3, out4, err 807 808 } 809 810 // GetAllAddressInfo is a free data retrieval call binding the contract method 0x160370b8. 811 // 812 // Solidity: function getAllAddressInfo() view returns(address[], address[], address[], address, address) 813 func (_AddressBookMock *AddressBookMockSession) GetAllAddressInfo() ([]common.Address, []common.Address, []common.Address, common.Address, common.Address, error) { 814 return _AddressBookMock.Contract.GetAllAddressInfo(&_AddressBookMock.CallOpts) 815 } 816 817 // GetAllAddressInfo is a free data retrieval call binding the contract method 0x160370b8. 818 // 819 // Solidity: function getAllAddressInfo() view returns(address[], address[], address[], address, address) 820 func (_AddressBookMock *AddressBookMockCallerSession) GetAllAddressInfo() ([]common.Address, []common.Address, []common.Address, common.Address, common.Address, error) { 821 return _AddressBookMock.Contract.GetAllAddressInfo(&_AddressBookMock.CallOpts) 822 } 823 824 // GetCnInfo is a free data retrieval call binding the contract method 0x15575d5a. 825 // 826 // Solidity: function getCnInfo(address _cnNodeId) view returns(address, address, address) 827 func (_AddressBookMock *AddressBookMockCaller) GetCnInfo(opts *bind.CallOpts, _cnNodeId common.Address) (common.Address, common.Address, common.Address, error) { 828 var out []interface{} 829 err := _AddressBookMock.contract.Call(opts, &out, "getCnInfo", _cnNodeId) 830 831 if err != nil { 832 return *new(common.Address), *new(common.Address), *new(common.Address), err 833 } 834 835 out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) 836 out1 := *abi.ConvertType(out[1], new(common.Address)).(*common.Address) 837 out2 := *abi.ConvertType(out[2], new(common.Address)).(*common.Address) 838 839 return out0, out1, out2, err 840 841 } 842 843 // GetCnInfo is a free data retrieval call binding the contract method 0x15575d5a. 844 // 845 // Solidity: function getCnInfo(address _cnNodeId) view returns(address, address, address) 846 func (_AddressBookMock *AddressBookMockSession) GetCnInfo(_cnNodeId common.Address) (common.Address, common.Address, common.Address, error) { 847 return _AddressBookMock.Contract.GetCnInfo(&_AddressBookMock.CallOpts, _cnNodeId) 848 } 849 850 // GetCnInfo is a free data retrieval call binding the contract method 0x15575d5a. 851 // 852 // Solidity: function getCnInfo(address _cnNodeId) view returns(address, address, address) 853 func (_AddressBookMock *AddressBookMockCallerSession) GetCnInfo(_cnNodeId common.Address) (common.Address, common.Address, common.Address, error) { 854 return _AddressBookMock.Contract.GetCnInfo(&_AddressBookMock.CallOpts, _cnNodeId) 855 } 856 857 // GetState is a free data retrieval call binding the contract method 0x1865c57d. 858 // 859 // Solidity: function getState() view returns(address[], uint256) 860 func (_AddressBookMock *AddressBookMockCaller) GetState(opts *bind.CallOpts) ([]common.Address, *big.Int, error) { 861 var out []interface{} 862 err := _AddressBookMock.contract.Call(opts, &out, "getState") 863 864 if err != nil { 865 return *new([]common.Address), *new(*big.Int), err 866 } 867 868 out0 := *abi.ConvertType(out[0], new([]common.Address)).(*[]common.Address) 869 out1 := *abi.ConvertType(out[1], new(*big.Int)).(**big.Int) 870 871 return out0, out1, err 872 873 } 874 875 // GetState is a free data retrieval call binding the contract method 0x1865c57d. 876 // 877 // Solidity: function getState() view returns(address[], uint256) 878 func (_AddressBookMock *AddressBookMockSession) GetState() ([]common.Address, *big.Int, error) { 879 return _AddressBookMock.Contract.GetState(&_AddressBookMock.CallOpts) 880 } 881 882 // GetState is a free data retrieval call binding the contract method 0x1865c57d. 883 // 884 // Solidity: function getState() view returns(address[], uint256) 885 func (_AddressBookMock *AddressBookMockCallerSession) GetState() ([]common.Address, *big.Int, error) { 886 return _AddressBookMock.Contract.GetState(&_AddressBookMock.CallOpts) 887 } 888 889 // IsActivated is a free data retrieval call binding the contract method 0x4a8c1fb4. 890 // 891 // Solidity: function isActivated() view returns(bool) 892 func (_AddressBookMock *AddressBookMockCaller) IsActivated(opts *bind.CallOpts) (bool, error) { 893 var out []interface{} 894 err := _AddressBookMock.contract.Call(opts, &out, "isActivated") 895 896 if err != nil { 897 return *new(bool), err 898 } 899 900 out0 := *abi.ConvertType(out[0], new(bool)).(*bool) 901 902 return out0, err 903 904 } 905 906 // IsActivated is a free data retrieval call binding the contract method 0x4a8c1fb4. 907 // 908 // Solidity: function isActivated() view returns(bool) 909 func (_AddressBookMock *AddressBookMockSession) IsActivated() (bool, error) { 910 return _AddressBookMock.Contract.IsActivated(&_AddressBookMock.CallOpts) 911 } 912 913 // IsActivated is a free data retrieval call binding the contract method 0x4a8c1fb4. 914 // 915 // Solidity: function isActivated() view returns(bool) 916 func (_AddressBookMock *AddressBookMockCallerSession) IsActivated() (bool, error) { 917 return _AddressBookMock.Contract.IsActivated(&_AddressBookMock.CallOpts) 918 } 919 920 // IsConstructed is a free data retrieval call binding the contract method 0x50a5bb69. 921 // 922 // Solidity: function isConstructed() view returns(bool) 923 func (_AddressBookMock *AddressBookMockCaller) IsConstructed(opts *bind.CallOpts) (bool, error) { 924 var out []interface{} 925 err := _AddressBookMock.contract.Call(opts, &out, "isConstructed") 926 927 if err != nil { 928 return *new(bool), err 929 } 930 931 out0 := *abi.ConvertType(out[0], new(bool)).(*bool) 932 933 return out0, err 934 935 } 936 937 // IsConstructed is a free data retrieval call binding the contract method 0x50a5bb69. 938 // 939 // Solidity: function isConstructed() view returns(bool) 940 func (_AddressBookMock *AddressBookMockSession) IsConstructed() (bool, error) { 941 return _AddressBookMock.Contract.IsConstructed(&_AddressBookMock.CallOpts) 942 } 943 944 // IsConstructed is a free data retrieval call binding the contract method 0x50a5bb69. 945 // 946 // Solidity: function isConstructed() view returns(bool) 947 func (_AddressBookMock *AddressBookMockCallerSession) IsConstructed() (bool, error) { 948 return _AddressBookMock.Contract.IsConstructed(&_AddressBookMock.CallOpts) 949 } 950 951 // KirContractAddress is a free data retrieval call binding the contract method 0xb858dd95. 952 // 953 // Solidity: function kirContractAddress() view returns(address) 954 func (_AddressBookMock *AddressBookMockCaller) KirContractAddress(opts *bind.CallOpts) (common.Address, error) { 955 var out []interface{} 956 err := _AddressBookMock.contract.Call(opts, &out, "kirContractAddress") 957 958 if err != nil { 959 return *new(common.Address), err 960 } 961 962 out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) 963 964 return out0, err 965 966 } 967 968 // KirContractAddress is a free data retrieval call binding the contract method 0xb858dd95. 969 // 970 // Solidity: function kirContractAddress() view returns(address) 971 func (_AddressBookMock *AddressBookMockSession) KirContractAddress() (common.Address, error) { 972 return _AddressBookMock.Contract.KirContractAddress(&_AddressBookMock.CallOpts) 973 } 974 975 // KirContractAddress is a free data retrieval call binding the contract method 0xb858dd95. 976 // 977 // Solidity: function kirContractAddress() view returns(address) 978 func (_AddressBookMock *AddressBookMockCallerSession) KirContractAddress() (common.Address, error) { 979 return _AddressBookMock.Contract.KirContractAddress(&_AddressBookMock.CallOpts) 980 } 981 982 // PocContractAddress is a free data retrieval call binding the contract method 0xd267eda5. 983 // 984 // Solidity: function pocContractAddress() view returns(address) 985 func (_AddressBookMock *AddressBookMockCaller) PocContractAddress(opts *bind.CallOpts) (common.Address, error) { 986 var out []interface{} 987 err := _AddressBookMock.contract.Call(opts, &out, "pocContractAddress") 988 989 if err != nil { 990 return *new(common.Address), err 991 } 992 993 out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) 994 995 return out0, err 996 997 } 998 999 // PocContractAddress is a free data retrieval call binding the contract method 0xd267eda5. 1000 // 1001 // Solidity: function pocContractAddress() view returns(address) 1002 func (_AddressBookMock *AddressBookMockSession) PocContractAddress() (common.Address, error) { 1003 return _AddressBookMock.Contract.PocContractAddress(&_AddressBookMock.CallOpts) 1004 } 1005 1006 // PocContractAddress is a free data retrieval call binding the contract method 0xd267eda5. 1007 // 1008 // Solidity: function pocContractAddress() view returns(address) 1009 func (_AddressBookMock *AddressBookMockCallerSession) PocContractAddress() (common.Address, error) { 1010 return _AddressBookMock.Contract.PocContractAddress(&_AddressBookMock.CallOpts) 1011 } 1012 1013 // Requirement is a free data retrieval call binding the contract method 0xb7563930. 1014 // 1015 // Solidity: function requirement() view returns(uint256) 1016 func (_AddressBookMock *AddressBookMockCaller) Requirement(opts *bind.CallOpts) (*big.Int, error) { 1017 var out []interface{} 1018 err := _AddressBookMock.contract.Call(opts, &out, "requirement") 1019 1020 if err != nil { 1021 return *new(*big.Int), err 1022 } 1023 1024 out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) 1025 1026 return out0, err 1027 1028 } 1029 1030 // Requirement is a free data retrieval call binding the contract method 0xb7563930. 1031 // 1032 // Solidity: function requirement() view returns(uint256) 1033 func (_AddressBookMock *AddressBookMockSession) Requirement() (*big.Int, error) { 1034 return _AddressBookMock.Contract.Requirement(&_AddressBookMock.CallOpts) 1035 } 1036 1037 // Requirement is a free data retrieval call binding the contract method 0xb7563930. 1038 // 1039 // Solidity: function requirement() view returns(uint256) 1040 func (_AddressBookMock *AddressBookMockCallerSession) Requirement() (*big.Int, error) { 1041 return _AddressBookMock.Contract.Requirement(&_AddressBookMock.CallOpts) 1042 } 1043 1044 // SpareContractAddress is a free data retrieval call binding the contract method 0x6abd623d. 1045 // 1046 // Solidity: function spareContractAddress() view returns(address) 1047 func (_AddressBookMock *AddressBookMockCaller) SpareContractAddress(opts *bind.CallOpts) (common.Address, error) { 1048 var out []interface{} 1049 err := _AddressBookMock.contract.Call(opts, &out, "spareContractAddress") 1050 1051 if err != nil { 1052 return *new(common.Address), err 1053 } 1054 1055 out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) 1056 1057 return out0, err 1058 1059 } 1060 1061 // SpareContractAddress is a free data retrieval call binding the contract method 0x6abd623d. 1062 // 1063 // Solidity: function spareContractAddress() view returns(address) 1064 func (_AddressBookMock *AddressBookMockSession) SpareContractAddress() (common.Address, error) { 1065 return _AddressBookMock.Contract.SpareContractAddress(&_AddressBookMock.CallOpts) 1066 } 1067 1068 // SpareContractAddress is a free data retrieval call binding the contract method 0x6abd623d. 1069 // 1070 // Solidity: function spareContractAddress() view returns(address) 1071 func (_AddressBookMock *AddressBookMockCallerSession) SpareContractAddress() (common.Address, error) { 1072 return _AddressBookMock.Contract.SpareContractAddress(&_AddressBookMock.CallOpts) 1073 } 1074 1075 // ActivateAddressBook is a paid mutator transaction binding the contract method 0xcec92466. 1076 // 1077 // Solidity: function activateAddressBook() returns() 1078 func (_AddressBookMock *AddressBookMockTransactor) ActivateAddressBook(opts *bind.TransactOpts) (*types.Transaction, error) { 1079 return _AddressBookMock.contract.Transact(opts, "activateAddressBook") 1080 } 1081 1082 // ActivateAddressBook is a paid mutator transaction binding the contract method 0xcec92466. 1083 // 1084 // Solidity: function activateAddressBook() returns() 1085 func (_AddressBookMock *AddressBookMockSession) ActivateAddressBook() (*types.Transaction, error) { 1086 return _AddressBookMock.Contract.ActivateAddressBook(&_AddressBookMock.TransactOpts) 1087 } 1088 1089 // ActivateAddressBook is a paid mutator transaction binding the contract method 0xcec92466. 1090 // 1091 // Solidity: function activateAddressBook() returns() 1092 func (_AddressBookMock *AddressBookMockTransactorSession) ActivateAddressBook() (*types.Transaction, error) { 1093 return _AddressBookMock.Contract.ActivateAddressBook(&_AddressBookMock.TransactOpts) 1094 } 1095 1096 // ConstructContract is a paid mutator transaction binding the contract method 0x7894c366. 1097 // 1098 // Solidity: function constructContract(address[] , uint256 _requirement) returns() 1099 func (_AddressBookMock *AddressBookMockTransactor) ConstructContract(opts *bind.TransactOpts, arg0 []common.Address, _requirement *big.Int) (*types.Transaction, error) { 1100 return _AddressBookMock.contract.Transact(opts, "constructContract", arg0, _requirement) 1101 } 1102 1103 // ConstructContract is a paid mutator transaction binding the contract method 0x7894c366. 1104 // 1105 // Solidity: function constructContract(address[] , uint256 _requirement) returns() 1106 func (_AddressBookMock *AddressBookMockSession) ConstructContract(arg0 []common.Address, _requirement *big.Int) (*types.Transaction, error) { 1107 return _AddressBookMock.Contract.ConstructContract(&_AddressBookMock.TransactOpts, arg0, _requirement) 1108 } 1109 1110 // ConstructContract is a paid mutator transaction binding the contract method 0x7894c366. 1111 // 1112 // Solidity: function constructContract(address[] , uint256 _requirement) returns() 1113 func (_AddressBookMock *AddressBookMockTransactorSession) ConstructContract(arg0 []common.Address, _requirement *big.Int) (*types.Transaction, error) { 1114 return _AddressBookMock.Contract.ConstructContract(&_AddressBookMock.TransactOpts, arg0, _requirement) 1115 } 1116 1117 // MockRegisterCnStakingContracts is a paid mutator transaction binding the contract method 0x666d7190. 1118 // 1119 // Solidity: function mockRegisterCnStakingContracts(address[] _cnNodeIdList, address[] _cnStakingContractAddressList, address[] _cnRewardAddressList) returns() 1120 func (_AddressBookMock *AddressBookMockTransactor) MockRegisterCnStakingContracts(opts *bind.TransactOpts, _cnNodeIdList []common.Address, _cnStakingContractAddressList []common.Address, _cnRewardAddressList []common.Address) (*types.Transaction, error) { 1121 return _AddressBookMock.contract.Transact(opts, "mockRegisterCnStakingContracts", _cnNodeIdList, _cnStakingContractAddressList, _cnRewardAddressList) 1122 } 1123 1124 // MockRegisterCnStakingContracts is a paid mutator transaction binding the contract method 0x666d7190. 1125 // 1126 // Solidity: function mockRegisterCnStakingContracts(address[] _cnNodeIdList, address[] _cnStakingContractAddressList, address[] _cnRewardAddressList) returns() 1127 func (_AddressBookMock *AddressBookMockSession) MockRegisterCnStakingContracts(_cnNodeIdList []common.Address, _cnStakingContractAddressList []common.Address, _cnRewardAddressList []common.Address) (*types.Transaction, error) { 1128 return _AddressBookMock.Contract.MockRegisterCnStakingContracts(&_AddressBookMock.TransactOpts, _cnNodeIdList, _cnStakingContractAddressList, _cnRewardAddressList) 1129 } 1130 1131 // MockRegisterCnStakingContracts is a paid mutator transaction binding the contract method 0x666d7190. 1132 // 1133 // Solidity: function mockRegisterCnStakingContracts(address[] _cnNodeIdList, address[] _cnStakingContractAddressList, address[] _cnRewardAddressList) returns() 1134 func (_AddressBookMock *AddressBookMockTransactorSession) MockRegisterCnStakingContracts(_cnNodeIdList []common.Address, _cnStakingContractAddressList []common.Address, _cnRewardAddressList []common.Address) (*types.Transaction, error) { 1135 return _AddressBookMock.Contract.MockRegisterCnStakingContracts(&_AddressBookMock.TransactOpts, _cnNodeIdList, _cnStakingContractAddressList, _cnRewardAddressList) 1136 } 1137 1138 // MockUnregisterCnStakingContracts is a paid mutator transaction binding the contract method 0xabed9435. 1139 // 1140 // Solidity: function mockUnregisterCnStakingContracts(address[] _cnNodeIdList) returns() 1141 func (_AddressBookMock *AddressBookMockTransactor) MockUnregisterCnStakingContracts(opts *bind.TransactOpts, _cnNodeIdList []common.Address) (*types.Transaction, error) { 1142 return _AddressBookMock.contract.Transact(opts, "mockUnregisterCnStakingContracts", _cnNodeIdList) 1143 } 1144 1145 // MockUnregisterCnStakingContracts is a paid mutator transaction binding the contract method 0xabed9435. 1146 // 1147 // Solidity: function mockUnregisterCnStakingContracts(address[] _cnNodeIdList) returns() 1148 func (_AddressBookMock *AddressBookMockSession) MockUnregisterCnStakingContracts(_cnNodeIdList []common.Address) (*types.Transaction, error) { 1149 return _AddressBookMock.Contract.MockUnregisterCnStakingContracts(&_AddressBookMock.TransactOpts, _cnNodeIdList) 1150 } 1151 1152 // MockUnregisterCnStakingContracts is a paid mutator transaction binding the contract method 0xabed9435. 1153 // 1154 // Solidity: function mockUnregisterCnStakingContracts(address[] _cnNodeIdList) returns() 1155 func (_AddressBookMock *AddressBookMockTransactorSession) MockUnregisterCnStakingContracts(_cnNodeIdList []common.Address) (*types.Transaction, error) { 1156 return _AddressBookMock.Contract.MockUnregisterCnStakingContracts(&_AddressBookMock.TransactOpts, _cnNodeIdList) 1157 } 1158 1159 // RegisterCnStakingContract is a paid mutator transaction binding the contract method 0x298b3c61. 1160 // 1161 // Solidity: function registerCnStakingContract(address _cnNodeId, address _cnStakingContractAddress, address _cnRewardAddress) returns() 1162 func (_AddressBookMock *AddressBookMockTransactor) RegisterCnStakingContract(opts *bind.TransactOpts, _cnNodeId common.Address, _cnStakingContractAddress common.Address, _cnRewardAddress common.Address) (*types.Transaction, error) { 1163 return _AddressBookMock.contract.Transact(opts, "registerCnStakingContract", _cnNodeId, _cnStakingContractAddress, _cnRewardAddress) 1164 } 1165 1166 // RegisterCnStakingContract is a paid mutator transaction binding the contract method 0x298b3c61. 1167 // 1168 // Solidity: function registerCnStakingContract(address _cnNodeId, address _cnStakingContractAddress, address _cnRewardAddress) returns() 1169 func (_AddressBookMock *AddressBookMockSession) RegisterCnStakingContract(_cnNodeId common.Address, _cnStakingContractAddress common.Address, _cnRewardAddress common.Address) (*types.Transaction, error) { 1170 return _AddressBookMock.Contract.RegisterCnStakingContract(&_AddressBookMock.TransactOpts, _cnNodeId, _cnStakingContractAddress, _cnRewardAddress) 1171 } 1172 1173 // RegisterCnStakingContract is a paid mutator transaction binding the contract method 0x298b3c61. 1174 // 1175 // Solidity: function registerCnStakingContract(address _cnNodeId, address _cnStakingContractAddress, address _cnRewardAddress) returns() 1176 func (_AddressBookMock *AddressBookMockTransactorSession) RegisterCnStakingContract(_cnNodeId common.Address, _cnStakingContractAddress common.Address, _cnRewardAddress common.Address) (*types.Transaction, error) { 1177 return _AddressBookMock.Contract.RegisterCnStakingContract(&_AddressBookMock.TransactOpts, _cnNodeId, _cnStakingContractAddress, _cnRewardAddress) 1178 } 1179 1180 // RevokeRequest is a paid mutator transaction binding the contract method 0x3f0628b1. 1181 // 1182 // Solidity: function revokeRequest(uint8 , bytes32 , bytes32 , bytes32 ) returns() 1183 func (_AddressBookMock *AddressBookMockTransactor) RevokeRequest(opts *bind.TransactOpts, arg0 uint8, arg1 [32]byte, arg2 [32]byte, arg3 [32]byte) (*types.Transaction, error) { 1184 return _AddressBookMock.contract.Transact(opts, "revokeRequest", arg0, arg1, arg2, arg3) 1185 } 1186 1187 // RevokeRequest is a paid mutator transaction binding the contract method 0x3f0628b1. 1188 // 1189 // Solidity: function revokeRequest(uint8 , bytes32 , bytes32 , bytes32 ) returns() 1190 func (_AddressBookMock *AddressBookMockSession) RevokeRequest(arg0 uint8, arg1 [32]byte, arg2 [32]byte, arg3 [32]byte) (*types.Transaction, error) { 1191 return _AddressBookMock.Contract.RevokeRequest(&_AddressBookMock.TransactOpts, arg0, arg1, arg2, arg3) 1192 } 1193 1194 // RevokeRequest is a paid mutator transaction binding the contract method 0x3f0628b1. 1195 // 1196 // Solidity: function revokeRequest(uint8 , bytes32 , bytes32 , bytes32 ) returns() 1197 func (_AddressBookMock *AddressBookMockTransactorSession) RevokeRequest(arg0 uint8, arg1 [32]byte, arg2 [32]byte, arg3 [32]byte) (*types.Transaction, error) { 1198 return _AddressBookMock.Contract.RevokeRequest(&_AddressBookMock.TransactOpts, arg0, arg1, arg2, arg3) 1199 } 1200 1201 // SubmitActivateAddressBook is a paid mutator transaction binding the contract method 0xfeb15ca1. 1202 // 1203 // Solidity: function submitActivateAddressBook() returns() 1204 func (_AddressBookMock *AddressBookMockTransactor) SubmitActivateAddressBook(opts *bind.TransactOpts) (*types.Transaction, error) { 1205 return _AddressBookMock.contract.Transact(opts, "submitActivateAddressBook") 1206 } 1207 1208 // SubmitActivateAddressBook is a paid mutator transaction binding the contract method 0xfeb15ca1. 1209 // 1210 // Solidity: function submitActivateAddressBook() returns() 1211 func (_AddressBookMock *AddressBookMockSession) SubmitActivateAddressBook() (*types.Transaction, error) { 1212 return _AddressBookMock.Contract.SubmitActivateAddressBook(&_AddressBookMock.TransactOpts) 1213 } 1214 1215 // SubmitActivateAddressBook is a paid mutator transaction binding the contract method 0xfeb15ca1. 1216 // 1217 // Solidity: function submitActivateAddressBook() returns() 1218 func (_AddressBookMock *AddressBookMockTransactorSession) SubmitActivateAddressBook() (*types.Transaction, error) { 1219 return _AddressBookMock.Contract.SubmitActivateAddressBook(&_AddressBookMock.TransactOpts) 1220 } 1221 1222 // SubmitAddAdmin is a paid mutator transaction binding the contract method 0x863f5c0a. 1223 // 1224 // Solidity: function submitAddAdmin(address ) returns() 1225 func (_AddressBookMock *AddressBookMockTransactor) SubmitAddAdmin(opts *bind.TransactOpts, arg0 common.Address) (*types.Transaction, error) { 1226 return _AddressBookMock.contract.Transact(opts, "submitAddAdmin", arg0) 1227 } 1228 1229 // SubmitAddAdmin is a paid mutator transaction binding the contract method 0x863f5c0a. 1230 // 1231 // Solidity: function submitAddAdmin(address ) returns() 1232 func (_AddressBookMock *AddressBookMockSession) SubmitAddAdmin(arg0 common.Address) (*types.Transaction, error) { 1233 return _AddressBookMock.Contract.SubmitAddAdmin(&_AddressBookMock.TransactOpts, arg0) 1234 } 1235 1236 // SubmitAddAdmin is a paid mutator transaction binding the contract method 0x863f5c0a. 1237 // 1238 // Solidity: function submitAddAdmin(address ) returns() 1239 func (_AddressBookMock *AddressBookMockTransactorSession) SubmitAddAdmin(arg0 common.Address) (*types.Transaction, error) { 1240 return _AddressBookMock.Contract.SubmitAddAdmin(&_AddressBookMock.TransactOpts, arg0) 1241 } 1242 1243 // SubmitClearRequest is a paid mutator transaction binding the contract method 0x87cd9feb. 1244 // 1245 // Solidity: function submitClearRequest() returns() 1246 func (_AddressBookMock *AddressBookMockTransactor) SubmitClearRequest(opts *bind.TransactOpts) (*types.Transaction, error) { 1247 return _AddressBookMock.contract.Transact(opts, "submitClearRequest") 1248 } 1249 1250 // SubmitClearRequest is a paid mutator transaction binding the contract method 0x87cd9feb. 1251 // 1252 // Solidity: function submitClearRequest() returns() 1253 func (_AddressBookMock *AddressBookMockSession) SubmitClearRequest() (*types.Transaction, error) { 1254 return _AddressBookMock.Contract.SubmitClearRequest(&_AddressBookMock.TransactOpts) 1255 } 1256 1257 // SubmitClearRequest is a paid mutator transaction binding the contract method 0x87cd9feb. 1258 // 1259 // Solidity: function submitClearRequest() returns() 1260 func (_AddressBookMock *AddressBookMockTransactorSession) SubmitClearRequest() (*types.Transaction, error) { 1261 return _AddressBookMock.Contract.SubmitClearRequest(&_AddressBookMock.TransactOpts) 1262 } 1263 1264 // SubmitDeleteAdmin is a paid mutator transaction binding the contract method 0x791b5123. 1265 // 1266 // Solidity: function submitDeleteAdmin(address ) returns() 1267 func (_AddressBookMock *AddressBookMockTransactor) SubmitDeleteAdmin(opts *bind.TransactOpts, arg0 common.Address) (*types.Transaction, error) { 1268 return _AddressBookMock.contract.Transact(opts, "submitDeleteAdmin", arg0) 1269 } 1270 1271 // SubmitDeleteAdmin is a paid mutator transaction binding the contract method 0x791b5123. 1272 // 1273 // Solidity: function submitDeleteAdmin(address ) returns() 1274 func (_AddressBookMock *AddressBookMockSession) SubmitDeleteAdmin(arg0 common.Address) (*types.Transaction, error) { 1275 return _AddressBookMock.Contract.SubmitDeleteAdmin(&_AddressBookMock.TransactOpts, arg0) 1276 } 1277 1278 // SubmitDeleteAdmin is a paid mutator transaction binding the contract method 0x791b5123. 1279 // 1280 // Solidity: function submitDeleteAdmin(address ) returns() 1281 func (_AddressBookMock *AddressBookMockTransactorSession) SubmitDeleteAdmin(arg0 common.Address) (*types.Transaction, error) { 1282 return _AddressBookMock.Contract.SubmitDeleteAdmin(&_AddressBookMock.TransactOpts, arg0) 1283 } 1284 1285 // SubmitRegisterCnStakingContract is a paid mutator transaction binding the contract method 0xcc11efc0. 1286 // 1287 // Solidity: function submitRegisterCnStakingContract(address _cnNodeId, address _cnStakingContractAddress, address _cnRewardAddress) returns() 1288 func (_AddressBookMock *AddressBookMockTransactor) SubmitRegisterCnStakingContract(opts *bind.TransactOpts, _cnNodeId common.Address, _cnStakingContractAddress common.Address, _cnRewardAddress common.Address) (*types.Transaction, error) { 1289 return _AddressBookMock.contract.Transact(opts, "submitRegisterCnStakingContract", _cnNodeId, _cnStakingContractAddress, _cnRewardAddress) 1290 } 1291 1292 // SubmitRegisterCnStakingContract is a paid mutator transaction binding the contract method 0xcc11efc0. 1293 // 1294 // Solidity: function submitRegisterCnStakingContract(address _cnNodeId, address _cnStakingContractAddress, address _cnRewardAddress) returns() 1295 func (_AddressBookMock *AddressBookMockSession) SubmitRegisterCnStakingContract(_cnNodeId common.Address, _cnStakingContractAddress common.Address, _cnRewardAddress common.Address) (*types.Transaction, error) { 1296 return _AddressBookMock.Contract.SubmitRegisterCnStakingContract(&_AddressBookMock.TransactOpts, _cnNodeId, _cnStakingContractAddress, _cnRewardAddress) 1297 } 1298 1299 // SubmitRegisterCnStakingContract is a paid mutator transaction binding the contract method 0xcc11efc0. 1300 // 1301 // Solidity: function submitRegisterCnStakingContract(address _cnNodeId, address _cnStakingContractAddress, address _cnRewardAddress) returns() 1302 func (_AddressBookMock *AddressBookMockTransactorSession) SubmitRegisterCnStakingContract(_cnNodeId common.Address, _cnStakingContractAddress common.Address, _cnRewardAddress common.Address) (*types.Transaction, error) { 1303 return _AddressBookMock.Contract.SubmitRegisterCnStakingContract(&_AddressBookMock.TransactOpts, _cnNodeId, _cnStakingContractAddress, _cnRewardAddress) 1304 } 1305 1306 // SubmitUnregisterCnStakingContract is a paid mutator transaction binding the contract method 0xb5067706. 1307 // 1308 // Solidity: function submitUnregisterCnStakingContract(address _cnNodeId) returns() 1309 func (_AddressBookMock *AddressBookMockTransactor) SubmitUnregisterCnStakingContract(opts *bind.TransactOpts, _cnNodeId common.Address) (*types.Transaction, error) { 1310 return _AddressBookMock.contract.Transact(opts, "submitUnregisterCnStakingContract", _cnNodeId) 1311 } 1312 1313 // SubmitUnregisterCnStakingContract is a paid mutator transaction binding the contract method 0xb5067706. 1314 // 1315 // Solidity: function submitUnregisterCnStakingContract(address _cnNodeId) returns() 1316 func (_AddressBookMock *AddressBookMockSession) SubmitUnregisterCnStakingContract(_cnNodeId common.Address) (*types.Transaction, error) { 1317 return _AddressBookMock.Contract.SubmitUnregisterCnStakingContract(&_AddressBookMock.TransactOpts, _cnNodeId) 1318 } 1319 1320 // SubmitUnregisterCnStakingContract is a paid mutator transaction binding the contract method 0xb5067706. 1321 // 1322 // Solidity: function submitUnregisterCnStakingContract(address _cnNodeId) returns() 1323 func (_AddressBookMock *AddressBookMockTransactorSession) SubmitUnregisterCnStakingContract(_cnNodeId common.Address) (*types.Transaction, error) { 1324 return _AddressBookMock.Contract.SubmitUnregisterCnStakingContract(&_AddressBookMock.TransactOpts, _cnNodeId) 1325 } 1326 1327 // SubmitUpdateKirContract is a paid mutator transaction binding the contract method 0x9258d768. 1328 // 1329 // Solidity: function submitUpdateKirContract(address _kirContractAddress, uint256 _version) returns() 1330 func (_AddressBookMock *AddressBookMockTransactor) SubmitUpdateKirContract(opts *bind.TransactOpts, _kirContractAddress common.Address, _version *big.Int) (*types.Transaction, error) { 1331 return _AddressBookMock.contract.Transact(opts, "submitUpdateKirContract", _kirContractAddress, _version) 1332 } 1333 1334 // SubmitUpdateKirContract is a paid mutator transaction binding the contract method 0x9258d768. 1335 // 1336 // Solidity: function submitUpdateKirContract(address _kirContractAddress, uint256 _version) returns() 1337 func (_AddressBookMock *AddressBookMockSession) SubmitUpdateKirContract(_kirContractAddress common.Address, _version *big.Int) (*types.Transaction, error) { 1338 return _AddressBookMock.Contract.SubmitUpdateKirContract(&_AddressBookMock.TransactOpts, _kirContractAddress, _version) 1339 } 1340 1341 // SubmitUpdateKirContract is a paid mutator transaction binding the contract method 0x9258d768. 1342 // 1343 // Solidity: function submitUpdateKirContract(address _kirContractAddress, uint256 _version) returns() 1344 func (_AddressBookMock *AddressBookMockTransactorSession) SubmitUpdateKirContract(_kirContractAddress common.Address, _version *big.Int) (*types.Transaction, error) { 1345 return _AddressBookMock.Contract.SubmitUpdateKirContract(&_AddressBookMock.TransactOpts, _kirContractAddress, _version) 1346 } 1347 1348 // SubmitUpdatePocContract is a paid mutator transaction binding the contract method 0x21ac4ad4. 1349 // 1350 // Solidity: function submitUpdatePocContract(address _pocContractAddress, uint256 _version) returns() 1351 func (_AddressBookMock *AddressBookMockTransactor) SubmitUpdatePocContract(opts *bind.TransactOpts, _pocContractAddress common.Address, _version *big.Int) (*types.Transaction, error) { 1352 return _AddressBookMock.contract.Transact(opts, "submitUpdatePocContract", _pocContractAddress, _version) 1353 } 1354 1355 // SubmitUpdatePocContract is a paid mutator transaction binding the contract method 0x21ac4ad4. 1356 // 1357 // Solidity: function submitUpdatePocContract(address _pocContractAddress, uint256 _version) returns() 1358 func (_AddressBookMock *AddressBookMockSession) SubmitUpdatePocContract(_pocContractAddress common.Address, _version *big.Int) (*types.Transaction, error) { 1359 return _AddressBookMock.Contract.SubmitUpdatePocContract(&_AddressBookMock.TransactOpts, _pocContractAddress, _version) 1360 } 1361 1362 // SubmitUpdatePocContract is a paid mutator transaction binding the contract method 0x21ac4ad4. 1363 // 1364 // Solidity: function submitUpdatePocContract(address _pocContractAddress, uint256 _version) returns() 1365 func (_AddressBookMock *AddressBookMockTransactorSession) SubmitUpdatePocContract(_pocContractAddress common.Address, _version *big.Int) (*types.Transaction, error) { 1366 return _AddressBookMock.Contract.SubmitUpdatePocContract(&_AddressBookMock.TransactOpts, _pocContractAddress, _version) 1367 } 1368 1369 // SubmitUpdateRequirement is a paid mutator transaction binding the contract method 0xe748357b. 1370 // 1371 // Solidity: function submitUpdateRequirement(uint256 _requirement) returns() 1372 func (_AddressBookMock *AddressBookMockTransactor) SubmitUpdateRequirement(opts *bind.TransactOpts, _requirement *big.Int) (*types.Transaction, error) { 1373 return _AddressBookMock.contract.Transact(opts, "submitUpdateRequirement", _requirement) 1374 } 1375 1376 // SubmitUpdateRequirement is a paid mutator transaction binding the contract method 0xe748357b. 1377 // 1378 // Solidity: function submitUpdateRequirement(uint256 _requirement) returns() 1379 func (_AddressBookMock *AddressBookMockSession) SubmitUpdateRequirement(_requirement *big.Int) (*types.Transaction, error) { 1380 return _AddressBookMock.Contract.SubmitUpdateRequirement(&_AddressBookMock.TransactOpts, _requirement) 1381 } 1382 1383 // SubmitUpdateRequirement is a paid mutator transaction binding the contract method 0xe748357b. 1384 // 1385 // Solidity: function submitUpdateRequirement(uint256 _requirement) returns() 1386 func (_AddressBookMock *AddressBookMockTransactorSession) SubmitUpdateRequirement(_requirement *big.Int) (*types.Transaction, error) { 1387 return _AddressBookMock.Contract.SubmitUpdateRequirement(&_AddressBookMock.TransactOpts, _requirement) 1388 } 1389 1390 // SubmitUpdateSpareContract is a paid mutator transaction binding the contract method 0x394a144a. 1391 // 1392 // Solidity: function submitUpdateSpareContract(address _spareContractAddress) returns() 1393 func (_AddressBookMock *AddressBookMockTransactor) SubmitUpdateSpareContract(opts *bind.TransactOpts, _spareContractAddress common.Address) (*types.Transaction, error) { 1394 return _AddressBookMock.contract.Transact(opts, "submitUpdateSpareContract", _spareContractAddress) 1395 } 1396 1397 // SubmitUpdateSpareContract is a paid mutator transaction binding the contract method 0x394a144a. 1398 // 1399 // Solidity: function submitUpdateSpareContract(address _spareContractAddress) returns() 1400 func (_AddressBookMock *AddressBookMockSession) SubmitUpdateSpareContract(_spareContractAddress common.Address) (*types.Transaction, error) { 1401 return _AddressBookMock.Contract.SubmitUpdateSpareContract(&_AddressBookMock.TransactOpts, _spareContractAddress) 1402 } 1403 1404 // SubmitUpdateSpareContract is a paid mutator transaction binding the contract method 0x394a144a. 1405 // 1406 // Solidity: function submitUpdateSpareContract(address _spareContractAddress) returns() 1407 func (_AddressBookMock *AddressBookMockTransactorSession) SubmitUpdateSpareContract(_spareContractAddress common.Address) (*types.Transaction, error) { 1408 return _AddressBookMock.Contract.SubmitUpdateSpareContract(&_AddressBookMock.TransactOpts, _spareContractAddress) 1409 } 1410 1411 // UnregisterCnStakingContract is a paid mutator transaction binding the contract method 0x579740db. 1412 // 1413 // Solidity: function unregisterCnStakingContract(address _cnNodeId) returns() 1414 func (_AddressBookMock *AddressBookMockTransactor) UnregisterCnStakingContract(opts *bind.TransactOpts, _cnNodeId common.Address) (*types.Transaction, error) { 1415 return _AddressBookMock.contract.Transact(opts, "unregisterCnStakingContract", _cnNodeId) 1416 } 1417 1418 // UnregisterCnStakingContract is a paid mutator transaction binding the contract method 0x579740db. 1419 // 1420 // Solidity: function unregisterCnStakingContract(address _cnNodeId) returns() 1421 func (_AddressBookMock *AddressBookMockSession) UnregisterCnStakingContract(_cnNodeId common.Address) (*types.Transaction, error) { 1422 return _AddressBookMock.Contract.UnregisterCnStakingContract(&_AddressBookMock.TransactOpts, _cnNodeId) 1423 } 1424 1425 // UnregisterCnStakingContract is a paid mutator transaction binding the contract method 0x579740db. 1426 // 1427 // Solidity: function unregisterCnStakingContract(address _cnNodeId) returns() 1428 func (_AddressBookMock *AddressBookMockTransactorSession) UnregisterCnStakingContract(_cnNodeId common.Address) (*types.Transaction, error) { 1429 return _AddressBookMock.Contract.UnregisterCnStakingContract(&_AddressBookMock.TransactOpts, _cnNodeId) 1430 } 1431 1432 // UpdateKirContract is a paid mutator transaction binding the contract method 0x4c5d435c. 1433 // 1434 // Solidity: function updateKirContract(address _kirContractAddress, uint256 ) returns() 1435 func (_AddressBookMock *AddressBookMockTransactor) UpdateKirContract(opts *bind.TransactOpts, _kirContractAddress common.Address, arg1 *big.Int) (*types.Transaction, error) { 1436 return _AddressBookMock.contract.Transact(opts, "updateKirContract", _kirContractAddress, arg1) 1437 } 1438 1439 // UpdateKirContract is a paid mutator transaction binding the contract method 0x4c5d435c. 1440 // 1441 // Solidity: function updateKirContract(address _kirContractAddress, uint256 ) returns() 1442 func (_AddressBookMock *AddressBookMockSession) UpdateKirContract(_kirContractAddress common.Address, arg1 *big.Int) (*types.Transaction, error) { 1443 return _AddressBookMock.Contract.UpdateKirContract(&_AddressBookMock.TransactOpts, _kirContractAddress, arg1) 1444 } 1445 1446 // UpdateKirContract is a paid mutator transaction binding the contract method 0x4c5d435c. 1447 // 1448 // Solidity: function updateKirContract(address _kirContractAddress, uint256 ) returns() 1449 func (_AddressBookMock *AddressBookMockTransactorSession) UpdateKirContract(_kirContractAddress common.Address, arg1 *big.Int) (*types.Transaction, error) { 1450 return _AddressBookMock.Contract.UpdateKirContract(&_AddressBookMock.TransactOpts, _kirContractAddress, arg1) 1451 } 1452 1453 // UpdatePocContract is a paid mutator transaction binding the contract method 0xc7e9de75. 1454 // 1455 // Solidity: function updatePocContract(address _pocContractAddress, uint256 ) returns() 1456 func (_AddressBookMock *AddressBookMockTransactor) UpdatePocContract(opts *bind.TransactOpts, _pocContractAddress common.Address, arg1 *big.Int) (*types.Transaction, error) { 1457 return _AddressBookMock.contract.Transact(opts, "updatePocContract", _pocContractAddress, arg1) 1458 } 1459 1460 // UpdatePocContract is a paid mutator transaction binding the contract method 0xc7e9de75. 1461 // 1462 // Solidity: function updatePocContract(address _pocContractAddress, uint256 ) returns() 1463 func (_AddressBookMock *AddressBookMockSession) UpdatePocContract(_pocContractAddress common.Address, arg1 *big.Int) (*types.Transaction, error) { 1464 return _AddressBookMock.Contract.UpdatePocContract(&_AddressBookMock.TransactOpts, _pocContractAddress, arg1) 1465 } 1466 1467 // UpdatePocContract is a paid mutator transaction binding the contract method 0xc7e9de75. 1468 // 1469 // Solidity: function updatePocContract(address _pocContractAddress, uint256 ) returns() 1470 func (_AddressBookMock *AddressBookMockTransactorSession) UpdatePocContract(_pocContractAddress common.Address, arg1 *big.Int) (*types.Transaction, error) { 1471 return _AddressBookMock.Contract.UpdatePocContract(&_AddressBookMock.TransactOpts, _pocContractAddress, arg1) 1472 } 1473 1474 // UpdateRequirement is a paid mutator transaction binding the contract method 0xc47afb3a. 1475 // 1476 // Solidity: function updateRequirement(uint256 _requirement) returns() 1477 func (_AddressBookMock *AddressBookMockTransactor) UpdateRequirement(opts *bind.TransactOpts, _requirement *big.Int) (*types.Transaction, error) { 1478 return _AddressBookMock.contract.Transact(opts, "updateRequirement", _requirement) 1479 } 1480 1481 // UpdateRequirement is a paid mutator transaction binding the contract method 0xc47afb3a. 1482 // 1483 // Solidity: function updateRequirement(uint256 _requirement) returns() 1484 func (_AddressBookMock *AddressBookMockSession) UpdateRequirement(_requirement *big.Int) (*types.Transaction, error) { 1485 return _AddressBookMock.Contract.UpdateRequirement(&_AddressBookMock.TransactOpts, _requirement) 1486 } 1487 1488 // UpdateRequirement is a paid mutator transaction binding the contract method 0xc47afb3a. 1489 // 1490 // Solidity: function updateRequirement(uint256 _requirement) returns() 1491 func (_AddressBookMock *AddressBookMockTransactorSession) UpdateRequirement(_requirement *big.Int) (*types.Transaction, error) { 1492 return _AddressBookMock.Contract.UpdateRequirement(&_AddressBookMock.TransactOpts, _requirement) 1493 } 1494 1495 // UpdateSpareContract is a paid mutator transaction binding the contract method 0xafaaf330. 1496 // 1497 // Solidity: function updateSpareContract(address _spareContractAddress) returns() 1498 func (_AddressBookMock *AddressBookMockTransactor) UpdateSpareContract(opts *bind.TransactOpts, _spareContractAddress common.Address) (*types.Transaction, error) { 1499 return _AddressBookMock.contract.Transact(opts, "updateSpareContract", _spareContractAddress) 1500 } 1501 1502 // UpdateSpareContract is a paid mutator transaction binding the contract method 0xafaaf330. 1503 // 1504 // Solidity: function updateSpareContract(address _spareContractAddress) returns() 1505 func (_AddressBookMock *AddressBookMockSession) UpdateSpareContract(_spareContractAddress common.Address) (*types.Transaction, error) { 1506 return _AddressBookMock.Contract.UpdateSpareContract(&_AddressBookMock.TransactOpts, _spareContractAddress) 1507 } 1508 1509 // UpdateSpareContract is a paid mutator transaction binding the contract method 0xafaaf330. 1510 // 1511 // Solidity: function updateSpareContract(address _spareContractAddress) returns() 1512 func (_AddressBookMock *AddressBookMockTransactorSession) UpdateSpareContract(_spareContractAddress common.Address) (*types.Transaction, error) { 1513 return _AddressBookMock.Contract.UpdateSpareContract(&_AddressBookMock.TransactOpts, _spareContractAddress) 1514 }