type
stringclasses
7 values
content
stringlengths
4
9.55k
repo
stringlengths
7
96
path
stringlengths
4
178
language
stringclasses
1 value
FunctionDeclaration
function inner() { print("inner inside", k); }
SamuraiCrow/TypeScriptCompiler
tsc/test/tester/tests/00funcs_capture.ts
TypeScript
FunctionDeclaration
function lambda(k: number) { function inner() { print("inner inside", k); } print("inner"); inner() print("exit inner"); }
SamuraiCrow/TypeScriptCompiler
tsc/test/tester/tests/00funcs_capture.ts
TypeScript
FunctionDeclaration
function inner() { print("inner inside", k); }
SamuraiCrow/TypeScriptCompiler
tsc/test/tester/tests/00funcs_capture.ts
TypeScript
FunctionDeclaration
function main_namespace_inner() { lambda(12); exceptions.lambda(12); }
SamuraiCrow/TypeScriptCompiler
tsc/test/tester/tests/00funcs_capture.ts
TypeScript
FunctionDeclaration
function main() { main_func(); main_func2(); main_func_in_object(); main_func_in_object2(11); main_func_in_object3(11); main_func_in_object4(11); main_namespace_inner(); print("done."); }
SamuraiCrow/TypeScriptCompiler
tsc/test/tester/tests/00funcs_capture.ts
TypeScript
MethodDeclaration
f() { assert(this.in == 20); assert(a == 10); print(this.in, a); }
SamuraiCrow/TypeScriptCompiler
tsc/test/tester/tests/00funcs_capture.ts
TypeScript
MethodDeclaration
f() { assert(a == 11); print(a); }
SamuraiCrow/TypeScriptCompiler
tsc/test/tester/tests/00funcs_capture.ts
TypeScript
ArrowFunction
(object: { code: string; name: string; author: string; description: string; difficulty: number; timestamp: string }): LevelData => { return { code: object.code, name: object.name, author: object.author, description: object.description, difficulty: object.difficulty, timestamp: new Date(object.timestamp) ...
SpiccyMayonnaise/baba-is-bookmark
src/common/LevelData.ts
TypeScript
InterfaceDeclaration
export interface LevelData { code: string name?: string author?: string description?: string difficulty?: number timestamp?: Date }
SpiccyMayonnaise/baba-is-bookmark
src/common/LevelData.ts
TypeScript
InterfaceDeclaration
export interface ServerConfig { origin: string; port: number; }
ryan29871/api-demo-nestjs-cloud-build
src/config/server-config.interface.ts
TypeScript
ArrowFunction
() => { it("Login", async () => { const login = await request(BASE_URL) .get("/login") .query(USER_MOCK) .expect(200); expect(login.body.username).toBe("test"); USER_MOCK.id = login.body.id; NUEVO_PROYECTO_MOCK.usuario_id = login.body.id; }); }
llius123/todoAPP-web-back-end
src/01-todo/test/01-todo.spec.ts
TypeScript
ArrowFunction
async () => { const login = await request(BASE_URL) .get("/login") .query(USER_MOCK) .expect(200); expect(login.body.username).toBe("test"); USER_MOCK.id = login.body.id; NUEVO_PROYECTO_MOCK.usuario_id = login.body.id; }
llius123/todoAPP-web-back-end
src/01-todo/test/01-todo.spec.ts
TypeScript
ArrowFunction
() => { it("Crear un nuevo proyecto", async () => { const proyectoCreado = await request(BASE_URL) .post("/proyecto/createProyecto") .set("Content-Type", "application/json") .set("Authorization", JWT_MOCK) .send(NUEVO_PROYECTO_MOCK) .send(USER_MOCK) .expect(200); expect(proyectoCreado.body[0].ti...
llius123/todoAPP-web-back-end
src/01-todo/test/01-todo.spec.ts
TypeScript
ArrowFunction
async () => { const proyectoCreado = await request(BASE_URL) .post("/proyecto/createProyecto") .set("Content-Type", "application/json") .set("Authorization", JWT_MOCK) .send(NUEVO_PROYECTO_MOCK) .send(USER_MOCK) .expect(200); expect(proyectoCreado.body[0].titulo).toBe("test"); NUEVO_PROYECTO_MO...
llius123/todoAPP-web-back-end
src/01-todo/test/01-todo.spec.ts
TypeScript
ArrowFunction
async () => { const proyectoCreado = await request(BASE_URL) .get("/proyecto/getAllProyecto") .set("Content-Type", "application/json") .set("Authorization", JWT_MOCK) .send(USER_MOCK) .expect(200); expect(proyectoCreado.body[0].titulo).toBe("test"); }
llius123/todoAPP-web-back-end
src/01-todo/test/01-todo.spec.ts
TypeScript
ArrowFunction
() => { it("Crear un tag", async () => { const tagCreado = await request(BASE_URL) .post("/tag/createTag/" + NUEVO_PROYECTO_MOCK.id) .set("Content-Type", "application/json") .set("Authorization", JWT_MOCK) .send(TAG_MOCK) .send(USER_MOCK) .expect(201); expect(tagCreado.body[0].titulo).toBe("test...
llius123/todoAPP-web-back-end
src/01-todo/test/01-todo.spec.ts
TypeScript
ArrowFunction
async () => { const tagCreado = await request(BASE_URL) .post("/tag/createTag/" + NUEVO_PROYECTO_MOCK.id) .set("Content-Type", "application/json") .set("Authorization", JWT_MOCK) .send(TAG_MOCK) .send(USER_MOCK) .expect(201); expect(tagCreado.body[0].titulo).toBe("test"); expect(tagCreado.body[...
llius123/todoAPP-web-back-end
src/01-todo/test/01-todo.spec.ts
TypeScript
ArrowFunction
async () => { TAG_MOCK.titulo = "EDITADO"; const tagCreado = await request(BASE_URL) .put("/tag/updateSimpleTag/" + NUEVO_PROYECTO_MOCK.id) .set("Content-Type", "application/json") .set("Authorization", JWT_MOCK) .send([TAG_MOCK]) .send(USER_MOCK) .expect(200); expect(tagCreado.body[0].titulo)....
llius123/todoAPP-web-back-end
src/01-todo/test/01-todo.spec.ts
TypeScript
ArrowFunction
() => { it("Crear un todo", async () => { const tagCreado = await request(BASE_URL) .post("/todo/createTodo/" + NUEVO_PROYECTO_MOCK.id) .set("Content-Type", "application/json") .set("Authorization", JWT_MOCK) .send(TODO_MOCK) .send(USER_MOCK) .expect(201); expect(tagCreado.body[0].titulo).toBe("...
llius123/todoAPP-web-back-end
src/01-todo/test/01-todo.spec.ts
TypeScript
ArrowFunction
async () => { const tagCreado = await request(BASE_URL) .post("/todo/createTodo/" + NUEVO_PROYECTO_MOCK.id) .set("Content-Type", "application/json") .set("Authorization", JWT_MOCK) .send(TODO_MOCK) .send(USER_MOCK) .expect(201); expect(tagCreado.body[0].titulo).toBe("test1"); expect(tagCreado.b...
llius123/todoAPP-web-back-end
src/01-todo/test/01-todo.spec.ts
TypeScript
ArrowFunction
async () => { TODO_MOCK.titulo = "EDITADO"; const tagCreado = await request(BASE_URL) .put("/todo/updateSimpleTodo/" + NUEVO_PROYECTO_MOCK.id) .set("Content-Type", "application/json") .set("Authorization", JWT_MOCK) .send(TODO_MOCK) .expect(200); expect(tagCreado.body[0].titulo).toBe("EDITADO"); ...
llius123/todoAPP-web-back-end
src/01-todo/test/01-todo.spec.ts
TypeScript
ArrowFunction
() => { it("Eliminar el proyecto creado para test", async () => { const proyectoCreado = await request(BASE_URL) .delete("/proyecto/eliminarProyecto/" + NUEVO_PROYECTO_MOCK.id) .set("Content-Type", "application/json") .set("Authorization", JWT_MOCK) .send(USER_MOCK) .expect(200); }); }
llius123/todoAPP-web-back-end
src/01-todo/test/01-todo.spec.ts
TypeScript
ArrowFunction
async () => { const proyectoCreado = await request(BASE_URL) .delete("/proyecto/eliminarProyecto/" + NUEVO_PROYECTO_MOCK.id) .set("Content-Type", "application/json") .set("Authorization", JWT_MOCK) .send(USER_MOCK) .expect(200); }
llius123/todoAPP-web-back-end
src/01-todo/test/01-todo.spec.ts
TypeScript
FunctionDeclaration
function Radio(props: Props) { const { value, checked = false, className = '', disabled = false, style, children, onChange, ...restProps } = props const handleChange = (evt: any) => { if (disabled) return onChange && onChange(value, evt) } return ( <label className={`${radioPrefix} ${className}`}
silence717/React-Typescript-Vite
components/Radio/index.tsx
TypeScript
ArrowFunction
(evt: any) => { if (disabled) return onChange && onChange(value, evt) }
silence717/React-Typescript-Vite
components/Radio/index.tsx
TypeScript
InterfaceDeclaration
interface Props { value: string | number checked?: boolean disabled?: boolean children: ReactElement style: CSSProperties className?: string onChange?: (value: string | number, event: any) => void }
silence717/React-Typescript-Vite
components/Radio/index.tsx
TypeScript
MethodDeclaration
cls(`${radioPrefix
silence717/React-Typescript-Vite
components/Radio/index.tsx
TypeScript
ArrowFunction
(set) => ({ transactions: [], addTransaction: (transaction: Transaction) => set((prev) => ({ transactions: [...prev.transactions, transaction] })), })
MrMarble/budget-in
src/store/useStore.ts
TypeScript
ArrowFunction
(transaction: Transaction) => set((prev) => ({ transactions: [...prev.transactions, transaction] }))
MrMarble/budget-in
src/store/useStore.ts
TypeScript
ArrowFunction
(prev) => ({ transactions: [...prev.transactions, transaction] })
MrMarble/budget-in
src/store/useStore.ts
TypeScript
ArrowFunction
() => storage
MrMarble/budget-in
src/store/useStore.ts
TypeScript
InterfaceDeclaration
interface Store { transactions: Transaction[]; addTransaction: (transaction: Transaction) => void; }
MrMarble/budget-in
src/store/useStore.ts
TypeScript
ClassDeclaration
export class SignatureValidatorApproval extends EthereumEvent { get params(): SignatureValidatorApproval__Params { return new SignatureValidatorApproval__Params(this); } }
djrosenbaum/unchained-transactions
generated/Contract/Contract.ts
TypeScript
ClassDeclaration
export class SignatureValidatorApproval__Params { _event: SignatureValidatorApproval; constructor(event: SignatureValidatorApproval) { this._event = event; } get signerAddress(): Address { return this._event.parameters[0].value.toAddress(); } get validatorAddress(): Address { return this._ev...
djrosenbaum/unchained-transactions
generated/Contract/Contract.ts
TypeScript
ClassDeclaration
export class Fill extends EthereumEvent { get params(): Fill__Params { return new Fill__Params(this); } }
djrosenbaum/unchained-transactions
generated/Contract/Contract.ts
TypeScript
ClassDeclaration
export class Fill__Params { _event: Fill; constructor(event: Fill) { this._event = event; } get makerAddress(): Address { return this._event.parameters[0].value.toAddress(); } get feeRecipientAddress(): Address { return this._event.parameters[1].value.toAddress(); } get takerAddress(): ...
djrosenbaum/unchained-transactions
generated/Contract/Contract.ts
TypeScript
ClassDeclaration
export class Cancel extends EthereumEvent { get params(): Cancel__Params { return new Cancel__Params(this); } }
djrosenbaum/unchained-transactions
generated/Contract/Contract.ts
TypeScript
ClassDeclaration
export class Cancel__Params { _event: Cancel; constructor(event: Cancel) { this._event = event; } get makerAddress(): Address { return this._event.parameters[0].value.toAddress(); } get feeRecipientAddress(): Address { return this._event.parameters[1].value.toAddress(); } get senderAddr...
djrosenbaum/unchained-transactions
generated/Contract/Contract.ts
TypeScript
ClassDeclaration
export class CancelUpTo extends EthereumEvent { get params(): CancelUpTo__Params { return new CancelUpTo__Params(this); } }
djrosenbaum/unchained-transactions
generated/Contract/Contract.ts
TypeScript
ClassDeclaration
export class CancelUpTo__Params { _event: CancelUpTo; constructor(event: CancelUpTo) { this._event = event; } get makerAddress(): Address { return this._event.parameters[0].value.toAddress(); } get senderAddress(): Address { return this._event.parameters[1].value.toAddress(); } get orde...
djrosenbaum/unchained-transactions
generated/Contract/Contract.ts
TypeScript
ClassDeclaration
export class AssetProxyRegistered extends EthereumEvent { get params(): AssetProxyRegistered__Params { return new AssetProxyRegistered__Params(this); } }
djrosenbaum/unchained-transactions
generated/Contract/Contract.ts
TypeScript
ClassDeclaration
export class AssetProxyRegistered__Params { _event: AssetProxyRegistered; constructor(event: AssetProxyRegistered) { this._event = event; } get id(): Bytes { return this._event.parameters[0].value.toBytes(); } get assetProxy(): Address { return this._event.parameters[1].value.toAddress(); ...
djrosenbaum/unchained-transactions
generated/Contract/Contract.ts
TypeScript
ClassDeclaration
export class Contract__batchFillOrdersResultTotalFillResultsStruct extends EthereumTuple { get makerAssetFilledAmount(): BigInt { return this[0].toBigInt(); } get takerAssetFilledAmount(): BigInt { return this[1].toBigInt(); } get makerFeePaid(): BigInt { return this[2].toBigInt(); } get t...
djrosenbaum/unchained-transactions
generated/Contract/Contract.ts
TypeScript
ClassDeclaration
export class Contract__batchFillOrdersInputOrdersStruct extends EthereumTuple { get makerAddress(): Address { return this[0].toAddress(); } get takerAddress(): Address { return this[1].toAddress(); } get feeRecipientAddress(): Address { return this[2].toAddress(); } get senderAddress(): Ad...
djrosenbaum/unchained-transactions
generated/Contract/Contract.ts
TypeScript
ClassDeclaration
export class Contract__matchOrdersResultMatchedFillResultsStruct extends EthereumTuple { get left(): Contract__matchOrdersResultMatchedFillResultsLeftStruct { return this[0].toTuple() as Contract__matchOrdersResultMatchedFillResultsLeftStruct; } get right(): Contract__matchOrdersResultMatchedFillResultsRigh...
djrosenbaum/unchained-transactions
generated/Contract/Contract.ts
TypeScript
ClassDeclaration
export class Contract__matchOrdersResultMatchedFillResultsLeftStruct extends EthereumTuple { get makerAssetFilledAmount(): BigInt { return this[0].toBigInt(); } get takerAssetFilledAmount(): BigInt { return this[1].toBigInt(); } get makerFeePaid(): BigInt { return this[2].toBigInt(); } get...
djrosenbaum/unchained-transactions
generated/Contract/Contract.ts
TypeScript
ClassDeclaration
export class Contract__matchOrdersResultMatchedFillResultsRightStruct extends EthereumTuple { get makerAssetFilledAmount(): BigInt { return this[0].toBigInt(); } get takerAssetFilledAmount(): BigInt { return this[1].toBigInt(); } get makerFeePaid(): BigInt { return this[2].toBigInt(); } ge...
djrosenbaum/unchained-transactions
generated/Contract/Contract.ts
TypeScript
ClassDeclaration
export class Contract__matchOrdersInputLeftOrderStruct extends EthereumTuple { get makerAddress(): Address { return this[0].toAddress(); } get takerAddress(): Address { return this[1].toAddress(); } get feeRecipientAddress(): Address { return this[2].toAddress(); } get senderAddress(): Add...
djrosenbaum/unchained-transactions
generated/Contract/Contract.ts
TypeScript
ClassDeclaration
export class Contract__matchOrdersInputRightOrderStruct extends EthereumTuple { get makerAddress(): Address { return this[0].toAddress(); } get takerAddress(): Address { return this[1].toAddress(); } get feeRecipientAddress(): Address { return this[2].toAddress(); } get senderAddress(): Ad...
djrosenbaum/unchained-transactions
generated/Contract/Contract.ts
TypeScript
ClassDeclaration
export class Contract__fillOrderNoThrowResultFillResultsStruct extends EthereumTuple { get makerAssetFilledAmount(): BigInt { return this[0].toBigInt(); } get takerAssetFilledAmount(): BigInt { return this[1].toBigInt(); } get makerFeePaid(): BigInt { return this[2].toBigInt(); } get taker...
djrosenbaum/unchained-transactions
generated/Contract/Contract.ts
TypeScript
ClassDeclaration
export class Contract__fillOrderNoThrowInputOrderStruct extends EthereumTuple { get makerAddress(): Address { return this[0].toAddress(); } get takerAddress(): Address { return this[1].toAddress(); } get feeRecipientAddress(): Address { return this[2].toAddress(); } get senderAddress(): Ad...
djrosenbaum/unchained-transactions
generated/Contract/Contract.ts
TypeScript
ClassDeclaration
export class Contract__batchFillOrKillOrdersResultTotalFillResultsStruct extends EthereumTuple { get makerAssetFilledAmount(): BigInt { return this[0].toBigInt(); } get takerAssetFilledAmount(): BigInt { return this[1].toBigInt(); } get makerFeePaid(): BigInt { return this[2].toBigInt(); } ...
djrosenbaum/unchained-transactions
generated/Contract/Contract.ts
TypeScript
ClassDeclaration
export class Contract__batchFillOrKillOrdersInputOrdersStruct extends EthereumTuple { get makerAddress(): Address { return this[0].toAddress(); } get takerAddress(): Address { return this[1].toAddress(); } get feeRecipientAddress(): Address { return this[2].toAddress(); } get senderAddress...
djrosenbaum/unchained-transactions
generated/Contract/Contract.ts
TypeScript
ClassDeclaration
export class Contract__batchFillOrdersNoThrowResultTotalFillResultsStruct extends EthereumTuple { get makerAssetFilledAmount(): BigInt { return this[0].toBigInt(); } get takerAssetFilledAmount(): BigInt { return this[1].toBigInt(); } get makerFeePaid(): BigInt { return this[2].toBigInt(); } ...
djrosenbaum/unchained-transactions
generated/Contract/Contract.ts
TypeScript
ClassDeclaration
export class Contract__batchFillOrdersNoThrowInputOrdersStruct extends EthereumTuple { get makerAddress(): Address { return this[0].toAddress(); } get takerAddress(): Address { return this[1].toAddress(); } get feeRecipientAddress(): Address { return this[2].toAddress(); } get senderAddres...
djrosenbaum/unchained-transactions
generated/Contract/Contract.ts
TypeScript
ClassDeclaration
export class Contract__fillOrKillOrderResultFillResultsStruct extends EthereumTuple { get makerAssetFilledAmount(): BigInt { return this[0].toBigInt(); } get takerAssetFilledAmount(): BigInt { return this[1].toBigInt(); } get makerFeePaid(): BigInt { return this[2].toBigInt(); } get takerF...
djrosenbaum/unchained-transactions
generated/Contract/Contract.ts
TypeScript
ClassDeclaration
export class Contract__fillOrKillOrderInputOrderStruct extends EthereumTuple { get makerAddress(): Address { return this[0].toAddress(); } get takerAddress(): Address { return this[1].toAddress(); } get feeRecipientAddress(): Address { return this[2].toAddress(); } get senderAddress(): Add...
djrosenbaum/unchained-transactions
generated/Contract/Contract.ts
TypeScript
ClassDeclaration
export class Contract__marketSellOrdersResultTotalFillResultsStruct extends EthereumTuple { get makerAssetFilledAmount(): BigInt { return this[0].toBigInt(); } get takerAssetFilledAmount(): BigInt { return this[1].toBigInt(); } get makerFeePaid(): BigInt { return this[2].toBigInt(); } get ...
djrosenbaum/unchained-transactions
generated/Contract/Contract.ts
TypeScript
ClassDeclaration
export class Contract__marketSellOrdersInputOrdersStruct extends EthereumTuple { get makerAddress(): Address { return this[0].toAddress(); } get takerAddress(): Address { return this[1].toAddress(); } get feeRecipientAddress(): Address { return this[2].toAddress(); } get senderAddress(): A...
djrosenbaum/unchained-transactions
generated/Contract/Contract.ts
TypeScript
ClassDeclaration
export class Contract__getOrdersInfoResultValue0Struct extends EthereumTuple { get orderStatus(): i32 { return this[0].toI32(); } get orderHash(): Bytes { return this[1].toBytes(); } get orderTakerAssetFilledAmount(): BigInt { return this[2].toBigInt(); } }
djrosenbaum/unchained-transactions
generated/Contract/Contract.ts
TypeScript
ClassDeclaration
export class Contract__getOrdersInfoInputOrdersStruct extends EthereumTuple { get makerAddress(): Address { return this[0].toAddress(); } get takerAddress(): Address { return this[1].toAddress(); } get feeRecipientAddress(): Address { return this[2].toAddress(); } get senderAddress(): Addr...
djrosenbaum/unchained-transactions
generated/Contract/Contract.ts
TypeScript
ClassDeclaration
export class Contract__marketBuyOrdersNoThrowResultTotalFillResultsStruct extends EthereumTuple { get makerAssetFilledAmount(): BigInt { return this[0].toBigInt(); } get takerAssetFilledAmount(): BigInt { return this[1].toBigInt(); } get makerFeePaid(): BigInt { return this[2].toBigInt(); } ...
djrosenbaum/unchained-transactions
generated/Contract/Contract.ts
TypeScript
ClassDeclaration
export class Contract__marketBuyOrdersNoThrowInputOrdersStruct extends EthereumTuple { get makerAddress(): Address { return this[0].toAddress(); } get takerAddress(): Address { return this[1].toAddress(); } get feeRecipientAddress(): Address { return this[2].toAddress(); } get senderAddres...
djrosenbaum/unchained-transactions
generated/Contract/Contract.ts
TypeScript
ClassDeclaration
export class Contract__fillOrderResultFillResultsStruct extends EthereumTuple { get makerAssetFilledAmount(): BigInt { return this[0].toBigInt(); } get takerAssetFilledAmount(): BigInt { return this[1].toBigInt(); } get makerFeePaid(): BigInt { return this[2].toBigInt(); } get takerFeePaid...
djrosenbaum/unchained-transactions
generated/Contract/Contract.ts
TypeScript
ClassDeclaration
export class Contract__fillOrderInputOrderStruct extends EthereumTuple { get makerAddress(): Address { return this[0].toAddress(); } get takerAddress(): Address { return this[1].toAddress(); } get feeRecipientAddress(): Address { return this[2].toAddress(); } get senderAddress(): Address {...
djrosenbaum/unchained-transactions
generated/Contract/Contract.ts
TypeScript
ClassDeclaration
export class Contract__getOrderInfoResultOrderInfoStruct extends EthereumTuple { get orderStatus(): i32 { return this[0].toI32(); } get orderHash(): Bytes { return this[1].toBytes(); } get orderTakerAssetFilledAmount(): BigInt { return this[2].toBigInt(); } }
djrosenbaum/unchained-transactions
generated/Contract/Contract.ts
TypeScript
ClassDeclaration
export class Contract__getOrderInfoInputOrderStruct extends EthereumTuple { get makerAddress(): Address { return this[0].toAddress(); } get takerAddress(): Address { return this[1].toAddress(); } get feeRecipientAddress(): Address { return this[2].toAddress(); } get senderAddress(): Addres...
djrosenbaum/unchained-transactions
generated/Contract/Contract.ts
TypeScript
ClassDeclaration
export class Contract__marketSellOrdersNoThrowResultTotalFillResultsStruct extends EthereumTuple { get makerAssetFilledAmount(): BigInt { return this[0].toBigInt(); } get takerAssetFilledAmount(): BigInt { return this[1].toBigInt(); } get makerFeePaid(): BigInt { return this[2].toBigInt(); } ...
djrosenbaum/unchained-transactions
generated/Contract/Contract.ts
TypeScript
ClassDeclaration
export class Contract__marketSellOrdersNoThrowInputOrdersStruct extends EthereumTuple { get makerAddress(): Address { return this[0].toAddress(); } get takerAddress(): Address { return this[1].toAddress(); } get feeRecipientAddress(): Address { return this[2].toAddress(); } get senderAddre...
djrosenbaum/unchained-transactions
generated/Contract/Contract.ts
TypeScript
ClassDeclaration
export class Contract__marketBuyOrdersResultTotalFillResultsStruct extends EthereumTuple { get makerAssetFilledAmount(): BigInt { return this[0].toBigInt(); } get takerAssetFilledAmount(): BigInt { return this[1].toBigInt(); } get makerFeePaid(): BigInt { return this[2].toBigInt(); } get t...
djrosenbaum/unchained-transactions
generated/Contract/Contract.ts
TypeScript
ClassDeclaration
export class Contract__marketBuyOrdersInputOrdersStruct extends EthereumTuple { get makerAddress(): Address { return this[0].toAddress(); } get takerAddress(): Address { return this[1].toAddress(); } get feeRecipientAddress(): Address { return this[2].toAddress(); } get senderAddress(): Ad...
djrosenbaum/unchained-transactions
generated/Contract/Contract.ts
TypeScript
ClassDeclaration
export class BatchFillOrdersCall extends EthereumCall { get inputs(): BatchFillOrdersCall__Inputs { return new BatchFillOrdersCall__Inputs(this); } get outputs(): BatchFillOrdersCall__Outputs { return new BatchFillOrdersCall__Outputs(this); } }
djrosenbaum/unchained-transactions
generated/Contract/Contract.ts
TypeScript
ClassDeclaration
export class BatchFillOrdersCall__Inputs { _call: BatchFillOrdersCall; constructor(call: BatchFillOrdersCall) { this._call = call; } get orders(): Array<EthereumTuple> { return this._call.inputValues[0].value.toTupleArray<undefined>(); } get takerAssetFillAmounts(): Array<BigInt> { return th...
djrosenbaum/unchained-transactions
generated/Contract/Contract.ts
TypeScript
ClassDeclaration
export class BatchFillOrdersCall__Outputs { _call: BatchFillOrdersCall; constructor(call: BatchFillOrdersCall) { this._call = call; } get totalFillResults(): BatchFillOrdersCallTotalFillResultsStruct { return this._call.outputValues[0].value.toTuple() as BatchFillOrdersCallTotalFillResultsStruct; }...
djrosenbaum/unchained-transactions
generated/Contract/Contract.ts
TypeScript
ClassDeclaration
export class BatchFillOrdersCallTotalFillResultsStruct extends EthereumTuple { get makerAssetFilledAmount(): BigInt { return this[0].toBigInt(); } get takerAssetFilledAmount(): BigInt { return this[1].toBigInt(); } get makerFeePaid(): BigInt { return this[2].toBigInt(); } get takerFeePaid(...
djrosenbaum/unchained-transactions
generated/Contract/Contract.ts
TypeScript
ClassDeclaration
export class PreSignCall extends EthereumCall { get inputs(): PreSignCall__Inputs { return new PreSignCall__Inputs(this); } get outputs(): PreSignCall__Outputs { return new PreSignCall__Outputs(this); } }
djrosenbaum/unchained-transactions
generated/Contract/Contract.ts
TypeScript
ClassDeclaration
export class PreSignCall__Inputs { _call: PreSignCall; constructor(call: PreSignCall) { this._call = call; } get hash(): Bytes { return this._call.inputValues[0].value.toBytes(); } get signerAddress(): Address { return this._call.inputValues[1].value.toAddress(); } get signature(): Byte...
djrosenbaum/unchained-transactions
generated/Contract/Contract.ts
TypeScript
ClassDeclaration
export class PreSignCall__Outputs { _call: PreSignCall; constructor(call: PreSignCall) { this._call = call; } }
djrosenbaum/unchained-transactions
generated/Contract/Contract.ts
TypeScript
ClassDeclaration
export class MatchOrdersCall extends EthereumCall { get inputs(): MatchOrdersCall__Inputs { return new MatchOrdersCall__Inputs(this); } get outputs(): MatchOrdersCall__Outputs { return new MatchOrdersCall__Outputs(this); } }
djrosenbaum/unchained-transactions
generated/Contract/Contract.ts
TypeScript
ClassDeclaration
export class MatchOrdersCall__Inputs { _call: MatchOrdersCall; constructor(call: MatchOrdersCall) { this._call = call; } get leftOrder(): MatchOrdersCallLeftOrderStruct { return this._call.inputValues[0].value.toTuple() as MatchOrdersCallLeftOrderStruct; } get rightOrder(): MatchOrdersCallRightO...
djrosenbaum/unchained-transactions
generated/Contract/Contract.ts
TypeScript
ClassDeclaration
export class MatchOrdersCall__Outputs { _call: MatchOrdersCall; constructor(call: MatchOrdersCall) { this._call = call; } get matchedFillResults(): MatchOrdersCallMatchedFillResultsStruct { return this._call.outputValues[0].value.toTuple() as MatchOrdersCallMatchedFillResultsStruct; } }
djrosenbaum/unchained-transactions
generated/Contract/Contract.ts
TypeScript
ClassDeclaration
export class MatchOrdersCallLeftOrderStruct extends EthereumTuple { get makerAddress(): Address { return this[0].toAddress(); } get takerAddress(): Address { return this[1].toAddress(); } get feeRecipientAddress(): Address { return this[2].toAddress(); } get senderAddress(): Address { ...
djrosenbaum/unchained-transactions
generated/Contract/Contract.ts
TypeScript
ClassDeclaration
export class MatchOrdersCallRightOrderStruct extends EthereumTuple { get makerAddress(): Address { return this[0].toAddress(); } get takerAddress(): Address { return this[1].toAddress(); } get feeRecipientAddress(): Address { return this[2].toAddress(); } get senderAddress(): Address { ...
djrosenbaum/unchained-transactions
generated/Contract/Contract.ts
TypeScript
ClassDeclaration
export class MatchOrdersCallMatchedFillResultsStruct extends EthereumTuple { get left(): MatchOrdersCallMatchedFillResultsLeftStruct { return this[0].toTuple() as MatchOrdersCallMatchedFillResultsLeftStruct; } get right(): MatchOrdersCallMatchedFillResultsRightStruct { return this[1].toTuple() as MatchO...
djrosenbaum/unchained-transactions
generated/Contract/Contract.ts
TypeScript
ClassDeclaration
export class MatchOrdersCallMatchedFillResultsLeftStruct extends EthereumTuple { get makerAssetFilledAmount(): BigInt { return this[0].toBigInt(); } get takerAssetFilledAmount(): BigInt { return this[1].toBigInt(); } get makerFeePaid(): BigInt { return this[2].toBigInt(); } get takerFeePai...
djrosenbaum/unchained-transactions
generated/Contract/Contract.ts
TypeScript
ClassDeclaration
export class MatchOrdersCallMatchedFillResultsRightStruct extends EthereumTuple { get makerAssetFilledAmount(): BigInt { return this[0].toBigInt(); } get takerAssetFilledAmount(): BigInt { return this[1].toBigInt(); } get makerFeePaid(): BigInt { return this[2].toBigInt(); } get takerFeePa...
djrosenbaum/unchained-transactions
generated/Contract/Contract.ts
TypeScript
ClassDeclaration
export class FillOrderNoThrowCall extends EthereumCall { get inputs(): FillOrderNoThrowCall__Inputs { return new FillOrderNoThrowCall__Inputs(this); } get outputs(): FillOrderNoThrowCall__Outputs { return new FillOrderNoThrowCall__Outputs(this); } }
djrosenbaum/unchained-transactions
generated/Contract/Contract.ts
TypeScript
ClassDeclaration
export class FillOrderNoThrowCall__Inputs { _call: FillOrderNoThrowCall; constructor(call: FillOrderNoThrowCall) { this._call = call; } get order(): FillOrderNoThrowCallOrderStruct { return this._call.inputValues[0].value.toTuple() as FillOrderNoThrowCallOrderStruct; } get takerAssetFillAmount()...
djrosenbaum/unchained-transactions
generated/Contract/Contract.ts
TypeScript
ClassDeclaration
export class FillOrderNoThrowCall__Outputs { _call: FillOrderNoThrowCall; constructor(call: FillOrderNoThrowCall) { this._call = call; } get fillResults(): FillOrderNoThrowCallFillResultsStruct { return this._call.outputValues[0].value.toTuple() as FillOrderNoThrowCallFillResultsStruct; } }
djrosenbaum/unchained-transactions
generated/Contract/Contract.ts
TypeScript
ClassDeclaration
export class FillOrderNoThrowCallOrderStruct extends EthereumTuple { get makerAddress(): Address { return this[0].toAddress(); } get takerAddress(): Address { return this[1].toAddress(); } get feeRecipientAddress(): Address { return this[2].toAddress(); } get senderAddress(): Address { ...
djrosenbaum/unchained-transactions
generated/Contract/Contract.ts
TypeScript
ClassDeclaration
export class FillOrderNoThrowCallFillResultsStruct extends EthereumTuple { get makerAssetFilledAmount(): BigInt { return this[0].toBigInt(); } get takerAssetFilledAmount(): BigInt { return this[1].toBigInt(); } get makerFeePaid(): BigInt { return this[2].toBigInt(); } get takerFeePaid(): B...
djrosenbaum/unchained-transactions
generated/Contract/Contract.ts
TypeScript
ClassDeclaration
export class BatchCancelOrdersCall extends EthereumCall { get inputs(): BatchCancelOrdersCall__Inputs { return new BatchCancelOrdersCall__Inputs(this); } get outputs(): BatchCancelOrdersCall__Outputs { return new BatchCancelOrdersCall__Outputs(this); } }
djrosenbaum/unchained-transactions
generated/Contract/Contract.ts
TypeScript
ClassDeclaration
export class BatchCancelOrdersCall__Inputs { _call: BatchCancelOrdersCall; constructor(call: BatchCancelOrdersCall) { this._call = call; } get orders(): Array<EthereumTuple> { return this._call.inputValues[0].value.toTupleArray<undefined>(); } }
djrosenbaum/unchained-transactions
generated/Contract/Contract.ts
TypeScript
ClassDeclaration
export class BatchCancelOrdersCall__Outputs { _call: BatchCancelOrdersCall; constructor(call: BatchCancelOrdersCall) { this._call = call; } }
djrosenbaum/unchained-transactions
generated/Contract/Contract.ts
TypeScript
ClassDeclaration
export class BatchFillOrKillOrdersCall extends EthereumCall { get inputs(): BatchFillOrKillOrdersCall__Inputs { return new BatchFillOrKillOrdersCall__Inputs(this); } get outputs(): BatchFillOrKillOrdersCall__Outputs { return new BatchFillOrKillOrdersCall__Outputs(this); } }
djrosenbaum/unchained-transactions
generated/Contract/Contract.ts
TypeScript
ClassDeclaration
export class BatchFillOrKillOrdersCall__Inputs { _call: BatchFillOrKillOrdersCall; constructor(call: BatchFillOrKillOrdersCall) { this._call = call; } get orders(): Array<EthereumTuple> { return this._call.inputValues[0].value.toTupleArray<undefined>(); } get takerAssetFillAmounts(): Array<BigIn...
djrosenbaum/unchained-transactions
generated/Contract/Contract.ts
TypeScript
ClassDeclaration
export class BatchFillOrKillOrdersCall__Outputs { _call: BatchFillOrKillOrdersCall; constructor(call: BatchFillOrKillOrdersCall) { this._call = call; } get totalFillResults(): BatchFillOrKillOrdersCallTotalFillResultsStruct { return this._call.outputValues[0].value.toTuple() as BatchFillOrKillOrdersC...
djrosenbaum/unchained-transactions
generated/Contract/Contract.ts
TypeScript
ClassDeclaration
export class BatchFillOrKillOrdersCallTotalFillResultsStruct extends EthereumTuple { get makerAssetFilledAmount(): BigInt { return this[0].toBigInt(); } get takerAssetFilledAmount(): BigInt { return this[1].toBigInt(); } get makerFeePaid(): BigInt { return this[2].toBigInt(); } get takerFe...
djrosenbaum/unchained-transactions
generated/Contract/Contract.ts
TypeScript
ClassDeclaration
export class CancelOrdersUpToCall extends EthereumCall { get inputs(): CancelOrdersUpToCall__Inputs { return new CancelOrdersUpToCall__Inputs(this); } get outputs(): CancelOrdersUpToCall__Outputs { return new CancelOrdersUpToCall__Outputs(this); } }
djrosenbaum/unchained-transactions
generated/Contract/Contract.ts
TypeScript
ClassDeclaration
export class CancelOrdersUpToCall__Inputs { _call: CancelOrdersUpToCall; constructor(call: CancelOrdersUpToCall) { this._call = call; } get targetOrderEpoch(): BigInt { return this._call.inputValues[0].value.toBigInt(); } }
djrosenbaum/unchained-transactions
generated/Contract/Contract.ts
TypeScript