github.com/energicryptocurrency/go-energi@v1.1.7/energi/abi/GovernedProxy.go (about)

     1  // Code generated - DO NOT EDIT.
     2  // This file is a generated binding and any manual changes will be lost.
     3  
     4  package abi
     5  
     6  import (
     7  	"math/big"
     8  	"strings"
     9  
    10  	ethereum "github.com/energicryptocurrency/go-energi"
    11  	"github.com/energicryptocurrency/go-energi/accounts/abi"
    12  	"github.com/energicryptocurrency/go-energi/accounts/abi/bind"
    13  	"github.com/energicryptocurrency/go-energi/common"
    14  	"github.com/energicryptocurrency/go-energi/core/types"
    15  	"github.com/energicryptocurrency/go-energi/event"
    16  )
    17  
    18  // Reference imports to suppress errors if they are not otherwise used.
    19  var (
    20  	_ = big.NewInt
    21  	_ = strings.NewReader
    22  	_ = ethereum.NotFound
    23  	_ = abi.U256
    24  	_ = bind.Bind
    25  	_ = common.Big1
    26  	_ = types.BloomLookup
    27  	_ = event.NewSubscription
    28  )
    29  
    30  // GovernedProxyABI is the input ABI used to generate the binding from.
    31  const GovernedProxyABI = "[{\"inputs\":[{\"internalType\":\"contractIGovernedContract\",\"name\":\"_impl\",\"type\":\"address\"},{\"internalType\":\"contractIGovernedProxy\",\"name\":\"_sporkProxy\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"contractIGovernedContract\",\"name\":\"impl\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"contractIUpgradeProposal\",\"name\":\"proposal\",\"type\":\"address\"}],\"name\":\"UpgradeProposal\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"contractIGovernedContract\",\"name\":\"impl\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"contractIUpgradeProposal\",\"name\":\"proposal\",\"type\":\"address\"}],\"name\":\"Upgraded\",\"type\":\"event\"},{\"payable\":true,\"stateMutability\":\"payable\",\"type\":\"fallback\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"contractIUpgradeProposal\",\"name\":\"_proposal\",\"type\":\"address\"}],\"name\":\"collectUpgradeProposal\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"contractIGovernedContract\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"destroy\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"impl\",\"outputs\":[{\"internalType\":\"contractIGovernedContract\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"listUpgradeProposals\",\"outputs\":[{\"internalType\":\"contractIUpgradeProposal[]\",\"name\":\"proposals\",\"type\":\"address[]\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"contractIGovernedContract\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"migrate\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"contractIGovernedContract\",\"name\":\"_newImpl\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_period\",\"type\":\"uint256\"}],\"name\":\"proposeUpgrade\",\"outputs\":[{\"internalType\":\"contractIUpgradeProposal\",\"name\":\"\",\"type\":\"address\"}],\"payable\":true,\"stateMutability\":\"payable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[],\"name\":\"proxy\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"spork_proxy\",\"outputs\":[{\"internalType\":\"contractIGovernedProxy\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"contractIUpgradeProposal\",\"name\":\"_proposal\",\"type\":\"address\"}],\"name\":\"upgrade\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"contractIUpgradeProposal\",\"name\":\"_proposal\",\"type\":\"address\"}],\"name\":\"upgradeProposalImpl\",\"outputs\":[{\"internalType\":\"contractIGovernedContract\",\"name\":\"new_impl\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"upgrade_proposal_list\",\"outputs\":[{\"internalType\":\"contractIUpgradeProposal\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"upgrade_proposals\",\"outputs\":[{\"internalType\":\"contractIGovernedContract\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"}]"
    32  
    33  // GovernedProxyBin is the compiled bytecode used for deploying new contracts.
    34  const GovernedProxyBin = `608060405234801561001057600080fd5b506040516112ea3803806112ea8339818101604052604081101561003357600080fd5b508051602090910151600180546001600160a01b039384166001600160a01b031991821617909155600280549390921692169190911790556112708061007a6000396000f3fe6080604052600436106100c65760003560e01c80638abf607711610074578063ce5494bb1161004e578063ce5494bb14610179578063dd6a851d146103c1578063ec556889146103d6576100c6565b80638abf607714610307578063a1b0e4761461031c578063b364595e1461035c576100c6565b80635b6dee4c116100a55780635b6dee4c146102645780636d5b6c441461029d5780636fa09ab0146102dd576100c6565b8062f55d9d146101795780630900f010146101bb57806332e3a905146101fb575b32331461013457604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601e60248201527f4f6e6c79206469726563742063616c6c732061726520616c6c6f776564210000604482015290519081900360640190fd5b60015460405173ffffffffffffffffffffffffffffffffffffffff909116903660008237600080368334866127105a03f13d6000833e808015610175573d83f35b3d83fd5b34801561018557600080fd5b506101b96004803603602081101561019c57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff166103eb565b005b3480156101c757600080fd5b506101b9600480360360208110156101de57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16610452565b34801561020757600080fd5b5061023b6004803603602081101561021e57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff166108c5565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b61023b6004803603604081101561027a57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81351690602001356108ed565b3480156102a957600080fd5b5061023b600480360360208110156102c057600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16610d84565b3480156102e957600080fd5b5061023b6004803603602081101561030057600080fd5b5035610daf565b34801561031357600080fd5b5061023b610de3565b34801561032857600080fd5b506101b96004803603602081101561033f57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16610dff565b34801561036857600080fd5b50610371610fc3565b60408051602080825283518183015283519192839290830191858101910280838360005b838110156103ad578181015183820152602001610395565b505050509050019250505060405180910390f35b3480156103cd57600080fd5b5061023b611077565b3480156103e257600080fd5b5061023b611093565b604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600860248201527f476f6f6420747279000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b600054156104c157604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600760248201527f5265656e74727900000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b6001600081815573ffffffffffffffffffffffffffffffffffffffff808416825260036020526040909120549154918116911681141561056257604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600f60248201527f416c726561647920616374697665210000000000000000000000000000000000604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff81166105e457604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600f60248201527f4e6f742072656769737465726564210000000000000000000000000000000000604482015290519081900360640190fd5b8173ffffffffffffffffffffffffffffffffffffffff16635051a5ec6040518163ffffffff1660e01b815260040160206040518083038186803b15801561062a57600080fd5b505afa15801561063e573d6000803e3d6000fd5b505050506040513d602081101561065457600080fd5b50516106c157604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600d60248201527f4e6f742061636365707465642100000000000000000000000000000000000000604482015290519081900360640190fd5b600154604080517fce5494bb00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff928316600482018190529151919284169163ce5494bb9160248082019260009290919082900301818387803b15801561073857600080fd5b505af115801561074c573d6000803e3d6000fd5b5050600180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff868116918217909255604080517ef55d9d000000000000000000000000000000000000000000000000000000008152600481019290925251918516935062f55d9d925060248082019260009290919082900301818387803b1580156107ed57600080fd5b505af1158015610801573d6000803e3d6000fd5b5050505061080e83611097565b8273ffffffffffffffffffffffffffffffffffffffff166383197ef06040518163ffffffff1660e01b8152600401600060405180830381600087803b15801561085657600080fd5b505af115801561086a573d6000803e3d6000fd5b50506040805173ffffffffffffffffffffffffffffffffffffffff8781168252915191861693507f5d611f318680d00598bb735d61bacf0c514c6b50e1e5ad30040a4df2b12791c7925081900360200190a250506000805550565b60036020526000908152604090205473ffffffffffffffffffffffffffffffffffffffff1681565b600032331461095d57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601e60248201527f4f6e6c79206469726563742063616c6c732061726520616c6c6f776564210000604482015290519081900360640190fd5b600054156109cc57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600760248201527f5265656e74727900000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b600160008190555473ffffffffffffffffffffffffffffffffffffffff84811691161415610a5b57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600f60248201527f416c726561647920616374697665210000000000000000000000000000000000604482015290519081900360640190fd5b3073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1663ec5568896040518163ffffffff1660e01b8152600401602060405180830381600087803b158015610aba57600080fd5b505af1158015610ace573d6000803e3d6000fd5b505050506040513d6020811015610ae457600080fd5b505173ffffffffffffffffffffffffffffffffffffffff1614610b6857604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600c60248201527f57726f6e672070726f7879210000000000000000000000000000000000000000604482015290519081900360640190fd5b600254604080517f8abf6077000000000000000000000000000000000000000000000000000000008152905160009273ffffffffffffffffffffffffffffffffffffffff1691638abf6077916004808301926020929190829003018186803b158015610bd357600080fd5b505afa158015610be7573d6000803e3d6000fd5b505050506040513d6020811015610bfd57600080fd5b5051604080517f62877ccd00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8781166004830152602482018790523360448301529151929350600092918416916362877ccd913491606480830192602092919082900301818588803b158015610c8457600080fd5b505af1158015610c98573d6000803e3d6000fd5b50505050506040513d6020811015610caf57600080fd5b505173ffffffffffffffffffffffffffffffffffffffff80821660008181526003602090815260408083208054958c167fffffffffffffffffffffffff000000000000000000000000000000000000000096871681179091556004805460018101825594527f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b9093018054909516841790945583519283529251939450927f812eb2689eecf94cfb55caf4a123ea76c6d93eef07dd54a5273b7a4949f7d763929181900390910190a260008055949350505050565b73ffffffffffffffffffffffffffffffffffffffff9081166000908152600360205260409020541690565b60048181548110610dbc57fe5b60009182526020909120015473ffffffffffffffffffffffffffffffffffffffff16905081565b60015473ffffffffffffffffffffffffffffffffffffffff1681565b60005415610e6e57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600760248201527f5265656e74727900000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b6001600090815573ffffffffffffffffffffffffffffffffffffffff808316825260036020526040909120541680610f0757604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600f60248201527f4e6f742072656769737465726564210000000000000000000000000000000000604482015290519081900360640190fd5b8173ffffffffffffffffffffffffffffffffffffffff1663e52253816040518163ffffffff1660e01b8152600401600060405180830381600087803b158015610f4f57600080fd5b505af1158015610f63573d6000803e3d6000fd5b50505073ffffffffffffffffffffffffffffffffffffffff8316600090815260036020526040902080547fffffffffffffffffffffffff000000000000000000000000000000000000000016905550610fbb82611097565b505060008055565b60045460408051828152602080840282010190915260609190818015610ff3578160200160208202803883390190505b50915060005b81811015611072576004818154811061100e57fe5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1683828151811061104557fe5b73ffffffffffffffffffffffffffffffffffffffff90921660209283029190910190910152600101610ff9565b505090565b60025473ffffffffffffffffffffffffffffffffffffffff1681565b3090565b73ffffffffffffffffffffffffffffffffffffffff8116600090815260036020526040812080547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055600454905b81811015611236578273ffffffffffffffffffffffffffffffffffffffff166004828154811061111357fe5b60009182526020909120015473ffffffffffffffffffffffffffffffffffffffff16141561122e576004600183038154811061114b57fe5b6000918252602090912001546004805473ffffffffffffffffffffffffffffffffffffffff909216918390811061117e57fe5b9060005260206000200160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060048054806111d157fe5b60008281526020902081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff90810180547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055019055611236565b6001016110e7565b50505056fea265627a7a723158204304b03a5396fe82ee304678afd1117363d8bf64e4ea1478069ae0ce99c2319a64736f6c63430005100032`
    35  
    36  // DeployGovernedProxy deploys a new Ethereum contract, binding an instance of GovernedProxy to it.
    37  func DeployGovernedProxy(auth *bind.TransactOpts, backend bind.ContractBackend, _impl common.Address, _sporkProxy common.Address) (common.Address, *types.Transaction, *GovernedProxy, error) {
    38  	parsed, err := abi.JSON(strings.NewReader(GovernedProxyABI))
    39  	if err != nil {
    40  		return common.Address{}, nil, nil, err
    41  	}
    42  	address, tx, contract, err := bind.DeployContract(auth, parsed, common.FromHex(GovernedProxyBin), backend, _impl, _sporkProxy)
    43  	if err != nil {
    44  		return common.Address{}, nil, nil, err
    45  	}
    46  	return address, tx, &GovernedProxy{GovernedProxyCaller: GovernedProxyCaller{contract: contract}, GovernedProxyTransactor: GovernedProxyTransactor{contract: contract}, GovernedProxyFilterer: GovernedProxyFilterer{contract: contract}}, nil
    47  }
    48  
    49  // GovernedProxyBin is the compiled bytecode of contract after deployment.
    50  const GovernedProxyRuntimeBin = `6080604052600436106100c65760003560e01c80638abf607711610074578063ce5494bb1161004e578063ce5494bb14610179578063dd6a851d146103c1578063ec556889146103d6576100c6565b80638abf607714610307578063a1b0e4761461031c578063b364595e1461035c576100c6565b80635b6dee4c116100a55780635b6dee4c146102645780636d5b6c441461029d5780636fa09ab0146102dd576100c6565b8062f55d9d146101795780630900f010146101bb57806332e3a905146101fb575b32331461013457604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601e60248201527f4f6e6c79206469726563742063616c6c732061726520616c6c6f776564210000604482015290519081900360640190fd5b60015460405173ffffffffffffffffffffffffffffffffffffffff909116903660008237600080368334866127105a03f13d6000833e808015610175573d83f35b3d83fd5b34801561018557600080fd5b506101b96004803603602081101561019c57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff166103eb565b005b3480156101c757600080fd5b506101b9600480360360208110156101de57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16610452565b34801561020757600080fd5b5061023b6004803603602081101561021e57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff166108c5565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b61023b6004803603604081101561027a57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81351690602001356108ed565b3480156102a957600080fd5b5061023b600480360360208110156102c057600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16610d84565b3480156102e957600080fd5b5061023b6004803603602081101561030057600080fd5b5035610daf565b34801561031357600080fd5b5061023b610de3565b34801561032857600080fd5b506101b96004803603602081101561033f57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16610dff565b34801561036857600080fd5b50610371610fc3565b60408051602080825283518183015283519192839290830191858101910280838360005b838110156103ad578181015183820152602001610395565b505050509050019250505060405180910390f35b3480156103cd57600080fd5b5061023b611077565b3480156103e257600080fd5b5061023b611093565b604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600860248201527f476f6f6420747279000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b600054156104c157604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600760248201527f5265656e74727900000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b6001600081815573ffffffffffffffffffffffffffffffffffffffff808416825260036020526040909120549154918116911681141561056257604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600f60248201527f416c726561647920616374697665210000000000000000000000000000000000604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff81166105e457604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600f60248201527f4e6f742072656769737465726564210000000000000000000000000000000000604482015290519081900360640190fd5b8173ffffffffffffffffffffffffffffffffffffffff16635051a5ec6040518163ffffffff1660e01b815260040160206040518083038186803b15801561062a57600080fd5b505afa15801561063e573d6000803e3d6000fd5b505050506040513d602081101561065457600080fd5b50516106c157604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600d60248201527f4e6f742061636365707465642100000000000000000000000000000000000000604482015290519081900360640190fd5b600154604080517fce5494bb00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff928316600482018190529151919284169163ce5494bb9160248082019260009290919082900301818387803b15801561073857600080fd5b505af115801561074c573d6000803e3d6000fd5b5050600180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff868116918217909255604080517ef55d9d000000000000000000000000000000000000000000000000000000008152600481019290925251918516935062f55d9d925060248082019260009290919082900301818387803b1580156107ed57600080fd5b505af1158015610801573d6000803e3d6000fd5b5050505061080e83611097565b8273ffffffffffffffffffffffffffffffffffffffff166383197ef06040518163ffffffff1660e01b8152600401600060405180830381600087803b15801561085657600080fd5b505af115801561086a573d6000803e3d6000fd5b50506040805173ffffffffffffffffffffffffffffffffffffffff8781168252915191861693507f5d611f318680d00598bb735d61bacf0c514c6b50e1e5ad30040a4df2b12791c7925081900360200190a250506000805550565b60036020526000908152604090205473ffffffffffffffffffffffffffffffffffffffff1681565b600032331461095d57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601e60248201527f4f6e6c79206469726563742063616c6c732061726520616c6c6f776564210000604482015290519081900360640190fd5b600054156109cc57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600760248201527f5265656e74727900000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b600160008190555473ffffffffffffffffffffffffffffffffffffffff84811691161415610a5b57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600f60248201527f416c726561647920616374697665210000000000000000000000000000000000604482015290519081900360640190fd5b3073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1663ec5568896040518163ffffffff1660e01b8152600401602060405180830381600087803b158015610aba57600080fd5b505af1158015610ace573d6000803e3d6000fd5b505050506040513d6020811015610ae457600080fd5b505173ffffffffffffffffffffffffffffffffffffffff1614610b6857604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600c60248201527f57726f6e672070726f7879210000000000000000000000000000000000000000604482015290519081900360640190fd5b600254604080517f8abf6077000000000000000000000000000000000000000000000000000000008152905160009273ffffffffffffffffffffffffffffffffffffffff1691638abf6077916004808301926020929190829003018186803b158015610bd357600080fd5b505afa158015610be7573d6000803e3d6000fd5b505050506040513d6020811015610bfd57600080fd5b5051604080517f62877ccd00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8781166004830152602482018790523360448301529151929350600092918416916362877ccd913491606480830192602092919082900301818588803b158015610c8457600080fd5b505af1158015610c98573d6000803e3d6000fd5b50505050506040513d6020811015610caf57600080fd5b505173ffffffffffffffffffffffffffffffffffffffff80821660008181526003602090815260408083208054958c167fffffffffffffffffffffffff000000000000000000000000000000000000000096871681179091556004805460018101825594527f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b9093018054909516841790945583519283529251939450927f812eb2689eecf94cfb55caf4a123ea76c6d93eef07dd54a5273b7a4949f7d763929181900390910190a260008055949350505050565b73ffffffffffffffffffffffffffffffffffffffff9081166000908152600360205260409020541690565b60048181548110610dbc57fe5b60009182526020909120015473ffffffffffffffffffffffffffffffffffffffff16905081565b60015473ffffffffffffffffffffffffffffffffffffffff1681565b60005415610e6e57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600760248201527f5265656e74727900000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b6001600090815573ffffffffffffffffffffffffffffffffffffffff808316825260036020526040909120541680610f0757604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600f60248201527f4e6f742072656769737465726564210000000000000000000000000000000000604482015290519081900360640190fd5b8173ffffffffffffffffffffffffffffffffffffffff1663e52253816040518163ffffffff1660e01b8152600401600060405180830381600087803b158015610f4f57600080fd5b505af1158015610f63573d6000803e3d6000fd5b50505073ffffffffffffffffffffffffffffffffffffffff8316600090815260036020526040902080547fffffffffffffffffffffffff000000000000000000000000000000000000000016905550610fbb82611097565b505060008055565b60045460408051828152602080840282010190915260609190818015610ff3578160200160208202803883390190505b50915060005b81811015611072576004818154811061100e57fe5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1683828151811061104557fe5b73ffffffffffffffffffffffffffffffffffffffff90921660209283029190910190910152600101610ff9565b505090565b60025473ffffffffffffffffffffffffffffffffffffffff1681565b3090565b73ffffffffffffffffffffffffffffffffffffffff8116600090815260036020526040812080547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055600454905b81811015611236578273ffffffffffffffffffffffffffffffffffffffff166004828154811061111357fe5b60009182526020909120015473ffffffffffffffffffffffffffffffffffffffff16141561122e576004600183038154811061114b57fe5b6000918252602090912001546004805473ffffffffffffffffffffffffffffffffffffffff909216918390811061117e57fe5b9060005260206000200160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060048054806111d157fe5b60008281526020902081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff90810180547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055019055611236565b6001016110e7565b50505056fea265627a7a723158204304b03a5396fe82ee304678afd1117363d8bf64e4ea1478069ae0ce99c2319a64736f6c63430005100032`
    51  
    52  // GovernedProxy is an auto generated Go binding around an Ethereum contract.
    53  type GovernedProxy struct {
    54  	GovernedProxyCaller     // Read-only binding to the contract
    55  	GovernedProxyTransactor // Write-only binding to the contract
    56  	GovernedProxyFilterer   // Log filterer for contract events
    57  }
    58  
    59  // GovernedProxyCaller is an auto generated read-only Go binding around an Ethereum contract.
    60  type GovernedProxyCaller struct {
    61  	contract *bind.BoundContract // Generic contract wrapper for the low level calls
    62  }
    63  
    64  // GovernedProxyTransactor is an auto generated write-only Go binding around an Ethereum contract.
    65  type GovernedProxyTransactor struct {
    66  	contract *bind.BoundContract // Generic contract wrapper for the low level calls
    67  }
    68  
    69  // GovernedProxyFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
    70  type GovernedProxyFilterer struct {
    71  	contract *bind.BoundContract // Generic contract wrapper for the low level calls
    72  }
    73  
    74  // GovernedProxySession is an auto generated Go binding around an Ethereum contract,
    75  // with pre-set call and transact options.
    76  type GovernedProxySession struct {
    77  	Contract     *GovernedProxy    // Generic contract binding to set the session for
    78  	CallOpts     bind.CallOpts     // Call options to use throughout this session
    79  	TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
    80  }
    81  
    82  // GovernedProxyCallerSession is an auto generated read-only Go binding around an Ethereum contract,
    83  // with pre-set call options.
    84  type GovernedProxyCallerSession struct {
    85  	Contract *GovernedProxyCaller // Generic contract caller binding to set the session for
    86  	CallOpts bind.CallOpts        // Call options to use throughout this session
    87  }
    88  
    89  // GovernedProxyTransactorSession is an auto generated write-only Go binding around an Ethereum contract,
    90  // with pre-set transact options.
    91  type GovernedProxyTransactorSession struct {
    92  	Contract     *GovernedProxyTransactor // Generic contract transactor binding to set the session for
    93  	TransactOpts bind.TransactOpts        // Transaction auth options to use throughout this session
    94  }
    95  
    96  // GovernedProxyRaw is an auto generated low-level Go binding around an Ethereum contract.
    97  type GovernedProxyRaw struct {
    98  	Contract *GovernedProxy // Generic contract binding to access the raw methods on
    99  }
   100  
   101  // GovernedProxyCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
   102  type GovernedProxyCallerRaw struct {
   103  	Contract *GovernedProxyCaller // Generic read-only contract binding to access the raw methods on
   104  }
   105  
   106  // GovernedProxyTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
   107  type GovernedProxyTransactorRaw struct {
   108  	Contract *GovernedProxyTransactor // Generic write-only contract binding to access the raw methods on
   109  }
   110  
   111  // NewGovernedProxy creates a new instance of GovernedProxy, bound to a specific deployed contract.
   112  func NewGovernedProxy(address common.Address, backend bind.ContractBackend) (*GovernedProxy, error) {
   113  	contract, err := bindGovernedProxy(address, backend, backend, backend)
   114  	if err != nil {
   115  		return nil, err
   116  	}
   117  	return &GovernedProxy{GovernedProxyCaller: GovernedProxyCaller{contract: contract}, GovernedProxyTransactor: GovernedProxyTransactor{contract: contract}, GovernedProxyFilterer: GovernedProxyFilterer{contract: contract}}, nil
   118  }
   119  
   120  // NewGovernedProxyCaller creates a new read-only instance of GovernedProxy, bound to a specific deployed contract.
   121  func NewGovernedProxyCaller(address common.Address, caller bind.ContractCaller) (*GovernedProxyCaller, error) {
   122  	contract, err := bindGovernedProxy(address, caller, nil, nil)
   123  	if err != nil {
   124  		return nil, err
   125  	}
   126  	return &GovernedProxyCaller{contract: contract}, nil
   127  }
   128  
   129  // NewGovernedProxyTransactor creates a new write-only instance of GovernedProxy, bound to a specific deployed contract.
   130  func NewGovernedProxyTransactor(address common.Address, transactor bind.ContractTransactor) (*GovernedProxyTransactor, error) {
   131  	contract, err := bindGovernedProxy(address, nil, transactor, nil)
   132  	if err != nil {
   133  		return nil, err
   134  	}
   135  	return &GovernedProxyTransactor{contract: contract}, nil
   136  }
   137  
   138  // NewGovernedProxyFilterer creates a new log filterer instance of GovernedProxy, bound to a specific deployed contract.
   139  func NewGovernedProxyFilterer(address common.Address, filterer bind.ContractFilterer) (*GovernedProxyFilterer, error) {
   140  	contract, err := bindGovernedProxy(address, nil, nil, filterer)
   141  	if err != nil {
   142  		return nil, err
   143  	}
   144  	return &GovernedProxyFilterer{contract: contract}, nil
   145  }
   146  
   147  // bindGovernedProxy binds a generic wrapper to an already deployed contract.
   148  func bindGovernedProxy(address common.Address, caller bind.ContractCaller, transactor bind.ContractTransactor, filterer bind.ContractFilterer) (*bind.BoundContract, error) {
   149  	parsed, err := abi.JSON(strings.NewReader(GovernedProxyABI))
   150  	if err != nil {
   151  		return nil, err
   152  	}
   153  	return bind.NewBoundContract(address, parsed, caller, transactor, filterer), nil
   154  }
   155  
   156  // Call invokes the (constant) contract method with params as input values and
   157  // sets the output to result. The result type might be a single field for simple
   158  // returns, a slice of interfaces for anonymous returns and a struct for named
   159  // returns.
   160  func (_GovernedProxy *GovernedProxyRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error {
   161  	return _GovernedProxy.Contract.GovernedProxyCaller.contract.Call(opts, result, method, params...)
   162  }
   163  
   164  // Transfer initiates a plain transaction to move funds to the contract, calling
   165  // its default method if one is available.
   166  func (_GovernedProxy *GovernedProxyRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error) {
   167  	return _GovernedProxy.Contract.GovernedProxyTransactor.contract.Transfer(opts)
   168  }
   169  
   170  // Transact invokes the (paid) contract method with params as input values.
   171  func (_GovernedProxy *GovernedProxyRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error) {
   172  	return _GovernedProxy.Contract.GovernedProxyTransactor.contract.Transact(opts, method, params...)
   173  }
   174  
   175  // Call invokes the (constant) contract method with params as input values and
   176  // sets the output to result. The result type might be a single field for simple
   177  // returns, a slice of interfaces for anonymous returns and a struct for named
   178  // returns.
   179  func (_GovernedProxy *GovernedProxyCallerRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error {
   180  	return _GovernedProxy.Contract.contract.Call(opts, result, method, params...)
   181  }
   182  
   183  // Transfer initiates a plain transaction to move funds to the contract, calling
   184  // its default method if one is available.
   185  func (_GovernedProxy *GovernedProxyTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error) {
   186  	return _GovernedProxy.Contract.contract.Transfer(opts)
   187  }
   188  
   189  // Transact invokes the (paid) contract method with params as input values.
   190  func (_GovernedProxy *GovernedProxyTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error) {
   191  	return _GovernedProxy.Contract.contract.Transact(opts, method, params...)
   192  }
   193  
   194  // Impl is a free data retrieval call binding the contract method 0x8abf6077.
   195  //
   196  // Solidity: function impl() constant returns(address)
   197  func (_GovernedProxy *GovernedProxyCaller) Impl(opts *bind.CallOpts) (common.Address, error) {
   198  	var (
   199  		ret0 = new(common.Address)
   200  	)
   201  	out := ret0
   202  	err := _GovernedProxy.contract.Call(opts, out, "impl")
   203  	return *ret0, err
   204  }
   205  
   206  // Impl is a free data retrieval call binding the contract method 0x8abf6077.
   207  //
   208  // Solidity: function impl() constant returns(address)
   209  func (_GovernedProxy *GovernedProxySession) Impl() (common.Address, error) {
   210  	return _GovernedProxy.Contract.Impl(&_GovernedProxy.CallOpts)
   211  }
   212  
   213  // Impl is a free data retrieval call binding the contract method 0x8abf6077.
   214  //
   215  // Solidity: function impl() constant returns(address)
   216  func (_GovernedProxy *GovernedProxyCallerSession) Impl() (common.Address, error) {
   217  	return _GovernedProxy.Contract.Impl(&_GovernedProxy.CallOpts)
   218  }
   219  
   220  // ListUpgradeProposals is a free data retrieval call binding the contract method 0xb364595e.
   221  //
   222  // Solidity: function listUpgradeProposals() constant returns(address[] proposals)
   223  func (_GovernedProxy *GovernedProxyCaller) ListUpgradeProposals(opts *bind.CallOpts) ([]common.Address, error) {
   224  	var (
   225  		ret0 = new([]common.Address)
   226  	)
   227  	out := ret0
   228  	err := _GovernedProxy.contract.Call(opts, out, "listUpgradeProposals")
   229  	return *ret0, err
   230  }
   231  
   232  // ListUpgradeProposals is a free data retrieval call binding the contract method 0xb364595e.
   233  //
   234  // Solidity: function listUpgradeProposals() constant returns(address[] proposals)
   235  func (_GovernedProxy *GovernedProxySession) ListUpgradeProposals() ([]common.Address, error) {
   236  	return _GovernedProxy.Contract.ListUpgradeProposals(&_GovernedProxy.CallOpts)
   237  }
   238  
   239  // ListUpgradeProposals is a free data retrieval call binding the contract method 0xb364595e.
   240  //
   241  // Solidity: function listUpgradeProposals() constant returns(address[] proposals)
   242  func (_GovernedProxy *GovernedProxyCallerSession) ListUpgradeProposals() ([]common.Address, error) {
   243  	return _GovernedProxy.Contract.ListUpgradeProposals(&_GovernedProxy.CallOpts)
   244  }
   245  
   246  // SporkProxy is a free data retrieval call binding the contract method 0xdd6a851d.
   247  //
   248  // Solidity: function spork_proxy() constant returns(address)
   249  func (_GovernedProxy *GovernedProxyCaller) SporkProxy(opts *bind.CallOpts) (common.Address, error) {
   250  	var (
   251  		ret0 = new(common.Address)
   252  	)
   253  	out := ret0
   254  	err := _GovernedProxy.contract.Call(opts, out, "spork_proxy")
   255  	return *ret0, err
   256  }
   257  
   258  // SporkProxy is a free data retrieval call binding the contract method 0xdd6a851d.
   259  //
   260  // Solidity: function spork_proxy() constant returns(address)
   261  func (_GovernedProxy *GovernedProxySession) SporkProxy() (common.Address, error) {
   262  	return _GovernedProxy.Contract.SporkProxy(&_GovernedProxy.CallOpts)
   263  }
   264  
   265  // SporkProxy is a free data retrieval call binding the contract method 0xdd6a851d.
   266  //
   267  // Solidity: function spork_proxy() constant returns(address)
   268  func (_GovernedProxy *GovernedProxyCallerSession) SporkProxy() (common.Address, error) {
   269  	return _GovernedProxy.Contract.SporkProxy(&_GovernedProxy.CallOpts)
   270  }
   271  
   272  // UpgradeProposalImpl is a free data retrieval call binding the contract method 0x6d5b6c44.
   273  //
   274  // Solidity: function upgradeProposalImpl(address _proposal) constant returns(address new_impl)
   275  func (_GovernedProxy *GovernedProxyCaller) UpgradeProposalImpl(opts *bind.CallOpts, _proposal common.Address) (common.Address, error) {
   276  	var (
   277  		ret0 = new(common.Address)
   278  	)
   279  	out := ret0
   280  	err := _GovernedProxy.contract.Call(opts, out, "upgradeProposalImpl", _proposal)
   281  	return *ret0, err
   282  }
   283  
   284  // UpgradeProposalImpl is a free data retrieval call binding the contract method 0x6d5b6c44.
   285  //
   286  // Solidity: function upgradeProposalImpl(address _proposal) constant returns(address new_impl)
   287  func (_GovernedProxy *GovernedProxySession) UpgradeProposalImpl(_proposal common.Address) (common.Address, error) {
   288  	return _GovernedProxy.Contract.UpgradeProposalImpl(&_GovernedProxy.CallOpts, _proposal)
   289  }
   290  
   291  // UpgradeProposalImpl is a free data retrieval call binding the contract method 0x6d5b6c44.
   292  //
   293  // Solidity: function upgradeProposalImpl(address _proposal) constant returns(address new_impl)
   294  func (_GovernedProxy *GovernedProxyCallerSession) UpgradeProposalImpl(_proposal common.Address) (common.Address, error) {
   295  	return _GovernedProxy.Contract.UpgradeProposalImpl(&_GovernedProxy.CallOpts, _proposal)
   296  }
   297  
   298  // UpgradeProposalList is a free data retrieval call binding the contract method 0x6fa09ab0.
   299  //
   300  // Solidity: function upgrade_proposal_list(uint256 ) constant returns(address)
   301  func (_GovernedProxy *GovernedProxyCaller) UpgradeProposalList(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error) {
   302  	var (
   303  		ret0 = new(common.Address)
   304  	)
   305  	out := ret0
   306  	err := _GovernedProxy.contract.Call(opts, out, "upgrade_proposal_list", arg0)
   307  	return *ret0, err
   308  }
   309  
   310  // UpgradeProposalList is a free data retrieval call binding the contract method 0x6fa09ab0.
   311  //
   312  // Solidity: function upgrade_proposal_list(uint256 ) constant returns(address)
   313  func (_GovernedProxy *GovernedProxySession) UpgradeProposalList(arg0 *big.Int) (common.Address, error) {
   314  	return _GovernedProxy.Contract.UpgradeProposalList(&_GovernedProxy.CallOpts, arg0)
   315  }
   316  
   317  // UpgradeProposalList is a free data retrieval call binding the contract method 0x6fa09ab0.
   318  //
   319  // Solidity: function upgrade_proposal_list(uint256 ) constant returns(address)
   320  func (_GovernedProxy *GovernedProxyCallerSession) UpgradeProposalList(arg0 *big.Int) (common.Address, error) {
   321  	return _GovernedProxy.Contract.UpgradeProposalList(&_GovernedProxy.CallOpts, arg0)
   322  }
   323  
   324  // UpgradeProposals is a free data retrieval call binding the contract method 0x32e3a905.
   325  //
   326  // Solidity: function upgrade_proposals(address ) constant returns(address)
   327  func (_GovernedProxy *GovernedProxyCaller) UpgradeProposals(opts *bind.CallOpts, arg0 common.Address) (common.Address, error) {
   328  	var (
   329  		ret0 = new(common.Address)
   330  	)
   331  	out := ret0
   332  	err := _GovernedProxy.contract.Call(opts, out, "upgrade_proposals", arg0)
   333  	return *ret0, err
   334  }
   335  
   336  // UpgradeProposals is a free data retrieval call binding the contract method 0x32e3a905.
   337  //
   338  // Solidity: function upgrade_proposals(address ) constant returns(address)
   339  func (_GovernedProxy *GovernedProxySession) UpgradeProposals(arg0 common.Address) (common.Address, error) {
   340  	return _GovernedProxy.Contract.UpgradeProposals(&_GovernedProxy.CallOpts, arg0)
   341  }
   342  
   343  // UpgradeProposals is a free data retrieval call binding the contract method 0x32e3a905.
   344  //
   345  // Solidity: function upgrade_proposals(address ) constant returns(address)
   346  func (_GovernedProxy *GovernedProxyCallerSession) UpgradeProposals(arg0 common.Address) (common.Address, error) {
   347  	return _GovernedProxy.Contract.UpgradeProposals(&_GovernedProxy.CallOpts, arg0)
   348  }
   349  
   350  // CollectUpgradeProposal is a paid mutator transaction binding the contract method 0xa1b0e476.
   351  //
   352  // Solidity: function collectUpgradeProposal(address _proposal) returns()
   353  func (_GovernedProxy *GovernedProxyTransactor) CollectUpgradeProposal(opts *bind.TransactOpts, _proposal common.Address) (*types.Transaction, error) {
   354  	return _GovernedProxy.contract.Transact(opts, "collectUpgradeProposal", _proposal)
   355  }
   356  
   357  // CollectUpgradeProposal is a paid mutator transaction binding the contract method 0xa1b0e476.
   358  //
   359  // Solidity: function collectUpgradeProposal(address _proposal) returns()
   360  func (_GovernedProxy *GovernedProxySession) CollectUpgradeProposal(_proposal common.Address) (*types.Transaction, error) {
   361  	return _GovernedProxy.Contract.CollectUpgradeProposal(&_GovernedProxy.TransactOpts, _proposal)
   362  }
   363  
   364  // CollectUpgradeProposal is a paid mutator transaction binding the contract method 0xa1b0e476.
   365  //
   366  // Solidity: function collectUpgradeProposal(address _proposal) returns()
   367  func (_GovernedProxy *GovernedProxyTransactorSession) CollectUpgradeProposal(_proposal common.Address) (*types.Transaction, error) {
   368  	return _GovernedProxy.Contract.CollectUpgradeProposal(&_GovernedProxy.TransactOpts, _proposal)
   369  }
   370  
   371  // Destroy is a paid mutator transaction binding the contract method 0x00f55d9d.
   372  //
   373  // Solidity: function destroy(address ) returns()
   374  func (_GovernedProxy *GovernedProxyTransactor) Destroy(opts *bind.TransactOpts, arg0 common.Address) (*types.Transaction, error) {
   375  	return _GovernedProxy.contract.Transact(opts, "destroy", arg0)
   376  }
   377  
   378  // Destroy is a paid mutator transaction binding the contract method 0x00f55d9d.
   379  //
   380  // Solidity: function destroy(address ) returns()
   381  func (_GovernedProxy *GovernedProxySession) Destroy(arg0 common.Address) (*types.Transaction, error) {
   382  	return _GovernedProxy.Contract.Destroy(&_GovernedProxy.TransactOpts, arg0)
   383  }
   384  
   385  // Destroy is a paid mutator transaction binding the contract method 0x00f55d9d.
   386  //
   387  // Solidity: function destroy(address ) returns()
   388  func (_GovernedProxy *GovernedProxyTransactorSession) Destroy(arg0 common.Address) (*types.Transaction, error) {
   389  	return _GovernedProxy.Contract.Destroy(&_GovernedProxy.TransactOpts, arg0)
   390  }
   391  
   392  // Migrate is a paid mutator transaction binding the contract method 0xce5494bb.
   393  //
   394  // Solidity: function migrate(address ) returns()
   395  func (_GovernedProxy *GovernedProxyTransactor) Migrate(opts *bind.TransactOpts, arg0 common.Address) (*types.Transaction, error) {
   396  	return _GovernedProxy.contract.Transact(opts, "migrate", arg0)
   397  }
   398  
   399  // Migrate is a paid mutator transaction binding the contract method 0xce5494bb.
   400  //
   401  // Solidity: function migrate(address ) returns()
   402  func (_GovernedProxy *GovernedProxySession) Migrate(arg0 common.Address) (*types.Transaction, error) {
   403  	return _GovernedProxy.Contract.Migrate(&_GovernedProxy.TransactOpts, arg0)
   404  }
   405  
   406  // Migrate is a paid mutator transaction binding the contract method 0xce5494bb.
   407  //
   408  // Solidity: function migrate(address ) returns()
   409  func (_GovernedProxy *GovernedProxyTransactorSession) Migrate(arg0 common.Address) (*types.Transaction, error) {
   410  	return _GovernedProxy.Contract.Migrate(&_GovernedProxy.TransactOpts, arg0)
   411  }
   412  
   413  // ProposeUpgrade is a paid mutator transaction binding the contract method 0x5b6dee4c.
   414  //
   415  // Solidity: function proposeUpgrade(address _newImpl, uint256 _period) returns(address)
   416  func (_GovernedProxy *GovernedProxyTransactor) ProposeUpgrade(opts *bind.TransactOpts, _newImpl common.Address, _period *big.Int) (*types.Transaction, error) {
   417  	return _GovernedProxy.contract.Transact(opts, "proposeUpgrade", _newImpl, _period)
   418  }
   419  
   420  // ProposeUpgrade is a paid mutator transaction binding the contract method 0x5b6dee4c.
   421  //
   422  // Solidity: function proposeUpgrade(address _newImpl, uint256 _period) returns(address)
   423  func (_GovernedProxy *GovernedProxySession) ProposeUpgrade(_newImpl common.Address, _period *big.Int) (*types.Transaction, error) {
   424  	return _GovernedProxy.Contract.ProposeUpgrade(&_GovernedProxy.TransactOpts, _newImpl, _period)
   425  }
   426  
   427  // ProposeUpgrade is a paid mutator transaction binding the contract method 0x5b6dee4c.
   428  //
   429  // Solidity: function proposeUpgrade(address _newImpl, uint256 _period) returns(address)
   430  func (_GovernedProxy *GovernedProxyTransactorSession) ProposeUpgrade(_newImpl common.Address, _period *big.Int) (*types.Transaction, error) {
   431  	return _GovernedProxy.Contract.ProposeUpgrade(&_GovernedProxy.TransactOpts, _newImpl, _period)
   432  }
   433  
   434  // Proxy is a paid mutator transaction binding the contract method 0xec556889.
   435  //
   436  // Solidity: function proxy() returns(address)
   437  func (_GovernedProxy *GovernedProxyTransactor) Proxy(opts *bind.TransactOpts) (*types.Transaction, error) {
   438  	return _GovernedProxy.contract.Transact(opts, "proxy")
   439  }
   440  
   441  // Proxy is a paid mutator transaction binding the contract method 0xec556889.
   442  //
   443  // Solidity: function proxy() returns(address)
   444  func (_GovernedProxy *GovernedProxySession) Proxy() (*types.Transaction, error) {
   445  	return _GovernedProxy.Contract.Proxy(&_GovernedProxy.TransactOpts)
   446  }
   447  
   448  // Proxy is a paid mutator transaction binding the contract method 0xec556889.
   449  //
   450  // Solidity: function proxy() returns(address)
   451  func (_GovernedProxy *GovernedProxyTransactorSession) Proxy() (*types.Transaction, error) {
   452  	return _GovernedProxy.Contract.Proxy(&_GovernedProxy.TransactOpts)
   453  }
   454  
   455  // Upgrade is a paid mutator transaction binding the contract method 0x0900f010.
   456  //
   457  // Solidity: function upgrade(address _proposal) returns()
   458  func (_GovernedProxy *GovernedProxyTransactor) Upgrade(opts *bind.TransactOpts, _proposal common.Address) (*types.Transaction, error) {
   459  	return _GovernedProxy.contract.Transact(opts, "upgrade", _proposal)
   460  }
   461  
   462  // Upgrade is a paid mutator transaction binding the contract method 0x0900f010.
   463  //
   464  // Solidity: function upgrade(address _proposal) returns()
   465  func (_GovernedProxy *GovernedProxySession) Upgrade(_proposal common.Address) (*types.Transaction, error) {
   466  	return _GovernedProxy.Contract.Upgrade(&_GovernedProxy.TransactOpts, _proposal)
   467  }
   468  
   469  // Upgrade is a paid mutator transaction binding the contract method 0x0900f010.
   470  //
   471  // Solidity: function upgrade(address _proposal) returns()
   472  func (_GovernedProxy *GovernedProxyTransactorSession) Upgrade(_proposal common.Address) (*types.Transaction, error) {
   473  	return _GovernedProxy.Contract.Upgrade(&_GovernedProxy.TransactOpts, _proposal)
   474  }
   475  
   476  // GovernedProxyUpgradeProposalIterator is returned from FilterUpgradeProposal and is used to iterate over the raw logs and unpacked data for UpgradeProposal events raised by the GovernedProxy contract.
   477  type GovernedProxyUpgradeProposalIterator struct {
   478  	Event *GovernedProxyUpgradeProposal // Event containing the contract specifics and raw log
   479  
   480  	contract *bind.BoundContract // Generic contract to use for unpacking event data
   481  	event    string              // Event name to use for unpacking event data
   482  
   483  	logs chan types.Log        // Log channel receiving the found contract events
   484  	sub  ethereum.Subscription // Subscription for errors, completion and termination
   485  	done bool                  // Whether the subscription completed delivering logs
   486  	fail error                 // Occurred error to stop iteration
   487  }
   488  
   489  // Next advances the iterator to the subsequent event, returning whether there
   490  // are any more events found. In case of a retrieval or parsing error, false is
   491  // returned and Error() can be queried for the exact failure.
   492  func (it *GovernedProxyUpgradeProposalIterator) Next() bool {
   493  	// If the iterator failed, stop iterating
   494  	if it.fail != nil {
   495  		return false
   496  	}
   497  	// If the iterator completed, deliver directly whatever's available
   498  	if it.done {
   499  		select {
   500  		case log := <-it.logs:
   501  			it.Event = new(GovernedProxyUpgradeProposal)
   502  			if err := it.contract.UnpackLog(it.Event, it.event, log); err != nil {
   503  				it.fail = err
   504  				return false
   505  			}
   506  			it.Event.Raw = log
   507  			return true
   508  
   509  		default:
   510  			return false
   511  		}
   512  	}
   513  	// Iterator still in progress, wait for either a data or an error event
   514  	select {
   515  	case log := <-it.logs:
   516  		it.Event = new(GovernedProxyUpgradeProposal)
   517  		if err := it.contract.UnpackLog(it.Event, it.event, log); err != nil {
   518  			it.fail = err
   519  			return false
   520  		}
   521  		it.Event.Raw = log
   522  		return true
   523  
   524  	case err := <-it.sub.Err():
   525  		it.done = true
   526  		it.fail = err
   527  		return it.Next()
   528  	}
   529  }
   530  
   531  // Error returns any retrieval or parsing error occurred during filtering.
   532  func (it *GovernedProxyUpgradeProposalIterator) Error() error {
   533  	return it.fail
   534  }
   535  
   536  // Close terminates the iteration process, releasing any pending underlying
   537  // resources.
   538  func (it *GovernedProxyUpgradeProposalIterator) Close() error {
   539  	it.sub.Unsubscribe()
   540  	return nil
   541  }
   542  
   543  // GovernedProxyUpgradeProposal represents a UpgradeProposal event raised by the GovernedProxy contract.
   544  type GovernedProxyUpgradeProposal struct {
   545  	Impl     common.Address
   546  	Proposal common.Address
   547  	Raw      types.Log // Blockchain specific contextual infos
   548  }
   549  
   550  // FilterUpgradeProposal is a free log retrieval operation binding the contract event 0x812eb2689eecf94cfb55caf4a123ea76c6d93eef07dd54a5273b7a4949f7d763.
   551  //
   552  // Solidity: event UpgradeProposal(address indexed impl, address proposal)
   553  func (_GovernedProxy *GovernedProxyFilterer) FilterUpgradeProposal(opts *bind.FilterOpts, impl []common.Address) (*GovernedProxyUpgradeProposalIterator, error) {
   554  
   555  	var implRule []interface{}
   556  	for _, implItem := range impl {
   557  		implRule = append(implRule, implItem)
   558  	}
   559  
   560  	logs, sub, err := _GovernedProxy.contract.FilterLogs(opts, "UpgradeProposal", implRule)
   561  	if err != nil {
   562  		return nil, err
   563  	}
   564  	return &GovernedProxyUpgradeProposalIterator{contract: _GovernedProxy.contract, event: "UpgradeProposal", logs: logs, sub: sub}, nil
   565  }
   566  
   567  // WatchUpgradeProposal is a free log subscription operation binding the contract event 0x812eb2689eecf94cfb55caf4a123ea76c6d93eef07dd54a5273b7a4949f7d763.
   568  //
   569  // Solidity: event UpgradeProposal(address indexed impl, address proposal)
   570  func (_GovernedProxy *GovernedProxyFilterer) WatchUpgradeProposal(opts *bind.WatchOpts, sink chan<- *GovernedProxyUpgradeProposal, impl []common.Address) (event.Subscription, error) {
   571  
   572  	var implRule []interface{}
   573  	for _, implItem := range impl {
   574  		implRule = append(implRule, implItem)
   575  	}
   576  
   577  	logs, sub, err := _GovernedProxy.contract.WatchLogs(opts, "UpgradeProposal", implRule)
   578  	if err != nil {
   579  		return nil, err
   580  	}
   581  	return event.NewSubscription(func(quit <-chan struct{}) error {
   582  		defer sub.Unsubscribe()
   583  		for {
   584  			select {
   585  			case log := <-logs:
   586  				// New log arrived, parse the event and forward to the user
   587  				event := new(GovernedProxyUpgradeProposal)
   588  				if err := _GovernedProxy.contract.UnpackLog(event, "UpgradeProposal", log); err != nil {
   589  					return err
   590  				}
   591  				event.Raw = log
   592  
   593  				select {
   594  				case sink <- event:
   595  				case err := <-sub.Err():
   596  					return err
   597  				case <-quit:
   598  					return nil
   599  				}
   600  			case err := <-sub.Err():
   601  				return err
   602  			case <-quit:
   603  				return nil
   604  			}
   605  		}
   606  	}), nil
   607  }
   608  
   609  // GovernedProxyUpgradedIterator is returned from FilterUpgraded and is used to iterate over the raw logs and unpacked data for Upgraded events raised by the GovernedProxy contract.
   610  type GovernedProxyUpgradedIterator struct {
   611  	Event *GovernedProxyUpgraded // Event containing the contract specifics and raw log
   612  
   613  	contract *bind.BoundContract // Generic contract to use for unpacking event data
   614  	event    string              // Event name to use for unpacking event data
   615  
   616  	logs chan types.Log        // Log channel receiving the found contract events
   617  	sub  ethereum.Subscription // Subscription for errors, completion and termination
   618  	done bool                  // Whether the subscription completed delivering logs
   619  	fail error                 // Occurred error to stop iteration
   620  }
   621  
   622  // Next advances the iterator to the subsequent event, returning whether there
   623  // are any more events found. In case of a retrieval or parsing error, false is
   624  // returned and Error() can be queried for the exact failure.
   625  func (it *GovernedProxyUpgradedIterator) Next() bool {
   626  	// If the iterator failed, stop iterating
   627  	if it.fail != nil {
   628  		return false
   629  	}
   630  	// If the iterator completed, deliver directly whatever's available
   631  	if it.done {
   632  		select {
   633  		case log := <-it.logs:
   634  			it.Event = new(GovernedProxyUpgraded)
   635  			if err := it.contract.UnpackLog(it.Event, it.event, log); err != nil {
   636  				it.fail = err
   637  				return false
   638  			}
   639  			it.Event.Raw = log
   640  			return true
   641  
   642  		default:
   643  			return false
   644  		}
   645  	}
   646  	// Iterator still in progress, wait for either a data or an error event
   647  	select {
   648  	case log := <-it.logs:
   649  		it.Event = new(GovernedProxyUpgraded)
   650  		if err := it.contract.UnpackLog(it.Event, it.event, log); err != nil {
   651  			it.fail = err
   652  			return false
   653  		}
   654  		it.Event.Raw = log
   655  		return true
   656  
   657  	case err := <-it.sub.Err():
   658  		it.done = true
   659  		it.fail = err
   660  		return it.Next()
   661  	}
   662  }
   663  
   664  // Error returns any retrieval or parsing error occurred during filtering.
   665  func (it *GovernedProxyUpgradedIterator) Error() error {
   666  	return it.fail
   667  }
   668  
   669  // Close terminates the iteration process, releasing any pending underlying
   670  // resources.
   671  func (it *GovernedProxyUpgradedIterator) Close() error {
   672  	it.sub.Unsubscribe()
   673  	return nil
   674  }
   675  
   676  // GovernedProxyUpgraded represents a Upgraded event raised by the GovernedProxy contract.
   677  type GovernedProxyUpgraded struct {
   678  	Impl     common.Address
   679  	Proposal common.Address
   680  	Raw      types.Log // Blockchain specific contextual infos
   681  }
   682  
   683  // FilterUpgraded is a free log retrieval operation binding the contract event 0x5d611f318680d00598bb735d61bacf0c514c6b50e1e5ad30040a4df2b12791c7.
   684  //
   685  // Solidity: event Upgraded(address indexed impl, address proposal)
   686  func (_GovernedProxy *GovernedProxyFilterer) FilterUpgraded(opts *bind.FilterOpts, impl []common.Address) (*GovernedProxyUpgradedIterator, error) {
   687  
   688  	var implRule []interface{}
   689  	for _, implItem := range impl {
   690  		implRule = append(implRule, implItem)
   691  	}
   692  
   693  	logs, sub, err := _GovernedProxy.contract.FilterLogs(opts, "Upgraded", implRule)
   694  	if err != nil {
   695  		return nil, err
   696  	}
   697  	return &GovernedProxyUpgradedIterator{contract: _GovernedProxy.contract, event: "Upgraded", logs: logs, sub: sub}, nil
   698  }
   699  
   700  // WatchUpgraded is a free log subscription operation binding the contract event 0x5d611f318680d00598bb735d61bacf0c514c6b50e1e5ad30040a4df2b12791c7.
   701  //
   702  // Solidity: event Upgraded(address indexed impl, address proposal)
   703  func (_GovernedProxy *GovernedProxyFilterer) WatchUpgraded(opts *bind.WatchOpts, sink chan<- *GovernedProxyUpgraded, impl []common.Address) (event.Subscription, error) {
   704  
   705  	var implRule []interface{}
   706  	for _, implItem := range impl {
   707  		implRule = append(implRule, implItem)
   708  	}
   709  
   710  	logs, sub, err := _GovernedProxy.contract.WatchLogs(opts, "Upgraded", implRule)
   711  	if err != nil {
   712  		return nil, err
   713  	}
   714  	return event.NewSubscription(func(quit <-chan struct{}) error {
   715  		defer sub.Unsubscribe()
   716  		for {
   717  			select {
   718  			case log := <-logs:
   719  				// New log arrived, parse the event and forward to the user
   720  				event := new(GovernedProxyUpgraded)
   721  				if err := _GovernedProxy.contract.UnpackLog(event, "Upgraded", log); err != nil {
   722  					return err
   723  				}
   724  				event.Raw = log
   725  
   726  				select {
   727  				case sink <- event:
   728  				case err := <-sub.Err():
   729  					return err
   730  				case <-quit:
   731  					return nil
   732  				}
   733  			case err := <-sub.Err():
   734  				return err
   735  			case <-quit:
   736  				return nil
   737  			}
   738  		}
   739  	}), nil
   740  }