cic-go/batch_balance/batch_balance.go

19 lines
418 B
Go
Raw Permalink Normal View History

package balance
import (
"github.com/ethereum/go-ethereum/common"
"github.com/grassrootseconomics/cic-go/provider"
)
type BatchBalance struct {
provider *provider.Provider
batchContract common.Address
}
2022-05-18 12:41:55 +02:00
func NewBatchBalance(rpcProvider *provider.Provider, batchContract common.Address) (*BatchBalance, error) {
return &BatchBalance{
2022-05-18 12:41:55 +02:00
provider: rpcProvider,
batchContract: batchContract,
}, nil
}