treasury
*v0.Treasury- OID
- 04d2cd…e4ae:16
treasury details
tokenKeys
[]string- OID
- 04d2cd…e4ae:5
init.2
func()- OID
- 04d2cd…e4ae:6
init.2 details
SetTokenKeys
func(keys []string)SetTokenKeys sets the GRC20 token registry keys that the treasury will use.
- OID
- 04d2cd…e4ae:8
SetTokenKeys details
Send
func(payment v0.Payment)Send sends a payment using the treasury instance.
- OID
- 04d2cd…e4ae:9
Send details
History
func(bankerID string, pageNumber int, pageSize int) []v0.PaymentHistory returns the payment history sent by the banker with the given ID. Payments are paginated, with the most recent payments first.
- OID
- 04d2cd…e4ae:10
History details
Balances
func(bankerID string) []v0.BalanceBalances returns the balances of the banker with the given ID.
- OID
- 04d2cd…e4ae:11
Balances details
Address
func(bankerID string) stringAddress returns the address of the banker with the given ID.
- OID
- 04d2cd…e4ae:12
Address details
HasBanker
func(bankerID string) boolHasBanker checks if a banker with the given ID is registered.
- OID
- 04d2cd…e4ae:13
HasBanker details
ListBankerIDs
func() []stringListBankerIDs returns a list of all registered banker IDs.
- OID
- 04d2cd…e4ae:14
ListBankerIDs details
Render
func(path string) string- OID
- 04d2cd…e4ae:15
Render details
treasury : *v0.Treasury Inspect
tokenKeys
:
[]string