github.com/mavryk-network/mvgo@v1.19.9/contract/ast/contract.go (about) 1 package ast 2 3 type Contract struct { 4 // Name of the Contract. 5 // Can be inferred from its metadata, if it implements TZIP-16 (TODO). 6 Name string 7 // Micheline script of the contract. 8 Micheline string 9 // Callable Entrypoints of the Contract. 10 Entrypoints []*Entrypoint 11 // Getters are TZIP-4 views (which should not be confused with Hangzhou views). 12 // Although they are entrypoints, they require to be handled differently from 13 // regular entrypoints. 14 Getters []*Getter 15 // Type of the Contract's Storage. 16 Storage *Struct 17 // Bigmaps referenced in the Contract's Storage. 18 Bigmaps []any 19 }