This repository has been archived by the owner on Sep 15, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
164 additions
and
11 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,12 @@ | ||
declare module 'truffle-deployer' { | ||
declare module 'truffle' { | ||
import * as truffle from 'truffle-contract' | ||
|
||
namespace Deployer { } | ||
|
||
class Deployer { | ||
deploy <A> (contract: truffle.TruffleContract<A>, ...args: Array<any>): Promise<void> | ||
link <A, B> (library: truffle.TruffleContract<A>, contract: truffle.TruffleContract<B>): Promise<void> | ||
network_id: string | ||
|
||
interface ArtifactsGlobal { | ||
require <A> (name: string): truffle.TruffleContract<A> | ||
} | ||
|
||
export = Deployer | ||
} | ||
|
||
global { | ||
function contract (name: string, callback: (accounts: Array<string>) => void): void | ||
const artifacts: ArtifactsGlobal | ||
} | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,154 @@ | ||
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. | ||
# yarn lockfile v1 | ||
|
||
|
||
"@machinomy/types-truffle-contract@https://github.com/machinomy/types-truffle-contract": | ||
version "0.0.1" | ||
resolved "https://github.com/machinomy/types-truffle-contract#112f61ec4527a0fbf7c1b9bcc0bedaa6be42caa7" | ||
dependencies: | ||
truffle-contract "^3.0.0" | ||
web3 "^0.20.2" | ||
web3-typescript-typings "https://github.com/0xProject/web3-typescript-typings" | ||
|
||
"@machinomy/types-truffle-deployer@https://github.com/machinomy/types-truffle-deployer": | ||
version "0.0.1" | ||
resolved "https://github.com/machinomy/types-truffle-deployer#4d3b81058de680bae5420884e7d9728868397566" | ||
dependencies: | ||
"@machinomy/types-truffle-contract" "https://github.com/machinomy/types-truffle-contract" | ||
truffle-contract "^3.0.2" | ||
truffle-deployer "^2.0.1" | ||
|
||
ajv@^5.1.1: | ||
version "5.5.2" | ||
resolved "https://registry.yarnpkg.com/ajv/-/ajv-5.5.2.tgz#73b5eeca3fab653e3d3f9422b341ad42205dc965" | ||
dependencies: | ||
co "^4.6.0" | ||
fast-deep-equal "^1.0.0" | ||
fast-json-stable-stringify "^2.0.0" | ||
json-schema-traverse "^0.3.0" | ||
|
||
bignumber.js@^4.0.2: | ||
version "4.1.0" | ||
resolved "https://registry.yarnpkg.com/bignumber.js/-/bignumber.js-4.1.0.tgz#db6f14067c140bd46624815a7916c92d9b6c24b1" | ||
|
||
"bignumber.js@git+https://github.com/frozeman/bignumber.js-nolookahead.git": | ||
version "2.0.7" | ||
resolved "git+https://github.com/frozeman/bignumber.js-nolookahead.git#57692b3ecfc98bbdd6b3a516cb2353652ea49934" | ||
|
||
[email protected]: | ||
version "4.11.6" | ||
resolved "https://registry.yarnpkg.com/bn.js/-/bn.js-4.11.6.tgz#53344adb14617a13f6e8dd2ce28905d1c0ba3215" | ||
|
||
co@^4.6.0: | ||
version "4.6.0" | ||
resolved "https://registry.yarnpkg.com/co/-/co-4.6.0.tgz#6ea6bdf3d853ae54ccb8e47bfa0bf3f9031fb184" | ||
|
||
crypto-js@^3.1.4: | ||
version "3.1.8" | ||
resolved "https://registry.yarnpkg.com/crypto-js/-/crypto-js-3.1.8.tgz#715f070bf6014f2ae992a98b3929258b713f08d5" | ||
|
||
crypto-js@^3.1.9-1: | ||
version "3.1.9-1" | ||
resolved "https://registry.yarnpkg.com/crypto-js/-/crypto-js-3.1.9-1.tgz#fda19e761fc077e01ffbfdc6e9fdfc59e8806cd8" | ||
|
||
[email protected]: | ||
version "0.1.8" | ||
resolved "https://registry.yarnpkg.com/ethjs-abi/-/ethjs-abi-0.1.8.tgz#cd288583ed628cdfadaf8adefa3ba1dbcbca6c18" | ||
dependencies: | ||
bn.js "4.11.6" | ||
js-sha3 "0.5.5" | ||
number-to-bn "1.7.0" | ||
|
||
fast-deep-equal@^1.0.0: | ||
version "1.0.0" | ||
resolved "https://registry.yarnpkg.com/fast-deep-equal/-/fast-deep-equal-1.0.0.tgz#96256a3bc975595eb36d82e9929d060d893439ff" | ||
|
||
fast-json-stable-stringify@^2.0.0: | ||
version "2.0.0" | ||
resolved "https://registry.yarnpkg.com/fast-json-stable-stringify/-/fast-json-stable-stringify-2.0.0.tgz#d5142c0caee6b1189f87d3a76111064f86c8bbf2" | ||
|
||
[email protected]: | ||
version "1.0.0" | ||
resolved "https://registry.yarnpkg.com/is-hex-prefixed/-/is-hex-prefixed-1.0.0.tgz#7d8d37e6ad77e5d127148913c573e082d777f554" | ||
|
||
[email protected]: | ||
version "0.5.5" | ||
resolved "https://registry.yarnpkg.com/js-sha3/-/js-sha3-0.5.5.tgz#baf0c0e8c54ad5903447df96ade7a4a1bca79a4a" | ||
|
||
json-schema-traverse@^0.3.0: | ||
version "0.3.1" | ||
resolved "https://registry.yarnpkg.com/json-schema-traverse/-/json-schema-traverse-0.3.1.tgz#349a6d44c53a51de89b40805c5d5e59b417d3340" | ||
|
||
[email protected]: | ||
version "1.7.0" | ||
resolved "https://registry.yarnpkg.com/number-to-bn/-/number-to-bn-1.7.0.tgz#bb3623592f7e5f9e0030b1977bd41a0c53fe1ea0" | ||
dependencies: | ||
bn.js "4.11.6" | ||
strip-hex-prefix "1.0.0" | ||
|
||
[email protected]: | ||
version "1.0.0" | ||
resolved "https://registry.yarnpkg.com/strip-hex-prefix/-/strip-hex-prefix-1.0.0.tgz#0c5f155fef1151373377de9dbb588da05500e36f" | ||
dependencies: | ||
is-hex-prefixed "1.0.0" | ||
|
||
truffle-blockchain-utils@^0.0.3: | ||
version "0.0.3" | ||
resolved "https://registry.yarnpkg.com/truffle-blockchain-utils/-/truffle-blockchain-utils-0.0.3.tgz#ae8a111ec124d96504f0e042c6f205c0b3817e29" | ||
dependencies: | ||
web3 "^0.20.1" | ||
|
||
truffle-contract-schema@^1.0.0: | ||
version "1.0.1" | ||
resolved "https://registry.yarnpkg.com/truffle-contract-schema/-/truffle-contract-schema-1.0.1.tgz#08ceaefe71062a8ac9ab881a77a30fda3744176e" | ||
dependencies: | ||
ajv "^5.1.1" | ||
crypto-js "^3.1.9-1" | ||
|
||
truffle-contract@^3.0.0, truffle-contract@^3.0.2: | ||
version "3.0.2" | ||
resolved "https://registry.yarnpkg.com/truffle-contract/-/truffle-contract-3.0.2.tgz#6c703e4872898d8329ab7e3c6e38cd65e6c45894" | ||
dependencies: | ||
ethjs-abi "0.1.8" | ||
truffle-blockchain-utils "^0.0.3" | ||
truffle-contract-schema "^1.0.0" | ||
web3 "^0.20.1" | ||
|
||
truffle-deployer@^2.0.1: | ||
version "2.0.1" | ||
resolved "https://registry.yarnpkg.com/truffle-deployer/-/truffle-deployer-2.0.1.tgz#0a38729dcbd58784dac5ae6ad8cea34c7a116f96" | ||
dependencies: | ||
truffle-contract "^3.0.0" | ||
truffle-expect "^0.0.3" | ||
|
||
truffle-expect@^0.0.3: | ||
version "0.0.3" | ||
resolved "https://registry.yarnpkg.com/truffle-expect/-/truffle-expect-0.0.3.tgz#9b75cef343bd596e7e5dbc878f5f1b2e318a944c" | ||
|
||
utf8@^2.1.1: | ||
version "2.1.2" | ||
resolved "https://registry.yarnpkg.com/utf8/-/utf8-2.1.2.tgz#1fa0d9270e9be850d9b05027f63519bf46457d96" | ||
|
||
"web3-typescript-typings@https://github.com/0xProject/web3-typescript-typings": | ||
version "0.9.0" | ||
resolved "https://github.com/0xProject/web3-typescript-typings#eed781384688aa7ebb26f5c302407dcea931e59f" | ||
dependencies: | ||
bignumber.js "^4.0.2" | ||
|
||
web3@^0.20.1, web3@^0.20.2: | ||
version "0.20.4" | ||
resolved "https://registry.yarnpkg.com/web3/-/web3-0.20.4.tgz#400e6579a65bb4a3dde71a6ebf6509afadc33a04" | ||
dependencies: | ||
bignumber.js "git+https://github.com/frozeman/bignumber.js-nolookahead.git" | ||
crypto-js "^3.1.4" | ||
utf8 "^2.1.1" | ||
xhr2 "*" | ||
xmlhttprequest "*" | ||
|
||
xhr2@*: | ||
version "0.1.4" | ||
resolved "https://registry.yarnpkg.com/xhr2/-/xhr2-0.1.4.tgz#7f87658847716db5026323812f818cadab387a5f" | ||
|
||
xmlhttprequest@*: | ||
version "1.8.0" | ||
resolved "https://registry.yarnpkg.com/xmlhttprequest/-/xmlhttprequest-1.8.0.tgz#67fe075c5c24fef39f9d65f5f7b7fe75171968fc" |