types.go 371 B

12345678910111213141516171819
  1. package blockchain
  2. import (
  3. "math/big"
  4. "github.com/ethereum/go-ethereum/common"
  5. )
  6. const (
  7. TopicParticipate = "0xddd670a4142d06229b922c5d433d29131580e1a2952c86700b0a36ea9e8b87ee"
  8. COLLECT_PARTICIPATE = "participate"
  9. COLLECTCONTRACT = "0xaaaaaaaaaaaaaaaaa"
  10. )
  11. type EventParticipate struct {
  12. User common.Address
  13. Inviter common.Address
  14. Amount *big.Int
  15. }