embark/site/source/docs
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
..
bamboo.md chore: rename org references from embark-framework to embarklabs 2020-01-16 15:36:29 -05:00
blockchain_accounts_configuration.md refactor: initial steps toward 5.0.0-alpha.0 (#1856) 2019-08-30 16:50:20 -04:00
blockchain_configuration.md chore: update site urls 2020-01-28 12:07:17 -05:00
cockpit_dashboard.md chore: move embark site into mono repo 2019-04-29 13:00:58 +02:00
cockpit_debugger.md chore: move embark site into mono repo 2019-04-29 13:00:58 +02:00
cockpit_deployment.md chore: move embark site into mono repo 2019-04-29 13:00:58 +02:00
cockpit_editor.md chore: move embark site into mono repo 2019-04-29 13:00:58 +02:00
cockpit_explorer.md chore: move embark site into mono repo 2019-04-29 13:00:58 +02:00
cockpit_introduction.md chore: move embark site into mono repo 2019-04-29 13:00:58 +02:00
cockpit_utils.md chore: move embark site into mono repo 2019-04-29 13:00:58 +02:00
configuration.md refactor(@embark/library-manager): restrict versionable packages to only solc 2019-11-08 11:27:20 -06:00
console_commands.md chore: move embark site into mono repo 2019-04-29 13:00:58 +02:00
contracts_configuration.md feat(plugins/specialconfigs): adds support for Smart Contract args as functions 2020-03-03 10:14:58 +01:00
contracts_deployment.md refactor: initial steps toward 5.0.0-alpha.0 (#1856) 2019-08-30 16:50:20 -04:00
contracts_imports.md refactor: initial steps toward 5.0.0-alpha.0 (#1856) 2019-08-30 16:50:20 -04:00
contracts_javascript.md chore: move embark site into mono repo 2019-04-29 13:00:58 +02:00
contracts_testing.md docs(@embark/site): improve documentation on global test function 2020-02-03 13:00:33 -05:00
contributing.md chore: rename org references from embark-framework to embarklabs 2020-01-16 15:36:29 -05:00
create_project.md chore: rename org references from embark-framework to embarklabs 2020-01-16 15:36:29 -05:00
creating_plugins.md chore: move embark site into mono repo 2019-04-29 13:00:58 +02:00
dashboard.md chore: move embark site into mono repo 2019-04-29 13:00:58 +02:00
embark_commands.md feat(plugins/scripts-runner): introduce exec command to run scripts 2020-02-12 16:47:04 -06:00
environments.md refactor: initial steps toward 5.0.0-alpha.0 (#1856) 2019-08-30 16:50:20 -04:00
executing_scripts.md feat(plugins/scripts-runner): introduce exec command to run scripts 2020-02-12 16:47:04 -06:00
faq.md 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
installation.md chore: rename org references from embark-framework to embarklabs 2020-01-16 15:36:29 -05:00
installing_embarkjs.md build(deps): bump web3[-*] from 1.2.4 to 1.2.6 2020-02-03 10:17:07 -06:00
installing_plugins.md chore: move embark site into mono repo 2019-04-29 13:00:58 +02:00
javascript_usage.md build(deps): bump web3[-*] from 1.2.4 to 1.2.6 2020-02-03 10:17:07 -06:00
messages_configuration.md feat(@embark/whisper): Add Whisper client config 2019-12-11 11:12:18 -05:00
messages_javascript.md docs: fix Messages.listenTo() API docs 2019-06-20 15:30:44 +02:00
migrating_from_3.x.md docs(@embark/site): add migration guide to Embark v5 2020-01-14 17:42:47 +01:00
naming_configuration.md doc(@embark/ens): document $accounts for ENS configuration 2020-02-06 12:36:36 -05:00
naming_javascript.md chore: move embark site into mono repo 2019-04-29 13:00:58 +02:00
overview.md chore: rename org references from embark-framework to embarklabs 2020-01-16 15:36:29 -05:00
pipeline_and_webpack.md chore: move embark site into mono repo 2019-04-29 13:00:58 +02:00
plugin_reference.md fix(@embark/proxy): Fix unsubsribe handling and add new provider 2019-11-21 15:38:48 +01:00
quick_start.md chore: move embark site into mono repo 2019-04-29 13:00:58 +02:00
running_apps.md chore: move embark site into mono repo 2019-04-29 13:00:58 +02:00
sending_and_receiving_messages.md chore: move embark site into mono repo 2019-04-29 13:00:58 +02:00
smart_contract_objects.md build(deps): bump web3[-*] from 1.2.4 to 1.2.6 2020-02-03 10:17:07 -06:00
solidity.md chore: move embark site into mono repo 2019-04-29 13:00:58 +02:00
storage_configuration.md refactor(@embark/library-manager): restrict versionable packages to only solc 2019-11-08 11:27:20 -06:00
storage_deployment.md chore: move embark site into mono repo 2019-04-29 13:00:58 +02:00
storage_javascript.md chore: move embark site into mono repo 2019-04-29 13:00:58 +02:00
structure.md fix(@embark/site): fix configuring contract link in structure.md 2019-07-15 09:16:09 +02:00
troubleshooting.md chore: rename org references from embark-framework to embarklabs 2020-01-16 15:36:29 -05:00
using_storages.md chore: move embark site into mono repo 2019-04-29 13:00:58 +02:00
using_the_console.md docs: remove docs for `service` command (#2023) 2019-11-05 10:21:02 -05:00
vyper.md chore: move embark site into mono repo 2019-04-29 13:00:58 +02:00
web3js.md build(deps): bump web3[-*] from 1.2.4 to 1.2.6 2020-02-03 10:17:07 -06:00
webpack.md chore: move embark site into mono repo 2019-04-29 13:00:58 +02:00
what_dapp.md chore: move embark site into mono repo 2019-04-29 13:00:58 +02:00
working_with_name_systems.md chore: move embark site into mono repo 2019-04-29 13:00:58 +02:00