pub struct Msg<C> {
pub call: C,
pub caller: H160,
pub value: U256,
}
Expand description
Ethereum typed call message, similar to solidity
msg
object.
Fields§
§call: C
§caller: H160
Address of user, which called this contract.
value: U256
Payment amount to contract.
Contract should reject payment, if target call is not payable,
and there is no receiver()
function defined.