Documentation
¶
Index ¶
- Variables
- func GetID(ctx context.Context, api ton.APIClientWrapped, addr *address.Address) (uint32, error)
- func GetValue(ctx context.Context, api ton.APIClientWrapped, addr *address.Address) (uint32, error)
- type ContractData
- type CountIncreased
- type CountIncreasedMsg
- type CountSet
- type CountSetMsg
- type IncreaseCount
- type SetCount
Constants ¶
This section is empty.
Variables ¶
View Source
var TopicCountIncreased uint32 = hash.CRC32("CountIncreased")
View Source
var TopicCountSet uint32 = hash.CRC32("CountSet")
Functions ¶
Types ¶
type ContractData ¶
type ContractData struct {
ID uint32 `tlb:"## 32"`
Value uint32 `tlb:"## 32"`
// TODO: import as ownable2step.Data bindings from pkg/bindings/lib/access/ownable_2step
Ownable common.Ownable2Step `tlb:"."`
}
type CountIncreased ¶
type CountIncreasedMsg ¶
type CountIncreasedMsg struct {
ID uint32 `tlb:"## 32"`
Value uint32 `tlb:"## 32"`
Sender address.Address `tlb:"addr"`
// contains filtered or unexported fields
}
Reply message to sender when the counter is increased.
type CountSetMsg ¶
type CountSetMsg struct {
ID uint32 `tlb:"## 32"`
Value uint32 `tlb:"## 32"`
Sender address.Address `tlb:"addr"`
// contains filtered or unexported fields
}
Reply message to sender when the counter is set.
type IncreaseCount ¶
type IncreaseCount struct {
QueryID uint64 `tlb:"## 64"`
// contains filtered or unexported fields
}
Message to increase the counter value.
Click to show internal directories.
Click to hide internal directories.