added lots of shapeshift related code

This commit is contained in:
Kadir Sekha 2017-12-08 18:02:30 +09:00
commit c4c8008573
12 changed files with 669 additions and 0 deletions

View file

@ -0,0 +1,19 @@
<div ng-if="depositInfo">
<div>
{{DepositStatus.status}}
</div>
<div>
<qrcode version="20" error-correction-level="H" size=200 data="{{depositInfo.depositQR}}"></qrcode>
</div>
<div>
<div>Deposit Type: {{depositInfo.depositType}}</div>
<div ng-if="depositInfo.depositAmount">Deposit Amount: {{depositInfo.depositAmount}}</div>
<div>Deposit Address: {{depositInfo.deposit}}</div>
<div>Withdrawal Type: {{depositInfo.withdrawalType}}</div>
<div>Withdrawal Address: {{depositInfo.withdrawal}}</div>
<div ng-if="depositInfo.withdrawalAmount">Withdrawal Amount: {{depositInfo.withdrawalAmount}}</div>
<div ng-if="depositInfo.quotedRate">Quoted Rate: {{depositInfo.quotedRate}}</div>
<div ng-if="depositInfo.minerFee">Miner Fee: {{depositInfo.minerFee}}</div>
<div ng-if="depositInfo.expiration">Expires: {{depositInfo.expiration}}</div>
</div>
</div>

View file

@ -0,0 +1,3 @@
<div ng-if="ssError">
<div>{{ssError}}</div>
</div>

View file

@ -0,0 +1,28 @@
<div>
<div>
<select ng-model="selectedCoinModel.coin" ng-change="getMarketData(selectedCoinModel.coin)">
<option ng-repeat="(k, coin) in coins" value="{{coin.symbol}}">
{{coin.symbol}}
</option>
</select>
<br/>
<div>
<div>
<div>
<label>{{ label }}</label>
<input type="text" ng-model="coinAddress">
</div>
<div ng-show="direction=='out'">
<label>Amount</label>
<input type="text" ng-model="amount">
</div>
</div>
<div ng-if="direction=='in'">
<div>Deposit Limit: {{marketData.limit}}</div>
<div>Minimum Amount: {{marketData.minimum}}</div>
<div>MinerFee: {{marketData.minerFee}}</div>
<div>Rate: {{marketData.rate}}</div>
</div>
</div>
</div>
</div>

View file

@ -0,0 +1,5 @@
<div>
<div>
<button type="button" ng-click="shiftIt()">{{ShiftState}}</button>
</div>
</div>

View file

@ -0,0 +1,2 @@
<div class="container" ng-transclude>
</div>