aboutsummaryrefslogtreecommitdiffstats
path: root/app/scripts/metamask-controller.js
diff options
context:
space:
mode:
authorFrankie <frankie.pangilinan@consensys.net>2016-08-19 01:40:35 +0800
committerFrankie <frankie.pangilinan@consensys.net>2016-08-19 02:04:28 +0800
commit752d16f6c072b0dd54eb245209881a25ff06cb8e (patch)
tree942ce682425b2811c5143028d842e02095712c46 /app/scripts/metamask-controller.js
parent9b1a3fd7f36adfacd46de78f4f60e26eca6edd16 (diff)
downloadtangerine-wallet-browser-752d16f6c072b0dd54eb245209881a25ff06cb8e.tar
tangerine-wallet-browser-752d16f6c072b0dd54eb245209881a25ff06cb8e.tar.gz
tangerine-wallet-browser-752d16f6c072b0dd54eb245209881a25ff06cb8e.tar.bz2
tangerine-wallet-browser-752d16f6c072b0dd54eb245209881a25ff06cb8e.tar.lz
tangerine-wallet-browser-752d16f6c072b0dd54eb245209881a25ff06cb8e.tar.xz
tangerine-wallet-browser-752d16f6c072b0dd54eb245209881a25ff06cb8e.tar.zst
tangerine-wallet-browser-752d16f6c072b0dd54eb245209881a25ff06cb8e.zip
WIP: ShapeShift tx
Diffstat (limited to 'app/scripts/metamask-controller.js')
-rw-r--r--app/scripts/metamask-controller.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/app/scripts/metamask-controller.js b/app/scripts/metamask-controller.js
index 2c141a402..d34f594d7 100644
--- a/app/scripts/metamask-controller.js
+++ b/app/scripts/metamask-controller.js
@@ -59,6 +59,8 @@ module.exports = class MetamaskController {
recoverSeed: idStore.recoverSeed.bind(idStore),
// coinbase
buyEth: this.buyEth.bind(this),
+ // shapeshift
+ createShapeShiftTx : this.createShapeShiftTx.bind(this),
}
}
@@ -287,6 +289,10 @@ module.exports = class MetamaskController {
})
}
+ createShapeShiftTx (depositAddress, depositType) {
+ this.configManager.createShapeShiftTx(depositAddress, depositType)
+ }
+
}
function noop () {}