Documentation ¶
Index ¶
- func Account(a models.AccountListView) *genModels.AccountsRow
- func AccountAssetBalance(acb models.AccountAssetBalance) *genModels.AccountAssetBalanceRow
- func AccountAssetBalances(ash []models.AccountAssetBalance) []*genModels.AccountAssetBalanceRow
- func AccountBaking(acb models.AccountBaking) *genModels.AccountBakingRow
- func AccountBakingList(accb []models.AccountBaking) []*genModels.AccountBakingRow
- func AccountBalance(acb models.AccountBalance) *genModels.AccountBalance
- func AccountBalances(acb []models.AccountBalance) []*genModels.AccountBalance
- func AccountDelegator(acb models.AccountDelegator) *genModels.BakerDelegator
- func AccountDelegators(acd []models.AccountDelegator) []*genModels.BakerDelegator
- func AccountEndorsing(acb models.AccountEndorsing) *genModels.AccountEndorsingRow
- func AccountEndorsingList(acce []models.AccountEndorsing) []*genModels.AccountEndorsingRow
- func AccountReward(acb models.AccountReward) *genModels.AccountRewardsRow
- func AccountRewardsList(accrl []models.AccountReward) []*genModels.AccountRewardsRow
- func AccountSecurityDeposit(acb models.AccountRewardsCount) *genModels.AccountSecurityDepositRow
- func AccountSecurityDepositList(accrl []models.AccountRewardsCount) []*genModels.AccountSecurityDepositRow
- func Accounts(ams []models.AccountListView) []*genModels.AccountsRow
- func AggTimeInt(items []models.AggTimeInt) (result []*genModels.AggTimeInt)
- func AssetHolder(acb models.AssetHolder) *genModels.TokenHolderRow
- func AssetHolders(ash []models.AssetHolder) []*genModels.TokenHolderRow
- func AssetInfo(asi models.AssetInfo) *genModels.TokenAssetRow
- func AssetOperation(acb models.AssetOperationReport) *genModels.AssetOperation
- func AssetOperations(ash []models.AssetOperationReport) []*genModels.AssetOperation
- func AssetsList(ash []models.AssetInfo) []*genModels.TokenAssetRow
- func Baker(a models.Baker) *genModels.BakersRow
- func BakerChartData(chd []models.BakerChartData) []*genModels.BakerChartData
- func BakerChartElement(chd models.BakerChartData) *genModels.BakerChartData
- func BakerInfo(bi *models.Baker) *genModels.BakerInfo
- func Bakers(ams []models.Baker) []*genModels.BakersRow
- func BakersDelegators(items []models.BakerDelegators) (result []*genModels.BakerDelegators)
- func BakersHoldings(items []models.HoldingPoint) (result []*genModels.HoldingPoint)
- func BakersVoting(item models.BakersVoting) (result *genModels.BakersVoting)
- func BakingRight(r models.FutureBakingRight) *genModels.BakingRightsRow
- func BakingRights(br []models.FutureBakingRight) []*genModels.BakingRightsRow
- func BallotVoter(v models.ProposalVoter) *genModels.BallotVoter
- func BallotVoters(vp []models.ProposalVoter) []*genModels.BallotVoter
- func Block(b models.Block) *genModels.BlocksRow
- func BlockBakingRights(b models.Block) *genModels.BakingRightsPerBlock
- func BlockResult(b models.Block) *genModels.BlockResult
- func Blocks(bs []models.Block) []*genModels.BlocksRow
- func BlocksBakingRights(bs []models.Block) []*genModels.BakingRightsPerBlock
- func BlocksFutureBakingRights(r []models.FutureBlockBakingRight) []*genModels.FutureBakingRightsPerBlock
- func BlocksPriorityChartData(chd []models.BlockPriority) []*genModels.BlockPriorityChartData
- func BlocksPriorityChartElement(chd models.BlockPriority) *genModels.BlockPriorityChartData
- func ChartData(chd []models.ChartData) []*genModels.ChartsData
- func ChartElement(chd models.ChartData) *genModels.ChartsData
- func DoubleOperations(bs []models.DoubleOperationEvidenceExtended) []*genModels.OperationsRow
- func FutureBlockBakingRights(r models.FutureBlockBakingRight) *genModels.FutureBakingRightsPerBlock
- func FutureEndorsementRight(r models.FutureEndorsementRight) *genModels.EndorsementRightsRow
- func FutureEndorsementRights(br []models.FutureEndorsementRight) []*genModels.EndorsementRightsRow
- func GetUnixFromNullTime(t null.Time) int64
- func Info(currency string, mi models.MarketInfo, ratio float64, blocks int64) *genModels.Info
- func MempoolOperation(acb gotezos.Operations) *genModels.MempoolOperation
- func MempoolOperationsList(ops []gotezos.Operations) []*genModels.MempoolOperation
- func NFTContract(c models.NFTContract) *genModels.NFTContractRow
- func NFTContracts(с []models.NFTContract) []*genModels.NFTContractRow
- func NFTDistribution(d models.NFTDistribution) *genModels.NFTContractDistribution
- func NFTOwnership(d models.NFTContractOwnership) *genModels.NFTContractOwnership
- func NFTToken(t models.NFTToken) *genModels.NFTTokenRow
- func NFTTokens(tns []models.NFTToken) []*genModels.NFTTokenRow
- func NonVoter(v models.Voter) *genModels.NonVoter
- func NonVoters(vp []models.Voter) []*genModels.NonVoter
- func Operation(b models.Operation, dbe *models.DoubleOperationEvidenceExtended) *genModels.OperationsRow
- func OperationGroup(b models.OperationGroup) *genModels.OperationGroupsRow
- func Operations(bs []models.Operation) []*genModels.OperationsRow
- func Period(p models.PeriodInfo) *genModels.Period
- func PeriodInfo(p models.PeriodStats) *genModels.PeriodInfo
- func Periods(vp []models.PeriodInfo) []*genModels.Period
- func Proposal(p models.VotingProposal) *genModels.Proposal
- func ProposalVoter(v models.ProposalVoter) *genModels.ProposalVoter
- func ProposalVoters(vp []models.ProposalVoter) []*genModels.ProposalVoter
- func Proposals(vp []models.VotingProposal) []*genModels.Proposal
- func Protocol(p models.Protocol) *genModels.Protocol
- func Protocols(pl []models.Protocol) []*genModels.Protocol
- func PublicBaker(a models.PublicBaker) *genModels.BakersRow
- func PublicBakers(ams []models.PublicBaker) []genModels.PublicBaker
- func PublicBakersSearch(ams []models.PublicBakerSearch) []*genModels.PublicBakerSearch
- func Snapshot(b models.SnapshotsView) *genModels.Snapshots
- func Snapshots(bs []models.SnapshotsView) []*genModels.Snapshots
- func ThirdPartyBakers(bakers []models.ThirdPartyBakerAgg) (result []*genModels.ThirdPartyBakers)
- func ThirdPartyBakersItem(p models.ThirdPartyBaker) *genModels.ThirdPartyProvider
- func ThirdPartyBakersProviders(tp models.ThirdPartyProviders) []*genModels.ThirdPartyProvider
- func UserAddresses(in []models.UserAddressWithBalance) []*genModels.UserAddressWithBalance
- func UserNotes(in []models.UserNote) []*genModels.UserNote
- func UserNotesWithBalance(in []models.UserNoteWithBalance) []*genModels.UserNoteWithBalance
- func WhaleAccountList(data []models.Account) (acs []*genModels.WhaleAccount)
- func WhaleAccounts(data whales.Data) *genModels.WhaleAccounts
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Account ¶
func Account(a models.AccountListView) *genModels.AccountsRow
Account renders an app level model to a gennerated OpenAPI model.
func AccountAssetBalance ¶
func AccountAssetBalance(acb models.AccountAssetBalance) *genModels.AccountAssetBalanceRow
func AccountAssetBalances ¶
func AccountAssetBalances(ash []models.AccountAssetBalance) []*genModels.AccountAssetBalanceRow
func AccountBaking ¶
func AccountBaking(acb models.AccountBaking) *genModels.AccountBakingRow
func AccountBakingList ¶
func AccountBakingList(accb []models.AccountBaking) []*genModels.AccountBakingRow
func AccountBalance ¶
func AccountBalance(acb models.AccountBalance) *genModels.AccountBalance
func AccountBalances ¶
func AccountBalances(acb []models.AccountBalance) []*genModels.AccountBalance
func AccountDelegator ¶
func AccountDelegator(acb models.AccountDelegator) *genModels.BakerDelegator
func AccountDelegators ¶
func AccountDelegators(acd []models.AccountDelegator) []*genModels.BakerDelegator
func AccountEndorsing ¶
func AccountEndorsing(acb models.AccountEndorsing) *genModels.AccountEndorsingRow
func AccountEndorsingList ¶
func AccountEndorsingList(acce []models.AccountEndorsing) []*genModels.AccountEndorsingRow
func AccountReward ¶
func AccountReward(acb models.AccountReward) *genModels.AccountRewardsRow
func AccountRewardsList ¶
func AccountRewardsList(accrl []models.AccountReward) []*genModels.AccountRewardsRow
func AccountSecurityDeposit ¶
func AccountSecurityDeposit(acb models.AccountRewardsCount) *genModels.AccountSecurityDepositRow
func AccountSecurityDepositList ¶
func AccountSecurityDepositList(accrl []models.AccountRewardsCount) []*genModels.AccountSecurityDepositRow
func Accounts ¶
func Accounts(ams []models.AccountListView) []*genModels.AccountsRow
Accounts renders a slice of app level Accounts into a slice of OpenAPI models.
func AggTimeInt ¶
func AggTimeInt(items []models.AggTimeInt) (result []*genModels.AggTimeInt)
func AssetHolder ¶
func AssetHolder(acb models.AssetHolder) *genModels.TokenHolderRow
func AssetHolders ¶
func AssetHolders(ash []models.AssetHolder) []*genModels.TokenHolderRow
func AssetOperation ¶
func AssetOperation(acb models.AssetOperationReport) *genModels.AssetOperation
func AssetOperations ¶
func AssetOperations(ash []models.AssetOperationReport) []*genModels.AssetOperation
func AssetsList ¶
func AssetsList(ash []models.AssetInfo) []*genModels.TokenAssetRow
func BakerChartData ¶
func BakerChartData(chd []models.BakerChartData) []*genModels.BakerChartData
func BakerChartElement ¶
func BakerChartElement(chd models.BakerChartData) *genModels.BakerChartData
func BakersDelegators ¶
func BakersDelegators(items []models.BakerDelegators) (result []*genModels.BakerDelegators)
func BakersHoldings ¶
func BakersHoldings(items []models.HoldingPoint) (result []*genModels.HoldingPoint)
func BakersVoting ¶
func BakersVoting(item models.BakersVoting) (result *genModels.BakersVoting)
func BakingRight ¶
func BakingRight(r models.FutureBakingRight) *genModels.BakingRightsRow
func BakingRights ¶
func BakingRights(br []models.FutureBakingRight) []*genModels.BakingRightsRow
func BallotVoter ¶
func BallotVoter(v models.ProposalVoter) *genModels.BallotVoter
func BallotVoters ¶
func BallotVoters(vp []models.ProposalVoter) []*genModels.BallotVoter
func BlockBakingRights ¶
func BlockBakingRights(b models.Block) *genModels.BakingRightsPerBlock
BlockBakingRights renders an app level block model into a OpenAPI model.
func BlockResult ¶
func BlockResult(b models.Block) *genModels.BlockResult
BlockResult renders an app level block model into a OpenAPI model with operation groups.
func BlocksBakingRights ¶
func BlocksBakingRights(bs []models.Block) []*genModels.BakingRightsPerBlock
Blocks renders a slice of app level Blocks into a slice of OpenAPI models.
func BlocksFutureBakingRights ¶
func BlocksFutureBakingRights(r []models.FutureBlockBakingRight) []*genModels.FutureBakingRightsPerBlock
func BlocksPriorityChartData ¶
func BlocksPriorityChartData(chd []models.BlockPriority) []*genModels.BlockPriorityChartData
func BlocksPriorityChartElement ¶
func BlocksPriorityChartElement(chd models.BlockPriority) *genModels.BlockPriorityChartData
func ChartElement ¶
func ChartElement(chd models.ChartData) *genModels.ChartsData
func DoubleOperations ¶
func DoubleOperations(bs []models.DoubleOperationEvidenceExtended) []*genModels.OperationsRow
func FutureBlockBakingRights ¶
func FutureBlockBakingRights(r models.FutureBlockBakingRight) *genModels.FutureBakingRightsPerBlock
func FutureEndorsementRight ¶
func FutureEndorsementRight(r models.FutureEndorsementRight) *genModels.EndorsementRightsRow
func FutureEndorsementRights ¶
func FutureEndorsementRights(br []models.FutureEndorsementRight) []*genModels.EndorsementRightsRow
func GetUnixFromNullTime ¶
func MempoolOperation ¶
func MempoolOperation(acb gotezos.Operations) *genModels.MempoolOperation
func MempoolOperationsList ¶
func MempoolOperationsList(ops []gotezos.Operations) []*genModels.MempoolOperation
func NFTContract ¶
func NFTContract(c models.NFTContract) *genModels.NFTContractRow
func NFTContracts ¶
func NFTContracts(с []models.NFTContract) []*genModels.NFTContractRow
func NFTDistribution ¶
func NFTDistribution(d models.NFTDistribution) *genModels.NFTContractDistribution
func NFTOwnership ¶
func NFTOwnership(d models.NFTContractOwnership) *genModels.NFTContractOwnership
func Operation ¶
func Operation(b models.Operation, dbe *models.DoubleOperationEvidenceExtended) *genModels.OperationsRow
Operation renders an app level model to a gennerated OpenAPI model.
func OperationGroup ¶
func OperationGroup(b models.OperationGroup) *genModels.OperationGroupsRow
OperationGroup renders an app level model to a gennerated OpenAPI model.
func Operations ¶
func Operations(bs []models.Operation) []*genModels.OperationsRow
Operations renders a slice of app level Operations into a slice of OpenAPI models.
func PeriodInfo ¶
func PeriodInfo(p models.PeriodStats) *genModels.PeriodInfo
Snapshot renders an app level model to a gennerated OpenAPI model.
func ProposalVoter ¶
func ProposalVoter(v models.ProposalVoter) *genModels.ProposalVoter
func ProposalVoters ¶
func ProposalVoters(vp []models.ProposalVoter) []*genModels.ProposalVoter
func PublicBaker ¶
func PublicBaker(a models.PublicBaker) *genModels.BakersRow
PublicBaker renders an app level model to a generated OpenAPI model.
func PublicBakers ¶
func PublicBakers(ams []models.PublicBaker) []genModels.PublicBaker
func PublicBakersSearch ¶
func PublicBakersSearch(ams []models.PublicBakerSearch) []*genModels.PublicBakerSearch
func Snapshot ¶
func Snapshot(b models.SnapshotsView) *genModels.Snapshots
Snapshot renders an app level model to a gennerated OpenAPI model.
func Snapshots ¶
func Snapshots(bs []models.SnapshotsView) []*genModels.Snapshots
Snapshots renders a slice of app level Snapshots into a slice of OpenAPI models.
func ThirdPartyBakers ¶
func ThirdPartyBakers(bakers []models.ThirdPartyBakerAgg) (result []*genModels.ThirdPartyBakers)
func ThirdPartyBakersItem ¶
func ThirdPartyBakersItem(p models.ThirdPartyBaker) *genModels.ThirdPartyProvider
func ThirdPartyBakersProviders ¶
func ThirdPartyBakersProviders(tp models.ThirdPartyProviders) []*genModels.ThirdPartyProvider
func UserAddresses ¶
func UserAddresses(in []models.UserAddressWithBalance) []*genModels.UserAddressWithBalance
func UserNotesWithBalance ¶
func UserNotesWithBalance(in []models.UserNoteWithBalance) []*genModels.UserNoteWithBalance
func WhaleAccountList ¶
func WhaleAccountList(data []models.Account) (acs []*genModels.WhaleAccount)
func WhaleAccounts ¶
func WhaleAccounts(data whales.Data) *genModels.WhaleAccounts
Types ¶
This section is empty.