Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Init: Tornado cash integration #8

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
984 changes: 984 additions & 0 deletions abis/TornadoCashToken.json

Large diffs are not rendered by default.

6 changes: 4 additions & 2 deletions generated/ENSToken/ENSToken.ts
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,9 @@ export class ENSToken extends ethereum.SmartContract {
]
);

return result[0].toTuple() as ENSToken__checkpointsResultValue0Struct;
return changetype<ENSToken__checkpointsResultValue0Struct>(
result[0].toTuple()
);
}

try_checkpoints(
Expand All @@ -310,7 +312,7 @@ export class ENSToken extends ethereum.SmartContract {
}
let value = result.value;
return ethereum.CallResult.fromValue(
value[0].toTuple() as ENSToken__checkpointsResultValue0Struct
changetype<ENSToken__checkpointsResultValue0Struct>(value[0].toTuple())
);
}

Expand Down
6 changes: 4 additions & 2 deletions generated/IndexToken/IndexToken.ts
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,9 @@ export class IndexToken extends ethereum.SmartContract {
]
);

return result[0].toTuple() as IndexToken__checkpointsResultValue0Struct;
return changetype<IndexToken__checkpointsResultValue0Struct>(
result[0].toTuple()
);
}

try_checkpoints(
Expand All @@ -310,7 +312,7 @@ export class IndexToken extends ethereum.SmartContract {
}
let value = result.value;
return ethereum.CallResult.fromValue(
value[0].toTuple() as IndexToken__checkpointsResultValue0Struct
changetype<IndexToken__checkpointsResultValue0Struct>(value[0].toTuple())
);
}

Expand Down
6 changes: 4 additions & 2 deletions generated/RariToken/RariToken.ts
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,9 @@ export class RariToken extends ethereum.SmartContract {
]
);

return result[0].toTuple() as RariToken__checkpointsResultValue0Struct;
return changetype<RariToken__checkpointsResultValue0Struct>(
result[0].toTuple()
);
}

try_checkpoints(
Expand All @@ -310,7 +312,7 @@ export class RariToken extends ethereum.SmartContract {
}
let value = result.value;
return ethereum.CallResult.fromValue(
value[0].toTuple() as RariToken__checkpointsResultValue0Struct
changetype<RariToken__checkpointsResultValue0Struct>(value[0].toTuple())
);
}

Expand Down
Loading