MCPcopy Create free account
hub / github.com/ccxt/ccxt / encode

Method encode

python/ccxt/static_dependencies/ethereum/abi/codec.py:98–103  ·  view source on GitHub ↗
(self, types, args)

Source from the content-addressed store, hash-verified

96 return self.encode(types, args)
97
98 def encode(self, types, args):
99 encoders = [self._registry.get_encoder(type_str) for type_str in types]
100
101 encoder = TupleEncoder(encoders=encoders)
102
103 return encoder(args)
104
105 def is_encodable(self, typ: TypeStr, arg: Any) -> bool:
106 """

Callers 15

encode_abiMethod · 0.95
encode_integerFunction · 0.45
encode_lengthFunction · 0.45
unpemFunction · 0.45
topemFunction · 0.45
block_generatorMethod · 0.45
number_to_stringFunction · 0.45
number_to_string_cropFunction · 0.45
from_pemMethod · 0.45
_round_constantFunction · 0.45
get_storage_var_addressFunction · 0.45
get_selector_from_nameFunction · 0.45

Calls 2

TupleEncoderClass · 0.85
get_encoderMethod · 0.80

Tested by

no test coverage detected