Transaction

BE03945E1A6259…1B766D5FD41B

Block 25,653 · index 0 · indexed

Summary

Hash
BE03945E1A62597B54AA99C702ABFB6C220CB5DF133814C0CE431B766D5FD41B
Block
25,653
Size
1989 bytes
Gas used
7,051,871 / 8,462,305
Fee
1000000ugnot
Memo
gnopublish
Status
success

Messages

#1AddPackagegno.land/p/moul/entity/v09 arguments

Arguments · 9

  1. #1entity
  2. #2README.md
  3. #3# `gno.land/p/moul/entity/v0` _TODO: describe this package._ <!-- BEGIN GNOCONTRACTS FOOTER (generated by `make readmes`; do not edit below) --> --- Part of **[moul/gno-contracts](https://github.com/moul/gno-contracts)** — moul's versioned gno.land contracts. See the repository for the full catalog, build/test tooling, and usage. > ⚠️ **Disclaimer:** provided as-is, without warranty; not security-audited. Full disclaimer: [DISCLAIMER](https://github.com/moul/gno-contracts/blob/main/DISCLAIMER.md). <!-- END GNOCONTRACTS FOOTER -->
  4. #4entity.gno
  5. #5// Package entity provides an interface that abstracts a notion of entity which // can under the hood be an EOA (address), a package realm (PkgPath, address). // It also tries to give a notion of type where for instance, a user can be // either a simple user or a team, and a contract can be either an arbitrary // contract, or one that implements a famous pattern/interface, such as a DAO. // It also provides some composition utilities so that an entity can be a flow // that matches multiple other entities. package entity import ( "chain/runtime" ) type Entity interface { Addr() address Path() string Kind isEntity() } type Kind interface { kind() } type UserEntity interface { Entity isUserEntity() } type RealmEntity interface { Entity isRealmEntity() } func NewUserByAddr(addr address) UserEntity { panic("not implemented") } func NewUserByName(name string) UserEntity { panic("not implemented") } func NewRealm(rlm runtime.Realm) RealmEntity { panic("not implemented") }
  6. #6gnomod.toml
  7. #7module = "gno.land/p/moul/entity/v0" gno = "0.9"
  8. #8/gno.MemPackageType
  9. #9 MPUserProd

Result log

msg:0,success:true,log:,events:[]

← Back to block 25,653