Skip to content

Commit 165d294

Browse files
authored
chore: update abis (#5099)
1 parent 1dd0cbc commit 165d294

File tree

6 files changed

+10
-10
lines changed

6 files changed

+10
-10
lines changed

go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ require (
1111
github.com/coreos/go-semver v0.3.0
1212
github.com/ethereum/go-ethereum v1.14.3
1313
github.com/ethersphere/batch-archive v0.0.3
14-
github.com/ethersphere/go-price-oracle-abi v0.6.8
14+
github.com/ethersphere/go-price-oracle-abi v0.6.9
1515
github.com/ethersphere/go-storage-incentives-abi v0.9.3-rc3
16-
github.com/ethersphere/go-sw3-abi v0.6.5
16+
github.com/ethersphere/go-sw3-abi v0.6.9
1717
github.com/ethersphere/langos v1.0.0
1818
github.com/go-playground/validator/v10 v10.11.1
1919
github.com/gogo/protobuf v1.3.2

go.sum

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -242,12 +242,12 @@ github.com/ethereum/go-ethereum v1.14.3 h1:5zvnAqLtnCZrU9uod1JCvHWJbPMURzYFHfc2e
242242
github.com/ethereum/go-ethereum v1.14.3/go.mod h1:1STrq471D0BQbCX9He0hUj4bHxX2k6mt5nOQJhDNOJ8=
243243
github.com/ethersphere/batch-archive v0.0.3 h1:rAzvixdDkxLV5A6XdbG3uxts8ciJ+1ShgZUKE2+qsqI=
244244
github.com/ethersphere/batch-archive v0.0.3/go.mod h1:41BPb192NoK9CYjNB8BAE1J2MtiI/5aq0Wtas5O7A7Q=
245-
github.com/ethersphere/go-price-oracle-abi v0.6.8 h1:23Y0msO4ZRvB9o1NRdFDd0eewlnx37XxQm2DKbL6Qk8=
246-
github.com/ethersphere/go-price-oracle-abi v0.6.8/go.mod h1:sI/Qj4/zJ23/b1enzwMMv0/hLTpPNVNacEwCWjo6yBk=
245+
github.com/ethersphere/go-price-oracle-abi v0.6.9 h1:bseen6he3PZv5GHOm+KD6s4awaFmVSD9LFx+HpB6rCU=
246+
github.com/ethersphere/go-price-oracle-abi v0.6.9/go.mod h1:sI/Qj4/zJ23/b1enzwMMv0/hLTpPNVNacEwCWjo6yBk=
247247
github.com/ethersphere/go-storage-incentives-abi v0.9.3-rc3 h1:uuowc0ekcipVwYkn1Rud9LySZ094hrDq2/YfRKyjbbQ=
248248
github.com/ethersphere/go-storage-incentives-abi v0.9.3-rc3/go.mod h1:SXvJVtM4sEsaSKD0jc1ClpDLw8ErPoROZDme4Wrc/Nc=
249-
github.com/ethersphere/go-sw3-abi v0.6.5 h1:M5dcIe1zQYvGpY2K07UNkNU9Obc4U+A1fz68Ho/Q+XE=
250-
github.com/ethersphere/go-sw3-abi v0.6.5/go.mod h1:BmpsvJ8idQZdYEtWnvxA8POYQ8Rl/NhyCdF0zLMOOJU=
249+
github.com/ethersphere/go-sw3-abi v0.6.9 h1:TnWLnYkWE5UvC17mQBdUmdkzhPhO8GcqvWy4wvd1QJQ=
250+
github.com/ethersphere/go-sw3-abi v0.6.9/go.mod h1:BmpsvJ8idQZdYEtWnvxA8POYQ8Rl/NhyCdF0zLMOOJU=
251251
github.com/ethersphere/langos v1.0.0 h1:NBtNKzXTTRSue95uOlzPN4py7Aofs0xWPzyj4AI1Vcc=
252252
github.com/ethersphere/langos v1.0.0/go.mod h1:dlcN2j4O8sQ+BlCaxeBu43bgr4RQ+inJ+pHwLeZg5Tw=
253253
github.com/fatih/color v1.7.0/go.mod h1:Zm6kSWBoL9eyXnKyktHP6abPY2pDugNf5KwzbycvMj4=

pkg/settlement/swap/chequebook/cashout_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import (
2121
)
2222

2323
var (
24-
chequebookABI = abiutil.MustParseABI(sw3abi.ERC20SimpleSwapABIv0_6_5)
24+
chequebookABI = abiutil.MustParseABI(sw3abi.ERC20SimpleSwapABIv0_6_9)
2525
chequeCashedEventType = chequebookABI.Events["ChequeCashed"]
2626
chequeBouncedEventType = chequebookABI.Events["ChequeBounced"]
2727
)

pkg/settlement/swap/chequebook/chequebook.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ var (
3838
// ErrInsufficientFunds is the error when the chequebook has not enough free funds for a user action
3939
ErrInsufficientFunds = errors.New("insufficient token balance")
4040

41-
chequebookABI = abiutil.MustParseABI(sw3abi.ERC20SimpleSwapABIv0_6_5)
41+
chequebookABI = abiutil.MustParseABI(sw3abi.ERC20SimpleSwapABIv0_6_9)
4242
chequeCashedEventType = chequebookABI.Events["ChequeCashed"]
4343
chequeBouncedEventType = chequebookABI.Events["ChequeBounced"]
4444
)

pkg/settlement/swap/priceoracle/priceoracle.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ type Service interface {
4747
}
4848

4949
var (
50-
priceOracleABI = abiutil.MustParseABI(priceoracleabi.PriceOracleABIv0_2_0)
50+
priceOracleABI = abiutil.MustParseABI(priceoracleabi.PriceOracleABIv0_6_9)
5151
)
5252

5353
func New(logger log.Logger, priceOracleAddress common.Address, transactionService transaction.Service, timeDivisor int64) Service {

pkg/settlement/swap/priceoracle/priceoracle_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import (
1818
)
1919

2020
var (
21-
priceOracleABI = abiutil.MustParseABI(priceoracleabi.PriceOracleABIv0_2_0)
21+
priceOracleABI = abiutil.MustParseABI(priceoracleabi.PriceOracleABIv0_6_9)
2222
)
2323

2424
func TestExchangeGetPrice(t *testing.T) {

0 commit comments

Comments
 (0)