mirror of
https://github.com/grassrootseconomics/cic-go.git
synced 2024-11-24 14:46:47 +01:00
19 lines
418 B
Go
19 lines
418 B
Go
package balance
|
|
|
|
import (
|
|
"github.com/ethereum/go-ethereum/common"
|
|
"github.com/grassrootseconomics/cic-go/provider"
|
|
)
|
|
|
|
type BatchBalance struct {
|
|
provider *provider.Provider
|
|
batchContract common.Address
|
|
}
|
|
|
|
func NewBatchBalance(rpcProvider *provider.Provider, batchContract common.Address) (*BatchBalance, error) {
|
|
return &BatchBalance{
|
|
provider: rpcProvider,
|
|
batchContract: batchContract,
|
|
}, nil
|
|
}
|