aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/components/onboarding
diff options
context:
space:
mode:
authorfragosti <francesco.agosti93@gmail.com>2018-06-07 02:47:11 +0800
committerfragosti <francesco.agosti93@gmail.com>2018-06-07 02:47:11 +0800
commit612cc96e417c1397e1874be22208864f12acbda3 (patch)
tree15b4a008804cb691fec0ee2f179332ee7e10a57e /packages/website/ts/components/onboarding
parent3898b8e8ab083689221e39de6b18fe31e6699d38 (diff)
downloaddexon-sol-tools-612cc96e417c1397e1874be22208864f12acbda3.tar
dexon-sol-tools-612cc96e417c1397e1874be22208864f12acbda3.tar.gz
dexon-sol-tools-612cc96e417c1397e1874be22208864f12acbda3.tar.bz2
dexon-sol-tools-612cc96e417c1397e1874be22208864f12acbda3.tar.lz
dexon-sol-tools-612cc96e417c1397e1874be22208864f12acbda3.tar.xz
dexon-sol-tools-612cc96e417c1397e1874be22208864f12acbda3.tar.zst
dexon-sol-tools-612cc96e417c1397e1874be22208864f12acbda3.zip
Add utilities for getting tokens from tokensByAddress
Diffstat (limited to 'packages/website/ts/components/onboarding')
-rw-r--r--packages/website/ts/components/onboarding/portal_onboarding_flow.tsx3
1 files changed, 3 insertions, 0 deletions
diff --git a/packages/website/ts/components/onboarding/portal_onboarding_flow.tsx b/packages/website/ts/components/onboarding/portal_onboarding_flow.tsx
index 65cb20733..55d89d61e 100644
--- a/packages/website/ts/components/onboarding/portal_onboarding_flow.tsx
+++ b/packages/website/ts/components/onboarding/portal_onboarding_flow.tsx
@@ -2,12 +2,14 @@ import * as _ from 'lodash';
import * as React from 'react';
import { BigNumber } from '@0xproject/utils';
+import { Blockchain } from 'ts/blockchain';
import { OnboardingFlow, Step } from 'ts/components/onboarding/onboarding_flow';
import { ProviderType, TokenByAddress, TokenStateByAddress } from 'ts/types';
import { utils } from 'ts/utils/utils';
import { AllowanceToggle } from 'ts/containers/inputs/allowance_toggle';
export interface PortalOnboardingFlowProps {
+ blockchain: Blockchain;
stepIndex: number;
isRunning: boolean;
userAddress: string;
@@ -20,6 +22,7 @@ export interface PortalOnboardingFlowProps {
trackedTokenStateByAddress: TokenStateByAddress;
updateIsRunning: (isRunning: boolean) => void;
updateOnboardingStep: (stepIndex: number) => void;
+ refetchTokenStateAsync: (tokenAddress: string) => Promise<void>;
}
export class PortalOnboardingFlow extends React.Component<PortalOnboardingFlowProps> {