embark/site/source
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
..
_data feat(plugins/scripts-runner): introduce exec command to run scripts 2020-02-12 16:47:04 -06:00
_posts build(deps): bump web3[-*] from 1.2.4 to 1.2.6 2020-02-03 10:17:07 -06:00
assets/images article: add web3 intro article 2019-12-09 20:37:31 +01:00
chat chore: move embark site into mono repo 2019-04-29 13:00:58 +02:00
community chore: localize static sites 2019-06-20 10:49:26 +02:00
docs feat(plugins/specialconfigs): adds support for Smart Contract args as functions 2020-03-03 10:14:58 +01:00
news chore: localize static sites 2019-06-20 10:49:26 +02:00
plugins chore: localize static sites 2019-06-20 10:49:26 +02:00
templates chore(@embark/site): Add `—template` deprecation notice. 2019-12-11 09:39:20 -05:00
tutorials chore: move embark site into mono repo 2019-04-29 13:00:58 +02:00
CNAME chore: update site urls 2020-01-28 12:07:17 -05:00
browserconfig.xml chore: move embark site into mono repo 2019-04-29 13:00:58 +02:00
coverage-files.png chore: move embark site into mono repo 2019-04-29 13:00:58 +02:00
coverage-report.png chore: move embark site into mono repo 2019-04-29 13:00:58 +02:00
embark-logo.svg chore: move embark site into mono repo 2019-04-29 13:00:58 +02:00
favicon.ico chore: move embark site into mono repo 2019-04-29 13:00:58 +02:00
index.md chore: localize static sites 2019-06-20 10:49:26 +02:00
robots.txt chore: move embark site into mono repo 2019-04-29 13:00:58 +02:00