mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-30 08:33:45 +00:00
accounts/abi/bind/v2/internal/contracts: update bindings
This commit is contained in:
parent
41a0cfff69
commit
3d974b22e2
3 changed files with 32 additions and 32 deletions
|
|
@ -60,8 +60,8 @@ func (_DB *DB) PackConstructor() []byte {
|
|||
// Get is a free data retrieval call binding the contract method 0x9507d39a.
|
||||
//
|
||||
// Solidity: function get(uint256 k) returns(uint256)
|
||||
func (_DB *DB) PackGet(k *big.Int) ([]byte, error) {
|
||||
return _DB.abi.Pack("get", k)
|
||||
func (_DB *DB) PackGet(K *big.Int) ([]byte, error) {
|
||||
return _DB.abi.Pack("get", K)
|
||||
}
|
||||
|
||||
func (_DB *DB) UnpackGet(data []byte) (*big.Int, error) {
|
||||
|
|
@ -114,9 +114,9 @@ func (_DB *DB) PackGetStatParams() ([]byte, error) {
|
|||
}
|
||||
|
||||
type GetStatParamsOutput struct {
|
||||
Arg *big.Int
|
||||
Arg0 *big.Int
|
||||
Arg1 *big.Int
|
||||
Arg2 *big.Int
|
||||
}
|
||||
|
||||
func (_DB *DB) UnpackGetStatParams(data []byte) (GetStatParamsOutput, error) {
|
||||
|
|
@ -127,9 +127,9 @@ func (_DB *DB) UnpackGetStatParams(data []byte) (GetStatParamsOutput, error) {
|
|||
return *outstruct, err
|
||||
}
|
||||
|
||||
outstruct.Arg = *abi.ConvertType(out[0], new(*big.Int)).(**big.Int)
|
||||
outstruct.Arg0 = *abi.ConvertType(out[1], new(*big.Int)).(**big.Int)
|
||||
outstruct.Arg1 = *abi.ConvertType(out[2], new(*big.Int)).(**big.Int)
|
||||
outstruct.Arg0 = *abi.ConvertType(out[0], new(*big.Int)).(**big.Int)
|
||||
outstruct.Arg1 = *abi.ConvertType(out[1], new(*big.Int)).(**big.Int)
|
||||
outstruct.Arg2 = *abi.ConvertType(out[2], new(*big.Int)).(**big.Int)
|
||||
|
||||
return *outstruct, err
|
||||
|
||||
|
|
@ -158,8 +158,8 @@ func (_DB *DB) UnpackGetStatsStruct(data []byte) (DBStats, error) {
|
|||
// Insert is a free data retrieval call binding the contract method 0x1d834a1b.
|
||||
//
|
||||
// Solidity: function insert(uint256 k, uint256 v) returns(uint256)
|
||||
func (_DB *DB) PackInsert(k *big.Int, v *big.Int) ([]byte, error) {
|
||||
return _DB.abi.Pack("insert", k, v)
|
||||
func (_DB *DB) PackInsert(K *big.Int, V *big.Int) ([]byte, error) {
|
||||
return _DB.abi.Pack("insert", K, V)
|
||||
}
|
||||
|
||||
func (_DB *DB) UnpackInsert(data []byte) (*big.Int, error) {
|
||||
|
|
|
|||
|
|
@ -64,10 +64,10 @@ func (_C *C) PackDoSomethingWithManyArgs() ([]byte, error) {
|
|||
}
|
||||
|
||||
type DoSomethingWithManyArgsOutput struct {
|
||||
Arg *big.Int
|
||||
Arg0 *big.Int
|
||||
Arg1 *big.Int
|
||||
Arg2 bool
|
||||
Arg2 *big.Int
|
||||
Arg3 bool
|
||||
}
|
||||
|
||||
func (_C *C) UnpackDoSomethingWithManyArgs(data []byte) (DoSomethingWithManyArgsOutput, error) {
|
||||
|
|
@ -78,10 +78,10 @@ func (_C *C) UnpackDoSomethingWithManyArgs(data []byte) (DoSomethingWithManyArgs
|
|||
return *outstruct, err
|
||||
}
|
||||
|
||||
outstruct.Arg = *abi.ConvertType(out[0], new(*big.Int)).(**big.Int)
|
||||
outstruct.Arg0 = *abi.ConvertType(out[1], new(*big.Int)).(**big.Int)
|
||||
outstruct.Arg1 = *abi.ConvertType(out[2], new(*big.Int)).(**big.Int)
|
||||
outstruct.Arg2 = *abi.ConvertType(out[3], new(bool)).(*bool)
|
||||
outstruct.Arg0 = *abi.ConvertType(out[0], new(*big.Int)).(**big.Int)
|
||||
outstruct.Arg1 = *abi.ConvertType(out[1], new(*big.Int)).(**big.Int)
|
||||
outstruct.Arg2 = *abi.ConvertType(out[2], new(*big.Int)).(**big.Int)
|
||||
outstruct.Arg3 = *abi.ConvertType(out[3], new(bool)).(*bool)
|
||||
|
||||
return *outstruct, err
|
||||
|
||||
|
|
@ -90,8 +90,8 @@ func (_C *C) UnpackDoSomethingWithManyArgs(data []byte) (DoSomethingWithManyArgs
|
|||
// DoSomethingWithPoint is a free data retrieval call binding the contract method 0xedcdc894.
|
||||
//
|
||||
// Solidity: function DoSomethingWithPoint((uint256,uint256) p) pure returns((uint256,uint256))
|
||||
func (_C *C) PackDoSomethingWithPoint(p CPoint) ([]byte, error) {
|
||||
return _C.abi.Pack("DoSomethingWithPoint", p)
|
||||
func (_C *C) PackDoSomethingWithPoint(P CPoint) ([]byte, error) {
|
||||
return _C.abi.Pack("DoSomethingWithPoint", P)
|
||||
}
|
||||
|
||||
func (_C *C) UnpackDoSomethingWithPoint(data []byte) (CPoint, error) {
|
||||
|
|
|
|||
|
|
@ -57,8 +57,8 @@ func (_C1 *C1) PackConstructor(v1 *big.Int, v2 *big.Int) []byte {
|
|||
// Do is a free data retrieval call binding the contract method 0x2ad11272.
|
||||
//
|
||||
// Solidity: function Do(uint256 val) pure returns(uint256 res)
|
||||
func (_C1 *C1) PackDo(val *big.Int) ([]byte, error) {
|
||||
return _C1.abi.Pack("Do", val)
|
||||
func (_C1 *C1) PackDo(Val *big.Int) ([]byte, error) {
|
||||
return _C1.abi.Pack("Do", Val)
|
||||
}
|
||||
|
||||
func (_C1 *C1) UnpackDo(data []byte) (*big.Int, error) {
|
||||
|
|
@ -108,8 +108,8 @@ func (_C2 *C2) PackConstructor(v1 *big.Int, v2 *big.Int) []byte {
|
|||
// Do is a free data retrieval call binding the contract method 0x2ad11272.
|
||||
//
|
||||
// Solidity: function Do(uint256 val) pure returns(uint256 res)
|
||||
func (_C2 *C2) PackDo(val *big.Int) ([]byte, error) {
|
||||
return _C2.abi.Pack("Do", val)
|
||||
func (_C2 *C2) PackDo(Val *big.Int) ([]byte, error) {
|
||||
return _C2.abi.Pack("Do", Val)
|
||||
}
|
||||
|
||||
func (_C2 *C2) UnpackDo(data []byte) (*big.Int, error) {
|
||||
|
|
@ -155,8 +155,8 @@ func (_L1 *L1) PackConstructor() []byte {
|
|||
// Do is a free data retrieval call binding the contract method 0x2ad11272.
|
||||
//
|
||||
// Solidity: function Do(uint256 val) pure returns(uint256)
|
||||
func (_L1 *L1) PackDo(val *big.Int) ([]byte, error) {
|
||||
return _L1.abi.Pack("Do", val)
|
||||
func (_L1 *L1) PackDo(Val *big.Int) ([]byte, error) {
|
||||
return _L1.abi.Pack("Do", Val)
|
||||
}
|
||||
|
||||
func (_L1 *L1) UnpackDo(data []byte) (*big.Int, error) {
|
||||
|
|
@ -205,8 +205,8 @@ func (_L2 *L2) PackConstructor() []byte {
|
|||
// Do is a free data retrieval call binding the contract method 0x2ad11272.
|
||||
//
|
||||
// Solidity: function Do(uint256 val) pure returns(uint256)
|
||||
func (_L2 *L2) PackDo(val *big.Int) ([]byte, error) {
|
||||
return _L2.abi.Pack("Do", val)
|
||||
func (_L2 *L2) PackDo(Val *big.Int) ([]byte, error) {
|
||||
return _L2.abi.Pack("Do", Val)
|
||||
}
|
||||
|
||||
func (_L2 *L2) UnpackDo(data []byte) (*big.Int, error) {
|
||||
|
|
@ -255,8 +255,8 @@ func (_L2b *L2b) PackConstructor() []byte {
|
|||
// Do is a free data retrieval call binding the contract method 0x2ad11272.
|
||||
//
|
||||
// Solidity: function Do(uint256 val) pure returns(uint256)
|
||||
func (_L2b *L2b) PackDo(val *big.Int) ([]byte, error) {
|
||||
return _L2b.abi.Pack("Do", val)
|
||||
func (_L2b *L2b) PackDo(Val *big.Int) ([]byte, error) {
|
||||
return _L2b.abi.Pack("Do", Val)
|
||||
}
|
||||
|
||||
func (_L2b *L2b) UnpackDo(data []byte) (*big.Int, error) {
|
||||
|
|
@ -302,8 +302,8 @@ func (_L3 *L3) PackConstructor() []byte {
|
|||
// Do is a free data retrieval call binding the contract method 0x2ad11272.
|
||||
//
|
||||
// Solidity: function Do(uint256 val) pure returns(uint256)
|
||||
func (_L3 *L3) PackDo(val *big.Int) ([]byte, error) {
|
||||
return _L3.abi.Pack("Do", val)
|
||||
func (_L3 *L3) PackDo(Val *big.Int) ([]byte, error) {
|
||||
return _L3.abi.Pack("Do", Val)
|
||||
}
|
||||
|
||||
func (_L3 *L3) UnpackDo(data []byte) (*big.Int, error) {
|
||||
|
|
@ -353,8 +353,8 @@ func (_L4 *L4) PackConstructor() []byte {
|
|||
// Do is a free data retrieval call binding the contract method 0x2ad11272.
|
||||
//
|
||||
// Solidity: function Do(uint256 val) pure returns(uint256)
|
||||
func (_L4 *L4) PackDo(val *big.Int) ([]byte, error) {
|
||||
return _L4.abi.Pack("Do", val)
|
||||
func (_L4 *L4) PackDo(Val *big.Int) ([]byte, error) {
|
||||
return _L4.abi.Pack("Do", Val)
|
||||
}
|
||||
|
||||
func (_L4 *L4) UnpackDo(data []byte) (*big.Int, error) {
|
||||
|
|
@ -403,8 +403,8 @@ func (_L4b *L4b) PackConstructor() []byte {
|
|||
// Do is a free data retrieval call binding the contract method 0x2ad11272.
|
||||
//
|
||||
// Solidity: function Do(uint256 val) pure returns(uint256)
|
||||
func (_L4b *L4b) PackDo(val *big.Int) ([]byte, error) {
|
||||
return _L4b.abi.Pack("Do", val)
|
||||
func (_L4b *L4b) PackDo(Val *big.Int) ([]byte, error) {
|
||||
return _L4b.abi.Pack("Do", Val)
|
||||
}
|
||||
|
||||
func (_L4b *L4b) UnpackDo(data []byte) (*big.Int, error) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue