Skip to content

Commit

Permalink
Regenerate code with generator#43
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] authored Oct 13, 2022
1 parent 05d6070 commit 13da850
Show file tree
Hide file tree
Showing 21 changed files with 108 additions and 0 deletions.
1 change: 1 addition & 0 deletions client/v2/algod/accountInformation.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ type AccountInformation struct {
// `none`.
func (s *AccountInformation) Exclude(Exclude string) *AccountInformation {
s.p.Exclude = Exclude

return s
}

Expand Down
1 change: 1 addition & 0 deletions client/v2/algod/getPendingTransactions.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ type PendingTransactions struct {
// txns.
func (s *PendingTransactions) Max(Max uint64) *PendingTransactions {
s.p.Max = Max

return s
}

Expand Down
1 change: 1 addition & 0 deletions client/v2/algod/getPendingTransactionsByAddress.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ type PendingTransactionsByAddress struct {
// txns.
func (s *PendingTransactionsByAddress) Max(Max uint64) *PendingTransactionsByAddress {
s.p.Max = Max

return s
}

Expand Down
1 change: 1 addition & 0 deletions client/v2/algod/getTransactionProof.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ type GetTransactionProof struct {
// * sha256
func (s *GetTransactionProof) Hashtype(Hashtype string) *GetTransactionProof {
s.p.Hashtype = Hashtype

return s
}

Expand Down
1 change: 1 addition & 0 deletions client/v2/algod/tealCompile.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ type TealCompile struct {
// Defaults to `false`.
func (s *TealCompile) Sourcemap(Sourcemap bool) *TealCompile {
s.p.Sourcemap = Sourcemap

return s
}

Expand Down
4 changes: 4 additions & 0 deletions client/v2/indexer/lookupAccountAppLocalStates.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ type LookupAccountAppLocalStates struct {
// ApplicationID application ID
func (s *LookupAccountAppLocalStates) ApplicationID(ApplicationID uint64) *LookupAccountAppLocalStates {
s.p.ApplicationID = ApplicationID

return s
}

Expand All @@ -49,20 +50,23 @@ func (s *LookupAccountAppLocalStates) ApplicationID(ApplicationID uint64) *Looku
// localstates.
func (s *LookupAccountAppLocalStates) IncludeAll(IncludeAll bool) *LookupAccountAppLocalStates {
s.p.IncludeAll = IncludeAll

return s
}

// Limit maximum number of results to return. There could be additional pages even
// if the limit is not reached.
func (s *LookupAccountAppLocalStates) Limit(Limit uint64) *LookupAccountAppLocalStates {
s.p.Limit = Limit

return s
}

// Next the next page of results. Use the next token provided by the previous
// results.
func (s *LookupAccountAppLocalStates) Next(Next string) *LookupAccountAppLocalStates {
s.p.Next = Next

return s
}

Expand Down
4 changes: 4 additions & 0 deletions client/v2/indexer/lookupAccountAssets.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ type LookupAccountAssets struct {
// AssetID asset ID
func (s *LookupAccountAssets) AssetID(AssetID uint64) *LookupAccountAssets {
s.p.AssetID = AssetID

return s
}

Expand All @@ -49,20 +50,23 @@ func (s *LookupAccountAssets) AssetID(AssetID uint64) *LookupAccountAssets {
// localstates.
func (s *LookupAccountAssets) IncludeAll(IncludeAll bool) *LookupAccountAssets {
s.p.IncludeAll = IncludeAll

return s
}

// Limit maximum number of results to return. There could be additional pages even
// if the limit is not reached.
func (s *LookupAccountAssets) Limit(Limit uint64) *LookupAccountAssets {
s.p.Limit = Limit

return s
}

// Next the next page of results. Use the next token provided by the previous
// results.
func (s *LookupAccountAssets) Next(Next string) *LookupAccountAssets {
s.p.Next = Next

return s
}

Expand Down
3 changes: 3 additions & 0 deletions client/v2/indexer/lookupAccountByID.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ type LookupAccountByID struct {
// application parameters created by this account.
func (s *LookupAccountByID) Exclude(Exclude []string) *LookupAccountByID {
s.p.Exclude = Exclude

return s
}

Expand All @@ -47,12 +48,14 @@ func (s *LookupAccountByID) Exclude(Exclude []string) *LookupAccountByID {
// localstates.
func (s *LookupAccountByID) IncludeAll(IncludeAll bool) *LookupAccountByID {
s.p.IncludeAll = IncludeAll

return s
}

// Round include results for the specified round.
func (s *LookupAccountByID) Round(Round uint64) *LookupAccountByID {
s.p.Round = Round

return s
}

Expand Down
4 changes: 4 additions & 0 deletions client/v2/indexer/lookupAccountCreatedApplications.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ type LookupAccountCreatedApplications struct {
// ApplicationID application ID
func (s *LookupAccountCreatedApplications) ApplicationID(ApplicationID uint64) *LookupAccountCreatedApplications {
s.p.ApplicationID = ApplicationID

return s
}

Expand All @@ -49,20 +50,23 @@ func (s *LookupAccountCreatedApplications) ApplicationID(ApplicationID uint64) *
// localstates.
func (s *LookupAccountCreatedApplications) IncludeAll(IncludeAll bool) *LookupAccountCreatedApplications {
s.p.IncludeAll = IncludeAll

return s
}

// Limit maximum number of results to return. There could be additional pages even
// if the limit is not reached.
func (s *LookupAccountCreatedApplications) Limit(Limit uint64) *LookupAccountCreatedApplications {
s.p.Limit = Limit

return s
}

// Next the next page of results. Use the next token provided by the previous
// results.
func (s *LookupAccountCreatedApplications) Next(Next string) *LookupAccountCreatedApplications {
s.p.Next = Next

return s
}

Expand Down
4 changes: 4 additions & 0 deletions client/v2/indexer/lookupAccountCreatedAssets.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ type LookupAccountCreatedAssets struct {
// AssetID asset ID
func (s *LookupAccountCreatedAssets) AssetID(AssetID uint64) *LookupAccountCreatedAssets {
s.p.AssetID = AssetID

return s
}

Expand All @@ -49,20 +50,23 @@ func (s *LookupAccountCreatedAssets) AssetID(AssetID uint64) *LookupAccountCreat
// localstates.
func (s *LookupAccountCreatedAssets) IncludeAll(IncludeAll bool) *LookupAccountCreatedAssets {
s.p.IncludeAll = IncludeAll

return s
}

// Limit maximum number of results to return. There could be additional pages even
// if the limit is not reached.
func (s *LookupAccountCreatedAssets) Limit(Limit uint64) *LookupAccountCreatedAssets {
s.p.Limit = Limit

return s
}

// Next the next page of results. Use the next token provided by the previous
// results.
func (s *LookupAccountCreatedAssets) Next(Next string) *LookupAccountCreatedAssets {
s.p.Next = Next

return s
}

Expand Down
14 changes: 14 additions & 0 deletions client/v2/indexer/lookupAccountTransactions.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ type LookupAccountTransactions struct {
// formatted string.
func (s *LookupAccountTransactions) AfterTimeString(AfterTime string) *LookupAccountTransactions {
s.p.AfterTime = AfterTime

return s
}

Expand All @@ -98,13 +99,15 @@ func (s *LookupAccountTransactions) AfterTime(AfterTime time.Time) *LookupAccoun
// AssetID asset ID
func (s *LookupAccountTransactions) AssetID(AssetID uint64) *LookupAccountTransactions {
s.p.AssetID = AssetID

return s
}

// BeforeTimeString include results before the given time. Must be an RFC 3339
// formatted string.
func (s *LookupAccountTransactions) BeforeTimeString(BeforeTime string) *LookupAccountTransactions {
s.p.BeforeTime = BeforeTime

return s
}

Expand All @@ -121,6 +124,7 @@ func (s *LookupAccountTransactions) BeforeTime(BeforeTime time.Time) *LookupAcco
// case the asset will be used.
func (s *LookupAccountTransactions) CurrencyGreaterThan(CurrencyGreaterThan uint64) *LookupAccountTransactions {
s.p.CurrencyGreaterThan = CurrencyGreaterThan

return s
}

Expand All @@ -129,32 +133,37 @@ func (s *LookupAccountTransactions) CurrencyGreaterThan(CurrencyGreaterThan uint
// will be used.
func (s *LookupAccountTransactions) CurrencyLessThan(CurrencyLessThan uint64) *LookupAccountTransactions {
s.p.CurrencyLessThan = CurrencyLessThan

return s
}

// Limit maximum number of results to return. There could be additional pages even
// if the limit is not reached.
func (s *LookupAccountTransactions) Limit(Limit uint64) *LookupAccountTransactions {
s.p.Limit = Limit

return s
}

// MaxRound include results at or before the specified max-round.
func (s *LookupAccountTransactions) MaxRound(MaxRound uint64) *LookupAccountTransactions {
s.p.MaxRound = MaxRound

return s
}

// MinRound include results at or after the specified min-round.
func (s *LookupAccountTransactions) MinRound(MinRound uint64) *LookupAccountTransactions {
s.p.MinRound = MinRound

return s
}

// NextToken the next page of results. Use the next token provided by the previous
// results.
func (s *LookupAccountTransactions) NextToken(NextToken string) *LookupAccountTransactions {
s.p.NextToken = NextToken

return s
}

Expand All @@ -168,12 +177,14 @@ func (s *LookupAccountTransactions) NotePrefix(NotePrefix []byte) *LookupAccount
// RekeyTo include results which include the rekey-to field.
func (s *LookupAccountTransactions) RekeyTo(RekeyTo bool) *LookupAccountTransactions {
s.p.RekeyTo = RekeyTo

return s
}

// Round include results for the specified round.
func (s *LookupAccountTransactions) Round(Round uint64) *LookupAccountTransactions {
s.p.Round = Round

return s
}

Expand All @@ -183,18 +194,21 @@ func (s *LookupAccountTransactions) Round(Round uint64) *LookupAccountTransactio
// * lsig - LogicSig
func (s *LookupAccountTransactions) SigType(SigType string) *LookupAccountTransactions {
s.p.SigType = SigType

return s
}

// TxType
func (s *LookupAccountTransactions) TxType(TxType string) *LookupAccountTransactions {
s.p.TxType = TxType

return s
}

// TXID lookup the specific transaction by ID.
func (s *LookupAccountTransactions) TXID(TXID string) *LookupAccountTransactions {
s.p.TXID = TXID

return s
}

Expand Down
1 change: 1 addition & 0 deletions client/v2/indexer/lookupApplicationByID.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ type LookupApplicationByID struct {
// localstates.
func (s *LookupApplicationByID) IncludeAll(IncludeAll bool) *LookupApplicationByID {
s.p.IncludeAll = IncludeAll

return s
}

Expand Down
6 changes: 6 additions & 0 deletions client/v2/indexer/lookupApplicationLogsByID.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,37 +45,43 @@ type LookupApplicationLogsByID struct {
// if the limit is not reached.
func (s *LookupApplicationLogsByID) Limit(Limit uint64) *LookupApplicationLogsByID {
s.p.Limit = Limit

return s
}

// MaxRound include results at or before the specified max-round.
func (s *LookupApplicationLogsByID) MaxRound(MaxRound uint64) *LookupApplicationLogsByID {
s.p.MaxRound = MaxRound

return s
}

// MinRound include results at or after the specified min-round.
func (s *LookupApplicationLogsByID) MinRound(MinRound uint64) *LookupApplicationLogsByID {
s.p.MinRound = MinRound

return s
}

// Next the next page of results. Use the next token provided by the previous
// results.
func (s *LookupApplicationLogsByID) Next(Next string) *LookupApplicationLogsByID {
s.p.Next = Next

return s
}

// SenderAddress only include transactions with this sender address.
func (s *LookupApplicationLogsByID) SenderAddress(SenderAddress string) *LookupApplicationLogsByID {
s.p.SenderAddress = SenderAddress

return s
}

// Txid lookup the specific transaction by ID.
func (s *LookupApplicationLogsByID) Txid(Txid string) *LookupApplicationLogsByID {
s.p.Txid = Txid

return s
}

Expand Down
5 changes: 5 additions & 0 deletions client/v2/indexer/lookupAssetBalances.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ type LookupAssetBalances struct {
// case the asset will be used.
func (s *LookupAssetBalances) CurrencyGreaterThan(CurrencyGreaterThan uint64) *LookupAssetBalances {
s.p.CurrencyGreaterThan = CurrencyGreaterThan

return s
}

Expand All @@ -57,6 +58,7 @@ func (s *LookupAssetBalances) CurrencyGreaterThan(CurrencyGreaterThan uint64) *L
// will be used.
func (s *LookupAssetBalances) CurrencyLessThan(CurrencyLessThan uint64) *LookupAssetBalances {
s.p.CurrencyLessThan = CurrencyLessThan

return s
}

Expand All @@ -65,20 +67,23 @@ func (s *LookupAssetBalances) CurrencyLessThan(CurrencyLessThan uint64) *LookupA
// localstates.
func (s *LookupAssetBalances) IncludeAll(IncludeAll bool) *LookupAssetBalances {
s.p.IncludeAll = IncludeAll

return s
}

// Limit maximum number of results to return. There could be additional pages even
// if the limit is not reached.
func (s *LookupAssetBalances) Limit(Limit uint64) *LookupAssetBalances {
s.p.Limit = Limit

return s
}

// NextToken the next page of results. Use the next token provided by the previous
// results.
func (s *LookupAssetBalances) NextToken(NextToken string) *LookupAssetBalances {
s.p.NextToken = NextToken

return s
}

Expand Down
1 change: 1 addition & 0 deletions client/v2/indexer/lookupAssetByID.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ type LookupAssetByID struct {
// localstates.
func (s *LookupAssetByID) IncludeAll(IncludeAll bool) *LookupAssetByID {
s.p.IncludeAll = IncludeAll

return s
}

Expand Down
Loading

0 comments on commit 13da850

Please sign in to comment.