MoveModule
Represents a module in Move, a library that defines struct types and functions that operate on these types.
type MoveModule {
package: MovePackage!
name: String!
fileFormatVersion: Int!
friends(
first: Int
after: String
last: Int
before: String
): MoveModuleConnection!
struct(
name: String!
): MoveStruct
structs(
first: Int
after: String
last: Int
before: String
): MoveStructConnection
enum(
name: String!
): MoveEnum
enums(
first: Int
after: String
last: Int
before: String
): MoveEnumConnection
datatype(
name: String!
): MoveDatatype
datatypes(
first: Int
after: String
last: Int
before: String
): MoveDatatypeConnection
function(
name: String!
): MoveFunction
functions(
first: Int
after: String
last: Int
before: String
): MoveFunctionConnection
bytes: Base64
disassembly: String
}
Fields
MoveModule.package
● MovePackage!
non-null object
The package that this Move module was defined in
MoveModule.name
● String!
non-null scalar
The module's (unqualified) name.
MoveModule.fileFormatVersion
● Int!
non-null scalar
Format version of this module's bytecode.
MoveModule.friends
● MoveModuleConnection!
non-null object
Modules that this module considers friends (these modules can access
public(friend)
functions from this module).
MoveModule.friends.first
●Int
scalar
MoveModule.friends.after
● String
scalar
MoveModule.friends.last
● Int
scalar
MoveModule.friends.before
● String
scalar
MoveModule.struct
● MoveStruct
object
Look-up the definition of a struct defined in this module, by its name.
MoveModule.struct.name
●String!
non-null scalar
MoveModule.structs
● MoveStructConnection
object
Iterate through the structs defined in this module.
MoveModule.structs.first
●Int
scalar
MoveModule.structs.after
● String
scalar
MoveModule.structs.last
● Int
scalar
MoveModule.structs.before
● String
scalar
MoveModule.enum
● MoveEnum
object
Look-up the definition of a enum defined in this module, by its name.
MoveModule.enum.name
●String!
non-null scalar
MoveModule.enums
● MoveEnumConnection
object
Iterate through the enums defined in this module.
MoveModule.enums.first
●Int
scalar
MoveModule.enums.after
● String
scalar
MoveModule.enums.last
● Int
scalar
MoveModule.enums.before
● String
scalar
MoveModule.datatype
● MoveDatatype
object
Look-up the definition of a datatype (struct or enum) defined in this module, by its name.
MoveModule.datatype.name
●String!
non-null scalar
MoveModule.datatypes
● MoveDatatypeConnection
object
Iterate through the datatypes (enmums and structs) defined in this module.
MoveModule.datatypes.first
●Int
scalar
MoveModule.datatypes.after
● String
scalar
MoveModule.datatypes.last
● Int
scalar
MoveModule.datatypes.before
● String
scalar
MoveModule.function
● MoveFunction
object
Look-up the signature of a function defined in this module, by its name.
MoveModule.function.name
●String!
non-null scalar
MoveModule.functions
● MoveFunctionConnection
object
Iterate through the signatures of functions defined in this module.
MoveModule.functions.first
●Int
scalar
MoveModule.functions.after
● String
scalar
MoveModule.functions.last
● Int
scalar
MoveModule.functions.before
● String
scalar
MoveModule.bytes
● Base64
scalar
The Base64 encoded bcs serialization of the module.
MoveModule.disassembly
● String
scalar
Textual representation of the module's bytecode.
Member Of
Event
object ● IMoveDatatype
interface ● MoveDatatype
object ● MoveEnum
object ● MoveFunction
object ● MoveModuleConnection
object ● MoveModuleEdge
object ● MovePackage
object ● MoveStruct
object