embark/packages/plugins
Pascal Precht a4a0e9dc33 feat(plugins/specialconfigs): adds support for Smart Contract args as functions
This commit introduces a new feature that enables users to calculate Smart Contract
constructor arguments lazily using an (async) function. Similar to normal Smart Contract
configurations, the return or resolved value from that function has to be either a list
of arguments in the order as they are needed for the constructor, or as an object with
named members that match the arguments individually.

```
...
development: {
  deploy: {
    SimpleStorage: {
      args: async ({ contracts, web3, logger}) => {
        // do something with `contracts` and `web3` to determine
        // arguments
        let someValue = await ...;
        return [someValue];

        // or
        return {
          initialValue: someValue
        };
      }
    }
  }
}
...
```

Closes #2270
2020-03-03 10:14:58 +01:00
..
accounts-manager chore(prerelease): 5.3.0-nightly.2 2020-03-03 00:14:47 +00:00
basic-pipeline chore(prerelease): 5.3.0-nightly.2 2020-03-03 00:14:47 +00:00
coverage chore(prerelease): 5.3.0-nightly.2 2020-03-03 00:14:47 +00:00
debugger chore(release): 5.2.3 2020-02-25 15:09:29 -06:00
deploy-tracker chore(prerelease): 5.3.0-nightly.2 2020-03-03 00:14:47 +00:00
ens feat(plugins/specialconfigs): adds support for Smart Contract args as functions 2020-03-03 10:14:58 +01:00
ethereum-blockchain-client chore(prerelease): 5.3.0-nightly.2 2020-03-03 00:14:47 +00:00
ganache chore(prerelease): 5.3.0-nightly.2 2020-03-03 00:14:47 +00:00
geth chore(prerelease): 5.3.0-nightly.2 2020-03-03 00:14:47 +00:00
graph chore(prerelease): 5.3.0-nightly.2 2020-03-03 00:14:47 +00:00
ipfs chore(prerelease): 5.3.0-nightly.2 2020-03-03 00:14:47 +00:00
mocha-tests chore(prerelease): 5.3.0-nightly.2 2020-03-03 00:14:47 +00:00
nethermind chore(prerelease): 5.3.0-nightly.2 2020-03-03 00:14:47 +00:00
parity chore(prerelease): 5.3.0-nightly.2 2020-03-03 00:14:47 +00:00
plugin-cmd chore(prerelease): 5.3.0-nightly.2 2020-03-03 00:14:47 +00:00
profiler chore(prerelease): 5.3.0-nightly.2 2020-03-03 00:14:47 +00:00
rpc-manager chore(prerelease): 5.3.0-nightly.2 2020-03-03 00:14:47 +00:00
scaffolding chore(prerelease): 5.3.0-nightly.2 2020-03-03 00:14:47 +00:00
scripts-runner chore(prerelease): 5.3.0-nightly.2 2020-03-03 00:14:47 +00:00
snark chore(prerelease): 5.3.0-nightly.2 2020-03-03 00:14:47 +00:00
solc chore(release): 5.2.3 2020-02-25 15:09:29 -06:00
solidity chore(prerelease): 5.3.0-nightly.2 2020-03-03 00:14:47 +00:00
solidity-tests chore(prerelease): 5.3.0-nightly.2 2020-03-03 00:14:47 +00:00
specialconfigs feat(plugins/specialconfigs): adds support for Smart Contract args as functions 2020-03-03 10:14:58 +01:00
suggestions chore(prerelease): 5.3.0-nightly.2 2020-03-03 00:14:47 +00:00
swarm chore(prerelease): 5.3.0-nightly.2 2020-03-03 00:14:47 +00:00
transaction-logger chore(prerelease): 5.3.0-nightly.2 2020-03-03 00:14:47 +00:00
transaction-tracker chore(release): 5.2.3 2020-02-25 15:09:29 -06:00
vyper chore(release): 5.2.3 2020-02-25 15:09:29 -06:00
web3 chore(prerelease): 5.3.0-nightly.2 2020-03-03 00:14:47 +00:00
whisper-geth chore(prerelease): 5.3.0-nightly.2 2020-03-03 00:14:47 +00:00
whisper-parity chore(prerelease): 5.3.0-nightly.2 2020-03-03 00:14:47 +00:00
.gitignore build: tidy up the monorepo in prep for v5.0.0-alpha.0 2019-10-01 13:29:53 -05:00