-
Notifications
You must be signed in to change notification settings - Fork 87
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Smart Contract Support * moved files * remove unused truffle functions * add contract spec * deploy and deploy_and_wait * Secure the address * fix Contract::Initializer * Enable create from file * fix create contract spec * fix Contract::Event * Implement call to client * AUTHORS * delete create_function_proxies * remove unused methods * fixed args * remove Contract::Deployment * Avoid active_support dependency * remove dependency activesupport * add spec: deploy the contract with key * add spec: legacy transactions * use Eth::Util * Use Eth::Contract for deploy * set and return the contract address * .transact .transact_and_wait * Use keyword argument * add docs * Remove encoder dependencies * Remove decoder dependencies * remove unused methods * add test for Contract::Abi.parse_abi() * remove unused methods * add test FunctionInput & functionOutput * add test for Contract::Function * use Eth::Abi::Type * add test for contract * Documentation of contract class * add test cases for transact and call methods * rufo * Move parse_abi() into contract class * 100.00% documented * use Eth::Address * encoded_function_signature * add docs for client methods * add test for call() * If contract.address is set, use it. * update README * Update lib/eth/client.rb Co-authored-by: Afr Schoe <[email protected]> * Update lib/eth/client.rb Co-authored-by: Afr Schoe <[email protected]> * Update spec/fixtures/contracts/test_contract.sol Co-authored-by: Afr Schoe <[email protected]> * forwardable does not require * Use constant values for smart contract costs Co-authored-by: Afr Schoe <[email protected]>
- Loading branch information
Showing
20 changed files
with
891 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.