Commit 4f4ae451 authored by Sabnock01's avatar Sabnock01

update go bindings v2

parent b4f5c0d2
...@@ -26,7 +26,6 @@ var ( ...@@ -26,7 +26,6 @@ var (
_ = common.Big1 _ = common.Big1
_ = types.BloomLookup _ = types.BloomLookup
_ = event.NewSubscription _ = event.NewSubscription
_ = abi.ConvertType
) )
// MIPSMetaData contains all meta data concerning the MIPS contract. // MIPSMetaData contains all meta data concerning the MIPS contract.
...@@ -157,11 +156,11 @@ func NewMIPSFilterer(address common.Address, filterer bind.ContractFilterer) (*M ...@@ -157,11 +156,11 @@ func NewMIPSFilterer(address common.Address, filterer bind.ContractFilterer) (*M
// bindMIPS binds a generic wrapper to an already deployed contract. // bindMIPS binds a generic wrapper to an already deployed contract.
func bindMIPS(address common.Address, caller bind.ContractCaller, transactor bind.ContractTransactor, filterer bind.ContractFilterer) (*bind.BoundContract, error) { func bindMIPS(address common.Address, caller bind.ContractCaller, transactor bind.ContractTransactor, filterer bind.ContractFilterer) (*bind.BoundContract, error) {
parsed, err := MIPSMetaData.GetAbi() parsed, err := abi.JSON(strings.NewReader(MIPSABI))
if err != nil { if err != nil {
return nil, err return nil, err
} }
return bind.NewBoundContract(address, *parsed, caller, transactor, filterer), nil return bind.NewBoundContract(address, parsed, caller, transactor, filterer), nil
} }
// Call invokes the (constant) contract method with params as input values and // Call invokes the (constant) contract method with params as input values and
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment