graphenebase.types module

class graphenebase.types.Array(d)

Bases: object

class graphenebase.types.Bool(d)

Bases: graphenebase.types.Uint8

class graphenebase.types.Bytes(d)

Bases: object

class graphenebase.types.Enum8(selection)

Bases: graphenebase.types.Uint8

options = []
class graphenebase.types.Fixed_array

Bases: object

class graphenebase.types.FullObjectId(object_str)

Bases: object

Encodes object ids - serializes to a full object id

class graphenebase.types.Id(d)

Bases: object

class graphenebase.types.Int16(d)

Bases: object

class graphenebase.types.Int64(d)

Bases: object

graphenebase.types.JsonObj(data)

Returns json object from data

class graphenebase.types.Map(data)

Bases: object

class graphenebase.types.ObjectId(object_str, type_verify=None)

Bases: object

Encodes protocol ids - serializes to the instance only!

object_types = {'OBJECT_TYPE_COUNT': 4, 'account': 2, 'asset': 3, 'base': 1, 'null': 0}
class graphenebase.types.Optional(d)

Bases: object

isempty()
class graphenebase.types.PointInTime(d)

Bases: object

class graphenebase.types.Set(d)

Bases: graphenebase.types.Array

class graphenebase.types.Signature(d)

Bases: object

class graphenebase.types.Static_variant(d, type_id)

Bases: object

class graphenebase.types.String(d)

Bases: object

class graphenebase.types.Uint16(d)

Bases: object

class graphenebase.types.Uint32(d)

Bases: object

class graphenebase.types.Uint64(d)

Bases: object

class graphenebase.types.Uint8(d)

Bases: object

class graphenebase.types.Varint32(d)

Bases: object

class graphenebase.types.Void

Bases: object

class graphenebase.types.VoteId(vote)

Bases: object

graphenebase.types.variable_buffer(s)

Encode variable length buffer

graphenebase.types.varint(n)

Varint encoding

graphenebase.types.varintdecode(data)

Varint decoding