VDB-7: Deploy TokenRedeemer and author bsctestnet VIP#360
Draft
trumpgpt-bot wants to merge 1 commit into
Draft
Conversation
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
GitGuru7
reviewed
Jun 22, 2026
GitGuru7
left a comment
Contributor
There was a problem hiding this comment.
Add the testnet BscScan link next to the address entry.
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed
vipsvips/vip-664/bsctestnet.tsREGULARcommandsweepTokens(XVS, VTreasury)on the TokenRedeemer, executed by the bsctestnet NormalTimelock.vipssimulations/vip-664/bsctestnet.ts+abi/{XVS,TokenRedeemer}.jsonvenus-protocol-documentationdeployed-contracts/funds.mdvenus-protocoldeploy/015-deploy-token-redeemer.ts+deployments/bsctestnet/TokenRedeemer.jsonAddress verification (three ways agree)
TokenRedeemer =
0x6E78a0d96257F8F2615d72F3ee48cb6fb2c970bd0x6E78…970bdvenus-protocol/deployments/bsctestnet/TokenRedeemer.json.address:0x6E78…970bdowner()(chain.call0x8da5cb5b):0xce10739590001705F7FF231611ba4A48B2820327= bsctestnet NormalTimelock ✓Other addresses (from artifacts +
NETWORK_ADDRESSES.bsctestnet):0xB9e0E753630434d7863528cc73CB7AC638a7c8ff0x8b293600c50d6fbdc6ed4251cc75ece29880276fSignature / gate verification
sweepTokens(address,address)exists in the deployed ABI; source:Currency.wrap(token).transferAll(destination)→ transfers the full balance, emitting exactly one ERC-20Transfer.onlyOwner(owner = NormalTimelock) — no ACM grant and noacceptOwnership()needed (Ownable2Step transfers ownership directly in the constructor).Simulation (4 parts)
forking(114868878, …)— the block in which TokenRedeemer was deployed (contract present on the fork).before()seeds 1 XVS into the TokenRedeemer from the XVS Vault Proxy whale.owner()== NormalTimelock.testVip+expectEvents— full propose→vote→queue→execute; asserts oneTransfer.Lint
npx eslint vips/vip-664/bsctestnet.ts simulations/vip-664/bsctestnet.ts→ exit 0.npx prettier --check "vips/vip-664/**" "simulations/vip-664/**"→ "All matched files use Prettier code style!"yarn lintOOMs in this environment (V8 heap exhaustion linting the entire repo), unrelated to these files; scoped eslint/prettier are clean.Risks
Opened by the Venus dev bot. Review required; the bot cannot merge.