MCPcopy
hub / github.com/raiden-network/raiden / EthTransfer

Class EthTransfer

raiden/network/rpc/client.py:801–816  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

799
800@dataclass
801class EthTransfer:
802 to_address: Address
803 value: int
804 gas_price: int
805
806 def __post_init__(self) -> None:
807 typecheck(self.to_address, T_Address)
808 typecheck(self.gas_price, int)
809 typecheck(self.value, int)
810
811 def to_log_details(self) -> Dict[str, Any]:
812 return {
813 "to_address": to_checksum_address(self.to_address),
814 "value": self.value,
815 "gas_price": self.gas_price,
816 }
817
818
819@dataclass

Callers 3

mainFunction · 0.90
send_transactionFunction · 0.90
burn_ethFunction · 0.90

Calls

no outgoing calls

Tested by 1

send_transactionFunction · 0.72