github.com/gnolang/gno@v0.0.0-20240520182011-228e9d0192ce/gnovm/stdlibs/std/context.go (about) 1 package std 2 3 import ( 4 "github.com/gnolang/gno/tm2/pkg/crypto" 5 "github.com/gnolang/gno/tm2/pkg/sdk" 6 "github.com/gnolang/gno/tm2/pkg/std" 7 ) 8 9 type ExecContext struct { 10 ChainID string 11 Height int64 12 Timestamp int64 // seconds 13 TimestampNano int64 // nanoseconds, only used for testing. 14 Msg sdk.Msg 15 OrigCaller crypto.Bech32Address 16 OrigPkgAddr crypto.Bech32Address 17 OrigSend std.Coins 18 OrigSendSpent *std.Coins // mutable 19 Banker BankerInterface 20 EventLogger *sdk.EventLogger 21 }