mirror of
https://github.com/forta-network/go-multicall.git
synced 2026-02-26 15:47:23 +00:00
update package
This commit is contained in:
parent
146503fb49
commit
c1fc7ff69a
4 changed files with 6 additions and 6 deletions
|
|
@ -1,6 +1,6 @@
|
|||
# go-multicall
|
||||

|
||||

|
||||

|
||||
|
||||
A thin Go client for making multiple function calls in single `eth_call` request
|
||||
|
||||
|
|
@ -12,7 +12,7 @@ _**Warning:** MakerDAO Multicall contracts are different than the [OpenZeppelin
|
|||
## Install
|
||||
|
||||
```
|
||||
go get github.com/forta-network/go-multicall
|
||||
go get github.com/xiangxn/go-multicall
|
||||
```
|
||||
|
||||
## Example
|
||||
|
|
@ -27,7 +27,7 @@ import (
|
|||
"fmt"
|
||||
"math/big"
|
||||
|
||||
"github.com/forta-network/go-multicall"
|
||||
"github.com/xiangxn/go-multicall"
|
||||
"github.com/ethereum/go-ethereum/common"
|
||||
)
|
||||
|
||||
|
|
|
|||
|
|
@ -7,8 +7,8 @@ import (
|
|||
|
||||
"github.com/ethereum/go-ethereum/accounts/abi/bind"
|
||||
"github.com/ethereum/go-ethereum/common"
|
||||
"github.com/forta-network/go-multicall/contracts/contract_multicall"
|
||||
"github.com/stretchr/testify/require"
|
||||
"github.com/xiangxn/go-multicall/contracts/contract_multicall"
|
||||
)
|
||||
|
||||
type testType struct {
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ import (
|
|||
"math/big"
|
||||
|
||||
"github.com/ethereum/go-ethereum/common"
|
||||
"github.com/forta-network/go-multicall"
|
||||
"github.com/xiangxn/go-multicall"
|
||||
)
|
||||
|
||||
const (
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ import (
|
|||
"math/big"
|
||||
|
||||
"github.com/ethereum/go-ethereum/common"
|
||||
"github.com/forta-network/go-multicall"
|
||||
"github.com/xiangxn/go-multicall"
|
||||
)
|
||||
|
||||
const (
|
||||
|
|
|
|||
Loading…
Reference in a new issue