com
.
mchange
.
sc
.
v1
.
consuela
.
ethereum
ethabi
package
ethabi
Linear Supertypes
AnyRef
,
Any
Ordering
Alphabetic
By inheritance
Inherited
ethabi
AnyRef
Any
Hide All
Show all
Learn more about member selection
Visibility
Public
All
Type Members
sealed
trait
Decoded
extends
AnyRef
trait
Encoder
[
REP
]
extends
AnyRef
trait
SolidityEvent
extends
AnyRef
Value Members
object
Decoded
object
Encoder
We currently handle the following solidity types.
val
IdentifierLength
:
Int
object
SolidityEvent
def
abiFunctionForFunctionNameAndArgs
(
functionName:
String
,
args:
Seq
[
String
]
,
abi:
Abi
)
:
Failable
[
Function
]
def
abiFunctionForFunctionNameAndTypes
(
functionName:
String
,
functionTypes:
Seq
[
String
]
,
abi:
Abi
)
:
Failable
[
Function
]
def
abiFunctionsForFunctionName
(
functionName:
String
,
abi:
Abi
)
:
Seq
[
Function
]
def
callDataForAbiFunctionFromEncoderRepresentations
(
reps:
Seq
[
Any
]
,
abiFunction:
Function
)
:
Failable
[
Seq
[
Byte
]]
def
callDataForAbiFunctionFromStringArgs
(
args:
Seq
[
String
]
,
abiFunction:
Function
)
:
Failable
[
Seq
[
Byte
]]
def
constructorCallData
(
args:
Seq
[
String
]
,
abi:
Abi
)
:
Failable
[
Seq
[
Byte
]]
def
decodeConstructorArgs
(
constructorArgHex:
Seq
[
Byte
]
,
constructor:
Constructor
)
:
Failable
[
Seq
[
Value
]]
def
decodeFunctionCall
(
abi:
Abi
,
encodedMessage:
Seq
[
Byte
]
)
:
Failable
[(
Function
,
Seq
[
Value
])]
def
decodeOutValues
(
params:
Seq
[
Parameter
]
,
f_encoders:
Failable
[
Seq
[
Encoder
[_]]]
)
(
returnData:
Seq
[
Byte
]
)
:
Failable
[
Seq
[
Value
]]
def
decodeParameters
(
params:
Seq
[
Parameter
]
,
encodedParamBytes:
Seq
[
Byte
]
)
:
Failable
[
Seq
[
Value
]]
def
decodeReturnValuesForFunction
(
returnData:
Seq
[
Byte
]
,
abiFunction:
Function
)
:
Failable
[
Seq
[
Value
]]
def
identifierForAbiFunction
(
function:
Function
)
:
Seq
[
Byte
]
def
identifierForFunctionNameAndArgs
(
functionName:
String
,
args:
Seq
[
String
]
,
abi:
Abi
)
:
Failable
[
Seq
[
Byte
]]
def
identifierForFunctionNameAndTypes
(
functionName:
String
,
functionTypes:
Seq
[
String
]
,
abi:
Abi
)
:
Failable
[
Seq
[
Byte
]]
implicit
lazy val
logger
:
MLogger
def
signatureForAbiFunction
(
function:
Function
)
:
String
def
signatureForFunctionNameAndArgs
(
functionName:
String
,
args:
Seq
[
String
]
,
abi:
Abi
)
:
Failable
[
String
]
def
signatureForFunctionNameAndTypes
(
functionName:
String
,
functionTypes:
Seq
[
String
]
,
abi:
Abi
)
:
Failable
[
String
]
def
solidityTypeIsDynamicLength
(
solidityTypeName:
String
)
:
Failable
[
Boolean
]
Inherited from
AnyRef
Inherited from
Any
Ungrouped