Versions in this module Expand all Collapse all v0 v0.1.3 Feb 21, 2024 Changes in this version + type GitcoinPassport struct + func (g *GitcoinPassport) Address(_ []byte) common.Address + func (g *GitcoinPassport) BalanceAt(_ context.Context, _ common.Address, _ []byte, _ uint64) (*big.Int, error) + func (g *GitcoinPassport) BalanceOf(addr common.Address, stamp []byte) (*big.Int, error) + func (g *GitcoinPassport) BlockRootHash(_ context.Context, insertTime uint64) ([]byte, error) + func (g *GitcoinPassport) BlockTimestamp(_ context.Context, insertTime uint64) (string, error) + func (g *GitcoinPassport) ChainID() uint64 + func (g *GitcoinPassport) Close() error + func (g *GitcoinPassport) CreationBlock(_ context.Context, _ []byte) (uint64, error) + func (g *GitcoinPassport) Decimals(_ []byte) (uint64, error) + func (g *GitcoinPassport) HoldersBalances(_ context.Context, stamp []byte, _ uint64) (map[common.Address]*big.Int, uint64, uint64, bool, *big.Int, error) + func (g *GitcoinPassport) IconURI(_ []byte) (string, error) + func (g *GitcoinPassport) Init(iconf any) error + func (g *GitcoinPassport) IsExternal() bool + func (g *GitcoinPassport) IsSynced(_ []byte) bool + func (g *GitcoinPassport) LatestBlockNumber(_ context.Context, _ []byte) (uint64, error) + func (g *GitcoinPassport) Name(stamp []byte) (string, error) + func (g *GitcoinPassport) SetLastBalances(_ context.Context, _ []byte, balances map[common.Address]*big.Int, _ uint64) error + func (g *GitcoinPassport) SetLastBlockNumber(_ uint64) + func (g *GitcoinPassport) SetRef(_ any) error + func (g *GitcoinPassport) Symbol(stamp []byte) (string, error) + func (g *GitcoinPassport) TotalSupply(stamp []byte) (*big.Int, error) + func (g *GitcoinPassport) Type() uint64 + func (g *GitcoinPassport) TypeName() string + func (p *GitcoinPassport) CensusKeys(data map[common.Address]*big.Int) (map[common.Address]*big.Int, error) + type GitcoinPassportConf struct + APIEndpoint string + Cooldown time.Duration + DB *db.DB