This repository has been archived by the owner on Sep 15, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BREAKING CHANGE: abi wrappers are now exported per version and with version names
- Loading branch information
Showing
503 changed files
with
128,636 additions
and
5,797 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
1 change: 1 addition & 0 deletions
1
lib/src/generated-wrappers/3.0.0/blacklist_transfer_manager.d.ts.map
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
1 change: 1 addition & 0 deletions
1
lib/src/generated-wrappers/3.0.0/blacklist_transfer_manager.js.map
Large diffs are not rendered by default.
Oops, something went wrong.
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,192 @@ | ||
import { BaseContract } from '@0x/base-contract'; | ||
import { BlockParamLiteral, CallData, ContractAbi, DecodedLogArgs, TxData, SupportedProvider, AbiDefinition } from 'ethereum-types'; | ||
import { BigNumber } from '@0x/utils'; | ||
import { PolyResponse } from '../../PolyResponse'; | ||
export declare type CappedSTOEventArgs_3_0_0 = CappedSTOTokenPurchaseEventArgs_3_0_0 | CappedSTOSetAllowBeneficialInvestmentsEventArgs_3_0_0 | CappedSTOPauseEventArgs_3_0_0 | CappedSTOUnpauseEventArgs_3_0_0 | CappedSTOSetFundRaiseTypesEventArgs_3_0_0; | ||
export declare enum CappedSTOEvents_3_0_0 { | ||
TokenPurchase = "TokenPurchase", | ||
SetAllowBeneficialInvestments = "SetAllowBeneficialInvestments", | ||
Pause = "Pause", | ||
Unpause = "Unpause", | ||
SetFundRaiseTypes = "SetFundRaiseTypes" | ||
} | ||
export interface CappedSTOTokenPurchaseEventArgs_3_0_0 extends DecodedLogArgs { | ||
purchaser: string; | ||
beneficiary: string; | ||
value: BigNumber; | ||
amount: BigNumber; | ||
} | ||
export interface CappedSTOSetAllowBeneficialInvestmentsEventArgs_3_0_0 extends DecodedLogArgs { | ||
_allowed: boolean; | ||
} | ||
export interface CappedSTOPauseEventArgs_3_0_0 extends DecodedLogArgs { | ||
account: string; | ||
} | ||
export interface CappedSTOUnpauseEventArgs_3_0_0 extends DecodedLogArgs { | ||
account: string; | ||
} | ||
export interface CappedSTOSetFundRaiseTypesEventArgs_3_0_0 extends DecodedLogArgs { | ||
_fundRaiseTypes: BigNumber[]; | ||
} | ||
export declare class CappedSTOContract_3_0_0 extends BaseContract { | ||
private _defaultEstimateGasFactor; | ||
reclaimETH: { | ||
sendTransactionAsync(txData?: Partial<TxData> | undefined, estimateGasFactor?: number | undefined): Promise<PolyResponse>; | ||
estimateGasAsync(factor?: number | undefined, txData?: Partial<TxData> | undefined): Promise<number>; | ||
callAsync(callData?: Partial<CallData>, defaultBlock?: number | BlockParamLiteral | undefined): Promise<void>; | ||
getABIEncodedTransactionData(): string; | ||
}; | ||
ADMIN: { | ||
callAsync(callData?: Partial<CallData>, defaultBlock?: number | BlockParamLiteral | undefined): Promise<string>; | ||
getABIEncodedTransactionData(): string; | ||
}; | ||
rate: { | ||
callAsync(callData?: Partial<CallData>, defaultBlock?: number | BlockParamLiteral | undefined): Promise<BigNumber>; | ||
getABIEncodedTransactionData(): string; | ||
}; | ||
allowBeneficialInvestments: { | ||
callAsync(callData?: Partial<CallData>, defaultBlock?: number | BlockParamLiteral | undefined): Promise<boolean>; | ||
getABIEncodedTransactionData(): string; | ||
}; | ||
endTime: { | ||
callAsync(callData?: Partial<CallData>, defaultBlock?: number | BlockParamLiteral | undefined): Promise<BigNumber>; | ||
getABIEncodedTransactionData(): string; | ||
}; | ||
cap: { | ||
callAsync(callData?: Partial<CallData>, defaultBlock?: number | BlockParamLiteral | undefined): Promise<BigNumber>; | ||
getABIEncodedTransactionData(): string; | ||
}; | ||
unpause: { | ||
sendTransactionAsync(txData?: Partial<TxData> | undefined, estimateGasFactor?: number | undefined): Promise<PolyResponse>; | ||
estimateGasAsync(factor?: number | undefined, txData?: Partial<TxData> | undefined): Promise<number>; | ||
callAsync(callData?: Partial<CallData>, defaultBlock?: number | BlockParamLiteral | undefined): Promise<void>; | ||
getABIEncodedTransactionData(): string; | ||
}; | ||
wallet: { | ||
callAsync(callData?: Partial<CallData>, defaultBlock?: number | BlockParamLiteral | undefined): Promise<string>; | ||
getABIEncodedTransactionData(): string; | ||
}; | ||
paused: { | ||
callAsync(callData?: Partial<CallData>, defaultBlock?: number | BlockParamLiteral | undefined): Promise<boolean>; | ||
getABIEncodedTransactionData(): string; | ||
}; | ||
totalTokensSold: { | ||
callAsync(callData?: Partial<CallData>, defaultBlock?: number | BlockParamLiteral | undefined): Promise<BigNumber>; | ||
getABIEncodedTransactionData(): string; | ||
}; | ||
investors: { | ||
callAsync(index_0: string, callData?: Partial<CallData>, defaultBlock?: number | BlockParamLiteral | undefined): Promise<BigNumber>; | ||
getABIEncodedTransactionData(index_0: string): string; | ||
}; | ||
polyToken: { | ||
callAsync(callData?: Partial<CallData>, defaultBlock?: number | BlockParamLiteral | undefined): Promise<string>; | ||
getABIEncodedTransactionData(): string; | ||
}; | ||
startTime: { | ||
callAsync(callData?: Partial<CallData>, defaultBlock?: number | BlockParamLiteral | undefined): Promise<BigNumber>; | ||
getABIEncodedTransactionData(): string; | ||
}; | ||
pause: { | ||
sendTransactionAsync(txData?: Partial<TxData> | undefined, estimateGasFactor?: number | undefined): Promise<PolyResponse>; | ||
estimateGasAsync(factor?: number | undefined, txData?: Partial<TxData> | undefined): Promise<number>; | ||
callAsync(callData?: Partial<CallData>, defaultBlock?: number | BlockParamLiteral | undefined): Promise<void>; | ||
getABIEncodedTransactionData(): string; | ||
}; | ||
reclaimERC20: { | ||
sendTransactionAsync(_tokenContract: string, txData?: Partial<TxData> | undefined, estimateGasFactor?: number | undefined): Promise<PolyResponse>; | ||
estimateGasAsync(_tokenContract: string, factor?: number | undefined, txData?: Partial<TxData> | undefined): Promise<number>; | ||
callAsync(_tokenContract: string, callData?: Partial<CallData>, defaultBlock?: number | BlockParamLiteral | undefined): Promise<void>; | ||
getABIEncodedTransactionData(_tokenContract: string): string; | ||
}; | ||
OPERATOR: { | ||
callAsync(callData?: Partial<CallData>, defaultBlock?: number | BlockParamLiteral | undefined): Promise<string>; | ||
getABIEncodedTransactionData(): string; | ||
}; | ||
getRaised: { | ||
callAsync(_fundRaiseType: number | BigNumber, callData?: Partial<CallData>, defaultBlock?: number | BlockParamLiteral | undefined): Promise<BigNumber>; | ||
getABIEncodedTransactionData(_fundRaiseType: number | BigNumber): string; | ||
}; | ||
pausedTime: { | ||
callAsync(callData?: Partial<CallData>, defaultBlock?: number | BlockParamLiteral | undefined): Promise<BigNumber>; | ||
getABIEncodedTransactionData(): string; | ||
}; | ||
securityToken: { | ||
callAsync(callData?: Partial<CallData>, defaultBlock?: number | BlockParamLiteral | undefined): Promise<string>; | ||
getABIEncodedTransactionData(): string; | ||
}; | ||
factory: { | ||
callAsync(callData?: Partial<CallData>, defaultBlock?: number | BlockParamLiteral | undefined): Promise<string>; | ||
getABIEncodedTransactionData(): string; | ||
}; | ||
fundsRaised: { | ||
callAsync(index_0: number | BigNumber, callData?: Partial<CallData>, defaultBlock?: number | BlockParamLiteral | undefined): Promise<BigNumber>; | ||
getABIEncodedTransactionData(index_0: number | BigNumber): string; | ||
}; | ||
fundRaiseTypes: { | ||
callAsync(index_0: number | BigNumber, callData?: Partial<CallData>, defaultBlock?: number | BlockParamLiteral | undefined): Promise<boolean>; | ||
getABIEncodedTransactionData(index_0: number | BigNumber): string; | ||
}; | ||
investorCount: { | ||
callAsync(callData?: Partial<CallData>, defaultBlock?: number | BlockParamLiteral | undefined): Promise<BigNumber>; | ||
getABIEncodedTransactionData(): string; | ||
}; | ||
getDataStore: { | ||
callAsync(callData?: Partial<CallData>, defaultBlock?: number | BlockParamLiteral | undefined): Promise<string>; | ||
getABIEncodedTransactionData(): string; | ||
}; | ||
configure: { | ||
sendTransactionAsync(_startTime: BigNumber, _endTime: BigNumber, _cap: BigNumber, _rate: BigNumber, _fundRaiseTypes: (number | BigNumber)[], _fundsReceiver: string, txData?: Partial<TxData> | undefined, estimateGasFactor?: number | undefined): Promise<PolyResponse>; | ||
estimateGasAsync(_startTime: BigNumber, _endTime: BigNumber, _cap: BigNumber, _rate: BigNumber, _fundRaiseTypes: (number | BigNumber)[], _fundsReceiver: string, factor?: number | undefined, txData?: Partial<TxData> | undefined): Promise<number>; | ||
callAsync(_startTime: BigNumber, _endTime: BigNumber, _cap: BigNumber, _rate: BigNumber, _fundRaiseTypes: (number | BigNumber)[], _fundsReceiver: string, callData?: Partial<CallData>, defaultBlock?: number | BlockParamLiteral | undefined): Promise<void>; | ||
getABIEncodedTransactionData(_startTime: BigNumber, _endTime: BigNumber, _cap: BigNumber, _rate: BigNumber, _fundRaiseTypes: (number | BigNumber)[], _fundsReceiver: string): string; | ||
}; | ||
getInitFunction: { | ||
callAsync(callData?: Partial<CallData>, defaultBlock?: number | BlockParamLiteral | undefined): Promise<string>; | ||
getABIEncodedTransactionData(): string; | ||
}; | ||
changeAllowBeneficialInvestments: { | ||
sendTransactionAsync(_allowBeneficialInvestments: boolean, txData?: Partial<TxData> | undefined, estimateGasFactor?: number | undefined): Promise<PolyResponse>; | ||
estimateGasAsync(_allowBeneficialInvestments: boolean, factor?: number | undefined, txData?: Partial<TxData> | undefined): Promise<number>; | ||
callAsync(_allowBeneficialInvestments: boolean, callData?: Partial<CallData>, defaultBlock?: number | BlockParamLiteral | undefined): Promise<void>; | ||
getABIEncodedTransactionData(_allowBeneficialInvestments: boolean): string; | ||
}; | ||
buyTokens: { | ||
sendTransactionAsync(_beneficiary: string, txData?: Partial<TxData> | undefined, estimateGasFactor?: number | undefined): Promise<PolyResponse>; | ||
estimateGasAsync(_beneficiary: string, factor?: number | undefined, txData?: Partial<TxData> | undefined): Promise<number>; | ||
callAsync(_beneficiary: string, callData?: Partial<CallData>, defaultBlock?: number | BlockParamLiteral | undefined): Promise<void>; | ||
getABIEncodedTransactionData(_beneficiary: string): string; | ||
}; | ||
buyTokensWithPoly: { | ||
sendTransactionAsync(_investedPOLY: BigNumber, txData?: Partial<TxData> | undefined, estimateGasFactor?: number | undefined): Promise<PolyResponse>; | ||
estimateGasAsync(_investedPOLY: BigNumber, factor?: number | undefined, txData?: Partial<TxData> | undefined): Promise<number>; | ||
callAsync(_investedPOLY: BigNumber, callData?: Partial<CallData>, defaultBlock?: number | BlockParamLiteral | undefined): Promise<void>; | ||
getABIEncodedTransactionData(_investedPOLY: BigNumber): string; | ||
}; | ||
capReached: { | ||
callAsync(callData?: Partial<CallData>, defaultBlock?: number | BlockParamLiteral | undefined): Promise<boolean>; | ||
getABIEncodedTransactionData(): string; | ||
}; | ||
getTokensSold: { | ||
callAsync(callData?: Partial<CallData>, defaultBlock?: number | BlockParamLiteral | undefined): Promise<BigNumber>; | ||
getABIEncodedTransactionData(): string; | ||
}; | ||
getPermissions: { | ||
callAsync(callData?: Partial<CallData>, defaultBlock?: number | BlockParamLiteral | undefined): Promise<string[]>; | ||
getABIEncodedTransactionData(): string; | ||
}; | ||
getSTODetails: { | ||
callAsync(callData?: Partial<CallData>, defaultBlock?: number | BlockParamLiteral | undefined): Promise<[BigNumber, BigNumber, BigNumber, BigNumber, BigNumber, BigNumber, BigNumber, boolean]>; | ||
getABIEncodedTransactionData(): string; | ||
}; | ||
static deployAsync(bytecode: string, abi: ContractAbi, supportedProvider: SupportedProvider, txDefaults: Partial<TxData>, _securityToken: string, _polyToken: string): Promise<CappedSTOContract_3_0_0>; | ||
/** | ||
* @returns The contract ABI | ||
*/ | ||
static ABI(): ContractAbi; | ||
/** | ||
* To add ABIs to the decoder to decode every event log emmited | ||
*/ | ||
addABItoDecoder(abiArray: AbiDefinition[], contractName?: string): void; | ||
constructor(address: string, supportedProvider: SupportedProvider, txDefaults?: Partial<TxData>, defaultEstimateGasFactor?: number); | ||
} | ||
//# sourceMappingURL=capped_s_t_o.d.ts.map |
Oops, something went wrong.