Conversation
|
Makes sense... we can wait for the standard to be updated first though perhaps |
|
@ricktobacco, this line is a bit of a glimpse into the darkest abysses of Solidity. :) At the simplest level, it runs some code on another contract. An example of doing something similar in JavaScript would be something like: Going back to Solidity, the first argument to the solidity call function is the hash of the name/ABI of the function you want to call. Here is an example, calling a function on another contract when you know all about about the other contract, and then calling an arbitrary function on that other contract: https://ethfiddle.com/79HU5M1aCH So if you do a In this identity playground code, someone can submit a contract address and a function hash that they wish the identity to call (using the When doing a call in Solidity, you can also explicitly set the amount of gas to be used and the amount of eth to transfer. This commit explicitly sets an amount to transfer. |
This isn't tested yet — I'm not sure it's desired. The standard should likely be updated first, as per this comment and the next (or the contract should include another
payablefunction). Thoughts?