diff --git a/README.md b/README.md index 97f46262..90a9ef39 100644 --- a/README.md +++ b/README.md @@ -75,7 +75,7 @@ This section provides instructions for running the protocol and UI in a local Al ## Additional Resources - **TEALScript Contracts**: Explore the smart contracts that power the protocol. [Read more](./contracts/README.md) -- **Node Daemon**: Learn about the CLI / service daemon which node runners will run as a background service. [Read more](./docs/technical-implementation/reti-node-daemon/README.md) +- **Node Daemon**: Learn about the CLI / service daemon which node runners will run as a background service. [Read more](https://txnlab.gitbook.io/reti-open-pooling/technical-implementation/reti-node-daemon) - **Example UI**: A Vite React project that serves as a dashboard for staking and validator management. [Read more](./ui/README.md) ## Discord diff --git a/contracts/__test__/contracts.test.ts b/contracts/__test__/contracts.test.ts index 9620bd09..b1a13346 100644 --- a/contracts/__test__/contracts.test.ts +++ b/contracts/__test__/contracts.test.ts @@ -93,7 +93,7 @@ beforeAll(async () => { algod, ) - const validatorApp = await validatorMasterClient.create.createApplication({}) + const validatorApp = await validatorMasterClient.create.createApplication({}, { schema: { extraPages: 3 } }) // verify that the constructed validator contract is initialized as expected expect(validatorApp.appId).toBeDefined() expect(validatorApp.appAddress).toBeDefined() @@ -1749,6 +1749,7 @@ describe('StakeWTokenWRewards', () => { let validatorId: number let validatorOwnerAccount: Account + let tokenCreatorAccount: Account let validatorConfig: ValidatorConfig const stakerAccounts: Account[] = [] let poolAppId: bigint @@ -1764,7 +1765,7 @@ describe('StakeWTokenWRewards', () => { // add validator and 1 pool for subsequent stake tests beforeAll(async () => { // Create a reward token to pay out to stakers - const tokenCreatorAccount = await getTestAccount( + tokenCreatorAccount = await getTestAccount( { initialFunds: AlgoAmount.Algos(5000), suppressLog: true }, fixture.context.algod, fixture.context.kmd, @@ -2077,6 +2078,57 @@ describe('StakeWTokenWRewards', () => { stakersAfterReward, epochRoundLength, ) + + // DON'T claim! we want some tokens remaining to be paid out left for following reclaimTokenRewards test + }) + + test('reclaimTokenRewards', async () => { + // as 'owner' get tokens back from reward pool - but we should only get back what's not held back + // so we verify some are held back and that we receive everything but that. + const pool1Address = getApplicationAddress(firstPoolKey.poolAppId) + const rewardTokenBalance = await fixture.context.algod + .accountAssetInformation(pool1Address, Number(rewardTokenID)) + .do() + + const validatorCurState = await getValidatorState(validatorMasterClient, validatorId) + const tokensHeldBack = validatorCurState.rewardTokenHeldBack + expect(tokensHeldBack).toBeGreaterThan(0n) + + const ownerTokenBalPre = await fixture.context.algod + .accountAssetInformation(tokenCreatorAccount.addr, Number(rewardTokenID)) + .do() + + // should fail - not owner of validator + await expect( + validatorMasterClient.emptyTokenRewards( + { validatorId, receiver: tokenCreatorAccount.addr }, + { sendParams: { fee: AlgoAmount.MicroAlgos(3000), populateAppCallResources: true } }, + ), + ).rejects.toThrowError() + // now get client with our owner as caller + const valAppRef = await validatorMasterClient.appClient.getAppReference() + const validatorClient = new ValidatorRegistryClient( + { + sender: validatorOwnerAccount, + resolveBy: 'id', + id: valAppRef.appId, + }, + fixture.context.algod, + ) + + const sentAmount = ( + await validatorClient.emptyTokenRewards( + { validatorId, receiver: tokenCreatorAccount.addr }, + { sendParams: { fee: AlgoAmount.MicroAlgos(3000), populateAppCallResources: true } }, + ) + ).return! + expect(sentAmount).toEqual(BigInt(rewardTokenBalance['asset-holding'].amount) - tokensHeldBack) + const ownerTokenBal = await fixture.context.algod + .accountAssetInformation(tokenCreatorAccount.addr, Number(rewardTokenID)) + .do() + expect(ownerTokenBal['asset-holding'].amount).toEqual( + ownerTokenBalPre['asset-holding'].amount + Number(sentAmount), + ) }) }) diff --git a/contracts/bootstrap/index.ts b/contracts/bootstrap/index.ts index 0ab8a43a..ecd47b76 100644 --- a/contracts/bootstrap/index.ts +++ b/contracts/bootstrap/index.ts @@ -172,7 +172,10 @@ async function main() { algod, ) } - validatorApp = await validatorClient.create.createApplication({}) + validatorApp = await validatorClient.create.createApplication({}, { schema: { extraPages: 3 } }) + + console.log(`Validator registry app id is:${validatorApp.appId}`) + console.log(`Validator Contract HASH is:${validatorApp.compiledApproval.compiledHash}`) // Fund the validator w/ 2 ALGO for contract mbr reqs. await algokit.transferAlgos( @@ -194,6 +197,7 @@ async function main() { {}, { sendParams: { populateAppCallResources: true } }, ) + console.log(`application ${args.id} updated`) } console.log( @@ -215,8 +219,6 @@ async function main() { } await composer.finalizeStakingContract({}).execute({ populateAppCallResources: true, suppressLog: true }) - console.log(`Validator registry app id is:${validatorApp.appId}`) - if (args.network === 'localnet') { kmd = algokit.getAlgoKmdClient(localConfig.kmdConfig) // generate two dummy stakers - each w/ 100 million diff --git a/contracts/bootstrap/package.json b/contracts/bootstrap/package.json index db3a8ba2..af31cd09 100644 --- a/contracts/bootstrap/package.json +++ b/contracts/bootstrap/package.json @@ -1,6 +1,6 @@ { "name": "bootstrap", - "version": "0.8.14", + "version": "0.8.15", "description": "", "main": "index.ts", "scripts": { @@ -11,7 +11,7 @@ }, "license": "MIT", "dependencies": { - "@algorandfoundation/algokit-utils": "6.0.5-beta.1", + "@algorandfoundation/algokit-utils": "6.0.5", "algosdk": "2.7.0", "prompts": "^2.4.2", "yargs": "^17.7.2" diff --git a/contracts/contracts/artifacts/StakingPool.approval.teal b/contracts/contracts/artifacts/StakingPool.approval.teal index de288875..593e4984 100644 --- a/contracts/contracts/artifacts/StakingPool.approval.teal +++ b/contracts/contracts/artifacts/StakingPool.approval.teal @@ -1894,16 +1894,19 @@ getStakerInfo: // // [Internal protocol method] Remove a specified amount of 'community token' rewards for a staker. // This can ONLY be called by our validator and only if we're pool 1 - with the token. +// Note: this can also be called by validator as part of OWNER wanting to send the reward tokens +// somewhere else (ie if they're sunsetting their validator and need the reward tokens back). +// It's up to the validator to ensure that the balance in rewardTokenHeldBack is honored. // @param staker - the staker account to send rewards to // @param rewardToken - id of reward token (to avoid re-entrancy in calling validator back to get id) // @param amountToSend - amount to send the staker (there is significant trust here(!) - also why only validator can call us payTokenReward: proto 3 0 - // contracts/stakingPool.algo.ts:476 + // contracts/stakingPool.algo.ts:479 // assert( // this.txn.sender === AppID.fromUint64(this.creatingValidatorContractAppId.value).address, - // 'stake can only be added via the validator contract', + // 'this can only be called via the validator contract', // ) txn Sender byte 0x63726561746f72417070 // "creatorApp" @@ -1912,10 +1915,10 @@ payTokenReward: pop == - // stake can only be added via the validator contract + // this can only be called via the validator contract assert - // contracts/stakingPool.algo.ts:480 + // contracts/stakingPool.algo.ts:483 // assert(this.poolId.value === 1, 'must be pool 1 in order to be called to pay out token rewards') byte 0x706f6f6c4964 // "poolId" app_global_get @@ -1925,7 +1928,7 @@ payTokenReward: // must be pool 1 in order to be called to pay out token rewards assert - // contracts/stakingPool.algo.ts:481 + // contracts/stakingPool.algo.ts:484 // assert(rewardToken !== 0, 'can only claim token rewards from validator that has them') frame_dig -2 // rewardToken: uint64 int 0 @@ -1934,7 +1937,7 @@ payTokenReward: // can only claim token rewards from validator that has them assert - // contracts/stakingPool.algo.ts:484 + // contracts/stakingPool.algo.ts:487 // sendAssetTransfer({ // xferAsset: AssetID.fromUint64(rewardToken), // assetReceiver: staker, @@ -1944,17 +1947,17 @@ payTokenReward: int axfer itxn_field TypeEnum - // contracts/stakingPool.algo.ts:485 + // contracts/stakingPool.algo.ts:488 // xferAsset: AssetID.fromUint64(rewardToken) frame_dig -2 // rewardToken: uint64 itxn_field XferAsset - // contracts/stakingPool.algo.ts:486 + // contracts/stakingPool.algo.ts:489 // assetReceiver: staker frame_dig -1 // staker: Address itxn_field AssetReceiver - // contracts/stakingPool.algo.ts:487 + // contracts/stakingPool.algo.ts:490 // assetAmount: amountToSend frame_dig -3 // amountToSend: uint64 itxn_field AssetAmount @@ -1990,14 +1993,14 @@ payTokenReward: updateAlgodVer: proto 1 0 - // contracts/stakingPool.algo.ts:501 + // contracts/stakingPool.algo.ts:504 // assert(this.isOwnerOrManagerCaller(), 'can only be called by owner or manager of validator') callsub isOwnerOrManagerCaller // can only be called by owner or manager of validator assert - // contracts/stakingPool.algo.ts:502 + // contracts/stakingPool.algo.ts:505 // this.algodVer.value = algodVer byte 0x616c676f64566572 // "algodVer" frame_dig -1 // algodVer: string @@ -2026,7 +2029,7 @@ epochBalanceUpdate: byte 0x dupn 36 - // contracts/stakingPool.algo.ts:515 + // contracts/stakingPool.algo.ts:518 // validatorConfig = sendMethodCall({ // applicationID: AppID.fromUint64(this.creatingValidatorContractAppId.value), // methodArgs: [this.validatorId.value], @@ -2037,13 +2040,13 @@ epochBalanceUpdate: method "getValidatorConfig(uint64)(uint64,address,address,uint64,uint8,address,uint64[4],uint64,uint64,uint64,uint32,uint32,address,uint64,uint64,uint8,uint64,uint64)" itxn_field ApplicationArgs - // contracts/stakingPool.algo.ts:516 + // contracts/stakingPool.algo.ts:519 // applicationID: AppID.fromUint64(this.creatingValidatorContractAppId.value) byte 0x63726561746f72417070 // "creatorApp" app_global_get itxn_field ApplicationID - // contracts/stakingPool.algo.ts:517 + // contracts/stakingPool.algo.ts:520 // methodArgs: [this.validatorId.value] byte 0x76616c696461746f724964 // "validatorId" app_global_get @@ -2063,19 +2066,19 @@ epochBalanceUpdate: extract 4 0 frame_bury 0 // validatorConfig: (uint64,address,address,uint64,uint8,address,uint64[4],uint64,uint64,uint64,uint32,uint32,address,uint64,uint64,uint8,uint64,uint64) - // contracts/stakingPool.algo.ts:524 + // contracts/stakingPool.algo.ts:527 // epochRoundLength = validatorConfig.epochRoundLength as uint64 frame_dig 0 // validatorConfig: (uint64,address,address,uint64,uint8,address,uint64[4],uint64,uint64,uint64,uint32,uint32,address,uint64,uint64,uint8,uint64,uint64) extract 169 4 btoi frame_bury 1 // epochRoundLength: uint64 - // contracts/stakingPool.algo.ts:525 + // contracts/stakingPool.algo.ts:528 // curRound = globals.round global Round frame_bury 2 // curRound: uint64 - // contracts/stakingPool.algo.ts:526 + // contracts/stakingPool.algo.ts:529 // thisEpochBegin = curRound - (curRound % epochRoundLength) frame_dig 2 // curRound: uint64 frame_dig 2 // curRound: uint64 @@ -2085,7 +2088,7 @@ epochBalanceUpdate: frame_bury 3 // thisEpochBegin: uint64 // *if20_condition - // contracts/stakingPool.algo.ts:529 + // contracts/stakingPool.algo.ts:532 // this.lastPayout.exists txna Applications 0 byte 0x6c6173745061796f7574 // "lastPayout" @@ -2095,7 +2098,7 @@ epochBalanceUpdate: bz *if20_end // *if20_consequent - // contracts/stakingPool.algo.ts:530 + // contracts/stakingPool.algo.ts:533 // lastPayoutEpoch = this.lastPayout.value - (this.lastPayout.value % epochRoundLength) byte 0x6c6173745061796f7574 // "lastPayout" app_global_get @@ -2106,7 +2109,7 @@ epochBalanceUpdate: - frame_bury 4 // lastPayoutEpoch: uint64 - // contracts/stakingPool.algo.ts:534 + // contracts/stakingPool.algo.ts:537 // assert(lastPayoutEpoch !== thisEpochBegin, "can't call epochBalanceUpdate in same epoch as prior call") frame_dig 4 // lastPayoutEpoch: uint64 frame_dig 3 // thisEpochBegin: uint64 @@ -2116,17 +2119,17 @@ epochBalanceUpdate: assert *if20_end: - // contracts/stakingPool.algo.ts:537 + // contracts/stakingPool.algo.ts:540 // this.checkIfBinClosed() callsub checkIfBinClosed - // contracts/stakingPool.algo.ts:540 + // contracts/stakingPool.algo.ts:543 // this.lastPayout.value = curRound byte 0x6c6173745061796f7574 // "lastPayout" frame_dig 2 // curRound: uint64 app_global_put - // contracts/stakingPool.algo.ts:541 + // contracts/stakingPool.algo.ts:544 // this.epochNumber.value += 1 byte 0x65706f63684e756d626572 // "epochNumber" app_global_get @@ -2136,7 +2139,7 @@ epochBalanceUpdate: swap app_global_put - // contracts/stakingPool.algo.ts:546 + // contracts/stakingPool.algo.ts:549 // isTokenEligible = validatorConfig.rewardTokenId !== 0 frame_dig 0 // validatorConfig: (uint64,address,address,uint64,uint8,address,uint64[4],uint64,uint64,uint64,uint32,uint32,address,uint64,uint64,uint8,uint64,uint64) extract 153 8 @@ -2145,25 +2148,25 @@ epochBalanceUpdate: != frame_bury 5 // isTokenEligible: bool - // contracts/stakingPool.algo.ts:547 + // contracts/stakingPool.algo.ts:550 // poolOneAppID = this.app.id txna Applications 0 frame_bury 6 // poolOneAppID: uint64 - // contracts/stakingPool.algo.ts:548 + // contracts/stakingPool.algo.ts:551 // poolOneAddress = this.app.address global CurrentApplicationAddress frame_bury 7 // poolOneAddress: address // *if21_condition - // contracts/stakingPool.algo.ts:553 + // contracts/stakingPool.algo.ts:556 // isTokenEligible frame_dig 5 // isTokenEligible: bool bz *if21_end // *if21_consequent // *if22_condition - // contracts/stakingPool.algo.ts:554 + // contracts/stakingPool.algo.ts:557 // this.poolId.value !== 1 byte 0x706f6f6c4964 // "poolId" app_global_get @@ -2172,7 +2175,7 @@ epochBalanceUpdate: bz *if22_end // *if22_consequent - // contracts/stakingPool.algo.ts:556 + // contracts/stakingPool.algo.ts:559 // poolOneAppID = sendMethodCall({ // applicationID: AppID.fromUint64(this.creatingValidatorContractAppId.value), // methodArgs: [this.validatorId.value, 1], @@ -2183,13 +2186,13 @@ epochBalanceUpdate: method "getPoolAppId(uint64,uint64)uint64" itxn_field ApplicationArgs - // contracts/stakingPool.algo.ts:557 + // contracts/stakingPool.algo.ts:560 // applicationID: AppID.fromUint64(this.creatingValidatorContractAppId.value) byte 0x63726561746f72417070 // "creatorApp" app_global_get itxn_field ApplicationID - // contracts/stakingPool.algo.ts:558 + // contracts/stakingPool.algo.ts:561 // methodArgs: [this.validatorId.value, 1] byte 0x76616c696461746f724964 // "validatorId" app_global_get @@ -2212,7 +2215,7 @@ epochBalanceUpdate: btoi frame_bury 6 // poolOneAppID: uint64 - // contracts/stakingPool.algo.ts:560 + // contracts/stakingPool.algo.ts:563 // poolOneAddress = AppID.fromUint64(poolOneAppID).address frame_dig 6 // poolOneAppID: uint64 app_params_get AppAddress @@ -2221,7 +2224,7 @@ epochBalanceUpdate: *if22_end: // *if23_condition - // contracts/stakingPool.algo.ts:565 + // contracts/stakingPool.algo.ts:568 // this.poolId.value === 1 byte 0x706f6f6c4964 // "poolId" app_global_get @@ -2230,7 +2233,7 @@ epochBalanceUpdate: bz *if23_else // *if23_consequent - // contracts/stakingPool.algo.ts:566 + // contracts/stakingPool.algo.ts:569 // tokenPayoutRatio = sendMethodCall({ // applicationID: AppID.fromUint64(this.creatingValidatorContractAppId.value), // methodArgs: [this.validatorId.value], @@ -2241,13 +2244,13 @@ epochBalanceUpdate: method "setTokenPayoutRatio(uint64)(uint64[24],uint64)" itxn_field ApplicationArgs - // contracts/stakingPool.algo.ts:567 + // contracts/stakingPool.algo.ts:570 // applicationID: AppID.fromUint64(this.creatingValidatorContractAppId.value) byte 0x63726561746f72417070 // "creatorApp" app_global_get itxn_field ApplicationID - // contracts/stakingPool.algo.ts:568 + // contracts/stakingPool.algo.ts:571 // methodArgs: [this.validatorId.value] byte 0x76616c696461746f724964 // "validatorId" app_global_get @@ -2269,7 +2272,7 @@ epochBalanceUpdate: b *if23_end *if23_else: - // contracts/stakingPool.algo.ts:572 + // contracts/stakingPool.algo.ts:575 // tokenPayoutRatio = sendMethodCall({ // applicationID: AppID.fromUint64(poolOneAppID), // methodArgs: [{ id: this.validatorId.value, poolId: this.poolId.value, poolAppId: this.app.id }], @@ -2280,12 +2283,12 @@ epochBalanceUpdate: method "proxiedSetTokenPayoutRatio((uint64,uint64,uint64))(uint64[24],uint64)" itxn_field ApplicationArgs - // contracts/stakingPool.algo.ts:573 + // contracts/stakingPool.algo.ts:576 // applicationID: AppID.fromUint64(poolOneAppID) frame_dig 6 // poolOneAppID: uint64 itxn_field ApplicationID - // contracts/stakingPool.algo.ts:574 + // contracts/stakingPool.algo.ts:577 // methodArgs: [{ id: this.validatorId.value, poolId: this.poolId.value, poolAppId: this.app.id }] byte 0x76616c696461746f724964 // "validatorId" app_global_get @@ -2315,7 +2318,7 @@ epochBalanceUpdate: *if23_end: *if21_end: - // contracts/stakingPool.algo.ts:581 + // contracts/stakingPool.algo.ts:584 // validatorState = sendMethodCall({ // applicationID: AppID.fromUint64(this.creatingValidatorContractAppId.value), // methodArgs: [this.validatorId.value], @@ -2326,13 +2329,13 @@ epochBalanceUpdate: method "getValidatorState(uint64)(uint16,uint64,uint64,uint64)" itxn_field ApplicationArgs - // contracts/stakingPool.algo.ts:582 + // contracts/stakingPool.algo.ts:585 // applicationID: AppID.fromUint64(this.creatingValidatorContractAppId.value) byte 0x63726561746f72417070 // "creatorApp" app_global_get itxn_field ApplicationID - // contracts/stakingPool.algo.ts:583 + // contracts/stakingPool.algo.ts:586 // methodArgs: [this.validatorId.value] byte 0x76616c696461746f724964 // "validatorId" app_global_get @@ -2352,14 +2355,14 @@ epochBalanceUpdate: extract 4 0 frame_bury 9 // validatorState: (uint16,uint64,uint64,uint64) - // contracts/stakingPool.algo.ts:585 + // contracts/stakingPool.algo.ts:588 // rewardTokenHeldBack = validatorState.rewardTokenHeldBack frame_dig 9 // validatorState: (uint16,uint64,uint64,uint64) extract 18 8 btoi frame_bury 10 // rewardTokenHeldBack: uint64 - // contracts/stakingPool.algo.ts:591 + // contracts/stakingPool.algo.ts:594 // algoRewardAvail = this.app.address.balance - this.totalAlgoStaked.value - this.app.address.minBalance global CurrentApplicationAddress acct_params_get AcctBalance @@ -2373,18 +2376,18 @@ epochBalanceUpdate: - frame_bury 11 // algoRewardAvail: uint64 - // contracts/stakingPool.algo.ts:592 + // contracts/stakingPool.algo.ts:595 // isPoolSaturated = false int 0 frame_bury 12 // isPoolSaturated: bool - // contracts/stakingPool.algo.ts:593 + // contracts/stakingPool.algo.ts:596 // algoSaturationAmt = this.algoSaturationLevel() callsub algoSaturationLevel frame_bury 13 // algoSaturationAmt: uint64 // *if24_condition - // contracts/stakingPool.algo.ts:601 + // contracts/stakingPool.algo.ts:604 // validatorState.totalAlgoStaked > algoSaturationAmt frame_dig 9 // validatorState: (uint16,uint64,uint64,uint64) extract 10 8 @@ -2394,40 +2397,40 @@ epochBalanceUpdate: bz *if24_end // *if24_consequent - // contracts/stakingPool.algo.ts:602 + // contracts/stakingPool.algo.ts:605 // isPoolSaturated = true int 1 frame_bury 12 // isPoolSaturated: bool *if24_end: - // contracts/stakingPool.algo.ts:608 + // contracts/stakingPool.algo.ts:611 // tokenRewardAvail = 0 int 0 frame_bury 14 // tokenRewardAvail: uint64 - // contracts/stakingPool.algo.ts:609 + // contracts/stakingPool.algo.ts:612 // tokenRewardPaidOut = 0 int 0 frame_bury 15 // tokenRewardPaidOut: uint64 - // contracts/stakingPool.algo.ts:610 + // contracts/stakingPool.algo.ts:613 // validatorCommissionPaidOut = 0 int 0 frame_bury 16 // validatorCommissionPaidOut: uint64 - // contracts/stakingPool.algo.ts:611 + // contracts/stakingPool.algo.ts:614 // excessToFeeSink = 0 int 0 frame_bury 17 // excessToFeeSink: uint64 // *if25_condition - // contracts/stakingPool.algo.ts:612 + // contracts/stakingPool.algo.ts:615 // isTokenEligible frame_dig 5 // isTokenEligible: bool bz *if25_end // *if25_consequent - // contracts/stakingPool.algo.ts:613 + // contracts/stakingPool.algo.ts:616 // tokenRewardBal = // poolOneAddress.assetBalance(AssetID.fromUint64(validatorConfig.rewardTokenId)) - rewardTokenHeldBack frame_dig 7 // poolOneAddress: address @@ -2441,7 +2444,7 @@ epochBalanceUpdate: frame_bury 18 // tokenRewardBal: uint64 // *if26_condition - // contracts/stakingPool.algo.ts:618 + // contracts/stakingPool.algo.ts:621 // tokenRewardBal >= validatorConfig.rewardPerPayout frame_dig 18 // tokenRewardBal: uint64 frame_dig 0 // validatorConfig: (uint64,address,address,uint64,uint8,address,uint64[4],uint64,uint64,uint64,uint32,uint32,address,uint64,uint64,uint8,uint64,uint64) @@ -2451,7 +2454,7 @@ epochBalanceUpdate: bz *if26_end // *if26_consequent - // contracts/stakingPool.algo.ts:624 + // contracts/stakingPool.algo.ts:627 // ourPoolPctOfWhole = tokenPayoutRatio.poolPctOfWhole[this.poolId.value - 1] frame_dig 8 // tokenPayoutRatio: PoolTokenPayoutRatio int 0 @@ -2467,7 +2470,7 @@ epochBalanceUpdate: btoi frame_bury 19 // ourPoolPctOfWhole: uint64 - // contracts/stakingPool.algo.ts:627 + // contracts/stakingPool.algo.ts:630 // tokenRewardAvail = wideRatio([validatorConfig.rewardPerPayout, ourPoolPctOfWhole], [1_000_000]) frame_dig 0 // validatorConfig: (uint64,address,address,uint64,uint8,address,uint64[4],uint64,uint64,uint64,uint32,uint32,address,uint64,uint64,uint8,uint64,uint64) extract 161 8 @@ -2490,7 +2493,7 @@ epochBalanceUpdate: *if25_end: // *if27_condition - // contracts/stakingPool.algo.ts:630 + // contracts/stakingPool.algo.ts:633 // tokenRewardAvail === 0 frame_dig 14 // tokenRewardAvail: uint64 int 0 @@ -2499,7 +2502,7 @@ epochBalanceUpdate: // *if27_consequent // *if28_condition - // contracts/stakingPool.algo.ts:635 + // contracts/stakingPool.algo.ts:638 // algoRewardAvail < 1_000_000 frame_dig 11 // algoRewardAvail: uint64 int 1_000_000 @@ -2507,12 +2510,12 @@ epochBalanceUpdate: bz *if28_end // *if28_consequent - // contracts/stakingPool.algo.ts:636 + // contracts/stakingPool.algo.ts:639 // log('!token&&!noalgo to pay') byte 0x21746f6b656e2626216e6f616c676f20746f20706179 // "!token&&!noalgo to pay" log - // contracts/stakingPool.algo.ts:637 + // contracts/stakingPool.algo.ts:640 // return retsub @@ -2520,13 +2523,13 @@ epochBalanceUpdate: *if27_end: // *if29_condition - // contracts/stakingPool.algo.ts:641 + // contracts/stakingPool.algo.ts:644 // isPoolSaturated frame_dig 12 // isPoolSaturated: bool bz *if29_elseif1_condition // *if29_consequent - // contracts/stakingPool.algo.ts:644 + // contracts/stakingPool.algo.ts:647 // diminishedReward = wideRatio([algoRewardAvail, algoSaturationAmt], [validatorState.totalAlgoStaked]) frame_dig 11 // algoRewardAvail: uint64 frame_dig 13 // algoSaturationAmt: uint64 @@ -2545,14 +2548,14 @@ epochBalanceUpdate: assert frame_bury 20 // diminishedReward: uint64 - // contracts/stakingPool.algo.ts:646 + // contracts/stakingPool.algo.ts:649 // excessToFeeSink = algoRewardAvail - diminishedReward frame_dig 11 // algoRewardAvail: uint64 frame_dig 20 // diminishedReward: uint64 - frame_bury 17 // excessToFeeSink: uint64 - // contracts/stakingPool.algo.ts:647 + // contracts/stakingPool.algo.ts:650 // sendPayment({ // amount: excessToFeeSink, // receiver: this.getFeeSink(), @@ -2562,17 +2565,17 @@ epochBalanceUpdate: int pay itxn_field TypeEnum - // contracts/stakingPool.algo.ts:648 + // contracts/stakingPool.algo.ts:651 // amount: excessToFeeSink frame_dig 17 // excessToFeeSink: uint64 itxn_field Amount - // contracts/stakingPool.algo.ts:649 + // contracts/stakingPool.algo.ts:652 // receiver: this.getFeeSink() callsub getFeeSink itxn_field Receiver - // contracts/stakingPool.algo.ts:650 + // contracts/stakingPool.algo.ts:653 // note: 'pool saturated, excess to fee sink' byte 0x706f6f6c207361747572617465642c2065786365737320746f206665652073696e6b // "pool saturated, excess to fee sink" itxn_field Note @@ -2584,14 +2587,14 @@ epochBalanceUpdate: // Submit inner transaction itxn_submit - // contracts/stakingPool.algo.ts:653 + // contracts/stakingPool.algo.ts:656 // algoRewardAvail = diminishedReward frame_dig 20 // diminishedReward: uint64 frame_bury 11 // algoRewardAvail: uint64 b *if29_end *if29_elseif1_condition: - // contracts/stakingPool.algo.ts:654 + // contracts/stakingPool.algo.ts:657 // validatorConfig.percentToValidator !== 0 frame_dig 0 // validatorConfig: (uint64,address,address,uint64,uint8,address,uint64[4],uint64,uint64,uint64,uint32,uint32,address,uint64,uint64,uint8,uint64,uint64) extract 173 4 @@ -2601,7 +2604,7 @@ epochBalanceUpdate: bz *if29_end // *if29_elseif1_consequent - // contracts/stakingPool.algo.ts:657 + // contracts/stakingPool.algo.ts:660 // validatorCommissionPaidOut = wideRatio( // [algoRewardAvail, validatorConfig.percentToValidator as uint64], // [1_000_000], @@ -2623,7 +2626,7 @@ epochBalanceUpdate: assert frame_bury 16 // validatorCommissionPaidOut: uint64 - // contracts/stakingPool.algo.ts:663 + // contracts/stakingPool.algo.ts:666 // algoRewardAvail -= validatorCommissionPaidOut frame_dig 11 // algoRewardAvail: uint64 frame_dig 16 // validatorCommissionPaidOut: uint64 @@ -2631,7 +2634,7 @@ epochBalanceUpdate: frame_bury 11 // algoRewardAvail: uint64 // *if30_condition - // contracts/stakingPool.algo.ts:670 + // contracts/stakingPool.algo.ts:673 // validatorCommissionPaidOut > 0 frame_dig 16 // validatorCommissionPaidOut: uint64 int 0 @@ -2639,15 +2642,15 @@ epochBalanceUpdate: bz *if30_end // *if30_consequent - // contracts/stakingPool.algo.ts:673 + // contracts/stakingPool.algo.ts:676 // managerTopOff = 0 int 0 frame_bury 21 // managerTopOff: uint64 // *if31_condition - // contracts/stakingPool.algo.ts:675 + // contracts/stakingPool.algo.ts:678 // validatorConfig.manager !== validatorConfig.validatorCommissionAddress && - // validatorConfig.manager.balance - validatorConfig.manager.minBalance < 1_000_000 + // validatorConfig.manager.balance - validatorConfig.manager.minBalance < 2_100_000 frame_dig 0 // validatorConfig: (uint64,address,address,uint64,uint8,address,uint64[4],uint64,uint64,uint64,uint32,uint32,address,uint64,uint64,uint8,uint64,uint64) extract 40 32 frame_dig 0 // validatorConfig: (uint64,address,address,uint64,uint8,address,uint64[4],uint64,uint64,uint64,uint32,uint32,address,uint64,uint64,uint8,uint64,uint64) @@ -2664,7 +2667,7 @@ epochBalanceUpdate: acct_params_get AcctMinBalance pop - - int 1_000_000 + int 2_100_000 < && @@ -2672,22 +2675,22 @@ epochBalanceUpdate: bz *if31_end // *if31_consequent - // contracts/stakingPool.algo.ts:678 - // managerTopOff = validatorCommissionPaidOut < 1_000_000 ? validatorCommissionPaidOut : 1_000_000 + // contracts/stakingPool.algo.ts:681 + // managerTopOff = validatorCommissionPaidOut < 2_100_000 ? validatorCommissionPaidOut : 2_100_000 frame_dig 16 // validatorCommissionPaidOut: uint64 - int 1_000_000 + int 2_100_000 < bz *ternary2_false frame_dig 16 // validatorCommissionPaidOut: uint64 b *ternary2_end *ternary2_false: - int 1_000_000 + int 2_100_000 *ternary2_end: frame_bury 21 // managerTopOff: uint64 - // contracts/stakingPool.algo.ts:679 + // contracts/stakingPool.algo.ts:682 // sendPayment({ // amount: managerTopOff, // receiver: validatorConfig.manager, @@ -2697,18 +2700,18 @@ epochBalanceUpdate: int pay itxn_field TypeEnum - // contracts/stakingPool.algo.ts:680 + // contracts/stakingPool.algo.ts:683 // amount: managerTopOff frame_dig 21 // managerTopOff: uint64 itxn_field Amount - // contracts/stakingPool.algo.ts:681 + // contracts/stakingPool.algo.ts:684 // receiver: validatorConfig.manager frame_dig 0 // validatorConfig: (uint64,address,address,uint64,uint8,address,uint64[4],uint64,uint64,uint64,uint32,uint32,address,uint64,uint64,uint8,uint64,uint64) extract 40 32 itxn_field Receiver - // contracts/stakingPool.algo.ts:682 + // contracts/stakingPool.algo.ts:685 // note: 'validator reward to manager for funding epoch updates' byte 0x76616c696461746f722072657761726420746f206d616e6167657220666f722066756e64696e672065706f63682075706461746573 // "validator reward to manager for funding epoch updates" itxn_field Note @@ -2722,7 +2725,7 @@ epochBalanceUpdate: *if31_end: // *if32_condition - // contracts/stakingPool.algo.ts:685 + // contracts/stakingPool.algo.ts:688 // validatorCommissionPaidOut - managerTopOff > 0 frame_dig 16 // validatorCommissionPaidOut: uint64 frame_dig 21 // managerTopOff: uint64 @@ -2732,7 +2735,7 @@ epochBalanceUpdate: bz *if32_end // *if32_consequent - // contracts/stakingPool.algo.ts:686 + // contracts/stakingPool.algo.ts:689 // sendPayment({ // amount: validatorCommissionPaidOut - managerTopOff, // receiver: validatorConfig.validatorCommissionAddress, @@ -2742,20 +2745,20 @@ epochBalanceUpdate: int pay itxn_field TypeEnum - // contracts/stakingPool.algo.ts:687 + // contracts/stakingPool.algo.ts:690 // amount: validatorCommissionPaidOut - managerTopOff frame_dig 16 // validatorCommissionPaidOut: uint64 frame_dig 21 // managerTopOff: uint64 - itxn_field Amount - // contracts/stakingPool.algo.ts:688 + // contracts/stakingPool.algo.ts:691 // receiver: validatorConfig.validatorCommissionAddress frame_dig 0 // validatorConfig: (uint64,address,address,uint64,uint8,address,uint64[4],uint64,uint64,uint64,uint32,uint32,address,uint64,uint64,uint8,uint64,uint64) extract 177 32 itxn_field Receiver - // contracts/stakingPool.algo.ts:689 + // contracts/stakingPool.algo.ts:692 // note: 'validator reward' byte 0x76616c696461746f7220726577617264 // "validator reward" itxn_field Note @@ -2772,13 +2775,13 @@ epochBalanceUpdate: *if30_end: *if29_end: - // contracts/stakingPool.algo.ts:701 + // contracts/stakingPool.algo.ts:704 // increasedStake = 0 int 0 frame_bury 22 // increasedStake: uint64 // *if33_condition - // contracts/stakingPool.algo.ts:725 + // contracts/stakingPool.algo.ts:728 // algoRewardAvail !== 0 || tokenRewardAvail !== 0 frame_dig 11 // algoRewardAvail: uint64 int 0 @@ -2794,18 +2797,18 @@ epochBalanceUpdate: bz *if33_end // *if33_consequent - // contracts/stakingPool.algo.ts:726 + // contracts/stakingPool.algo.ts:729 // partialStakersTotalStake: uint64 = 0 int 0 frame_bury 23 // partialStakersTotalStake: uint64 - // contracts/stakingPool.algo.ts:727 + // contracts/stakingPool.algo.ts:730 // for (let i = 0; i < this.stakers.value.length; i += 1) int 0 frame_bury 24 // i: uint64 *for_4: - // contracts/stakingPool.algo.ts:727 + // contracts/stakingPool.algo.ts:730 // i < this.stakers.value.length frame_dig 24 // i: uint64 int 200 @@ -2813,7 +2816,7 @@ epochBalanceUpdate: bz *for_4_end // *if34_condition - // contracts/stakingPool.algo.ts:728 + // contracts/stakingPool.algo.ts:731 // globals.opcodeBudget < 400 global OpcodeBudget int 400 @@ -2821,7 +2824,7 @@ epochBalanceUpdate: bz *if34_end // *if34_consequent - // contracts/stakingPool.algo.ts:729 + // contracts/stakingPool.algo.ts:732 // increaseOpcodeBudget() itxn_begin int appl @@ -2837,7 +2840,7 @@ epochBalanceUpdate: itxn_submit *if34_end: - // contracts/stakingPool.algo.ts:731 + // contracts/stakingPool.algo.ts:734 // cmpStaker = clone(this.stakers.value[i]) frame_dig 24 // i: uint64 int 64 @@ -2849,7 +2852,7 @@ epochBalanceUpdate: frame_bury 25 // cmpStaker: (address,uint64,uint64,uint64,uint64) // *if35_condition - // contracts/stakingPool.algo.ts:732 + // contracts/stakingPool.algo.ts:735 // cmpStaker.account !== globals.zeroAddress frame_dig 25 // cmpStaker: (address,uint64,uint64,uint64,uint64) extract 0 32 @@ -2859,7 +2862,7 @@ epochBalanceUpdate: // *if35_consequent // *if36_condition - // contracts/stakingPool.algo.ts:733 + // contracts/stakingPool.algo.ts:736 // cmpStaker.entryRound >= thisEpochBegin frame_dig 25 // cmpStaker: (address,uint64,uint64,uint64,uint64) extract 56 8 @@ -2869,7 +2872,7 @@ epochBalanceUpdate: bz *if36_else // *if36_consequent - // contracts/stakingPool.algo.ts:736 + // contracts/stakingPool.algo.ts:739 // partialStakersTotalStake += cmpStaker.balance frame_dig 23 // partialStakersTotalStake: uint64 frame_dig 25 // cmpStaker: (address,uint64,uint64,uint64,uint64) @@ -2880,7 +2883,7 @@ epochBalanceUpdate: b *if36_end *if36_else: - // contracts/stakingPool.algo.ts:740 + // contracts/stakingPool.algo.ts:743 // timeInPool = thisEpochBegin - cmpStaker.entryRound frame_dig 3 // thisEpochBegin: uint64 frame_dig 25 // cmpStaker: (address,uint64,uint64,uint64,uint64) @@ -2890,7 +2893,7 @@ epochBalanceUpdate: frame_bury 26 // timeInPool: uint64 // *if37_condition - // contracts/stakingPool.algo.ts:744 + // contracts/stakingPool.algo.ts:747 // timeInPool < epochRoundLength frame_dig 26 // timeInPool: uint64 frame_dig 1 // epochRoundLength: uint64 @@ -2898,7 +2901,7 @@ epochBalanceUpdate: bz *if37_end // *if37_consequent - // contracts/stakingPool.algo.ts:745 + // contracts/stakingPool.algo.ts:748 // partialStakersTotalStake += cmpStaker.balance frame_dig 23 // partialStakersTotalStake: uint64 frame_dig 25 // cmpStaker: (address,uint64,uint64,uint64,uint64) @@ -2907,7 +2910,7 @@ epochBalanceUpdate: + frame_bury 23 // partialStakersTotalStake: uint64 - // contracts/stakingPool.algo.ts:746 + // contracts/stakingPool.algo.ts:749 // timePercentage = (timeInPool * 1000) / epochRoundLength frame_dig 26 // timeInPool: uint64 int 1000 @@ -2917,7 +2920,7 @@ epochBalanceUpdate: frame_bury 27 // timePercentage: uint64 // *if38_condition - // contracts/stakingPool.algo.ts:748 + // contracts/stakingPool.algo.ts:751 // tokenRewardAvail > 0 frame_dig 14 // tokenRewardAvail: uint64 int 0 @@ -2925,7 +2928,7 @@ epochBalanceUpdate: bz *if38_end // *if38_consequent - // contracts/stakingPool.algo.ts:750 + // contracts/stakingPool.algo.ts:753 // stakerTokenReward = wideRatio( // [cmpStaker.balance, tokenRewardAvail, timePercentage], // [this.totalAlgoStaked.value, 1000], @@ -2958,14 +2961,14 @@ epochBalanceUpdate: assert frame_bury 28 // stakerTokenReward: uint64 - // contracts/stakingPool.algo.ts:757 + // contracts/stakingPool.algo.ts:760 // tokenRewardAvail -= stakerTokenReward frame_dig 14 // tokenRewardAvail: uint64 frame_dig 28 // stakerTokenReward: uint64 - frame_bury 14 // tokenRewardAvail: uint64 - // contracts/stakingPool.algo.ts:758 + // contracts/stakingPool.algo.ts:761 // cmpStaker.rewardTokenBalance += stakerTokenReward frame_dig 25 // cmpStaker: (address,uint64,uint64,uint64,uint64) int 48 // headOffset @@ -2978,7 +2981,7 @@ epochBalanceUpdate: replace3 frame_bury 25 // cmpStaker: (address,uint64,uint64,uint64,uint64) - // contracts/stakingPool.algo.ts:759 + // contracts/stakingPool.algo.ts:762 // tokenRewardPaidOut += stakerTokenReward frame_dig 15 // tokenRewardPaidOut: uint64 frame_dig 28 // stakerTokenReward: uint64 @@ -2987,7 +2990,7 @@ epochBalanceUpdate: *if38_end: // *if39_condition - // contracts/stakingPool.algo.ts:761 + // contracts/stakingPool.algo.ts:764 // algoRewardAvail > 0 frame_dig 11 // algoRewardAvail: uint64 int 0 @@ -2995,7 +2998,7 @@ epochBalanceUpdate: bz *if39_end // *if39_consequent - // contracts/stakingPool.algo.ts:763 + // contracts/stakingPool.algo.ts:766 // stakerReward = wideRatio( // [cmpStaker.balance, algoRewardAvail, timePercentage], // [this.totalAlgoStaked.value, 1000], @@ -3028,14 +3031,14 @@ epochBalanceUpdate: assert frame_bury 29 // stakerReward: uint64 - // contracts/stakingPool.algo.ts:770 + // contracts/stakingPool.algo.ts:773 // algoRewardAvail -= stakerReward frame_dig 11 // algoRewardAvail: uint64 frame_dig 29 // stakerReward: uint64 - frame_bury 11 // algoRewardAvail: uint64 - // contracts/stakingPool.algo.ts:773 + // contracts/stakingPool.algo.ts:776 // cmpStaker.balance += stakerReward frame_dig 25 // cmpStaker: (address,uint64,uint64,uint64,uint64) int 32 // headOffset @@ -3048,7 +3051,7 @@ epochBalanceUpdate: replace3 frame_bury 25 // cmpStaker: (address,uint64,uint64,uint64,uint64) - // contracts/stakingPool.algo.ts:774 + // contracts/stakingPool.algo.ts:777 // cmpStaker.totalRewarded += stakerReward frame_dig 25 // cmpStaker: (address,uint64,uint64,uint64,uint64) int 40 // headOffset @@ -3061,7 +3064,7 @@ epochBalanceUpdate: replace3 frame_bury 25 // cmpStaker: (address,uint64,uint64,uint64,uint64) - // contracts/stakingPool.algo.ts:775 + // contracts/stakingPool.algo.ts:778 // increasedStake += stakerReward frame_dig 22 // increasedStake: uint64 frame_dig 29 // stakerReward: uint64 @@ -3069,7 +3072,7 @@ epochBalanceUpdate: frame_bury 22 // increasedStake: uint64 *if39_end: - // contracts/stakingPool.algo.ts:778 + // contracts/stakingPool.algo.ts:781 // this.stakers.value[i] = cmpStaker frame_dig 24 // i: uint64 int 64 @@ -3086,7 +3089,7 @@ epochBalanceUpdate: *if35_end: *for_4_continue: - // contracts/stakingPool.algo.ts:727 + // contracts/stakingPool.algo.ts:730 // i += 1 frame_dig 24 // i: uint64 int 1 @@ -3095,7 +3098,7 @@ epochBalanceUpdate: b *for_4 *for_4_end: - // contracts/stakingPool.algo.ts:786 + // contracts/stakingPool.algo.ts:789 // newPoolTotalStake = this.totalAlgoStaked.value - partialStakersTotalStake byte 0x7374616b6564 // "staked" app_global_get @@ -3104,7 +3107,7 @@ epochBalanceUpdate: frame_bury 30 // newPoolTotalStake: uint64 // *if40_condition - // contracts/stakingPool.algo.ts:790 + // contracts/stakingPool.algo.ts:793 // newPoolTotalStake > 0 frame_dig 30 // newPoolTotalStake: uint64 int 0 @@ -3112,13 +3115,13 @@ epochBalanceUpdate: bz *if40_end // *if40_consequent - // contracts/stakingPool.algo.ts:792 + // contracts/stakingPool.algo.ts:795 // for (let i = 0; i < this.stakers.value.length; i += 1) int 0 frame_bury 31 // i: uint64 *for_5: - // contracts/stakingPool.algo.ts:792 + // contracts/stakingPool.algo.ts:795 // i < this.stakers.value.length frame_dig 31 // i: uint64 int 200 @@ -3126,7 +3129,7 @@ epochBalanceUpdate: bz *for_5_end // *if41_condition - // contracts/stakingPool.algo.ts:793 + // contracts/stakingPool.algo.ts:796 // globals.opcodeBudget < 200 global OpcodeBudget int 200 @@ -3134,7 +3137,7 @@ epochBalanceUpdate: bz *if41_end // *if41_consequent - // contracts/stakingPool.algo.ts:794 + // contracts/stakingPool.algo.ts:797 // increaseOpcodeBudget() itxn_begin int appl @@ -3150,7 +3153,7 @@ epochBalanceUpdate: itxn_submit *if41_end: - // contracts/stakingPool.algo.ts:796 + // contracts/stakingPool.algo.ts:799 // cmpStaker = clone(this.stakers.value[i]) frame_dig 31 // i: uint64 int 64 @@ -3162,7 +3165,7 @@ epochBalanceUpdate: frame_bury 32 // cmpStaker: (address,uint64,uint64,uint64,uint64) // *if42_condition - // contracts/stakingPool.algo.ts:797 + // contracts/stakingPool.algo.ts:800 // cmpStaker.account !== globals.zeroAddress && cmpStaker.entryRound < thisEpochBegin frame_dig 32 // cmpStaker: (address,uint64,uint64,uint64,uint64) extract 0 32 @@ -3181,7 +3184,7 @@ epochBalanceUpdate: bz *if42_end // *if42_consequent - // contracts/stakingPool.algo.ts:798 + // contracts/stakingPool.algo.ts:801 // timeInPool = thisEpochBegin - cmpStaker.entryRound frame_dig 3 // thisEpochBegin: uint64 frame_dig 32 // cmpStaker: (address,uint64,uint64,uint64,uint64) @@ -3191,7 +3194,7 @@ epochBalanceUpdate: frame_bury 33 // timeInPool: uint64 // *if43_condition - // contracts/stakingPool.algo.ts:800 + // contracts/stakingPool.algo.ts:803 // timeInPool >= epochRoundLength frame_dig 33 // timeInPool: uint64 frame_dig 1 // epochRoundLength: uint64 @@ -3200,7 +3203,7 @@ epochBalanceUpdate: // *if43_consequent // *if44_condition - // contracts/stakingPool.algo.ts:805 + // contracts/stakingPool.algo.ts:808 // tokenRewardAvail > 0 frame_dig 14 // tokenRewardAvail: uint64 int 0 @@ -3208,7 +3211,7 @@ epochBalanceUpdate: bz *if44_end // *if44_consequent - // contracts/stakingPool.algo.ts:806 + // contracts/stakingPool.algo.ts:809 // stakerTokenReward = wideRatio( // [cmpStaker.balance, tokenRewardAvail], // [newPoolTotalStake], @@ -3230,7 +3233,7 @@ epochBalanceUpdate: assert frame_bury 34 // stakerTokenReward: uint64 - // contracts/stakingPool.algo.ts:812 + // contracts/stakingPool.algo.ts:815 // cmpStaker.rewardTokenBalance += stakerTokenReward frame_dig 32 // cmpStaker: (address,uint64,uint64,uint64,uint64) int 48 // headOffset @@ -3243,7 +3246,7 @@ epochBalanceUpdate: replace3 frame_bury 32 // cmpStaker: (address,uint64,uint64,uint64,uint64) - // contracts/stakingPool.algo.ts:813 + // contracts/stakingPool.algo.ts:816 // tokenRewardPaidOut += stakerTokenReward frame_dig 15 // tokenRewardPaidOut: uint64 frame_dig 34 // stakerTokenReward: uint64 @@ -3252,7 +3255,7 @@ epochBalanceUpdate: *if44_end: // *if45_condition - // contracts/stakingPool.algo.ts:815 + // contracts/stakingPool.algo.ts:818 // algoRewardAvail > 0 frame_dig 11 // algoRewardAvail: uint64 int 0 @@ -3260,7 +3263,7 @@ epochBalanceUpdate: bz *if45_end // *if45_consequent - // contracts/stakingPool.algo.ts:816 + // contracts/stakingPool.algo.ts:819 // stakerReward = wideRatio( // [cmpStaker.balance, algoRewardAvail], // [newPoolTotalStake], @@ -3282,7 +3285,7 @@ epochBalanceUpdate: assert frame_bury 35 // stakerReward: uint64 - // contracts/stakingPool.algo.ts:822 + // contracts/stakingPool.algo.ts:825 // cmpStaker.balance += stakerReward frame_dig 32 // cmpStaker: (address,uint64,uint64,uint64,uint64) int 32 // headOffset @@ -3295,7 +3298,7 @@ epochBalanceUpdate: replace3 frame_bury 32 // cmpStaker: (address,uint64,uint64,uint64,uint64) - // contracts/stakingPool.algo.ts:823 + // contracts/stakingPool.algo.ts:826 // cmpStaker.totalRewarded += stakerReward frame_dig 32 // cmpStaker: (address,uint64,uint64,uint64,uint64) int 40 // headOffset @@ -3308,7 +3311,7 @@ epochBalanceUpdate: replace3 frame_bury 32 // cmpStaker: (address,uint64,uint64,uint64,uint64) - // contracts/stakingPool.algo.ts:824 + // contracts/stakingPool.algo.ts:827 // increasedStake += stakerReward frame_dig 22 // increasedStake: uint64 frame_dig 35 // stakerReward: uint64 @@ -3316,7 +3319,7 @@ epochBalanceUpdate: frame_bury 22 // increasedStake: uint64 *if45_end: - // contracts/stakingPool.algo.ts:828 + // contracts/stakingPool.algo.ts:831 // this.stakers.value[i] = cmpStaker frame_dig 31 // i: uint64 int 64 @@ -3331,7 +3334,7 @@ epochBalanceUpdate: *if42_end: *for_5_continue: - // contracts/stakingPool.algo.ts:792 + // contracts/stakingPool.algo.ts:795 // i += 1 frame_dig 31 // i: uint64 int 1 @@ -3344,7 +3347,7 @@ epochBalanceUpdate: *if40_end: *if33_end: - // contracts/stakingPool.algo.ts:838 + // contracts/stakingPool.algo.ts:841 // roundsLeftInBin = this.binRoundStart.value + this.roundsPerDay.value - globals.round byte 0x62696e526f756e645374617274 // "binRoundStart" app_global_get @@ -3355,7 +3358,7 @@ epochBalanceUpdate: - frame_bury 36 // roundsLeftInBin: uint64 - // contracts/stakingPool.algo.ts:839 + // contracts/stakingPool.algo.ts:842 // this.totalAlgoStaked.value += increasedStake byte 0x7374616b6564 // "staked" app_global_get @@ -3365,7 +3368,7 @@ epochBalanceUpdate: swap app_global_put - // contracts/stakingPool.algo.ts:840 + // contracts/stakingPool.algo.ts:843 // this.stakeAccumulator.value = // this.stakeAccumulator.value + (increasedStake as uint128) * (roundsLeftInBin as uint128) byte 0x7374616b65416363756d756c61746f72 // "stakeAccumulator" @@ -3395,7 +3398,7 @@ epochBalanceUpdate: substring3 app_global_put - // contracts/stakingPool.algo.ts:842 + // contracts/stakingPool.algo.ts:845 // this.rewardAccumulator.value = this.rewardAccumulator.value + increasedStake byte 0x726577617264416363756d756c61746f72 // "rewardAccumulator" dup @@ -3404,7 +3407,7 @@ epochBalanceUpdate: + app_global_put - // contracts/stakingPool.algo.ts:848 + // contracts/stakingPool.algo.ts:851 // sendMethodCall({ // applicationID: AppID.fromUint64(this.creatingValidatorContractAppId.value), // methodArgs: [ @@ -3421,13 +3424,13 @@ epochBalanceUpdate: method "stakeUpdatedViaRewards((uint64,uint64,uint64),uint64,uint64,uint64,uint64)void" itxn_field ApplicationArgs - // contracts/stakingPool.algo.ts:849 + // contracts/stakingPool.algo.ts:852 // applicationID: AppID.fromUint64(this.creatingValidatorContractAppId.value) byte 0x63726561746f72417070 // "creatorApp" app_global_get itxn_field ApplicationID - // contracts/stakingPool.algo.ts:850 + // contracts/stakingPool.algo.ts:853 // methodArgs: [ // { id: this.validatorId.value, poolId: this.poolId.value, poolAppId: this.app.id }, // increasedStake, @@ -3529,19 +3532,19 @@ goOnline: // Push empty bytes after the frame pointer to reserve space for local variables byte 0x - // contracts/stakingPool.algo.ts:882 + // contracts/stakingPool.algo.ts:885 // assert(this.isOwnerOrManagerCaller(), 'can only be called by owner or manager of validator') callsub isOwnerOrManagerCaller // can only be called by owner or manager of validator assert - // contracts/stakingPool.algo.ts:883 + // contracts/stakingPool.algo.ts:886 // extraFee = this.getGoOnlineFee() callsub getGoOnlineFee frame_bury 0 // extraFee: uint64 - // contracts/stakingPool.algo.ts:884 + // contracts/stakingPool.algo.ts:887 // verifyPayTxn(feePayment, { receiver: this.app.address, amount: extraFee }) // verify receiver frame_dig -1 // feePayment: PayTxn @@ -3561,7 +3564,7 @@ goOnline: // transaction verification failed: {"txn":"feePayment","field":"amount","expected":"extraFee"} assert - // contracts/stakingPool.algo.ts:885 + // contracts/stakingPool.algo.ts:888 // sendOnlineKeyRegistration({ // votePK: votePK, // selectionPK: selectionPK, @@ -3575,37 +3578,37 @@ goOnline: int keyreg itxn_field TypeEnum - // contracts/stakingPool.algo.ts:886 + // contracts/stakingPool.algo.ts:889 // votePK: votePK frame_dig -2 // votePK: bytes itxn_field VotePK - // contracts/stakingPool.algo.ts:887 + // contracts/stakingPool.algo.ts:890 // selectionPK: selectionPK frame_dig -3 // selectionPK: bytes itxn_field SelectionPK - // contracts/stakingPool.algo.ts:888 + // contracts/stakingPool.algo.ts:891 // stateProofPK: stateProofPK frame_dig -4 // stateProofPK: bytes itxn_field StateProofPK - // contracts/stakingPool.algo.ts:889 + // contracts/stakingPool.algo.ts:892 // voteFirst: voteFirst frame_dig -5 // voteFirst: uint64 itxn_field VoteFirst - // contracts/stakingPool.algo.ts:890 + // contracts/stakingPool.algo.ts:893 // voteLast: voteLast frame_dig -6 // voteLast: uint64 itxn_field VoteLast - // contracts/stakingPool.algo.ts:891 + // contracts/stakingPool.algo.ts:894 // voteKeyDilution: voteKeyDilution frame_dig -7 // voteKeyDilution: uint64 itxn_field VoteKeyDilution - // contracts/stakingPool.algo.ts:892 + // contracts/stakingPool.algo.ts:895 // fee: this.getGoOnlineFee() callsub getGoOnlineFee itxn_field Fee @@ -3629,7 +3632,7 @@ goOffline: proto 0 0 // *if46_condition - // contracts/stakingPool.algo.ts:904 + // contracts/stakingPool.algo.ts:907 // this.txn.sender !== AppID.fromUint64(this.creatingValidatorContractAppId.value).address txn Sender byte 0x63726561746f72417070 // "creatorApp" @@ -3640,7 +3643,7 @@ goOffline: bz *if46_end // *if46_consequent - // contracts/stakingPool.algo.ts:905 + // contracts/stakingPool.algo.ts:908 // assert(this.isOwnerOrManagerCaller(), 'can only be called by owner or manager of validator') callsub isOwnerOrManagerCaller @@ -3648,7 +3651,7 @@ goOffline: assert *if46_end: - // contracts/stakingPool.algo.ts:908 + // contracts/stakingPool.algo.ts:911 // sendOfflineKeyRegistration({}) itxn_begin int keyreg @@ -3681,14 +3684,14 @@ goOffline: linkToNFD: proto 2 0 - // contracts/stakingPool.algo.ts:915 + // contracts/stakingPool.algo.ts:918 // assert(this.isOwnerOrManagerCaller(), 'can only be called by owner or manager of validator') callsub isOwnerOrManagerCaller // can only be called by owner or manager of validator assert - // contracts/stakingPool.algo.ts:917 + // contracts/stakingPool.algo.ts:920 // sendAppCall({ // applicationID: AppID.fromUint64(this.nfdRegistryAppId), // applicationArgs: ['verify_nfd_addr', nfdName, itob(nfdAppId), rawBytes(this.app.address)], @@ -3698,12 +3701,12 @@ linkToNFD: int appl itxn_field TypeEnum - // contracts/stakingPool.algo.ts:918 + // contracts/stakingPool.algo.ts:921 // applicationID: AppID.fromUint64(this.nfdRegistryAppId) pushints TMPL_nfdRegistryAppId itxn_field ApplicationID - // contracts/stakingPool.algo.ts:919 + // contracts/stakingPool.algo.ts:922 // applicationArgs: ['verify_nfd_addr', nfdName, itob(nfdAppId), rawBytes(this.app.address)] byte 0x7665726966795f6e66645f61646472 // "verify_nfd_addr" itxn_field ApplicationArgs @@ -3715,7 +3718,7 @@ linkToNFD: global CurrentApplicationAddress itxn_field ApplicationArgs - // contracts/stakingPool.algo.ts:920 + // contracts/stakingPool.algo.ts:923 // applications: [AppID.fromUint64(nfdAppId)] frame_dig -1 // nfdAppId: uint64 itxn_field Applications @@ -3762,7 +3765,7 @@ proxiedSetTokenPayoutRatio: // Push empty bytes after the frame pointer to reserve space for local variables byte 0x - // contracts/stakingPool.algo.ts:931 + // contracts/stakingPool.algo.ts:934 // assert(this.validatorId.value === poolKey.id, 'caller must be part of same validator set!') byte 0x76616c696461746f724964 // "validatorId" app_global_get @@ -3774,7 +3777,7 @@ proxiedSetTokenPayoutRatio: // caller must be part of same validator set! assert - // contracts/stakingPool.algo.ts:932 + // contracts/stakingPool.algo.ts:935 // assert(this.poolId.value === 1, 'callee must be pool 1') byte 0x706f6f6c4964 // "poolId" app_global_get @@ -3784,7 +3787,7 @@ proxiedSetTokenPayoutRatio: // callee must be pool 1 assert - // contracts/stakingPool.algo.ts:933 + // contracts/stakingPool.algo.ts:936 // assert(poolKey.poolId !== 1, 'caller must NOT be pool 1') frame_dig -1 // poolKey: ValidatorPoolKey extract 8 8 @@ -3795,7 +3798,7 @@ proxiedSetTokenPayoutRatio: // caller must NOT be pool 1 assert - // contracts/stakingPool.algo.ts:935 + // contracts/stakingPool.algo.ts:938 // callerPoolAppID = sendMethodCall({ // applicationID: AppID.fromUint64(this.creatingValidatorContractAppId.value), // methodArgs: [poolKey.id, poolKey.poolId], @@ -3806,13 +3809,13 @@ proxiedSetTokenPayoutRatio: method "getPoolAppId(uint64,uint64)uint64" itxn_field ApplicationArgs - // contracts/stakingPool.algo.ts:936 + // contracts/stakingPool.algo.ts:939 // applicationID: AppID.fromUint64(this.creatingValidatorContractAppId.value) byte 0x63726561746f72417070 // "creatorApp" app_global_get itxn_field ApplicationID - // contracts/stakingPool.algo.ts:937 + // contracts/stakingPool.algo.ts:940 // methodArgs: [poolKey.id, poolKey.poolId] frame_dig -1 // poolKey: ValidatorPoolKey extract 0 8 @@ -3839,7 +3842,7 @@ proxiedSetTokenPayoutRatio: btoi frame_bury 0 // callerPoolAppID: uint64 - // contracts/stakingPool.algo.ts:939 + // contracts/stakingPool.algo.ts:942 // assert(callerPoolAppID === poolKey.poolAppId) frame_dig 0 // callerPoolAppID: uint64 frame_dig -1 // poolKey: ValidatorPoolKey @@ -3848,7 +3851,7 @@ proxiedSetTokenPayoutRatio: == assert - // contracts/stakingPool.algo.ts:940 + // contracts/stakingPool.algo.ts:943 // assert(this.txn.sender === AppID.fromUint64(poolKey.poolAppId).address) txn Sender frame_dig -1 // poolKey: ValidatorPoolKey @@ -3859,7 +3862,7 @@ proxiedSetTokenPayoutRatio: == assert - // contracts/stakingPool.algo.ts:942 + // contracts/stakingPool.algo.ts:945 // return sendMethodCall({ // applicationID: AppID.fromUint64(this.creatingValidatorContractAppId.value), // methodArgs: [this.validatorId.value], @@ -3870,13 +3873,13 @@ proxiedSetTokenPayoutRatio: method "setTokenPayoutRatio(uint64)(uint64[24],uint64)" itxn_field ApplicationArgs - // contracts/stakingPool.algo.ts:943 + // contracts/stakingPool.algo.ts:946 // applicationID: AppID.fromUint64(this.creatingValidatorContractAppId.value) byte 0x63726561746f72417070 // "creatorApp" app_global_get itxn_field ApplicationID - // contracts/stakingPool.algo.ts:944 + // contracts/stakingPool.algo.ts:947 // methodArgs: [this.validatorId.value] byte 0x76616c696461746f724964 // "validatorId" app_global_get @@ -3906,7 +3909,7 @@ isOwnerOrManagerCaller: // Push empty bytes after the frame pointer to reserve space for local variables byte 0x - // contracts/stakingPool.algo.ts:949 + // contracts/stakingPool.algo.ts:952 // OwnerAndManager = sendMethodCall({ // applicationID: AppID.fromUint64(this.creatingValidatorContractAppId.value), // methodArgs: [this.validatorId.value], @@ -3917,13 +3920,13 @@ isOwnerOrManagerCaller: method "getValidatorOwnerAndManager(uint64)(address,address)" itxn_field ApplicationArgs - // contracts/stakingPool.algo.ts:950 + // contracts/stakingPool.algo.ts:953 // applicationID: AppID.fromUint64(this.creatingValidatorContractAppId.value) byte 0x63726561746f72417070 // "creatorApp" app_global_get itxn_field ApplicationID - // contracts/stakingPool.algo.ts:951 + // contracts/stakingPool.algo.ts:954 // methodArgs: [this.validatorId.value] byte 0x76616c696461746f724964 // "validatorId" app_global_get @@ -3943,7 +3946,7 @@ isOwnerOrManagerCaller: extract 4 0 frame_bury 0 // OwnerAndManager: (address,address) - // contracts/stakingPool.algo.ts:953 + // contracts/stakingPool.algo.ts:956 // return this.txn.sender === OwnerAndManager[0] || this.txn.sender === OwnerAndManager[1] txn Sender frame_dig 0 // OwnerAndManager: (address,address) @@ -3966,7 +3969,7 @@ isOwnerOrManagerCaller: getFeeSink: proto 0 1 - // contracts/stakingPool.algo.ts:957 + // contracts/stakingPool.algo.ts:960 // return this.feeSinkAddr pushbytes TMPL_feeSinkAddr retsub @@ -3981,12 +3984,12 @@ algoSaturationLevel: // Push empty bytes after the frame pointer to reserve space for local variables byte 0x - // contracts/stakingPool.algo.ts:967 + // contracts/stakingPool.algo.ts:970 // online = this.getCurrentOnlineStake() callsub getCurrentOnlineStake frame_bury 0 // online: uint64 - // contracts/stakingPool.algo.ts:969 + // contracts/stakingPool.algo.ts:972 // return wideRatio([online, MAX_VALIDATOR_SOFT_PCT_OF_ONLINE_1DECIMAL], [1000]) frame_dig 0 // online: uint64 int 100 @@ -4013,26 +4016,26 @@ getGoOnlineFee: // Push empty bytes after the frame pointer to reserve space for local variables byte 0x - // contracts/stakingPool.algo.ts:976 + // contracts/stakingPool.algo.ts:979 // isOnline = false int 0 frame_bury 0 // isOnline: bool // *if47_condition - // contracts/stakingPool.algo.ts:977 + // contracts/stakingPool.algo.ts:980 // !isOnline frame_dig 0 // isOnline: bool ! bz *if47_end // *if47_consequent - // contracts/stakingPool.algo.ts:979 + // contracts/stakingPool.algo.ts:982 // return 2_000_000 int 2_000_000 b *getGoOnlineFee*return *if47_end: - // contracts/stakingPool.algo.ts:981 + // contracts/stakingPool.algo.ts:984 // return 0 int 0 @@ -4045,7 +4048,7 @@ getGoOnlineFee: getCurrentOnlineStake: proto 0 1 - // contracts/stakingPool.algo.ts:986 + // contracts/stakingPool.algo.ts:989 // return 2_000_000_000_000_000 int 2_000_000_000_000_000 retsub @@ -4060,7 +4063,7 @@ checkIfBinClosed: byte 0x dupn 4 - // contracts/stakingPool.algo.ts:993 + // contracts/stakingPool.algo.ts:996 // currentBinSize = this.roundsPerDay.value as uint128 byte 0x726f756e6473506572446179 // "roundsPerDay" app_global_get @@ -4068,7 +4071,7 @@ checkIfBinClosed: frame_bury 0 // currentBinSize: unsafe uint128 // *if48_condition - // contracts/stakingPool.algo.ts:994 + // contracts/stakingPool.algo.ts:997 // globals.round >= this.binRoundStart.value + (currentBinSize as uint64) global Round byte 0x62696e526f756e645374617274 // "binRoundStart" @@ -4097,7 +4100,7 @@ checkIfBinClosed: // *if48_consequent // *if49_condition - // contracts/stakingPool.algo.ts:995 + // contracts/stakingPool.algo.ts:998 // globals.opcodeBudget < 300 global OpcodeBudget int 300 @@ -4105,7 +4108,7 @@ checkIfBinClosed: bz *if49_end // *if49_consequent - // contracts/stakingPool.algo.ts:996 + // contracts/stakingPool.algo.ts:999 // increaseOpcodeBudget() itxn_begin int appl @@ -4121,7 +4124,7 @@ checkIfBinClosed: itxn_submit *if49_end: - // contracts/stakingPool.algo.ts:998 + // contracts/stakingPool.algo.ts:1001 // approxRoundsPerYear: uint128 = currentBinSize * (365 as uint128) frame_dig 0 // currentBinSize: unsafe uint128 byte 0x0000000000000000000000000000016d @@ -4144,7 +4147,7 @@ checkIfBinClosed: substring3 frame_bury 1 // approxRoundsPerYear: uint128 - // contracts/stakingPool.algo.ts:999 + // contracts/stakingPool.algo.ts:1002 // avgStake: uint128 = this.stakeAccumulator.value / currentBinSize byte 0x7374616b65416363756d756c61746f72 // "stakeAccumulator" app_global_get @@ -4169,7 +4172,7 @@ checkIfBinClosed: frame_bury 2 // avgStake: uint128 // *if50_condition - // contracts/stakingPool.algo.ts:1000 + // contracts/stakingPool.algo.ts:1003 // avgStake !== 0 frame_dig 2 // avgStake: uint128 byte 0x00000000000000000000000000000000 @@ -4177,7 +4180,7 @@ checkIfBinClosed: bz *if50_end // *if50_consequent - // contracts/stakingPool.algo.ts:1004 + // contracts/stakingPool.algo.ts:1007 // apr: uint128 = // (((this.rewardAccumulator.value as uint128) * (10000 as uint128)) / avgStake) * // (approxRoundsPerYear / currentBinSize) @@ -4210,13 +4213,13 @@ checkIfBinClosed: substring3 frame_bury 3 // apr: uint128 - // contracts/stakingPool.algo.ts:1008 + // contracts/stakingPool.algo.ts:1011 // alpha: uint128 = 10 as uint128 byte 0x0000000000000000000000000000000a frame_bury 4 // alpha: unsafe uint128 // *if51_condition - // contracts/stakingPool.algo.ts:1010 + // contracts/stakingPool.algo.ts:1013 // avgStake > 300000000000 frame_dig 2 // avgStake: uint128 byte 0x000000000000000000000045d964b800 @@ -4224,13 +4227,13 @@ checkIfBinClosed: bz *if51_end // *if51_consequent - // contracts/stakingPool.algo.ts:1011 + // contracts/stakingPool.algo.ts:1014 // alpha = 90 as uint128 byte 0x0000000000000000000000000000005a frame_bury 4 // alpha: unsafe uint128 *if51_end: - // contracts/stakingPool.algo.ts:1013 + // contracts/stakingPool.algo.ts:1016 // this.weightedMovingAverage.value = // (this.weightedMovingAverage.value * ((100 as uint128) - alpha)) / (100 as uint128) + // (apr * alpha) / (100 as uint128) @@ -4268,11 +4271,11 @@ checkIfBinClosed: app_global_put *if50_end: - // contracts/stakingPool.algo.ts:1019 + // contracts/stakingPool.algo.ts:1022 // this.setRoundsPerDay() callsub setRoundsPerDay - // contracts/stakingPool.algo.ts:1020 + // contracts/stakingPool.algo.ts:1023 // this.stakeAccumulator.value = (this.totalAlgoStaked.value as uint128) * (this.roundsPerDay.value as uint128) byte 0x7374616b65416363756d756c61746f72 // "stakeAccumulator" byte 0x7374616b6564 // "staked" @@ -4300,13 +4303,13 @@ checkIfBinClosed: substring3 app_global_put - // contracts/stakingPool.algo.ts:1021 + // contracts/stakingPool.algo.ts:1024 // this.rewardAccumulator.value = 0 byte 0x726577617264416363756d756c61746f72 // "rewardAccumulator" int 0 app_global_put - // contracts/stakingPool.algo.ts:1022 + // contracts/stakingPool.algo.ts:1025 // this.binRoundStart.value = globals.round - (globals.round % this.roundsPerDay.value) byte 0x62696e526f756e645374617274 // "binRoundStart" global Round @@ -4324,7 +4327,7 @@ checkIfBinClosed: setRoundsPerDay: proto 0 0 - // contracts/stakingPool.algo.ts:1027 + // contracts/stakingPool.algo.ts:1030 // this.roundsPerDay.value = AVG_ROUNDS_PER_DAY byte 0x726f756e6473506572446179 // "roundsPerDay" int 30857 diff --git a/contracts/contracts/artifacts/StakingPool.arc32.json b/contracts/contracts/artifacts/StakingPool.arc32.json index 0b2d0b52..2538fe99 100644 --- a/contracts/contracts/artifacts/StakingPool.arc32.json +++ b/contrac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V0CgoJLy8gY29udHJhY3RzL3N0YWtpbmdQb29sLmFsZ28udHM6MzY0CgkvLyBzZW5kTWV0aG9kQ2FsbDx0eXBlb2YgVmFsaWRhdG9yUmVnaXN0cnkucHJvdG90eXBlLnN0YWtlUmVtb3ZlZD4oewoJLy8gICAgICAgICAgICAgICAgICAgICBhcHBsaWNhdGlvbklEOiBBcHBJRC5mcm9tVWludDY0KHRoaXMuY3JlYXRpbmdWYWxpZGF0b3JDb250cmFjdEFwcElkLnZhbHVlKSwKCS8vICAgICAgICAgICAgICAgICAgICAgbWV0aG9kQXJnczogWwoJLy8gICAgICAgICAgICAgICAgICAgICAgICAgeyBpZDogdGhpcy52YWxpZGF0b3JJZC52YWx1ZSwgcG9vbElkOiB0aGlzLnBvb2xJZC52YWx1ZSwgcG9vbEFwcElkOiB0aGlzLmFwcC5pZCB9LAoJLy8gICAgICAgICAgICAgICAgICAgICAgICAgc3Rha2VyLAoJLy8gICAgICAgICAgICAgICAgICAgICAgICAgYW1vdW50VG9VbnN0YWtlLAoJLy8gICAgICAgICAgICAgICAgICAgICAgICAgYW1vdW50UmV3YXJkVG9rZW5SZW1vdmVkLAoJLy8gICAgICAgICAgICAgICAgICAgICAgICAgc3Rha2VyUmVtb3ZlZCwKCS8vICAgICAgICAgICAgICAgICAgICAgXSwKCS8vICAgICAgICAgICAgICAgICB9KQoJaXR4bl9iZWdpbgoJaW50IGFwcGwKCWl0eG5fZmllbGQgVHlwZUVudW0KCW1ldGhvZCAic3Rha2VSZW1vdmVkKCh1aW50NjQsdWludDY0LHVpbnQ2NCksYWRkcmVzcyx1aW50NjQsdWludDY0LGJvb2wpdm9pZCIKCWl0eG5fZmllbGQgQXBwbGljYXRpb25BcmdzCgoJLy8gY29udHJhY3RzL3N0YWtpbmdQb29sLmFsZ28udHM6MzY1CgkvLyBhcHBsaWNhdGlvbklEOiBBcHBJRC5mcm9tVWludDY0KHRoaXMuY3JlYXRpbmdWYWxpZGF0b3JDb250cmFjdEFwcElkLn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W9uKCl2b2lkIgoJdHhuYSBBcHBsaWNhdGlvbkFyZ3MgMAoJbWF0Y2ggKmFiaV9yb3V0ZV91cGRhdGVBcHBsaWNhdGlvbgoKCS8vIHRoaXMgY29udHJhY3QgZG9lcyBub3QgaW1wbGVtZW50IHRoZSBnaXZlbiBBQkkgbWV0aG9kIGZvciBjYWxsIFVwZGF0ZUFwcGxpY2F0aW9uCgllcnI=", "clear": "I3ByYWdtYSB2ZXJzaW9uIDEw" }, "contract": { @@ -290,7 +290,7 @@ }, { "name": "payTokenReward", - "desc": "[Internal protocol method] Remove a specified amount of 'community token' rewards for a staker.This can ONLY be called by our validator and only if we're pool 1 - with the token.", + "desc": "[Internal protocol method] Remove a specified amount of 'community token' rewards for a staker.This can ONLY be called by our validator and only if we're pool 1 - with the token.Note: this can also be called by validator as part of OWNER wanting to send the reward tokenssomewhere else (ie if they're sunsetting their validator and need the reward tokens back).It's up to the validator to ensure that the balance in rewardTokenHeldBack is honored.", "args": [ { "name": "staker", diff --git a/contracts/contracts/artifacts/StakingPool.arc4.json b/contracts/contracts/artifacts/StakingPool.arc4.json index 459e3975..a990e25c 100644 --- a/contracts/contracts/artifacts/StakingPool.arc4.json +++ b/contracts/contracts/artifacts/StakingPool.arc4.json @@ -124,7 +124,7 @@ }, { "name": "payTokenReward", - "desc": "[Internal protocol method] Remove a specified amount of 'community token' rewards for a staker.This can ONLY be called by our validator and only if we're pool 1 - with the token.", + "desc": "[Internal protocol method] Remove a specified amount of 'community token' rewards for a staker.This can ONLY be called by our validator and only if we're pool 1 - with the token.Note: this can also be called by validator as part of OWNER wanting to send the reward tokenssomewhere else (ie if they're sunsetting their validator and need the reward tokens back).It's up to the validator to ensure that the balance in rewardTokenHeldBack is honored.", "args": [ { "name": "staker", diff --git a/contracts/contracts/artifacts/StakingPool.src_map.json b/contracts/contracts/artifacts/StakingPool.src_map.json index e77a72b6..ad4f7862 100644 --- a/contracts/contracts/artifacts/StakingPool.src_map.json +++ b/contracts/contracts/artifacts/StakingPool.src_map.json @@ -292,61 +292,61 @@ 286, 287, 288, - 289 + 289, + 290, + 291, + 292, + 293 ] }, { "teal": 13, "source": 36, "pc": [ - 290, - 291 + 294, + 295 ] }, { "teal": 14, "source": 36, "pc": [ - 292 + 296 ] }, { "teal": 15, "source": 36, "pc": [ - 293 + 297 ] }, { "teal": 16, "source": 36, "pc": [ - 294 + 298 ] }, { "teal": 17, "source": 36, "pc": [ - 295, - 296 + 299, + 300 ] }, { "teal": 18, "source": 36, "pc": [ - 297 + 301 ] }, { "teal": 19, "source": 36, "pc": [ - 298, - 299, - 300, - 301, 302, 303, 304, @@ -368,7 +368,11 @@ 320, 321, 322, - 323 + 323, + 324, + 325, + 326, + 327 ] }, { @@ -376,57 +380,53 @@ "source": 36, "errorMessage": "The requested action is not implemented in this contract. Are you using the correct OnComplete? Did you set your app ID?", "pc": [ - 324 + 328 ] }, { "teal": 28, "source": 91, "pc": [ - 325, - 326, - 327 + 329, + 330, + 331 ] }, { "teal": 29, "source": 91, "pc": [ - 328 + 332 ] }, { "teal": 30, "source": 91, "pc": [ - 329 + 333 ] }, { "teal": 34, "source": 91, "pc": [ - 330, - 331, - 332 + 334, + 335, + 336 ] }, { "teal": 41, "source": 93, "pc": [ - 333, - 334 + 337, + 338 ] }, { "teal": 42, "source": 93, "pc": [ - 335, - 336, - 337, - 338, 339, 340, 341, @@ -456,14 +456,18 @@ 365, 366, 367, - 368 + 368, + 369, + 370, + 371, + 372 ] }, { "teal": 43, "source": 93, "pc": [ - 369 + 373 ] }, { @@ -471,289 +475,289 @@ "source": 92, "errorMessage": "Temporary: contract is upgradeable but only during testing and only from a development account", "pc": [ - 370 + 374 ] }, { "teal": 47, "source": 91, "pc": [ - 371 + 375 ] }, { "teal": 52, "source": 105, "pc": [ - 372, - 373, - 374 + 376, + 377, + 378 ] }, { "teal": 53, "source": 105, "pc": [ - 375 + 379 ] }, { "teal": 56, "source": 105, "pc": [ - 376, - 377, - 378 + 380, + 381, + 382 ] }, { "teal": 57, "source": 105, "pc": [ - 379 + 383 ] }, { "teal": 60, "source": 105, "pc": [ - 380, - 381, - 382 + 384, + 385, + 386 ] }, { "teal": 61, "source": 105, "pc": [ - 383 + 387 ] }, { "teal": 64, "source": 105, "pc": [ - 384, - 385, - 386 + 388, + 389, + 390 ] }, { "teal": 65, "source": 105, "pc": [ - 387 + 391 ] }, { "teal": 68, "source": 105, "pc": [ - 388, - 389, - 390 + 392, + 393, + 394 ] }, { "teal": 69, "source": 105, "pc": [ - 391 + 395 ] }, { "teal": 70, "source": 105, "pc": [ - 392 + 396 ] }, { "teal": 80, "source": 105, "pc": [ - 393, - 394, - 395 + 397, + 398, + 399 ] }, { "teal": 85, "source": 106, "pc": [ - 396, - 397 + 400, + 401 ] }, { "teal": 86, "source": 106, "pc": [ - 398 + 402 ] }, { "teal": 87, "source": 106, "pc": [ - 399 + 403 ] }, { "teal": 88, "source": 106, "pc": [ - 400, - 401, - 402 + 404, + 405, + 406 ] }, { "teal": 93, "source": 108, "pc": [ - 403, - 404 + 407, + 408 ] }, { "teal": 94, "source": 108, "pc": [ - 405 + 409 ] }, { "teal": 95, "source": 108, "pc": [ - 406 + 410 ] }, { "teal": 96, "source": 108, "pc": [ - 407 + 411 ] }, { "teal": 100, "source": 109, "pc": [ - 408, - 409 + 412, + 413 ] }, { "teal": 101, "source": 109, "pc": [ - 410 + 414 ] }, { "teal": 102, "source": 109, "pc": [ - 411 + 415 ] }, { "teal": 103, "source": 109, "pc": [ - 412 + 416 ] }, { "teal": 104, "source": 106, "pc": [ - 413, - 414, - 415 + 417, + 418, + 419 ] }, { "teal": 109, "source": 111, "pc": [ - 416, - 417 + 420, + 421 ] }, { "teal": 110, "source": 111, "pc": [ - 418 + 422 ] }, { "teal": 111, "source": 111, "pc": [ - 419 + 423 ] }, { "teal": 112, "source": 111, "pc": [ - 420 + 424 ] }, { "teal": 116, "source": 112, "pc": [ - 421, - 422 + 425, + 426 ] }, { "teal": 117, "source": 112, "pc": [ - 423 + 427 ] }, { "teal": 118, "source": 112, "pc": [ - 424 + 428 ] }, { "teal": 119, "source": 112, "pc": [ - 425 + 429 ] }, { "teal": 124, "source": 114, "pc": [ - 426, - 427 + 430, + 431 ] }, { "teal": 125, "source": 114, "pc": [ - 428, - 429 + 432, + 433 ] }, { "teal": 126, "source": 114, "pc": [ - 430 + 434 ] }, { @@ -761,474 +765,474 @@ "source": 114, "errorMessage": "staking pool must have minimum entry of 1 algo", "pc": [ - 431 + 435 ] }, { "teal": 133, "source": 115, "pc": [ - 432 + 436 ] }, { "teal": 134, "source": 115, "pc": [ - 433, - 434 + 437, + 438 ] }, { "teal": 135, "source": 115, "pc": [ - 435 + 439 ] }, { "teal": 139, "source": 116, "pc": [ - 436 + 440 ] }, { "teal": 140, "source": 116, "pc": [ - 437, - 438 + 441, + 442 ] }, { "teal": 141, "source": 116, "pc": [ - 439 + 443 ] }, { "teal": 145, "source": 117, "pc": [ - 440 + 444 ] }, { "teal": 146, "source": 117, "pc": [ - 441, - 442 + 445, + 446 ] }, { "teal": 147, "source": 117, "pc": [ - 443 + 447 ] }, { "teal": 151, "source": 118, "pc": [ - 444, - 445 + 448, + 449 ] }, { "teal": 152, "source": 118, "pc": [ - 446 + 450 ] }, { "teal": 153, "source": 118, "pc": [ - 447 + 451 ] }, { "teal": 157, "source": 119, "pc": [ - 448, - 449 + 452, + 453 ] }, { "teal": 158, "source": 119, "pc": [ - 450 + 454 ] }, { "teal": 159, "source": 119, "pc": [ - 451 + 455 ] }, { "teal": 163, "source": 120, "pc": [ - 452, - 453 + 456, + 457 ] }, { "teal": 164, "source": 120, "pc": [ - 454, - 455 + 458, + 459 ] }, { "teal": 165, "source": 120, "pc": [ - 456 + 460 ] }, { "teal": 169, "source": 121, "pc": [ - 457, - 458 + 461, + 462 ] }, { "teal": 170, "source": 121, "pc": [ - 459, - 460 + 463, + 464 ] }, { "teal": 171, "source": 121, "pc": [ - 461 + 465 ] }, { "teal": 175, "source": 122, "pc": [ - 462, - 463 + 466, + 467 ] }, { "teal": 176, "source": 122, "pc": [ - 464 + 468 ] }, { "teal": 177, "source": 122, "pc": [ - 465 + 469 ] }, { "teal": 181, "source": 124, "pc": [ - 466, - 467, - 468 + 470, + 471, + 472 ] }, { "teal": 185, "source": 125, "pc": [ - 469, - 470 + 473, + 474 ] }, { "teal": 186, "source": 125, "pc": [ - 471, - 472 + 475, + 476 ] }, { "teal": 187, "source": 125, "pc": [ - 473, - 474 + 477, + 478 ] }, { "teal": 188, "source": 125, "pc": [ - 475, - 476 + 479, + 480 ] }, { "teal": 189, "source": 125, "pc": [ - 477 + 481 ] }, { "teal": 190, "source": 125, "pc": [ - 478 + 482 ] }, { "teal": 191, "source": 125, "pc": [ - 479 + 483 ] }, { "teal": 192, "source": 125, "pc": [ - 480 + 484 ] }, { "teal": 196, "source": 126, "pc": [ - 481, - 482 + 485, + 486 ] }, { "teal": 197, "source": 126, "pc": [ - 483, - 484 + 487, + 488 ] }, { "teal": 198, "source": 126, "pc": [ - 485 + 489 ] }, { "teal": 202, "source": 127, "pc": [ - 486, - 487 + 490, + 491 ] }, { "teal": 203, "source": 127, "pc": [ - 488 + 492 ] }, { "teal": 204, "source": 127, "pc": [ - 489 + 493 ] }, { "teal": 208, "source": 128, "pc": [ - 490, - 491 + 494, + 495 ] }, { "teal": 209, "source": 128, "pc": [ - 492, - 493 + 496, + 497 ] }, { "teal": 210, "source": 128, "pc": [ - 494 + 498 ] }, { "teal": 211, "source": 105, "pc": [ - 495 + 499 ] }, { "teal": 216, "source": 134, "pc": [ - 496, - 497, - 498 + 500, + 501, + 502 ] }, { "teal": 217, "source": 134, "pc": [ - 499 + 503 ] }, { "teal": 218, "source": 134, "pc": [ - 500 + 504 ] }, { "teal": 224, "source": 134, "pc": [ - 501, - 502, - 503 + 505, + 506, + 507 ] }, { "teal": 225, "source": 134, "pc": [ - 504 + 508 ] }, { "teal": 229, "source": 136, "pc": [ - 505, - 506, - 507 + 509, + 510, + 511 ] }, { "teal": 233, "source": 140, "pc": [ - 508, - 509, - 510 + 512, + 513, + 514 ] }, { "teal": 234, "source": 140, "pc": [ - 511, - 512 + 515, + 516 ] }, { "teal": 235, "source": 140, "pc": [ - 513, - 514 + 517, + 518 ] }, { "teal": 236, "source": 140, "pc": [ - 515 + 519 ] }, { "teal": 237, "source": 140, "pc": [ - 516 + 520 ] }, { "teal": 238, "source": 136, "pc": [ - 517 + 521 ] }, { "teal": 243, "source": 150, "pc": [ - 518, - 519 + 522, + 523 ] }, { "teal": 244, "source": 150, "pc": [ - 520 + 524 ] }, { "teal": 245, "source": 150, "pc": [ - 521 + 525 ] }, { "teal": 246, "source": 150, "pc": [ - 522 + 526 ] }, { "teal": 247, "source": 150, "pc": [ - 523, - 524 + 527, + 528 ] }, { "teal": 248, "source": 150, "pc": [ - 525 + 529 ] }, { "teal": 249, "source": 150, "pc": [ - 526 + 530 ] }, { @@ -1236,90 +1240,90 @@ "source": 150, "errorMessage": "argument 0 (mbrPayment) for initStorage must be a pay transaction", "pc": [ - 527 + 531 ] }, { "teal": 255, "source": 150, "pc": [ - 528, - 529, - 530 + 532, + 533, + 534 ] }, { "teal": 256, "source": 150, "pc": [ - 531 + 535 ] }, { "teal": 257, "source": 150, "pc": [ - 532 + 536 ] }, { "teal": 267, "source": 150, "pc": [ - 533, - 534, - 535 + 537, + 538, + 539 ] }, { "teal": 270, "source": 150, "pc": [ - 536, - 537 + 540, + 541 ] }, { "teal": 271, "source": 150, "pc": [ - 538, - 539 + 542, + 543 ] }, { "teal": 275, "source": 151, "pc": [ - 540 + 544 ] }, { "teal": 276, "source": 151, "pc": [ - 541 + 545 ] }, { "teal": 277, "source": 151, "pc": [ - 542 + 546 ] }, { "teal": 278, "source": 151, "pc": [ - 543 + 547 ] }, { "teal": 279, "source": 151, "pc": [ - 544 + 548 ] }, { @@ -1327,398 +1331,398 @@ "source": 151, "errorMessage": "staking pool already initialized", "pc": [ - 545 + 549 ] }, { "teal": 289, "source": 154, "pc": [ - 546 + 550 ] }, { "teal": 290, "source": 154, "pc": [ - 547 + 551 ] }, { "teal": 291, "source": 154, "pc": [ - 548, - 549 + 552, + 553 ] }, { "teal": 292, "source": 154, "pc": [ - 550, - 551 + 554, + 555 ] }, { "teal": 293, "source": 154, "pc": [ - 552, - 553 + 556, + 557 ] }, { "teal": 297, "source": 155, "pc": [ - 554 + 558 ] }, { "teal": 298, "source": 155, "pc": [ - 555 + 559 ] }, { "teal": 299, "source": 155, "pc": [ - 556, - 557 + 560, + 561 ] }, { "teal": 303, "source": 156, "pc": [ - 558 + 562 ] }, { "teal": 304, "source": 156, "pc": [ - 559 + 563 ] }, { "teal": 305, "source": 156, "pc": [ - 560 + 564 ] }, { "teal": 306, "source": 156, "pc": [ - 561, - 562 + 565, + 566 ] }, { "teal": 309, "source": 154, "pc": [ - 563 + 567 ] }, { "teal": 310, "source": 154, "pc": [ - 564, - 565 + 568, + 569 ] }, { "teal": 313, "source": 154, "pc": [ - 566 + 570 ] }, { "teal": 314, "source": 154, "pc": [ - 567, - 568 + 571, + 572 ] }, { "teal": 315, "source": 154, "pc": [ - 569 + 573 ] }, { "teal": 316, "source": 154, "pc": [ - 570 + 574 ] }, { "teal": 317, "source": 154, "pc": [ - 571, - 572 + 575, + 576 ] }, { "teal": 318, "source": 154, "pc": [ - 573, - 574, - 575 + 577, + 578, + 579 ] }, { "teal": 319, "source": 154, "pc": [ - 576, - 577 + 580, + 581 ] }, { "teal": 323, "source": 158, "pc": [ - 578, - 579 + 582, + 583 ] }, { "teal": 324, "source": 158, "pc": [ - 580, - 581, - 582 + 584, + 585, + 586 ] }, { "teal": 325, "source": 158, "pc": [ - 583 + 587 ] }, { "teal": 326, "source": 158, "pc": [ - 584 + 588 ] }, { "teal": 327, "source": 158, "pc": [ - 585 + 589 ] }, { "teal": 328, "source": 158, "pc": [ - 586, - 587 + 590, + 591 ] }, { "teal": 332, "source": 159, "pc": [ - 588, - 589 + 592, + 593 ] }, { "teal": 333, "source": 159, "pc": [ - 590 + 594 ] }, { "teal": 334, "source": 159, "pc": [ - 591, - 592, - 593 + 595, + 596, + 597 ] }, { "teal": 335, "source": 159, "pc": [ - 594 + 598 ] }, { "teal": 336, "source": 159, "pc": [ - 595 + 599 ] }, { "teal": 337, "source": 159, "pc": [ - 596 + 600 ] }, { "teal": 338, "source": 159, "pc": [ - 597 + 601 ] }, { "teal": 339, "source": 159, "pc": [ - 598 + 602 ] }, { "teal": 342, "source": 159, "pc": [ - 599, - 600, - 601 + 603, + 604, + 605 ] }, { "teal": 343, "source": 159, "pc": [ - 602, - 603 + 606, + 607 ] }, { "teal": 344, "source": 159, "pc": [ - 604, - 605, - 606 + 608, + 609, + 610 ] }, { "teal": 347, "source": 159, "pc": [ - 607 + 611 ] }, { "teal": 350, "source": 159, "pc": [ - 608, - 609 + 612, + 613 ] }, { "teal": 357, "source": 161, "pc": [ - 610, - 611 + 614, + 615 ] }, { "teal": 358, "source": 162, "pc": [ - 612, - 613 + 616, + 617 ] }, { "teal": 359, "source": 161, "pc": [ - 614 + 618 ] }, { "teal": 360, "source": 163, "pc": [ - 615, - 616, - 617 + 619, + 620, + 621 ] }, { "teal": 361, "source": 163, "pc": [ - 618, - 619, - 620 + 622, + 623, + 624 ] }, { "teal": 362, "source": 162, "pc": [ - 621 + 625 ] }, { "teal": 363, "source": 160, "pc": [ - 622, - 623 + 626, + 627 ] }, { "teal": 368, "source": 166, "pc": [ - 624, - 625 + 628, + 629 ] }, { "teal": 369, "source": 166, "pc": [ - 626, - 627 + 630, + 631 ] }, { "teal": 370, "source": 166, "pc": [ - 628, - 629 + 632, + 633 ] }, { "teal": 371, "source": 166, "pc": [ - 630 + 634 ] }, { @@ -1726,38 +1730,38 @@ "source": 166, "errorMessage": "transaction verification failed: {\"txn\":\"mbrPayment\",\"field\":\"receiver\",\"expected\":\"this.app.address\"}", "pc": [ - 631 + 635 ] }, { "teal": 377, "source": 166, "pc": [ - 632, - 633 + 636, + 637 ] }, { "teal": 378, "source": 166, "pc": [ - 634, - 635 + 638, + 639 ] }, { "teal": 379, "source": 166, "pc": [ - 636, - 637 + 640, + 641 ] }, { "teal": 380, "source": 166, "pc": [ - 638 + 642 ] }, { @@ -1765,266 +1769,266 @@ "source": 166, "errorMessage": "transaction verification failed: {\"txn\":\"mbrPayment\",\"field\":\"amount\",\"expected\":\"PoolInitMbr\"}", "pc": [ - 639 + 643 ] }, { "teal": 387, "source": 167, "pc": [ - 640 + 644 ] }, { "teal": 388, "source": 167, "pc": [ - 641, - 642, - 643 + 645, + 646, + 647 ] }, { "teal": 389, "source": 167, "pc": [ - 644 + 648 ] }, { "teal": 390, "source": 167, "pc": [ - 645 + 649 ] }, { "teal": 395, "source": 169, "pc": [ - 646, - 647 + 650, + 651 ] }, { "teal": 396, "source": 169, "pc": [ - 648 + 652 ] }, { "teal": 397, "source": 169, "pc": [ - 649, - 650, - 651 + 653, + 654, + 655 ] }, { "teal": 398, "source": 169, "pc": [ - 652 + 656 ] }, { "teal": 399, "source": 169, "pc": [ - 653 + 657 ] }, { "teal": 400, "source": 169, "pc": [ - 654 + 658 ] }, { "teal": 401, "source": 169, "pc": [ - 655 + 659 ] }, { "teal": 402, "source": 169, "pc": [ - 656 + 660 ] }, { "teal": 405, "source": 169, "pc": [ - 657, - 658, - 659 + 661, + 662, + 663 ] }, { "teal": 414, "source": 171, "pc": [ - 660 + 664 ] }, { "teal": 415, "source": 171, "pc": [ - 661, - 662 + 665, + 666 ] }, { "teal": 416, "source": 171, "pc": [ - 663, - 664 + 667, + 668 ] }, { "teal": 420, "source": 172, "pc": [ - 665, - 666 + 669, + 670 ] }, { "teal": 421, "source": 172, "pc": [ - 667, - 668, - 669 + 671, + 672, + 673 ] }, { "teal": 422, "source": 172, "pc": [ - 670 + 674 ] }, { "teal": 423, "source": 172, "pc": [ - 671, - 672 + 675, + 676 ] }, { "teal": 427, "source": 173, "pc": [ - 673, - 674 + 677, + 678 ] }, { "teal": 428, "source": 173, "pc": [ - 675, - 676 + 679, + 680 ] }, { "teal": 432, "source": 174, "pc": [ - 677 + 681 ] }, { "teal": 433, "source": 174, "pc": [ - 678, - 679 + 682, + 683 ] }, { "teal": 436, "source": 171, "pc": [ - 680 + 684 ] }, { "teal": 437, "source": 171, "pc": [ - 681, - 682 + 685, + 686 ] }, { "teal": 440, "source": 171, "pc": [ - 683 + 687 ] }, { "teal": 443, "source": 150, "pc": [ - 684 + 688 ] }, { "teal": 448, "source": 189, "pc": [ - 685, - 686 + 689, + 690 ] }, { "teal": 451, "source": 189, "pc": [ - 687, - 688, - 689 + 691, + 692, + 693 ] }, { "teal": 452, "source": 189, "pc": [ - 690 + 694 ] }, { "teal": 453, "source": 189, "pc": [ - 691 + 695 ] }, { "teal": 454, "source": 189, "pc": [ - 692, - 693 + 696, + 697 ] }, { "teal": 455, "source": 189, "pc": [ - 694 + 698 ] }, { @@ -2032,58 +2036,58 @@ "source": 189, "errorMessage": "argument 0 (staker) for addStake must be a address", "pc": [ - 695 + 699 ] }, { "teal": 461, "source": 189, "pc": [ - 696, - 697 + 700, + 701 ] }, { "teal": 462, "source": 189, "pc": [ - 698 + 702 ] }, { "teal": 463, "source": 189, "pc": [ - 699 + 703 ] }, { "teal": 464, "source": 189, "pc": [ - 700 + 704 ] }, { "teal": 465, "source": 189, "pc": [ - 701, - 702 + 705, + 706 ] }, { "teal": 466, "source": 189, "pc": [ - 703 + 707 ] }, { "teal": 467, "source": 189, "pc": [ - 704 + 708 ] }, { @@ -2091,104 +2095,104 @@ "source": 189, "errorMessage": "argument 1 (stakedAmountPayment) for addStake must be a pay transaction", "pc": [ - 705 + 709 ] }, { "teal": 473, "source": 189, "pc": [ - 706, - 707, - 708 + 710, + 711, + 712 ] }, { "teal": 474, "source": 189, "pc": [ - 709 + 713 ] }, { "teal": 475, "source": 189, "pc": [ - 710 + 714 ] }, { "teal": 476, "source": 189, "pc": [ - 711 + 715 ] }, { "teal": 477, "source": 189, "pc": [ - 712 + 716 ] }, { "teal": 478, "source": 189, "pc": [ - 713 + 717 ] }, { "teal": 491, "source": 189, "pc": [ - 714, - 715, - 716 + 718, + 719, + 720 ] }, { "teal": 494, "source": 189, "pc": [ - 717, - 718 + 721, + 722 ] }, { "teal": 495, "source": 189, "pc": [ - 719, - 720 + 723, + 724 ] }, { "teal": 499, "source": 190, "pc": [ - 721 + 725 ] }, { "teal": 500, "source": 190, "pc": [ - 722 + 726 ] }, { "teal": 501, "source": 190, "pc": [ - 723 + 727 ] }, { "teal": 502, "source": 190, "pc": [ - 724 + 728 ] }, { @@ -2196,51 +2200,51 @@ "source": 190, "errorMessage": "staking pool must be initialized first", "pc": [ - 725 + 729 ] }, { "teal": 512, "source": 194, "pc": [ - 726, - 727 + 730, + 731 ] }, { "teal": 513, "source": 194, "pc": [ - 728 + 732 ] }, { "teal": 514, "source": 194, "pc": [ - 729 + 733 ] }, { "teal": 515, "source": 194, "pc": [ - 730, - 731 + 734, + 735 ] }, { "teal": 516, "source": 194, "pc": [ - 732 + 736 ] }, { "teal": 517, "source": 194, "pc": [ - 733 + 737 ] }, { @@ -2248,98 +2252,98 @@ "source": 193, "errorMessage": "stake can only be added via the validator contract", "pc": [ - 734 + 738 ] }, { "teal": 524, "source": 197, "pc": [ - 735, - 736 + 739, + 740 ] }, { "teal": 525, "source": 197, "pc": [ - 737, - 738 + 741, + 742 ] }, { "teal": 526, "source": 197, "pc": [ - 739 + 743 ] }, { "teal": 527, "source": 197, "pc": [ - 740 + 744 ] }, { "teal": 531, "source": 200, "pc": [ - 741, - 742, - 743 + 745, + 746, + 747 ] }, { "teal": 540, "source": 204, "pc": [ - 744, - 745 + 748, + 749 ] }, { "teal": 541, "source": 205, "pc": [ - 746, - 747 + 750, + 751 ] }, { "teal": 542, "source": 205, "pc": [ - 748 + 752 ] }, { "teal": 543, "source": 205, "pc": [ - 749 + 753 ] }, { "teal": 544, "source": 205, "pc": [ - 750, - 751 + 754, + 755 ] }, { "teal": 545, "source": 205, "pc": [ - 752 + 756 ] }, { "teal": 546, "source": 205, "pc": [ - 753 + 757 ] }, { @@ -2347,38 +2351,38 @@ "source": 205, "errorMessage": "transaction verification failed: {\"txn\":\"stakedAmountPayment\",\"field\":\"sender\",\"expected\":\"AppID.fromUint64(this.creatingValidatorContractAppId.value).address\"}", "pc": [ - 754 + 758 ] }, { "teal": 552, "source": 204, "pc": [ - 755, - 756 + 759, + 760 ] }, { "teal": 553, "source": 206, "pc": [ - 757, - 758 + 761, + 762 ] }, { "teal": 554, "source": 206, "pc": [ - 759, - 760 + 763, + 764 ] }, { "teal": 555, "source": 206, "pc": [ - 761 + 765 ] }, { @@ -2386,46 +2390,46 @@ "source": 206, "errorMessage": "transaction verification failed: {\"txn\":\"stakedAmountPayment\",\"field\":\"receiver\",\"expected\":\"this.app.address\"}", "pc": [ - 762 + 766 ] }, { "teal": 561, "source": 204, "pc": [ - 763, - 764 + 767, + 768 ] }, { "teal": 562, "source": 207, "pc": [ - 765, - 766 + 769, + 770 ] }, { "teal": 563, "source": 207, "pc": [ - 767, - 768 + 771, + 772 ] }, { "teal": 564, "source": 207, "pc": [ - 769, - 770 + 773, + 774 ] }, { "teal": 565, "source": 207, "pc": [ - 771 + 775 ] }, { @@ -2433,277 +2437,277 @@ "source": 207, "errorMessage": "transaction verification failed: {\"txn\":\"stakedAmountPayment\",\"field\":\"amount\",\"expected\":\"stakedAmountPayment.amount\"}", "pc": [ - 772 + 776 ] }, { "teal": 572, "source": 213, "pc": [ - 773, - 774 + 777, + 778 ] }, { "teal": 573, "source": 213, "pc": [ - 775, - 776, - 777 + 779, + 780, + 781 ] }, { "teal": 574, "source": 213, "pc": [ - 778 + 782 ] }, { "teal": 575, "source": 213, "pc": [ - 779, - 780 + 783, + 784 ] }, { "teal": 579, "source": 214, "pc": [ - 781 + 785 ] }, { "teal": 580, "source": 214, "pc": [ - 782, - 783 + 786, + 787 ] }, { "teal": 584, "source": 216, "pc": [ - 784, - 785 + 788, + 789 ] }, { "teal": 585, "source": 216, "pc": [ - 786 + 790 ] }, { "teal": 586, "source": 216, "pc": [ - 787, - 788 + 791, + 792 ] }, { "teal": 587, "source": 216, "pc": [ - 789, - 790 + 793, + 794 ] }, { "teal": 588, "source": 216, "pc": [ - 791 + 795 ] }, { "teal": 589, "source": 216, "pc": [ - 792, - 793 + 796, + 797 ] }, { "teal": 590, "source": 216, "pc": [ - 794 + 798 ] }, { "teal": 591, "source": 216, "pc": [ - 795 + 799 ] }, { "teal": 595, "source": 218, "pc": [ - 796, - 797 + 800, + 801 ] }, { "teal": 596, "source": 218, "pc": [ - 798 + 802 ] }, { "teal": 597, "source": 218, "pc": [ - 799, - 800 + 803, + 804 ] }, { "teal": 598, "source": 218, "pc": [ - 801 + 805 ] }, { "teal": 599, "source": 218, "pc": [ - 802 + 806 ] }, { "teal": 600, "source": 218, "pc": [ - 803, - 804 + 807, + 808 ] }, { "teal": 601, "source": 218, "pc": [ - 805 + 809 ] }, { "teal": 602, "source": 218, "pc": [ - 806, - 807 + 810, + 811 ] }, { "teal": 607, "source": 219, "pc": [ - 808, - 809 + 812, + 813 ] }, { "teal": 608, "source": 219, "pc": [ - 810 + 814 ] }, { "teal": 609, "source": 220, "pc": [ - 811 + 815 ] }, { "teal": 610, "source": 220, "pc": [ - 812, - 813 + 816, + 817 ] }, { "teal": 611, "source": 220, "pc": [ - 814, - 815 + 818, + 819 ] }, { "teal": 612, "source": 220, "pc": [ - 816 + 820 ] }, { "teal": 613, "source": 220, "pc": [ - 817, - 818 + 821, + 822 ] }, { "teal": 614, "source": 220, "pc": [ - 819 + 823 ] }, { "teal": 615, "source": 220, "pc": [ - 820 + 824 ] }, { "teal": 616, "source": 220, "pc": [ - 821 + 825 ] }, { "teal": 617, "source": 220, "pc": [ - 822 + 826 ] }, { "teal": 618, "source": 220, "pc": [ - 823 + 827 ] }, { "teal": 619, "source": 220, "pc": [ - 824, - 825 + 828, + 829 ] }, { "teal": 620, "source": 220, "pc": [ - 826 + 830 ] }, { @@ -2711,735 +2715,735 @@ "source": 220, "errorMessage": "this.stakeAccumulator.value + (stakedAmountPayment.amount as uint128) * (roundsLeftInBin as uint128) overflowed 128 bits", "pc": [ - 827 + 831 ] }, { "teal": 624, "source": 220, "pc": [ - 828, - 829 + 832, + 833 ] }, { "teal": 625, "source": 220, "pc": [ - 830 + 834 ] }, { "teal": 626, "source": 220, "pc": [ - 831 + 835 ] }, { "teal": 627, "source": 220, "pc": [ - 832 + 836 ] }, { "teal": 628, "source": 220, "pc": [ - 833 + 837 ] }, { "teal": 629, "source": 220, "pc": [ - 834, - 835 + 838, + 839 ] }, { "teal": 630, "source": 220, "pc": [ - 836 + 840 ] }, { "teal": 631, "source": 220, "pc": [ - 837 + 841 ] }, { "teal": 632, "source": 220, "pc": [ - 838 + 842 ] }, { "teal": 633, "source": 219, "pc": [ - 839 + 843 ] }, { "teal": 637, "source": 223, "pc": [ - 840 + 844 ] }, { "teal": 638, "source": 223, "pc": [ - 841, - 842 + 845, + 846 ] }, { "teal": 643, "source": 223, "pc": [ - 843, - 844 + 847, + 848 ] }, { "teal": 644, "source": 223, "pc": [ - 845, - 846 + 849, + 850 ] }, { "teal": 645, "source": 223, "pc": [ - 847 + 851 ] }, { "teal": 646, "source": 223, "pc": [ - 848, - 849, - 850 + 852, + 853, + 854 ] }, { "teal": 651, "source": 224, "pc": [ - 851, - 852 + 855, + 856 ] }, { "teal": 652, "source": 224, "pc": [ - 853, - 854 + 857, + 858 ] }, { "teal": 653, "source": 224, "pc": [ - 855 + 859 ] }, { "teal": 654, "source": 224, "pc": [ - 856, - 857, - 858 + 860, + 861, + 862 ] }, { "teal": 659, "source": 225, "pc": [ - 859 + 863 ] }, { "teal": 660, "source": 225, "pc": [ - 860 + 864 ] }, { "teal": 661, "source": 225, "pc": [ - 861, - 862 + 865, + 866 ] }, { "teal": 662, "source": 225, "pc": [ - 863 + 867 ] }, { "teal": 663, "source": 225, "pc": [ - 864, - 865 + 868, + 869 ] }, { "teal": 664, "source": 225, "pc": [ - 866, - 867 + 870, + 871 ] }, { "teal": 665, "source": 225, "pc": [ - 868 + 872 ] }, { "teal": 666, "source": 225, "pc": [ - 869, - 870 + 873, + 874 ] }, { "teal": 667, "source": 225, "pc": [ - 871, - 872 + 875, + 876 ] }, { "teal": 668, "source": 225, "pc": [ - 873, - 874 + 877, + 878 ] }, { "teal": 669, "source": 225, "pc": [ - 875, - 876 + 879, + 880 ] }, { "teal": 670, "source": 225, "pc": [ - 877 + 881 ] }, { "teal": 675, "source": 227, "pc": [ - 878, - 879 + 882, + 883 ] }, { "teal": 676, "source": 227, "pc": [ - 880 + 884 ] }, { "teal": 677, "source": 227, "pc": [ - 881 + 885 ] }, { "teal": 678, "source": 227, "pc": [ - 882 + 886 ] }, { "teal": 679, "source": 227, "pc": [ - 883 + 887 ] }, { "teal": 680, "source": 227, "pc": [ - 884, - 885 + 888, + 889 ] }, { "teal": 681, "source": 227, "pc": [ - 886 + 890 ] }, { "teal": 682, "source": 227, "pc": [ - 887, - 888 + 891, + 892 ] }, { "teal": 687, "source": 228, "pc": [ - 889, - 890 + 893, + 894 ] }, { "teal": 688, "source": 228, "pc": [ - 891, - 892, - 893 + 895, + 896, + 897 ] }, { "teal": 689, "source": 228, "pc": [ - 894, - 895 + 898, + 899 ] }, { "teal": 690, "source": 228, "pc": [ - 896 + 900 ] }, { "teal": 691, "source": 228, "pc": [ - 897, - 898, - 899 + 901, + 902, + 903 ] }, { "teal": 696, "source": 230, "pc": [ - 900, - 901 + 904, + 905 ] }, { "teal": 697, "source": 230, "pc": [ - 902, - 903 + 906, + 907 ] }, { "teal": 698, "source": 230, "pc": [ - 904, - 905 + 908, + 909 ] }, { "teal": 699, "source": 230, "pc": [ - 906, - 907, - 908 + 910, + 911, + 912 ] }, { "teal": 700, "source": 230, "pc": [ - 909 + 913 ] }, { "teal": 701, "source": 230, "pc": [ - 910, - 911 + 914, + 915 ] }, { "teal": 702, "source": 230, "pc": [ - 912, - 913 + 916, + 917 ] }, { "teal": 703, "source": 230, "pc": [ - 914 + 918 ] }, { "teal": 704, "source": 230, "pc": [ - 915 + 919 ] }, { "teal": 705, "source": 230, "pc": [ - 916 + 920 ] }, { "teal": 706, "source": 230, "pc": [ - 917, - 918 + 921, + 922 ] }, { "teal": 710, "source": 231, "pc": [ - 919, - 920 + 923, + 924 ] }, { "teal": 711, "source": 231, "pc": [ - 921, - 922 + 925, + 926 ] }, { "teal": 712, "source": 231, "pc": [ - 923, - 924 + 927, + 928 ] }, { "teal": 713, "source": 231, "pc": [ - 925 + 929 ] }, { "teal": 714, "source": 231, "pc": [ - 926 + 930 ] }, { "teal": 715, "source": 231, "pc": [ - 927, - 928 + 931, + 932 ] }, { "teal": 719, "source": 234, "pc": [ - 929, - 930 + 933, + 934 ] }, { "teal": 720, "source": 234, "pc": [ - 931 + 935 ] }, { "teal": 721, "source": 234, "pc": [ - 932 + 936 ] }, { "teal": 722, "source": 234, "pc": [ - 933, - 934 + 937, + 938 ] }, { "teal": 723, "source": 234, "pc": [ - 935 + 939 ] }, { "teal": 724, "source": 234, "pc": [ - 936, - 937 + 940, + 941 ] }, { "teal": 725, "source": 234, "pc": [ - 938 + 942 ] }, { "teal": 729, "source": 236, "pc": [ - 939, - 940 + 943, + 944 ] }, { "teal": 730, "source": 236, "pc": [ - 941, - 942, - 943 + 945, + 946, + 947 ] }, { "teal": 736, "source": 238, "pc": [ - 944, - 945 + 948, + 949 ] }, { "teal": 737, "source": 238, "pc": [ - 946 + 950 ] }, { "teal": 738, "source": 238, "pc": [ - 947 + 951 ] }, { "teal": 739, "source": 238, "pc": [ - 948 + 952 ] }, { "teal": 740, "source": 238, "pc": [ - 949, - 950, - 951 + 953, + 954, + 955 ] }, { "teal": 741, "source": 238, "pc": [ - 952, - 953 + 956, + 957 ] }, { "teal": 742, "source": 238, "pc": [ - 954, - 955, - 956 + 958, + 959, + 960 ] }, { "teal": 743, "source": 238, "pc": [ - 957, - 958 + 961, + 962 ] }, { "teal": 744, "source": 238, "pc": [ - 959 + 963 ] }, { "teal": 745, "source": 238, "pc": [ - 960 + 964 ] }, { "teal": 748, "source": 238, "pc": [ - 961, - 962, - 963 + 965, + 966, + 967 ] }, { "teal": 753, "source": 239, "pc": [ - 964, - 965 + 968, + 969 ] }, { "teal": 754, "source": 239, "pc": [ - 966 + 970 ] }, { "teal": 755, "source": 239, "pc": [ - 967 + 971 ] }, { "teal": 756, "source": 239, "pc": [ - 968, - 969 + 972, + 973 ] }, { "teal": 763, "source": 223, "pc": [ - 970, - 971 + 974, + 975 ] }, { "teal": 764, "source": 223, "pc": [ - 972 + 976 ] }, { "teal": 765, "source": 223, "pc": [ - 973 + 977 ] }, { "teal": 766, "source": 223, "pc": [ - 974, - 975 + 978, + 979 ] }, { "teal": 767, "source": 223, "pc": [ - 976, - 977, - 978 + 980, + 981, + 982 ] }, { "teal": 773, "source": 243, "pc": [ - 979, - 980 + 983, + 984 ] }, { "teal": 774, "source": 243, "pc": [ - 981 + 985 ] }, { "teal": 775, "source": 243, "pc": [ - 982 + 986 ] }, { "teal": 776, "source": 243, "pc": [ - 983, - 984, - 985 + 987, + 988, + 989 ] }, { @@ -3447,45 +3451,45 @@ "source": 245, "errorMessage": "Staking pool full", "pc": [ - 986 + 990 ] }, { "teal": 785, "source": 250, "pc": [ - 987, - 988 + 991, + 992 ] }, { "teal": 786, "source": 250, "pc": [ - 989, - 990 + 993, + 994 ] }, { "teal": 787, "source": 250, "pc": [ - 991, - 992 + 995, + 996 ] }, { "teal": 788, "source": 250, "pc": [ - 993 + 997 ] }, { "teal": 789, "source": 250, "pc": [ - 994 + 998 ] }, { @@ -3493,393 +3497,393 @@ "source": 250, "errorMessage": "must stake at least the minimum for this pool", "pc": [ - 995 + 999 ] }, { "teal": 796, "source": 252, "pc": [ - 996, - 997 + 1000, + 1001 ] }, { "teal": 797, "source": 252, "pc": [ - 998 + 1002 ] }, { "teal": 798, "source": 252, "pc": [ - 999 + 1003 ] }, { "teal": 799, "source": 252, "pc": [ - 1000 + 1004 ] }, { "teal": 800, "source": 252, "pc": [ - 1001 + 1005 ] }, { "teal": 801, "source": 252, "pc": [ - 1002 + 1006 ] }, { "teal": 802, "source": 252, "pc": [ - 1003 + 1007 ] }, { "teal": 803, "source": 252, "pc": [ - 1004, - 1005 + 1008, + 1009 ] }, { "teal": 804, "source": 252, "pc": [ - 1006 + 1010 ] }, { "teal": 805, "source": 252, "pc": [ - 1007, - 1008 + 1011, + 1012 ] }, { "teal": 806, "source": 252, "pc": [ - 1009 + 1013 ] }, { "teal": 807, "source": 252, "pc": [ - 1010, - 1011 + 1014, + 1015 ] }, { "teal": 808, "source": 252, "pc": [ - 1012 + 1016 ] }, { "teal": 809, "source": 252, "pc": [ - 1013 + 1017 ] }, { "teal": 819, "source": 253, "pc": [ - 1014, - 1015 + 1018, + 1019 ] }, { "teal": 820, "source": 253, "pc": [ - 1016 + 1020 ] }, { "teal": 821, "source": 253, "pc": [ - 1017 + 1021 ] }, { "teal": 822, "source": 253, "pc": [ - 1018 + 1022 ] }, { "teal": 823, "source": 253, "pc": [ - 1019 + 1023 ] }, { "teal": 824, "source": 254, "pc": [ - 1020, - 1021 + 1024, + 1025 ] }, { "teal": 825, "source": 255, "pc": [ - 1022, - 1023 + 1026, + 1027 ] }, { "teal": 826, "source": 255, "pc": [ - 1024, - 1025 + 1028, + 1029 ] }, { "teal": 827, "source": 255, "pc": [ - 1026 + 1030 ] }, { "teal": 828, "source": 255, "pc": [ - 1027 + 1031 ] }, { "teal": 829, "source": 256, "pc": [ - 1028, - 1029 + 1032, + 1033 ] }, { "teal": 830, "source": 256, "pc": [ - 1030 + 1034 ] }, { "teal": 831, "source": 257, "pc": [ - 1031, - 1032 + 1035, + 1036 ] }, { "teal": 832, "source": 257, "pc": [ - 1033 + 1037 ] }, { "teal": 833, "source": 258, "pc": [ - 1034, - 1035 + 1038, + 1039 ] }, { "teal": 834, "source": 258, "pc": [ - 1036 + 1040 ] }, { "teal": 835, "source": 258, "pc": [ - 1037 + 1041 ] }, { "teal": 836, "source": 253, "pc": [ - 1038 + 1042 ] }, { "teal": 837, "source": 253, "pc": [ - 1039, - 1040 + 1043, + 1044 ] }, { "teal": 838, "source": 253, "pc": [ - 1041 + 1045 ] }, { "teal": 842, "source": 260, "pc": [ - 1042, - 1043 + 1046, + 1047 ] }, { "teal": 843, "source": 260, "pc": [ - 1044 + 1048 ] }, { "teal": 844, "source": 260, "pc": [ - 1045 + 1049 ] }, { "teal": 845, "source": 260, "pc": [ - 1046 + 1050 ] }, { "teal": 846, "source": 260, "pc": [ - 1047, - 1048 + 1051, + 1052 ] }, { "teal": 847, "source": 260, "pc": [ - 1049 + 1053 ] }, { "teal": 848, "source": 260, "pc": [ - 1050 + 1054 ] }, { "teal": 852, "source": 261, "pc": [ - 1051, - 1052 + 1055, + 1056 ] }, { "teal": 856, "source": 189, "pc": [ - 1053, - 1054 + 1057, + 1058 ] }, { "teal": 859, "source": 189, "pc": [ - 1055, - 1056 + 1059, + 1060 ] }, { "teal": 860, "source": 189, "pc": [ - 1057 + 1061 ] }, { "teal": 865, "source": 275, "pc": [ - 1058, - 1059, - 1060 + 1062, + 1063, + 1064 ] }, { "teal": 866, "source": 275, "pc": [ - 1061 + 1065 ] }, { "teal": 869, "source": 275, "pc": [ - 1062, - 1063, - 1064 + 1066, + 1067, + 1068 ] }, { "teal": 870, "source": 275, "pc": [ - 1065 + 1069 ] }, { "teal": 871, "source": 275, "pc": [ - 1066 + 1070 ] }, { "teal": 872, "source": 275, "pc": [ - 1067, - 1068 + 1071, + 1072 ] }, { "teal": 873, "source": 275, "pc": [ - 1069 + 1073 ] }, { @@ -3887,96 +3891,96 @@ "source": 275, "errorMessage": "argument 1 (staker) for removeStake must be a address", "pc": [ - 1070 + 1074 ] }, { "teal": 879, "source": 275, "pc": [ - 1071, - 1072, - 1073 + 1075, + 1076, + 1077 ] }, { "teal": 880, "source": 275, "pc": [ - 1074 + 1078 ] }, { "teal": 881, "source": 275, "pc": [ - 1075 + 1079 ] }, { "teal": 895, "source": 275, "pc": [ - 1076, - 1077, - 1078 + 1080, + 1081, + 1082 ] }, { "teal": 898, "source": 275, "pc": [ - 1079, - 1080 + 1083, + 1084 ] }, { "teal": 899, "source": 275, "pc": [ - 1081, - 1082 + 1085, + 1086 ] }, { "teal": 904, "source": 278, "pc": [ - 1083, - 1084 + 1087, + 1088 ] }, { "teal": 905, "source": 278, "pc": [ - 1085, - 1086 + 1089, + 1090 ] }, { "teal": 906, "source": 278, "pc": [ - 1087 + 1091 ] }, { "teal": 907, "source": 278, "pc": [ - 1088, - 1089, - 1090 + 1092, + 1093, + 1094 ] }, { "teal": 915, "source": 280, "pc": [ - 1091, - 1092, - 1093 + 1095, + 1096, + 1097 ] }, { @@ -3984,397 +3988,397 @@ "source": 279, "errorMessage": "If staker is not sender in removeStake call, then sender MUST be owner or manager of validator", "pc": [ - 1094 + 1098 ] }, { "teal": 923, "source": 285, "pc": [ - 1095, - 1096, - 1097 + 1099, + 1100, + 1101 ] }, { "teal": 927, "source": 287, "pc": [ - 1098 + 1102 ] }, { "teal": 928, "source": 287, "pc": [ - 1099, - 1100 + 1103, + 1104 ] }, { "teal": 933, "source": 287, "pc": [ - 1101, - 1102 + 1105, + 1106 ] }, { "teal": 934, "source": 287, "pc": [ - 1103, - 1104 + 1107, + 1108 ] }, { "teal": 935, "source": 287, "pc": [ - 1105 + 1109 ] }, { "teal": 936, "source": 287, "pc": [ - 1106, - 1107, - 1108 + 1110, + 1111, + 1112 ] }, { "teal": 941, "source": 288, "pc": [ - 1109, - 1110 + 1113, + 1114 ] }, { "teal": 942, "source": 288, "pc": [ - 1111, - 1112 + 1115, + 1116 ] }, { "teal": 943, "source": 288, "pc": [ - 1113 + 1117 ] }, { "teal": 944, "source": 288, "pc": [ - 1114, - 1115, - 1116 + 1118, + 1119, + 1120 ] }, { "teal": 949, "source": 289, "pc": [ - 1117 + 1121 ] }, { "teal": 950, "source": 289, "pc": [ - 1118 + 1122 ] }, { "teal": 951, "source": 289, "pc": [ - 1119, - 1120 + 1123, + 1124 ] }, { "teal": 952, "source": 289, "pc": [ - 1121 + 1125 ] }, { "teal": 953, "source": 289, "pc": [ - 1122, - 1123 + 1126, + 1127 ] }, { "teal": 954, "source": 289, "pc": [ - 1124, - 1125 + 1128, + 1129 ] }, { "teal": 955, "source": 289, "pc": [ - 1126 + 1130 ] }, { "teal": 956, "source": 289, "pc": [ - 1127, - 1128 + 1131, + 1132 ] }, { "teal": 957, "source": 289, "pc": [ - 1129, - 1130 + 1133, + 1134 ] }, { "teal": 958, "source": 289, "pc": [ - 1131, - 1132 + 1135, + 1136 ] }, { "teal": 959, "source": 289, "pc": [ - 1133, - 1134 + 1137, + 1138 ] }, { "teal": 960, "source": 289, "pc": [ - 1135 + 1139 ] }, { "teal": 965, "source": 291, "pc": [ - 1136, - 1137 + 1140, + 1141 ] }, { "teal": 966, "source": 291, "pc": [ - 1138 + 1142 ] }, { "teal": 967, "source": 291, "pc": [ - 1139 + 1143 ] }, { "teal": 968, "source": 291, "pc": [ - 1140 + 1144 ] }, { "teal": 969, "source": 291, "pc": [ - 1141 + 1145 ] }, { "teal": 970, "source": 291, "pc": [ - 1142, - 1143 + 1146, + 1147 ] }, { "teal": 971, "source": 291, "pc": [ - 1144 + 1148 ] }, { "teal": 972, "source": 291, "pc": [ - 1145, - 1146 + 1149, + 1150 ] }, { "teal": 977, "source": 292, "pc": [ - 1147, - 1148 + 1151, + 1152 ] }, { "teal": 978, "source": 292, "pc": [ - 1149, - 1150, - 1151 + 1153, + 1154, + 1155 ] }, { "teal": 979, "source": 292, "pc": [ - 1152, - 1153 + 1156, + 1157 ] }, { "teal": 980, "source": 292, "pc": [ - 1154 + 1158 ] }, { "teal": 981, "source": 292, "pc": [ - 1155, - 1156, - 1157 + 1159, + 1160, + 1161 ] }, { "teal": 987, "source": 293, "pc": [ - 1158, - 1159 + 1162, + 1163 ] }, { "teal": 988, "source": 293, "pc": [ - 1160 + 1164 ] }, { "teal": 989, "source": 293, "pc": [ - 1161 + 1165 ] }, { "teal": 990, "source": 293, "pc": [ - 1162, - 1163, - 1164 + 1166, + 1167, + 1168 ] }, { "teal": 995, "source": 295, "pc": [ - 1165, - 1166 + 1169, + 1170 ] }, { "teal": 996, "source": 295, "pc": [ - 1167, - 1168, - 1169 + 1171, + 1172, + 1173 ] }, { "teal": 997, "source": 295, "pc": [ - 1170 + 1174 ] }, { "teal": 998, "source": 295, "pc": [ - 1171, - 1172 + 1175, + 1176 ] }, { "teal": 1004, "source": 297, "pc": [ - 1173, - 1174 + 1177, + 1178 ] }, { "teal": 1005, "source": 297, "pc": [ - 1175, - 1176, - 1177 + 1179, + 1180, + 1181 ] }, { "teal": 1006, "source": 297, "pc": [ - 1178 + 1182 ] }, { "teal": 1007, "source": 297, "pc": [ - 1179, - 1180 + 1183, + 1184 ] }, { "teal": 1008, "source": 297, "pc": [ - 1181 + 1185 ] }, { "teal": 1009, "source": 297, "pc": [ - 1182, - 1183, - 1184 + 1186, + 1187, + 1188 ] }, { @@ -4382,762 +4386,762 @@ "source": 298, "errorMessage": "Insufficient balance", "pc": [ - 1185 + 1189 ] }, { "teal": 1018, "source": 300, "pc": [ - 1186, - 1187 + 1190, + 1191 ] }, { "teal": 1019, "source": 300, "pc": [ - 1188, - 1189 + 1192, + 1193 ] }, { "teal": 1020, "source": 300, "pc": [ - 1190, - 1191 + 1194, + 1195 ] }, { "teal": 1021, "source": 300, "pc": [ - 1192, - 1193, - 1194 + 1196, + 1197, + 1198 ] }, { "teal": 1022, "source": 300, "pc": [ - 1195 + 1199 ] }, { "teal": 1023, "source": 300, "pc": [ - 1196, - 1197 + 1200, + 1201 ] }, { "teal": 1024, "source": 300, "pc": [ - 1198 + 1202 ] }, { "teal": 1025, "source": 300, "pc": [ - 1199 + 1203 ] }, { "teal": 1026, "source": 300, "pc": [ - 1200 + 1204 ] }, { "teal": 1027, "source": 300, "pc": [ - 1201, - 1202 + 1205, + 1206 ] }, { "teal": 1031, "source": 301, "pc": [ - 1203, - 1204 + 1207, + 1208 ] }, { "teal": 1032, "source": 301, "pc": [ - 1205 + 1209 ] }, { "teal": 1033, "source": 301, "pc": [ - 1206, - 1207 + 1210, + 1211 ] }, { "teal": 1034, "source": 301, "pc": [ - 1208 + 1212 ] }, { "teal": 1035, "source": 301, "pc": [ - 1209, - 1210 + 1213, + 1214 ] }, { "teal": 1036, "source": 301, "pc": [ - 1211 + 1215 ] }, { "teal": 1037, "source": 301, "pc": [ - 1212 + 1216 ] }, { "teal": 1041, "source": 303, "pc": [ - 1213 + 1217 ] }, { "teal": 1042, "source": 303, "pc": [ - 1214, - 1215 + 1218, + 1219 ] }, { "teal": 1047, "source": 304, "pc": [ - 1216, - 1217 + 1220, + 1221 ] }, { "teal": 1048, "source": 304, "pc": [ - 1218, - 1219, - 1220 + 1222, + 1223, + 1224 ] }, { "teal": 1049, "source": 304, "pc": [ - 1221 + 1225 ] }, { "teal": 1050, "source": 304, "pc": [ - 1222 + 1226 ] }, { "teal": 1051, "source": 304, "pc": [ - 1223 + 1227 ] }, { "teal": 1052, "source": 304, "pc": [ - 1224, - 1225, - 1226 + 1228, + 1229, + 1230 ] }, { "teal": 1058, "source": 306, "pc": [ - 1227 + 1231 ] }, { "teal": 1059, "source": 306, "pc": [ - 1228 + 1232 ] }, { "teal": 1060, "source": 306, "pc": [ - 1229 + 1233 ] }, { "teal": 1061, "source": 306, "pc": [ - 1230 + 1234 ] }, { "teal": 1062, "source": 306, "pc": [ - 1231, - 1232, - 1233 + 1235, + 1236, + 1237 ] }, { "teal": 1070, "source": 307, "pc": [ - 1234 + 1238 ] }, { "teal": 1071, "source": 307, "pc": [ - 1235 + 1239 ] }, { "teal": 1072, "source": 307, "pc": [ - 1236, - 1237 + 1240, + 1241 ] }, { "teal": 1073, "source": 307, "pc": [ - 1238, - 1239 + 1242, + 1243 ] }, { "teal": 1074, "source": 307, "pc": [ - 1240, - 1241 + 1244, + 1245 ] }, { "teal": 1078, "source": 308, "pc": [ - 1242 + 1246 ] }, { "teal": 1079, "source": 308, "pc": [ - 1243 + 1247 ] }, { "teal": 1080, "source": 308, "pc": [ - 1244, - 1245 + 1248, + 1249 ] }, { "teal": 1084, "source": 309, "pc": [ - 1246 + 1250 ] }, { "teal": 1085, "source": 309, "pc": [ - 1247 + 1251 ] }, { "teal": 1086, "source": 309, "pc": [ - 1248 + 1252 ] }, { "teal": 1087, "source": 309, "pc": [ - 1249, - 1250 + 1253, + 1254 ] }, { "teal": 1090, "source": 307, "pc": [ - 1251 + 1255 ] }, { "teal": 1091, "source": 307, "pc": [ - 1252, - 1253 + 1256, + 1257 ] }, { "teal": 1094, "source": 307, "pc": [ - 1254 + 1258 ] }, { "teal": 1095, "source": 307, "pc": [ - 1255, - 1256 + 1259, + 1260 ] }, { "teal": 1096, "source": 307, "pc": [ - 1257 + 1261 ] }, { "teal": 1097, "source": 307, "pc": [ - 1258 + 1262 ] }, { "teal": 1098, "source": 307, "pc": [ - 1259, - 1260 + 1263, + 1264 ] }, { "teal": 1099, "source": 307, "pc": [ - 1261, - 1262, - 1263 + 1265, + 1266, + 1267 ] }, { "teal": 1100, "source": 307, "pc": [ - 1264, - 1265 + 1268, + 1269 ] }, { "teal": 1108, "source": 315, "pc": [ - 1266 + 1270 ] }, { "teal": 1109, "source": 315, "pc": [ - 1267, - 1268 + 1271, + 1272 ] }, { "teal": 1110, "source": 315, "pc": [ - 1269, - 1270 + 1273, + 1274 ] }, { "teal": 1114, "source": 316, "pc": [ - 1271, - 1272 + 1275, + 1276 ] }, { "teal": 1115, "source": 316, "pc": [ - 1273, - 1274, - 1275 + 1277, + 1278, + 1279 ] }, { "teal": 1116, "source": 316, "pc": [ - 1276 + 1280 ] }, { "teal": 1117, "source": 316, "pc": [ - 1277, - 1278 + 1281, + 1282 ] }, { "teal": 1121, "source": 317, "pc": [ - 1279, - 1280 + 1283, + 1284 ] }, { "teal": 1122, "source": 317, "pc": [ - 1281, - 1282 + 1285, + 1286 ] }, { "teal": 1126, "source": 318, "pc": [ - 1283, - 1284 + 1287, + 1288 ] }, { "teal": 1127, "source": 318, "pc": [ - 1285, - 1286, - 1287 + 1289, + 1290, + 1291 ] }, { "teal": 1128, "source": 318, "pc": [ - 1288 + 1292 ] }, { "teal": 1129, "source": 318, "pc": [ - 1289, - 1290 + 1293, + 1294 ] }, { "teal": 1132, "source": 315, "pc": [ - 1291 + 1295 ] }, { "teal": 1133, "source": 315, "pc": [ - 1292, - 1293 + 1296, + 1297 ] }, { "teal": 1136, "source": 315, "pc": [ - 1294 + 1298 ] }, { "teal": 1140, "source": 320, "pc": [ - 1295, - 1296 + 1299, + 1300 ] }, { "teal": 1141, "source": 320, "pc": [ - 1297, - 1298, - 1299 + 1301, + 1302, + 1303 ] }, { "teal": 1142, "source": 320, "pc": [ - 1300 + 1304 ] }, { "teal": 1143, "source": 320, "pc": [ - 1301, - 1302 + 1305, + 1306 ] }, { "teal": 1147, "source": 321, "pc": [ - 1303, - 1304 + 1307, + 1308 ] }, { "teal": 1148, "source": 321, "pc": [ - 1305, - 1306 + 1309, + 1310 ] }, { "teal": 1149, "source": 321, "pc": [ - 1307, - 1308 + 1311, + 1312 ] }, { "teal": 1150, "source": 321, "pc": [ - 1309, - 1310 + 1313, + 1314 ] }, { "teal": 1151, "source": 306, "pc": [ - 1311, - 1312, - 1313 + 1315, + 1316, + 1317 ] }, { "teal": 1156, "source": 326, "pc": [ - 1314, - 1315 + 1318, + 1319 ] }, { "teal": 1157, "source": 326, "pc": [ - 1316, - 1317, - 1318 + 1320, + 1321, + 1322 ] }, { "teal": 1158, "source": 326, "pc": [ - 1319 + 1323 ] }, { "teal": 1159, "source": 326, "pc": [ - 1320, - 1321 + 1324, + 1325 ] }, { "teal": 1163, "source": 327, "pc": [ - 1322, - 1323 + 1326, + 1327 ] }, { "teal": 1164, "source": 327, "pc": [ - 1324, - 1325 + 1328, + 1329 ] }, { "teal": 1165, "source": 327, "pc": [ - 1326, - 1327 + 1330, + 1331 ] }, { "teal": 1166, "source": 327, "pc": [ - 1328, - 1329 + 1332, + 1333 ] }, { "teal": 1176, "source": 333, "pc": [ - 1330, - 1331 + 1334, + 1335 ] }, { "teal": 1177, "source": 333, "pc": [ - 1332, - 1333, - 1334 + 1336, + 1337, + 1338 ] }, { "teal": 1178, "source": 333, "pc": [ - 1335 + 1339 ] }, { "teal": 1179, "source": 333, "pc": [ - 1336 + 1340 ] }, { "teal": 1180, "source": 333, "pc": [ - 1337 + 1341 ] }, { "teal": 1181, "source": 333, "pc": [ - 1338 + 1342 ] }, { "teal": 1182, "source": 333, "pc": [ - 1339, - 1340, - 1341 + 1343, + 1344, + 1345 ] }, { "teal": 1183, "source": 333, "pc": [ - 1342, - 1343 + 1346, + 1347 ] }, { "teal": 1184, "source": 333, "pc": [ - 1344, - 1345, - 1346 + 1348, + 1349, + 1350 ] }, { "teal": 1185, "source": 333, "pc": [ - 1347 + 1351 ] }, { "teal": 1186, "source": 333, "pc": [ - 1348, - 1349 + 1352, + 1353 ] }, { "teal": 1187, "source": 333, "pc": [ - 1350 + 1354 ] }, { "teal": 1188, "source": 333, "pc": [ - 1351 + 1355 ] }, { "teal": 1189, "source": 333, "pc": [ - 1352 + 1356 ] }, { @@ -5145,515 +5149,515 @@ "source": 332, "errorMessage": "cannot reduce balance below minimum allowed stake unless all is removed", "pc": [ - 1353 + 1357 ] }, { "teal": 1201, "source": 340, "pc": [ - 1354 + 1358 ] }, { "teal": 1202, "source": 340, "pc": [ - 1355 + 1359 ] }, { "teal": 1203, "source": 340, "pc": [ - 1356, - 1357 + 1360, + 1361 ] }, { "teal": 1207, "source": 341, "pc": [ - 1358, - 1359 + 1362, + 1363 ] }, { "teal": 1208, "source": 341, "pc": [ - 1360, - 1361 + 1364, + 1365 ] }, { "teal": 1212, "source": 342, "pc": [ - 1362, - 1363 + 1366, + 1367 ] }, { "teal": 1213, "source": 342, "pc": [ - 1364, - 1365 + 1368, + 1369 ] }, { "teal": 1217, "source": 343, "pc": [ - 1366, - 1367, - 1368, - 1369, 1370, 1371, 1372, 1373, 1374, - 1375 + 1375, + 1376, + 1377, + 1378, + 1379 ] }, { "teal": 1218, "source": 343, "pc": [ - 1376, - 1377 + 1380, + 1381 ] }, { "teal": 1221, "source": 340, "pc": [ - 1378 + 1382 ] }, { "teal": 1222, "source": 340, "pc": [ - 1379, - 1380 + 1383, + 1384 ] }, { "teal": 1225, "source": 340, "pc": [ - 1381 + 1385 ] }, { "teal": 1229, "source": 345, "pc": [ - 1382 + 1386 ] }, { "teal": 1230, "source": 345, "pc": [ - 1383, - 1384 + 1387, + 1388 ] }, { "teal": 1235, "source": 346, "pc": [ - 1385, - 1386 + 1389, + 1390 ] }, { "teal": 1236, "source": 346, "pc": [ - 1387, - 1388, - 1389 + 1391, + 1392, + 1393 ] }, { "teal": 1237, "source": 346, "pc": [ - 1390 + 1394 ] }, { "teal": 1238, "source": 346, "pc": [ - 1391 + 1395 ] }, { "teal": 1239, "source": 346, "pc": [ - 1392 + 1396 ] }, { "teal": 1240, "source": 346, "pc": [ - 1393, - 1394, - 1395 + 1397, + 1398, + 1399 ] }, { "teal": 1245, "source": 348, "pc": [ - 1396, - 1397 + 1400, + 1401 ] }, { "teal": 1246, "source": 348, "pc": [ - 1398 + 1402 ] }, { "teal": 1247, "source": 348, "pc": [ - 1399 + 1403 ] }, { "teal": 1248, "source": 348, "pc": [ - 1400 + 1404 ] }, { "teal": 1249, "source": 348, "pc": [ - 1401, - 1402 + 1405, + 1406 ] }, { "teal": 1250, "source": 348, "pc": [ - 1403 + 1407 ] }, { "teal": 1251, "source": 348, "pc": [ - 1404 + 1408 ] }, { "teal": 1255, "source": 349, "pc": [ - 1405, - 1406 + 1409, + 1410 ] }, { "teal": 1256, "source": 349, "pc": [ - 1407 + 1411 ] }, { "teal": 1257, "source": 349, "pc": [ - 1408, - 1409 + 1412, + 1413 ] }, { "teal": 1258, "source": 349, "pc": [ - 1410 + 1414 ] }, { "teal": 1259, "source": 349, "pc": [ - 1411, - 1412 + 1415, + 1416 ] }, { "teal": 1263, "source": 350, "pc": [ - 1413, - 1414 + 1417, + 1418 ] }, { "teal": 1264, "source": 350, "pc": [ - 1415, - 1416 + 1419, + 1420 ] }, { "teal": 1265, "source": 350, "pc": [ - 1417, - 1418 + 1421, + 1422 ] }, { "teal": 1266, "source": 350, "pc": [ - 1419, - 1420 + 1423, + 1424 ] }, { "teal": 1270, "source": 351, "pc": [ - 1421, - 1422 + 1425, + 1426 ] }, { "teal": 1271, "source": 351, "pc": [ - 1423, - 1424 + 1427, + 1428 ] }, { "teal": 1272, "source": 351, "pc": [ - 1425, - 1426 + 1429, + 1430 ] }, { "teal": 1273, "source": 351, "pc": [ - 1427, - 1428 + 1431, + 1432 ] }, { "teal": 1277, "source": 352, "pc": [ - 1429 + 1433 ] }, { "teal": 1278, "source": 352, "pc": [ - 1430, - 1431 + 1434, + 1435 ] }, { "teal": 1283, "source": 355, "pc": [ - 1432, - 1433 + 1436, + 1437 ] }, { "teal": 1284, "source": 355, "pc": [ - 1434 + 1438 ] }, { "teal": 1285, "source": 355, "pc": [ - 1435 + 1439 ] }, { "teal": 1286, "source": 355, "pc": [ - 1436, - 1437 + 1440, + 1441 ] }, { "teal": 1287, "source": 355, "pc": [ - 1438 + 1442 ] }, { "teal": 1288, "source": 355, "pc": [ - 1439, - 1440 + 1443, + 1444 ] }, { "teal": 1289, "source": 355, "pc": [ - 1441 + 1445 ] }, { "teal": 1293, "source": 357, "pc": [ - 1442, - 1443 + 1446, + 1447 ] }, { "teal": 1294, "source": 357, "pc": [ - 1444 + 1448 ] }, { "teal": 1295, "source": 357, "pc": [ - 1445, - 1446 + 1449, + 1450 ] }, { "teal": 1296, "source": 357, "pc": [ - 1447 + 1451 ] }, { "teal": 1297, "source": 357, "pc": [ - 1448 + 1452 ] }, { "teal": 1298, "source": 357, "pc": [ - 1449, - 1450 + 1453, + 1454 ] }, { "teal": 1299, "source": 357, "pc": [ - 1451 + 1455 ] }, { "teal": 1300, "source": 357, "pc": [ - 1452, - 1453 + 1456, + 1457 ] }, { "teal": 1304, "source": 358, "pc": [ - 1454, - 1455 + 1458, + 1459 ] }, { "teal": 1305, "source": 358, "pc": [ - 1456 + 1460 ] }, { "teal": 1306, "source": 358, "pc": [ - 1457, - 1458 + 1461, + 1462 ] }, { "teal": 1307, "source": 358, "pc": [ - 1459 + 1463 ] }, { "teal": 1308, "source": 358, "pc": [ - 1460 + 1464 ] }, { "teal": 1309, "source": 358, "pc": [ - 1461 + 1465 ] }, { "teal": 1310, "source": 358, "pc": [ - 1462 + 1466 ] }, { "teal": 1311, "source": 358, "pc": [ - 1463, - 1464 + 1467, + 1468 ] }, { "teal": 1312, "source": 358, "pc": [ - 1465 + 1469 ] }, { @@ -5661,146 +5665,146 @@ "source": 358, "errorMessage": "(amountToUnstake as uint128) * (roundsLeftInBin as uint128) overflowed 128 bits", "pc": [ - 1466 + 1470 ] }, { "teal": 1316, "source": 358, "pc": [ - 1467, - 1468 + 1471, + 1472 ] }, { "teal": 1317, "source": 358, "pc": [ - 1469 + 1473 ] }, { "teal": 1318, "source": 358, "pc": [ - 1470 + 1474 ] }, { "teal": 1319, "source": 358, "pc": [ - 1471 + 1475 ] }, { "teal": 1320, "source": 358, "pc": [ - 1472 + 1476 ] }, { "teal": 1321, "source": 358, "pc": [ - 1473, - 1474 + 1477, + 1478 ] }, { "teal": 1322, "source": 358, "pc": [ - 1475 + 1479 ] }, { "teal": 1323, "source": 358, "pc": [ - 1476 + 1480 ] }, { "teal": 1324, "source": 358, "pc": [ - 1477 + 1481 ] }, { "teal": 1325, "source": 358, "pc": [ - 1478, - 1479 + 1482, + 1483 ] }, { "teal": 1329, "source": 359, "pc": [ - 1480, - 1481 + 1484, + 1485 ] }, { "teal": 1330, "source": 359, "pc": [ - 1482 + 1486 ] }, { "teal": 1331, "source": 359, "pc": [ - 1483 + 1487 ] }, { "teal": 1332, "source": 359, "pc": [ - 1484, - 1485 + 1488, + 1489 ] }, { "teal": 1333, "source": 359, "pc": [ - 1486 + 1490 ] }, { "teal": 1334, "source": 359, "pc": [ - 1487 + 1491 ] }, { "teal": 1335, "source": 359, "pc": [ - 1488 + 1492 ] }, { "teal": 1336, "source": 359, "pc": [ - 1489, - 1490 + 1493, + 1494 ] }, { "teal": 1337, "source": 359, "pc": [ - 1491 + 1495 ] }, { @@ -5808,395 +5812,395 @@ "source": 359, "errorMessage": "this.stakeAccumulator.value - subtractAmount overflowed 128 bits", "pc": [ - 1492 + 1496 ] }, { "teal": 1341, "source": 359, "pc": [ - 1493, - 1494 + 1497, + 1498 ] }, { "teal": 1342, "source": 359, "pc": [ - 1495 + 1499 ] }, { "teal": 1343, "source": 359, "pc": [ - 1496 + 1500 ] }, { "teal": 1344, "source": 359, "pc": [ - 1497 + 1501 ] }, { "teal": 1345, "source": 359, "pc": [ - 1498 + 1502 ] }, { "teal": 1346, "source": 359, "pc": [ - 1499, - 1500 + 1503, + 1504 ] }, { "teal": 1347, "source": 359, "pc": [ - 1501 + 1505 ] }, { "teal": 1348, "source": 359, "pc": [ - 1502 + 1506 ] }, { "teal": 1349, "source": 359, "pc": [ - 1503 + 1507 ] }, { "teal": 1350, "source": 359, "pc": [ - 1504 + 1508 ] }, { "teal": 1363, "source": 364, "pc": [ - 1505 + 1509 ] }, { "teal": 1364, "source": 364, "pc": [ - 1506 + 1510 ] }, { "teal": 1365, "source": 364, "pc": [ - 1507, - 1508 + 1511, + 1512 ] }, { "teal": 1366, "source": 364, "pc": [ - 1509, - 1510 + 1513, + 1514 ] }, { "teal": 1367, "source": 364, "pc": [ - 1511, - 1512 + 1515, + 1516 ] }, { "teal": 1371, "source": 365, "pc": [ - 1513 + 1517 ] }, { "teal": 1372, "source": 365, "pc": [ - 1514 + 1518 ] }, { "teal": 1373, "source": 365, "pc": [ - 1515, - 1516 + 1519, + 1520 ] }, { "teal": 1383, "source": 367, "pc": [ - 1517 + 1521 ] }, { "teal": 1384, "source": 367, "pc": [ - 1518 + 1522 ] }, { "teal": 1385, "source": 367, "pc": [ - 1519 + 1523 ] }, { "teal": 1386, "source": 367, "pc": [ - 1520 + 1524 ] }, { "teal": 1387, "source": 367, "pc": [ - 1521 + 1525 ] }, { "teal": 1388, "source": 367, "pc": [ - 1522 + 1526 ] }, { "teal": 1389, "source": 367, "pc": [ - 1523 + 1527 ] }, { "teal": 1390, "source": 367, "pc": [ - 1524, - 1525, - 1526 + 1528, + 1529, + 1530 ] }, { "teal": 1391, "source": 367, "pc": [ - 1527 + 1531 ] }, { "teal": 1392, "source": 367, "pc": [ - 1528 + 1532 ] }, { "teal": 1393, "source": 367, "pc": [ - 1529, - 1530 + 1533, + 1534 ] }, { "teal": 1394, "source": 368, "pc": [ - 1531, - 1532 + 1535, + 1536 ] }, { "teal": 1395, "source": 368, "pc": [ - 1533, - 1534 + 1537, + 1538 ] }, { "teal": 1396, "source": 369, "pc": [ - 1535, - 1536 + 1539, + 1540 ] }, { "teal": 1397, "source": 369, "pc": [ - 1537 + 1541 ] }, { "teal": 1398, "source": 369, "pc": [ - 1538, - 1539 + 1542, + 1543 ] }, { "teal": 1399, "source": 370, "pc": [ - 1540, - 1541 + 1544, + 1545 ] }, { "teal": 1400, "source": 370, "pc": [ - 1542 + 1546 ] }, { "teal": 1401, "source": 370, "pc": [ - 1543, - 1544 + 1547, + 1548 ] }, { "teal": 1402, "source": 371, "pc": [ - 1545, - 1546 + 1549, + 1550 ] }, { "teal": 1403, "source": 371, "pc": [ - 1547, - 1548 + 1551, + 1552 ] }, { "teal": 1404, "source": 371, "pc": [ - 1549 + 1553 ] }, { "teal": 1405, "source": 371, "pc": [ - 1550, - 1551 + 1554, + 1555 ] }, { "teal": 1406, "source": 371, "pc": [ - 1552 + 1556 ] }, { "teal": 1407, "source": 371, "pc": [ - 1553, - 1554 + 1557, + 1558 ] }, { "teal": 1410, "source": 364, "pc": [ - 1555 + 1559 ] }, { "teal": 1411, "source": 364, "pc": [ - 1556, - 1557 + 1560, + 1561 ] }, { "teal": 1414, "source": 364, "pc": [ - 1558 + 1562 ] }, { "teal": 1418, "source": 374, "pc": [ - 1559 + 1563 ] }, { "teal": 1425, "source": 287, "pc": [ - 1560, - 1561 + 1564, + 1565 ] }, { "teal": 1426, "source": 287, "pc": [ - 1562 + 1566 ] }, { "teal": 1427, "source": 287, "pc": [ - 1563 + 1567 ] }, { "teal": 1428, "source": 287, "pc": [ - 1564, - 1565 + 1568, + 1569 ] }, { "teal": 1429, "source": 287, "pc": [ - 1566, - 1567, - 1568 + 1570, + 1571, + 1572 ] }, { @@ -6204,1234 +6208,1234 @@ "source": 377, "errorMessage": "account not found", "pc": [ - 1569 + 1573 ] }, { "teal": 1434, "source": 275, "pc": [ - 1570 + 1574 ] }, { "teal": 1439, "source": 385, "pc": [ - 1571, - 1572, - 1573 + 1575, + 1576, + 1577 ] }, { "teal": 1440, "source": 385, "pc": [ - 1574 + 1578 ] }, { "teal": 1441, "source": 385, "pc": [ - 1575 + 1579 ] }, { "teal": 1449, "source": 385, "pc": [ - 1576, - 1577, - 1578 + 1580, + 1581, + 1582 ] }, { "teal": 1452, "source": 385, "pc": [ - 1579, - 1580 + 1583, + 1584 ] }, { "teal": 1453, "source": 385, "pc": [ - 1581, - 1582 + 1585, + 1586 ] }, { "teal": 1457, "source": 389, "pc": [ - 1583, - 1584 + 1587, + 1588 ] }, { "teal": 1458, "source": 389, "pc": [ - 1585, - 1586 + 1589, + 1590 ] }, { "teal": 1462, "source": 391, "pc": [ - 1587 + 1591 ] }, { "teal": 1463, "source": 391, "pc": [ - 1588, - 1589 + 1592, + 1593 ] }, { "teal": 1468, "source": 391, "pc": [ - 1590, - 1591 + 1594, + 1595 ] }, { "teal": 1469, "source": 391, "pc": [ - 1592, - 1593 + 1596, + 1597 ] }, { "teal": 1470, "source": 391, "pc": [ - 1594 + 1598 ] }, { "teal": 1471, "source": 391, "pc": [ - 1595, - 1596, - 1597 + 1599, + 1600, + 1601 ] }, { "teal": 1476, "source": 392, "pc": [ - 1598, - 1599 + 1602, + 1603 ] }, { "teal": 1477, "source": 392, "pc": [ - 1600, - 1601 + 1604, + 1605 ] }, { "teal": 1478, "source": 392, "pc": [ - 1602 + 1606 ] }, { "teal": 1479, "source": 392, "pc": [ - 1603, - 1604, - 1605 + 1607, + 1608, + 1609 ] }, { "teal": 1484, "source": 393, "pc": [ - 1606 + 1610 ] }, { "teal": 1485, "source": 393, "pc": [ - 1607 + 1611 ] }, { "teal": 1486, "source": 393, "pc": [ - 1608, - 1609 + 1612, + 1613 ] }, { "teal": 1487, "source": 393, "pc": [ - 1610 + 1614 ] }, { "teal": 1488, "source": 393, "pc": [ - 1611, - 1612 + 1615, + 1616 ] }, { "teal": 1489, "source": 393, "pc": [ - 1613, - 1614 + 1617, + 1618 ] }, { "teal": 1490, "source": 393, "pc": [ - 1615 + 1619 ] }, { "teal": 1491, "source": 393, "pc": [ - 1616, - 1617 + 1620, + 1621 ] }, { "teal": 1492, "source": 393, "pc": [ - 1618, - 1619 + 1622, + 1623 ] }, { "teal": 1493, "source": 393, "pc": [ - 1620, - 1621 + 1624, + 1625 ] }, { "teal": 1494, "source": 393, "pc": [ - 1622, - 1623 + 1626, + 1627 ] }, { "teal": 1495, "source": 393, "pc": [ - 1624 + 1628 ] }, { "teal": 1500, "source": 395, "pc": [ - 1625, - 1626 + 1629, + 1630 ] }, { "teal": 1501, "source": 395, "pc": [ - 1627 + 1631 ] }, { "teal": 1502, "source": 395, "pc": [ - 1628 + 1632 ] }, { "teal": 1503, "source": 395, "pc": [ - 1629 + 1633 ] }, { "teal": 1504, "source": 395, "pc": [ - 1630 + 1634 ] }, { "teal": 1505, "source": 395, "pc": [ - 1631, - 1632 + 1635, + 1636 ] }, { "teal": 1506, "source": 395, "pc": [ - 1633 + 1637 ] }, { "teal": 1507, "source": 395, "pc": [ - 1634, - 1635 + 1638, + 1639 ] }, { "teal": 1512, "source": 396, "pc": [ - 1636, - 1637 + 1640, + 1641 ] }, { "teal": 1513, "source": 396, "pc": [ - 1638, - 1639, - 1640 + 1642, + 1643, + 1644 ] }, { "teal": 1514, "source": 396, "pc": [ - 1641, - 1642 + 1645, + 1646 ] }, { "teal": 1515, "source": 396, "pc": [ - 1643 + 1647 ] }, { "teal": 1516, "source": 396, "pc": [ - 1644, - 1645, - 1646 + 1648, + 1649, + 1650 ] }, { "teal": 1522, "source": 397, "pc": [ - 1647, - 1648 + 1651, + 1652 ] }, { "teal": 1523, "source": 397, "pc": [ - 1649, - 1650, - 1651 + 1653, + 1654, + 1655 ] }, { "teal": 1524, "source": 397, "pc": [ - 1652 + 1656 ] }, { "teal": 1525, "source": 397, "pc": [ - 1653 + 1657 ] }, { "teal": 1526, "source": 397, "pc": [ - 1654 + 1658 ] }, { "teal": 1527, "source": 397, "pc": [ - 1655, - 1656, - 1657 + 1659, + 1660, + 1661 ] }, { "teal": 1532, "source": 398, "pc": [ - 1658 + 1662 ] }, { "teal": 1537, "source": 400, "pc": [ - 1659 + 1663 ] }, { "teal": 1538, "source": 400, "pc": [ - 1660, - 1661 + 1664, + 1665 ] }, { "teal": 1543, "source": 402, "pc": [ - 1662 + 1666 ] }, { "teal": 1544, "source": 402, "pc": [ - 1663 + 1667 ] }, { "teal": 1545, "source": 402, "pc": [ - 1664 + 1668 ] }, { "teal": 1546, "source": 402, "pc": [ - 1665 + 1669 ] }, { "teal": 1547, "source": 402, "pc": [ - 1666, - 1667, - 1668 + 1670, + 1671, + 1672 ] }, { "teal": 1555, "source": 403, "pc": [ - 1669 + 1673 ] }, { "teal": 1556, "source": 403, "pc": [ - 1670 + 1674 ] }, { "teal": 1557, "source": 403, "pc": [ - 1671, - 1672 + 1675, + 1676 ] }, { "teal": 1558, "source": 403, "pc": [ - 1673, - 1674 + 1677, + 1678 ] }, { "teal": 1559, "source": 403, "pc": [ - 1675, - 1676 + 1679, + 1680 ] }, { "teal": 1563, "source": 404, "pc": [ - 1677 + 1681 ] }, { "teal": 1564, "source": 404, "pc": [ - 1678 + 1682 ] }, { "teal": 1565, "source": 404, "pc": [ - 1679, - 1680 + 1683, + 1684 ] }, { "teal": 1569, "source": 405, "pc": [ - 1681 + 1685 ] }, { "teal": 1570, "source": 405, "pc": [ - 1682 + 1686 ] }, { "teal": 1571, "source": 405, "pc": [ - 1683 + 1687 ] }, { "teal": 1572, "source": 405, "pc": [ - 1684, - 1685 + 1688, + 1689 ] }, { "teal": 1575, "source": 403, "pc": [ - 1686 + 1690 ] }, { "teal": 1576, "source": 403, "pc": [ - 1687, - 1688 + 1691, + 1692 ] }, { "teal": 1579, "source": 403, "pc": [ - 1689 + 1693 ] }, { "teal": 1580, "source": 403, "pc": [ - 1690, - 1691 + 1694, + 1695 ] }, { "teal": 1581, "source": 403, "pc": [ - 1692 + 1696 ] }, { "teal": 1582, "source": 403, "pc": [ - 1693 + 1697 ] }, { "teal": 1583, "source": 403, "pc": [ - 1694, - 1695 + 1698, + 1699 ] }, { "teal": 1584, "source": 403, "pc": [ - 1696, - 1697, - 1698 + 1700, + 1701, + 1702 ] }, { "teal": 1585, "source": 403, "pc": [ - 1699, - 1700 + 1703, + 1704 ] }, { "teal": 1593, "source": 410, "pc": [ - 1701 + 1705 ] }, { "teal": 1594, "source": 410, "pc": [ - 1702, - 1703 + 1706, + 1707 ] }, { "teal": 1595, "source": 410, "pc": [ - 1704, - 1705 + 1708, + 1709 ] }, { "teal": 1599, "source": 411, "pc": [ - 1706, - 1707 + 1710, + 1711 ] }, { "teal": 1600, "source": 411, "pc": [ - 1708, - 1709, - 1710 + 1712, + 1713, + 1714 ] }, { "teal": 1601, "source": 411, "pc": [ - 1711 + 1715 ] }, { "teal": 1602, "source": 411, "pc": [ - 1712, - 1713 - ] + 1716, + 1717 + ] }, { "teal": 1606, "source": 412, "pc": [ - 1714, - 1715 + 1718, + 1719 ] }, { "teal": 1607, "source": 412, "pc": [ - 1716, - 1717 + 1720, + 1721 ] }, { "teal": 1611, "source": 413, "pc": [ - 1718, - 1719 + 1722, + 1723 ] }, { "teal": 1612, "source": 413, "pc": [ - 1720, - 1721, - 1722 + 1724, + 1725, + 1726 ] }, { "teal": 1613, "source": 413, "pc": [ - 1723 + 1727 ] }, { "teal": 1614, "source": 413, "pc": [ - 1724, - 1725 + 1728, + 1729 ] }, { "teal": 1617, "source": 410, "pc": [ - 1726 + 1730 ] }, { "teal": 1618, "source": 410, "pc": [ - 1727, - 1728 + 1731, + 1732 ] }, { "teal": 1621, "source": 410, "pc": [ - 1729 + 1733 ] }, { "teal": 1625, "source": 415, "pc": [ - 1730, - 1731 + 1734, + 1735 ] }, { "teal": 1626, "source": 415, "pc": [ - 1732, - 1733, - 1734 + 1736, + 1737, + 1738 ] }, { "teal": 1627, "source": 415, "pc": [ - 1735 + 1739 ] }, { "teal": 1628, "source": 415, "pc": [ - 1736, - 1737 + 1740, + 1741 ] }, { "teal": 1632, "source": 416, "pc": [ - 1738, - 1739 + 1742, + 1743 ] }, { "teal": 1633, "source": 416, "pc": [ - 1740, - 1741 + 1744, + 1745 ] }, { "teal": 1634, "source": 416, "pc": [ - 1742, - 1743 + 1746, + 1747 ] }, { "teal": 1635, "source": 416, "pc": [ - 1744, - 1745 + 1748, + 1749 ] }, { "teal": 1636, "source": 402, "pc": [ - 1746, - 1747, - 1748 + 1750, + 1751, + 1752 ] }, { "teal": 1641, "source": 421, "pc": [ - 1749, - 1750 + 1753, + 1754 ] }, { "teal": 1642, "source": 421, "pc": [ - 1751, - 1752, - 1753 + 1755, + 1756, + 1757 ] }, { "teal": 1643, "source": 421, "pc": [ - 1754 + 1758 ] }, { "teal": 1644, "source": 421, "pc": [ - 1755, - 1756 + 1759, + 1760 ] }, { "teal": 1648, "source": 422, "pc": [ - 1757, - 1758 + 1761, + 1762 ] }, { "teal": 1649, "source": 422, "pc": [ - 1759, - 1760 + 1763, + 1764 ] }, { "teal": 1650, "source": 422, "pc": [ - 1761, - 1762 + 1765, + 1766 ] }, { "teal": 1651, "source": 422, "pc": [ - 1763, - 1764 + 1767, + 1768 ] }, { "teal": 1656, "source": 426, "pc": [ - 1765, - 1766 + 1769, + 1770 ] }, { "teal": 1657, "source": 426, "pc": [ - 1767 + 1771 ] }, { "teal": 1658, "source": 426, "pc": [ - 1768 + 1772 ] }, { "teal": 1659, "source": 426, "pc": [ - 1769, - 1770 + 1773, + 1774 ] }, { "teal": 1660, "source": 426, "pc": [ - 1771 + 1775 ] }, { "teal": 1661, "source": 426, "pc": [ - 1772, - 1773 + 1776, + 1777 ] }, { "teal": 1662, "source": 426, "pc": [ - 1774 + 1778 ] }, { "teal": 1675, "source": 431, "pc": [ - 1775 + 1779 ] }, { "teal": 1676, "source": 431, "pc": [ - 1776 + 1780 ] }, { "teal": 1677, "source": 431, "pc": [ - 1777, - 1778 + 1781, + 1782 ] }, { "teal": 1678, "source": 431, "pc": [ - 1779, - 1780 + 1783, + 1784 ] }, { "teal": 1679, "source": 431, "pc": [ - 1781, - 1782 + 1785, + 1786 ] }, { "teal": 1683, "source": 432, "pc": [ - 1783 + 1787 ] }, { "teal": 1684, "source": 432, "pc": [ - 1784 + 1788 ] }, { "teal": 1685, "source": 432, "pc": [ - 1785, - 1786 + 1789, + 1790 ] }, { "teal": 1695, "source": 434, "pc": [ - 1787 + 1791 ] }, { "teal": 1696, "source": 434, "pc": [ - 1788 + 1792 ] }, { "teal": 1697, "source": 434, "pc": [ - 1789 + 1793 ] }, { "teal": 1698, "source": 434, "pc": [ - 1790 + 1794 ] }, { "teal": 1699, "source": 434, "pc": [ - 1791 + 1795 ] }, { "teal": 1700, "source": 434, "pc": [ - 1792 + 1796 ] }, { "teal": 1701, "source": 434, "pc": [ - 1793 + 1797 ] }, { "teal": 1702, "source": 434, "pc": [ - 1794, - 1795, - 1796 + 1798, + 1799, + 1800 ] }, { "teal": 1703, "source": 434, "pc": [ - 1797 + 1801 ] }, { "teal": 1704, "source": 434, "pc": [ - 1798 + 1802 ] }, { "teal": 1705, "source": 434, "pc": [ - 1799, - 1800 + 1803, + 1804 ] }, { "teal": 1706, "source": 435, "pc": [ - 1801, - 1802 + 1805, + 1806 ] }, { "teal": 1707, "source": 435, "pc": [ - 1803, - 1804 + 1807, + 1808 ] }, { "teal": 1708, "source": 436, "pc": [ - 1805, - 1806 + 1809, + 1810 ] }, { "teal": 1709, "source": 436, "pc": [ - 1807, - 1808 + 1811, + 1812 ] }, { "teal": 1710, "source": 437, "pc": [ - 1809, - 1810 + 1813, + 1814 ] }, { "teal": 1711, "source": 437, "pc": [ - 1811 + 1815 ] }, { "teal": 1712, "source": 437, "pc": [ - 1812, - 1813 + 1816, + 1817 ] }, { "teal": 1713, "source": 438, "pc": [ - 1814 + 1818 ] }, { "teal": 1714, "source": 438, "pc": [ - 1815, - 1816 + 1819, + 1820 ] }, { "teal": 1715, "source": 438, "pc": [ - 1817 + 1821 ] }, { "teal": 1716, "source": 438, "pc": [ - 1818, - 1819 + 1822, + 1823 ] }, { "teal": 1717, "source": 438, "pc": [ - 1820 + 1824 ] }, { "teal": 1718, "source": 438, "pc": [ - 1821, - 1822 + 1825, + 1826 ] }, { "teal": 1721, "source": 431, "pc": [ - 1823 + 1827 ] }, { "teal": 1722, "source": 431, "pc": [ - 1824, - 1825 + 1828, + 1829 ] }, { "teal": 1725, "source": 431, "pc": [ - 1826 + 1830 ] }, { "teal": 1729, "source": 441, "pc": [ - 1827 + 1831 ] }, { "teal": 1736, "source": 391, "pc": [ - 1828, - 1829 + 1832, + 1833 ] }, { "teal": 1737, "source": 391, "pc": [ - 1830 + 1834 ] }, { "teal": 1738, "source": 391, "pc": [ - 1831 + 1835 ] }, { "teal": 1739, "source": 391, "pc": [ - 1832, - 1833 + 1836, + 1837 ] }, { "teal": 1740, "source": 391, "pc": [ - 1834, - 1835, - 1836 + 1838, + 1839, + 1840 ] }, { @@ -7439,60 +7443,60 @@ "source": 444, "errorMessage": "account not found", "pc": [ - 1837 + 1841 ] }, { "teal": 1745, "source": 385, "pc": [ - 1838 + 1842 ] }, { "teal": 1750, "source": 455, "pc": [ - 1839, - 1840 + 1843, + 1844 ] }, { "teal": 1753, "source": 455, "pc": [ - 1841, - 1842, - 1843 + 1845, + 1846, + 1847 ] }, { "teal": 1754, "source": 455, "pc": [ - 1844 + 1848 ] }, { "teal": 1755, "source": 455, "pc": [ - 1845 + 1849 ] }, { "teal": 1756, "source": 455, "pc": [ - 1846, - 1847 + 1850, + 1851 ] }, { "teal": 1757, "source": 455, "pc": [ - 1848 + 1852 ] }, { @@ -7500,420 +7504,420 @@ "source": 455, "errorMessage": "argument 0 (staker) for getStakerInfo must be a address", "pc": [ - 1849 + 1853 ] }, { "teal": 1763, "source": 455, "pc": [ - 1850, - 1851, - 1852 + 1854, + 1855, + 1856 ] }, { "teal": 1764, "source": 455, "pc": [ - 1853 + 1857 ] }, { "teal": 1765, "source": 455, "pc": [ - 1854 + 1858 ] }, { "teal": 1766, "source": 455, "pc": [ - 1855 + 1859 ] }, { "teal": 1767, "source": 455, "pc": [ - 1856 + 1860 ] }, { "teal": 1777, "source": 455, "pc": [ - 1857, - 1858, - 1859 + 1861, + 1862, + 1863 ] }, { "teal": 1780, "source": 455, "pc": [ - 1860, - 1861 + 1864, + 1865 ] }, { "teal": 1784, "source": 456, "pc": [ - 1862 + 1866 ] }, { "teal": 1785, "source": 456, "pc": [ - 1863, - 1864 + 1867, + 1868 ] }, { "teal": 1790, "source": 456, "pc": [ - 1865, - 1866 + 1869, + 1870 ] }, { "teal": 1791, "source": 456, "pc": [ - 1867, - 1868 + 1871, + 1872 ] }, { "teal": 1792, "source": 456, "pc": [ - 1869 + 1873 ] }, { "teal": 1793, "source": 456, "pc": [ - 1870, - 1871, - 1872 + 1874, + 1875, + 1876 ] }, { "teal": 1798, "source": 457, "pc": [ - 1873, - 1874 + 1877, + 1878 ] }, { "teal": 1799, "source": 457, "pc": [ - 1875, - 1876 + 1879, + 1880 ] }, { "teal": 1800, "source": 457, "pc": [ - 1877 + 1881 ] }, { "teal": 1801, "source": 457, "pc": [ - 1878, - 1879, - 1880 + 1882, + 1883, + 1884 ] }, { "teal": 1806, "source": 458, "pc": [ - 1881 + 1885 ] }, { "teal": 1807, "source": 458, "pc": [ - 1882 + 1886 ] }, { "teal": 1808, "source": 458, "pc": [ - 1883, - 1884 + 1887, + 1888 ] }, { "teal": 1809, "source": 458, "pc": [ - 1885 + 1889 ] }, { "teal": 1810, "source": 458, "pc": [ - 1886, - 1887 + 1890, + 1891 ] }, { "teal": 1811, "source": 458, "pc": [ - 1888, - 1889 + 1892, + 1893 ] }, { "teal": 1812, "source": 458, "pc": [ - 1890 + 1894 ] }, { "teal": 1813, "source": 458, "pc": [ - 1891, - 1892 + 1895, + 1896 ] }, { "teal": 1814, "source": 458, "pc": [ - 1893, - 1894 + 1897, + 1898 ] }, { "teal": 1815, "source": 458, "pc": [ - 1895, - 1896 + 1899, + 1900 ] }, { "teal": 1816, "source": 458, "pc": [ - 1897, - 1898 + 1901, + 1902 ] }, { "teal": 1817, "source": 458, "pc": [ - 1899 + 1903 ] }, { "teal": 1823, "source": 460, "pc": [ - 1900, - 1901 + 1904, + 1905 ] }, { "teal": 1824, "source": 460, "pc": [ - 1902 + 1906 ] }, { "teal": 1825, "source": 460, "pc": [ - 1903 + 1907 ] }, { "teal": 1826, "source": 460, "pc": [ - 1904 + 1908 ] }, { "teal": 1827, "source": 460, "pc": [ - 1905 + 1909 ] }, { "teal": 1828, "source": 460, "pc": [ - 1906, - 1907 + 1910, + 1911 ] }, { "teal": 1829, "source": 460, "pc": [ - 1908 + 1912 ] }, { "teal": 1830, "source": 460, "pc": [ - 1909, - 1910 + 1913, + 1914 ] }, { "teal": 1831, "source": 460, "pc": [ - 1911 + 1915 ] }, { "teal": 1832, "source": 460, "pc": [ - 1912, - 1913 + 1916, + 1917 ] }, { "teal": 1833, "source": 460, "pc": [ - 1914 + 1918 ] }, { "teal": 1834, "source": 460, "pc": [ - 1915, - 1916, - 1917 + 1919, + 1920, + 1921 ] }, { "teal": 1839, "source": 461, "pc": [ - 1918, - 1919 + 1922, + 1923 ] }, { "teal": 1840, "source": 461, "pc": [ - 1920 + 1924 ] }, { "teal": 1841, "source": 461, "pc": [ - 1921 + 1925 ] }, { "teal": 1842, "source": 461, "pc": [ - 1922 + 1926 ] }, { "teal": 1843, "source": 461, "pc": [ - 1923 + 1927 ] }, { "teal": 1844, "source": 461, "pc": [ - 1924, - 1925 + 1928, + 1929 ] }, { "teal": 1845, "source": 461, "pc": [ - 1926 + 1930 ] }, { "teal": 1846, "source": 461, "pc": [ - 1927, - 1928, - 1929 + 1931, + 1932, + 1933 ] }, { "teal": 1853, "source": 456, "pc": [ - 1930, - 1931 + 1934, + 1935 ] }, { "teal": 1854, "source": 456, "pc": [ - 1932 + 1936 ] }, { "teal": 1855, "source": 456, "pc": [ - 1933 + 1937 ] }, { "teal": 1856, "source": 456, "pc": [ - 1934, - 1935 + 1938, + 1939 ] }, { "teal": 1857, "source": 456, "pc": [ - 1936, - 1937, - 1938 + 1940, + 1941, + 1942 ] }, { @@ -7921,43 +7925,27 @@ "source": 464, "errorMessage": "account not found", "pc": [ - 1939 + 1943 ] }, { "teal": 1865, "source": 455, "pc": [ - 1940, - 1941 - ] - }, - { - "teal": 1866, - "source": 455, - "pc": [ - 1942 - ] - }, - { - "teal": 1871, - "source": 474, - "pc": [ - 1943, 1944, 1945 ] }, { - "teal": 1872, - "source": 474, + "teal": 1866, + "source": 455, "pc": [ 1946 ] }, { - "teal": 1875, - "source": 474, + "teal": 1871, + "source": 477, "pc": [ 1947, 1948, @@ -7965,15 +7953,15 @@ ] }, { - "teal": 1876, - "source": 474, + "teal": 1872, + "source": 477, "pc": [ 1950 ] }, { - "teal": 1879, - "source": 474, + "teal": 1875, + "source": 477, "pc": [ 1951, 1952, @@ -7981,99 +7969,93 @@ ] }, { - "teal": 1880, - "source": 474, + "teal": 1876, + "source": 477, "pc": [ 1954 ] }, { - "teal": 1881, - "source": 474, - "pc": [ - 1955 - ] - }, - { - "teal": 1882, - "source": 474, + "teal": 1879, + "source": 477, "pc": [ + 1955, 1956, 1957 ] }, { - "teal": 1883, - "source": 474, + "teal": 1880, + "source": 477, "pc": [ 1958 ] }, { - "teal": 1886, - "source": 474, - "errorMessage": "argument 2 (staker) for payTokenReward must be a address", + "teal": 1881, + "source": 477, "pc": [ 1959 ] }, { - "teal": 1889, - "source": 474, + "teal": 1882, + "source": 477, "pc": [ 1960, - 1961, - 1962 + 1961 ] }, { - "teal": 1890, - "source": 474, + "teal": 1883, + "source": 477, "pc": [ - 1963 + 1962 ] }, { - "teal": 1891, - "source": 474, + "teal": 1886, + "source": 477, + "errorMessage": "argument 2 (staker) for payTokenReward must be a address", "pc": [ - 1964 + 1963 ] }, { - "teal": 1901, - "source": 474, + "teal": 1889, + "source": 477, "pc": [ + 1964, 1965, - 1966, - 1967 + 1966 ] }, { - "teal": 1908, + "teal": 1890, "source": 477, "pc": [ - 1968, - 1969 + 1967 ] }, { - "teal": 1909, + "teal": 1891, "source": 477, "pc": [ - 1970 + 1968 ] }, { - "teal": 1910, + "teal": 1904, "source": 477, "pc": [ + 1969, + 1970, 1971 ] }, { "teal": 1911, - "source": 477, + "source": 480, "pc": [ 1972, 1973 @@ -8081,362 +8063,362 @@ }, { "teal": 1912, - "source": 477, + "source": 480, "pc": [ 1974 ] }, { "teal": 1913, - "source": 477, + "source": 480, "pc": [ 1975 ] }, { - "teal": 1916, - "source": 476, - "errorMessage": "stake can only be added via the validator contract", - "pc": [ - 1976 - ] - }, - { - "teal": 1920, + "teal": 1914, "source": 480, "pc": [ + 1976, 1977 ] }, { - "teal": 1921, + "teal": 1915, "source": 480, "pc": [ 1978 ] }, { - "teal": 1922, + "teal": 1916, "source": 480, "pc": [ 1979 ] }, { - "teal": 1923, - "source": 480, + "teal": 1919, + "source": 479, + "errorMessage": "this can only be called via the validator contract", "pc": [ 1980 ] }, { - "teal": 1926, - "source": 480, - "errorMessage": "must be pool 1 in order to be called to pay out token rewards", + "teal": 1923, + "source": 483, "pc": [ 1981 ] }, { - "teal": 1930, - "source": 481, + "teal": 1924, + "source": 483, + "pc": [ + 1982 + ] + }, + { + "teal": 1925, + "source": 483, "pc": [ - 1982, 1983 ] }, { - "teal": 1931, - "source": 481, + "teal": 1926, + "source": 483, "pc": [ 1984 ] }, { - "teal": 1932, - "source": 481, + "teal": 1929, + "source": 483, + "errorMessage": "must be pool 1 in order to be called to pay out token rewards", "pc": [ 1985 ] }, { - "teal": 1935, - "source": 481, - "errorMessage": "can only claim token rewards from validator that has them", + "teal": 1933, + "source": 484, "pc": [ - 1986 + 1986, + 1987 ] }, { - "teal": 1943, + "teal": 1934, "source": 484, "pc": [ - 1987 + 1988 ] }, { - "teal": 1944, + "teal": 1935, "source": 484, "pc": [ - 1988, 1989 ] }, { - "teal": 1945, + "teal": 1938, "source": 484, + "errorMessage": "can only claim token rewards from validator that has them", + "pc": [ + 1990 + ] + }, + { + "teal": 1946, + "source": 487, "pc": [ - 1990, 1991 ] }, { - "teal": 1949, - "source": 485, + "teal": 1947, + "source": 487, "pc": [ 1992, 1993 ] }, { - "teal": 1950, - "source": 485, + "teal": 1948, + "source": 487, "pc": [ 1994, 1995 ] }, { - "teal": 1954, - "source": 486, + "teal": 1952, + "source": 488, "pc": [ 1996, 1997 ] }, { - "teal": 1955, - "source": 486, + "teal": 1953, + "source": 488, "pc": [ 1998, 1999 ] }, { - "teal": 1959, - "source": 487, + "teal": 1957, + "source": 489, "pc": [ 2000, 2001 ] }, { - "teal": 1960, - "source": 487, + "teal": 1958, + "source": 489, "pc": [ 2002, 2003 ] }, { - "teal": 1963, - "source": 484, + "teal": 1962, + "source": 490, "pc": [ - 2004 + 2004, + 2005 ] }, { - "teal": 1964, - "source": 484, + "teal": 1963, + "source": 490, "pc": [ - 2005, - 2006 + 2006, + 2007 ] }, { - "teal": 1967, - "source": 484, + "teal": 1966, + "source": 487, "pc": [ - 2007 + 2008 ] }, { - "teal": 1968, - "source": 474, + "teal": 1967, + "source": 487, "pc": [ - 2008 + 2009, + 2010 ] }, { - "teal": 1973, - "source": 500, + "teal": 1970, + "source": 487, "pc": [ - 2009, - 2010, 2011 ] }, { - "teal": 1974, - "source": 500, + "teal": 1971, + "source": 477, "pc": [ - 2012, - 2013, - 2014 + 2012 ] }, { - "teal": 1977, - "source": 500, + "teal": 1976, + "source": 503, "pc": [ - 2015, - 2016, - 2017 + 2013, + 2014, + 2015 ] }, { - "teal": 1978, - "source": 500, + "teal": 1977, + "source": 503, "pc": [ + 2016, + 2017, 2018 ] }, { - "teal": 1979, - "source": 500, + "teal": 1980, + "source": 503, "pc": [ - 2019 + 2019, + 2020, + 2021 ] }, { - "teal": 1991, - "source": 500, + "teal": 1981, + "source": 503, "pc": [ - 2020, - 2021, 2022 ] }, { - "teal": 1995, - "source": 501, + "teal": 1982, + "source": 503, "pc": [ - 2023, - 2024, - 2025 + 2023 ] }, { - "teal": 1998, - "source": 501, - "errorMessage": "can only be called by owner or manager of validator", + "teal": 1994, + "source": 503, "pc": [ + 2024, + 2025, 2026 ] }, { - "teal": 2002, - "source": 502, + "teal": 1998, + "source": 504, "pc": [ 2027, 2028, - 2029, - 2030, - 2031, - 2032, - 2033, - 2034, - 2035, - 2036 + 2029 ] }, { - "teal": 2003, - "source": 502, + "teal": 2001, + "source": 504, + "errorMessage": "can only be called by owner or manager of validator", "pc": [ - 2037, - 2038 + 2030 ] }, { - "teal": 2004, - "source": 502, + "teal": 2005, + "source": 505, "pc": [ - 2039 + 2031, + 2032, + 2033, + 2034, + 2035, + 2036, + 2037, + 2038, + 2039, + 2040 ] }, { - "teal": 2005, - "source": 500, + "teal": 2006, + "source": 505, "pc": [ - 2040 + 2041, + 2042 ] }, { - "teal": 2010, - "source": 513, + "teal": 2007, + "source": 505, "pc": [ - 2041, - 2042, 2043 ] }, { - "teal": 2011, - "source": 513, + "teal": 2008, + "source": 503, "pc": [ 2044 ] }, { - "teal": 2012, - "source": 513, + "teal": 2013, + "source": 516, "pc": [ - 2045 + 2045, + 2046, + 2047 ] }, { - "teal": 2023, - "source": 513, + "teal": 2014, + "source": 516, "pc": [ - 2046, - 2047, 2048 ] }, { - "teal": 2026, - "source": 513, + "teal": 2015, + "source": 516, "pc": [ - 2049, - 2050 + 2049 ] }, { - "teal": 2027, - "source": 513, + "teal": 2026, + "source": 516, "pc": [ + 2050, 2051, 2052 ] }, { - "teal": 2034, - "source": 515, - "pc": [ - 2053 - ] - }, - { - "teal": 2035, - "source": 515, + "teal": 2029, + "source": 516, "pc": [ + 2053, 2054 ] }, { - "teal": 2036, - "source": 515, + "teal": 2030, + "source": 516, "pc": [ 2055, 2056 @@ -8444,118 +8426,118 @@ }, { "teal": 2037, - "source": 515, + "source": 518, "pc": [ - 2057, - 2058 + 2057 ] }, { "teal": 2038, - "source": 515, + "source": 518, "pc": [ - 2059, - 2060 + 2058 ] }, { - "teal": 2042, - "source": 516, + "teal": 2039, + "source": 518, "pc": [ - 2061 + 2059, + 2060 ] }, { - "teal": 2043, - "source": 516, + "teal": 2040, + "source": 518, "pc": [ + 2061, 2062 ] }, { - "teal": 2044, - "source": 516, + "teal": 2041, + "source": 518, "pc": [ 2063, 2064 ] }, { - "teal": 2048, - "source": 517, + "teal": 2045, + "source": 519, "pc": [ 2065 ] }, { - "teal": 2049, - "source": 517, + "teal": 2046, + "source": 519, "pc": [ 2066 ] }, { - "teal": 2050, - "source": 517, + "teal": 2047, + "source": 519, "pc": [ - 2067 + 2067, + 2068 ] }, { "teal": 2051, - "source": 517, + "source": 520, "pc": [ - 2068, 2069 ] }, { - "teal": 2054, - "source": 515, + "teal": 2052, + "source": 520, "pc": [ 2070 ] }, { - "teal": 2055, - "source": 515, + "teal": 2053, + "source": 520, "pc": [ - 2071, - 2072 + 2071 ] }, { - "teal": 2058, - "source": 515, + "teal": 2054, + "source": 520, "pc": [ + 2072, 2073 ] }, { - "teal": 2059, - "source": 515, + "teal": 2057, + "source": 518, "pc": [ - 2074, - 2075 + 2074 ] }, { - "teal": 2060, - "source": 515, + "teal": 2058, + "source": 518, "pc": [ + 2075, 2076 ] }, { "teal": 2061, - "source": 515, + "source": 518, "pc": [ 2077 ] }, { "teal": 2062, - "source": 515, + "source": 518, "pc": [ 2078, 2079 @@ -8563,629 +8545,629 @@ }, { "teal": 2063, - "source": 515, + "source": 518, "pc": [ - 2080, - 2081, - 2082 + 2080 ] }, { "teal": 2064, - "source": 515, + "source": 518, + "pc": [ + 2081 + ] + }, + { + "teal": 2065, + "source": 518, "pc": [ - 2083, - 2084 + 2082, + 2083 ] }, { - "teal": 2068, - "source": 524, + "teal": 2066, + "source": 518, "pc": [ + 2084, 2085, 2086 ] }, { - "teal": 2069, - "source": 524, + "teal": 2067, + "source": 518, "pc": [ 2087, - 2088, - 2089 + 2088 ] }, { - "teal": 2070, - "source": 524, + "teal": 2071, + "source": 527, "pc": [ + 2089, 2090 ] }, { - "teal": 2071, - "source": 524, + "teal": 2072, + "source": 527, "pc": [ 2091, - 2092 + 2092, + 2093 ] }, { - "teal": 2075, - "source": 525, + "teal": 2073, + "source": 527, "pc": [ - 2093, 2094 ] }, { - "teal": 2076, - "source": 525, + "teal": 2074, + "source": 527, "pc": [ 2095, 2096 ] }, { - "teal": 2080, - "source": 526, + "teal": 2078, + "source": 528, "pc": [ 2097, 2098 ] }, { - "teal": 2081, - "source": 526, + "teal": 2079, + "source": 528, "pc": [ 2099, 2100 ] }, { - "teal": 2082, - "source": 526, + "teal": 2083, + "source": 529, "pc": [ 2101, 2102 ] }, - { - "teal": 2083, - "source": 526, - "pc": [ - 2103 - ] - }, { "teal": 2084, - "source": 526, + "source": 529, "pc": [ + 2103, 2104 ] }, { "teal": 2085, - "source": 526, + "source": 529, "pc": [ 2105, 2106 ] }, { - "teal": 2090, + "teal": 2086, "source": 529, "pc": [ - 2107, - 2108, - 2109 + 2107 ] }, { - "teal": 2091, + "teal": 2087, "source": 529, "pc": [ - 2110, - 2111 + 2108 ] }, { - "teal": 2092, + "teal": 2088, "source": 529, "pc": [ - 2112 + 2109, + 2110 ] }, { "teal": 2093, - "source": 529, + "source": 532, "pc": [ + 2111, + 2112, 2113 ] }, { "teal": 2094, - "source": 529, + "source": 532, "pc": [ - 2114 + 2114, + 2115 ] }, { "teal": 2095, - "source": 529, + "source": 532, "pc": [ - 2115, - 2116, - 2117 + 2116 ] }, { - "teal": 2100, - "source": 530, + "teal": 2096, + "source": 532, "pc": [ - 2118, - 2119 + 2117 ] }, { - "teal": 2101, - "source": 530, + "teal": 2097, + "source": 532, "pc": [ - 2120 + 2118 ] }, { - "teal": 2102, - "source": 530, + "teal": 2098, + "source": 532, "pc": [ - 2121, - 2122 + 2119, + 2120, + 2121 ] }, { "teal": 2103, - "source": 530, + "source": 533, "pc": [ + 2122, 2123 ] }, { "teal": 2104, - "source": 530, + "source": 533, "pc": [ - 2124, - 2125 + 2124 ] }, { "teal": 2105, - "source": 530, + "source": 533, "pc": [ + 2125, 2126 ] }, { "teal": 2106, - "source": 530, + "source": 533, "pc": [ 2127 ] }, { "teal": 2107, - "source": 530, + "source": 533, "pc": [ 2128, 2129 ] }, { - "teal": 2111, - "source": 534, + "teal": 2108, + "source": 533, "pc": [ - 2130, - 2131 + 2130 ] }, { - "teal": 2112, - "source": 534, + "teal": 2109, + "source": 533, "pc": [ - 2132, - 2133 + 2131 ] }, { - "teal": 2113, - "source": 534, + "teal": 2110, + "source": 533, "pc": [ - 2134 + 2132, + 2133 ] }, { - "teal": 2116, - "source": 534, - "errorMessage": "can't call epochBalanceUpdate in same epoch as prior call", + "teal": 2114, + "source": 537, "pc": [ + 2134, 2135 ] }, { - "teal": 2121, + "teal": 2115, "source": 537, "pc": [ 2136, - 2137, - 2138 + 2137 ] }, { - "teal": 2125, - "source": 540, + "teal": 2116, + "source": 537, "pc": [ - 2139, - 2140 + 2138 ] }, { - "teal": 2126, - "source": 540, + "teal": 2119, + "source": 537, + "errorMessage": "can't call epochBalanceUpdate in same epoch as prior call", "pc": [ - 2141, - 2142 + 2139 ] }, { - "teal": 2127, + "teal": 2124, "source": 540, "pc": [ - 2143 + 2140, + 2141, + 2142 ] }, { - "teal": 2131, - "source": 541, + "teal": 2128, + "source": 543, "pc": [ - 2144, - 2145 + 2143, + 2144 ] }, { - "teal": 2132, - "source": 541, + "teal": 2129, + "source": 543, "pc": [ + 2145, 2146 ] }, { - "teal": 2133, - "source": 541, + "teal": 2130, + "source": 543, "pc": [ 2147 ] }, { "teal": 2134, - "source": 541, + "source": 544, "pc": [ - 2148 + 2148, + 2149 ] }, { "teal": 2135, - "source": 541, + "source": 544, "pc": [ - 2149, 2150 ] }, { "teal": 2136, - "source": 541, + "source": 544, "pc": [ 2151 ] }, { "teal": 2137, - "source": 541, + "source": 544, "pc": [ 2152 ] }, { - "teal": 2141, - "source": 546, + "teal": 2138, + "source": 544, "pc": [ 2153, 2154 ] }, { - "teal": 2142, - "source": 546, + "teal": 2139, + "source": 544, "pc": [ - 2155, - 2156, - 2157 + 2155 ] }, { - "teal": 2143, - "source": 546, + "teal": 2140, + "source": 544, "pc": [ - 2158 + 2156 ] }, { "teal": 2144, - "source": 546, + "source": 549, "pc": [ - 2159 + 2157, + 2158 ] }, { "teal": 2145, - "source": 546, + "source": 549, "pc": [ - 2160 + 2159, + 2160, + 2161 ] }, { "teal": 2146, - "source": 546, + "source": 549, "pc": [ - 2161, 2162 ] }, { - "teal": 2150, - "source": 547, + "teal": 2147, + "source": 549, + "pc": [ + 2163 + ] + }, + { + "teal": 2148, + "source": 549, "pc": [ - 2163, - 2164, - 2165 + 2164 ] }, { - "teal": 2151, - "source": 547, + "teal": 2149, + "source": 549, "pc": [ - 2166, - 2167 + 2165, + 2166 ] }, { - "teal": 2155, - "source": 548, + "teal": 2153, + "source": 550, "pc": [ + 2167, 2168, 2169 ] }, { - "teal": 2156, - "source": 548, + "teal": 2154, + "source": 550, "pc": [ 2170, 2171 ] }, { - "teal": 2161, - "source": 553, + "teal": 2158, + "source": 551, "pc": [ 2172, 2173 ] }, { - "teal": 2162, - "source": 553, + "teal": 2159, + "source": 551, "pc": [ 2174, - 2175, - 2176 + 2175 ] }, { - "teal": 2168, - "source": 554, + "teal": 2164, + "source": 556, "pc": [ + 2176, 2177 ] }, { - "teal": 2169, - "source": 554, + "teal": 2165, + "source": 556, "pc": [ - 2178 + 2178, + 2179, + 2180 ] }, { - "teal": 2170, - "source": 554, + "teal": 2171, + "source": 557, "pc": [ - 2179 + 2181 ] }, { - "teal": 2171, - "source": 554, + "teal": 2172, + "source": 557, "pc": [ - 2180 + 2182 ] }, { - "teal": 2172, - "source": 554, + "teal": 2173, + "source": 557, "pc": [ - 2181, - 2182, 2183 ] }, { - "teal": 2180, - "source": 556, + "teal": 2174, + "source": 557, "pc": [ 2184 ] }, { - "teal": 2181, - "source": 556, + "teal": 2175, + "source": 557, "pc": [ - 2185 + 2185, + 2186, + 2187 ] }, { - "teal": 2182, - "source": 556, + "teal": 2183, + "source": 559, "pc": [ - 2186, - 2187 + 2188 ] }, { - "teal": 2183, - "source": 556, + "teal": 2184, + "source": 559, "pc": [ - 2188, 2189 ] }, { - "teal": 2184, - "source": 556, + "teal": 2185, + "source": 559, "pc": [ 2190, 2191 ] }, { - "teal": 2188, - "source": 557, + "teal": 2186, + "source": 559, "pc": [ - 2192 + 2192, + 2193 ] }, { - "teal": 2189, - "source": 557, - "pc": [ - 2193 - ] - }, - { - "teal": 2190, - "source": 557, + "teal": 2187, + "source": 559, "pc": [ 2194, 2195 ] }, { - "teal": 2194, - "source": 558, + "teal": 2191, + "source": 560, "pc": [ 2196 ] }, { - "teal": 2195, - "source": 558, + "teal": 2192, + "source": 560, "pc": [ 2197 ] }, { - "teal": 2196, - "source": 558, + "teal": 2193, + "source": 560, "pc": [ - 2198 + 2198, + 2199 ] }, { "teal": 2197, - "source": 558, + "source": 561, "pc": [ - 2199, 2200 ] }, { "teal": 2198, - "source": 558, + "source": 561, "pc": [ - 2201, - 2202, - 2203, - 2204, - 2205, - 2206, - 2207, - 2208, - 2209, - 2210 + 2201 ] }, { "teal": 2199, - "source": 558, + "source": 561, "pc": [ - 2211, - 2212 + 2202 ] }, { - "teal": 2202, - "source": 556, + "teal": 2200, + "source": 561, "pc": [ - 2213 + 2203, + 2204 ] }, { - "teal": 2203, - "source": 556, + "teal": 2201, + "source": 561, "pc": [ - 2214, - 2215 + 2205, + 2206, + 2207, + 2208, + 2209, + 2210, + 2211, + 2212, + 2213, + 2214 ] }, { - "teal": 2206, - "source": 556, + "teal": 2202, + "source": 561, "pc": [ + 2215, 2216 ] }, { - "teal": 2207, - "source": 556, + "teal": 2205, + "source": 559, "pc": [ - 2217, - 2218 + 2217 ] }, { - "teal": 2208, - "source": 556, + "teal": 2206, + "source": 559, "pc": [ + 2218, 2219 ] }, { "teal": 2209, - "source": 556, + "source": 559, "pc": [ 2220 ] }, { "teal": 2210, - "source": 556, + "source": 559, "pc": [ 2221, 2222 @@ -9193,232 +9175,232 @@ }, { "teal": 2211, - "source": 556, + "source": 559, "pc": [ - 2223, - 2224, - 2225 + 2223 ] }, { "teal": 2212, - "source": 556, + "source": 559, "pc": [ - 2226 + 2224 ] }, { "teal": 2213, - "source": 556, + "source": 559, "pc": [ - 2227, - 2228 + 2225, + 2226 ] }, { - "teal": 2217, - "source": 560, + "teal": 2214, + "source": 559, "pc": [ - 2229, - 2230 + 2227, + 2228, + 2229 ] }, { - "teal": 2218, - "source": 560, + "teal": 2215, + "source": 559, "pc": [ - 2231, - 2232 + 2230 ] }, { - "teal": 2219, - "source": 560, + "teal": 2216, + "source": 559, "pc": [ - 2233 + 2231, + 2232 ] }, { "teal": 2220, - "source": 560, + "source": 563, "pc": [ - 2234, - 2235 + 2233, + 2234 ] }, { - "teal": 2226, - "source": 565, + "teal": 2221, + "source": 563, "pc": [ + 2235, 2236 ] }, { - "teal": 2227, - "source": 565, + "teal": 2222, + "source": 563, "pc": [ 2237 ] }, { - "teal": 2228, - "source": 565, + "teal": 2223, + "source": 563, "pc": [ - 2238 + 2238, + 2239 ] }, { "teal": 2229, - "source": 565, + "source": 568, "pc": [ - 2239 + 2240 ] }, { "teal": 2230, - "source": 565, + "source": 568, "pc": [ - 2240, - 2241, - 2242 + 2241 ] }, { - "teal": 2238, - "source": 566, + "teal": 2231, + "source": 568, "pc": [ - 2243 + 2242 ] }, { - "teal": 2239, - "source": 566, + "teal": 2232, + "source": 568, "pc": [ - 2244 + 2243 ] }, { - "teal": 2240, - "source": 566, + "teal": 2233, + "source": 568, "pc": [ + 2244, 2245, 2246 ] }, { "teal": 2241, - "source": 566, + "source": 569, "pc": [ - 2247, - 2248 + 2247 ] }, { "teal": 2242, - "source": 566, + "source": 569, "pc": [ - 2249, - 2250 + 2248 ] }, { - "teal": 2246, - "source": 567, + "teal": 2243, + "source": 569, "pc": [ - 2251 + 2249, + 2250 ] }, { - "teal": 2247, - "source": 567, + "teal": 2244, + "source": 569, "pc": [ + 2251, 2252 ] }, { - "teal": 2248, - "source": 567, + "teal": 2245, + "source": 569, "pc": [ 2253, 2254 ] }, { - "teal": 2252, - "source": 568, + "teal": 2249, + "source": 570, "pc": [ 2255 ] }, { - "teal": 2253, - "source": 568, + "teal": 2250, + "source": 570, "pc": [ 2256 ] }, { - "teal": 2254, - "source": 568, + "teal": 2251, + "source": 570, "pc": [ - 2257 + 2257, + 2258 ] }, { "teal": 2255, - "source": 568, + "source": 571, "pc": [ - 2258, 2259 ] }, { - "teal": 2258, - "source": 566, + "teal": 2256, + "source": 571, "pc": [ 2260 ] }, { - "teal": 2259, - "source": 566, + "teal": 2257, + "source": 571, "pc": [ - 2261, - 2262 + 2261 ] }, { - "teal": 2262, - "source": 566, + "teal": 2258, + "source": 571, "pc": [ + 2262, 2263 ] }, { - "teal": 2263, - "source": 566, + "teal": 2261, + "source": 569, "pc": [ - 2264, - 2265 + 2264 ] }, { - "teal": 2264, - "source": 566, + "teal": 2262, + "source": 569, "pc": [ + 2265, 2266 ] }, { "teal": 2265, - "source": 566, + "source": 569, "pc": [ 2267 ] }, { "teal": 2266, - "source": 566, + "source": 569, "pc": [ 2268, 2269 @@ -9426,211 +9408,211 @@ }, { "teal": 2267, - "source": 566, + "source": 569, "pc": [ - 2270, - 2271, - 2272 + 2270 ] }, { "teal": 2268, - "source": 566, + "source": 569, "pc": [ - 2273, - 2274 + 2271 ] }, { "teal": 2269, - "source": 565, + "source": 569, "pc": [ - 2275, - 2276, - 2277 + 2272, + 2273 ] }, { - "teal": 2277, - "source": 572, + "teal": 2270, + "source": 569, "pc": [ - 2278 + 2274, + 2275, + 2276 ] }, { - "teal": 2278, - "source": 572, + "teal": 2271, + "source": 569, "pc": [ - 2279 + 2277, + 2278 ] }, { - "teal": 2279, - "source": 572, + "teal": 2272, + "source": 568, "pc": [ + 2279, 2280, 2281 ] }, { "teal": 2280, - "source": 572, + "source": 575, "pc": [ - 2282, - 2283 + 2282 ] }, { "teal": 2281, - "source": 572, + "source": 575, + "pc": [ + 2283 + ] + }, + { + "teal": 2282, + "source": 575, "pc": [ 2284, 2285 ] }, { - "teal": 2285, - "source": 573, + "teal": 2283, + "source": 575, "pc": [ 2286, 2287 ] }, { - "teal": 2286, - "source": 573, + "teal": 2284, + "source": 575, "pc": [ 2288, 2289 ] }, { - "teal": 2290, - "source": 574, - "pc": [ - 2290 - ] - }, - { - "teal": 2291, - "source": 574, + "teal": 2288, + "source": 576, "pc": [ + 2290, 2291 ] }, { - "teal": 2292, - "source": 574, + "teal": 2289, + "source": 576, "pc": [ - 2292 + 2292, + 2293 ] }, { "teal": 2293, - "source": 574, + "source": 577, "pc": [ - 2293 + 2294 ] }, { "teal": 2294, - "source": 574, + "source": 577, "pc": [ - 2294 + 2295 ] }, { "teal": 2295, - "source": 574, + "source": 577, "pc": [ - 2295 + 2296 ] }, { "teal": 2296, - "source": 574, + "source": 577, "pc": [ - 2296 + 2297 ] }, { "teal": 2297, - "source": 574, + "source": 577, "pc": [ - 2297, - 2298, - 2299 + 2298 ] }, { "teal": 2298, - "source": 574, + "source": 577, "pc": [ - 2300 + 2299 ] }, { "teal": 2299, - "source": 574, + "source": 577, "pc": [ - 2301 + 2300 ] }, { "teal": 2300, - "source": 574, + "source": 577, "pc": [ + 2301, 2302, 2303 ] }, { - "teal": 2303, - "source": 572, + "teal": 2301, + "source": 577, "pc": [ 2304 ] }, { - "teal": 2304, - "source": 572, + "teal": 2302, + "source": 577, "pc": [ - 2305, - 2306 + 2305 ] }, { - "teal": 2307, - "source": 572, + "teal": 2303, + "source": 577, "pc": [ + 2306, 2307 ] }, { - "teal": 2308, - "source": 572, + "teal": 2306, + "source": 575, "pc": [ - 2308, - 2309 + 2308 ] }, { - "teal": 2309, - "source": 572, + "teal": 2307, + "source": 575, "pc": [ + 2309, 2310 ] }, { "teal": 2310, - "source": 572, + "source": 575, "pc": [ 2311 ] }, { "teal": 2311, - "source": 572, + "source": 575, "pc": [ 2312, 2313 @@ -9638,38 +9620,38 @@ }, { "teal": 2312, - "source": 572, + "source": 575, "pc": [ - 2314, - 2315, - 2316 + 2314 ] }, { "teal": 2313, - "source": 572, + "source": 575, "pc": [ - 2317, - 2318 + 2315 ] }, { - "teal": 2323, - "source": 581, + "teal": 2314, + "source": 575, "pc": [ - 2319 + 2316, + 2317 ] }, { - "teal": 2324, - "source": 581, + "teal": 2315, + "source": 575, "pc": [ + 2318, + 2319, 2320 ] }, { - "teal": 2325, - "source": 581, + "teal": 2316, + "source": 575, "pc": [ 2321, 2322 @@ -9677,122 +9659,122 @@ }, { "teal": 2326, - "source": 581, + "source": 584, "pc": [ - 2323, - 2324, - 2325, - 2326, - 2327, - 2328 + 2323 ] }, { "teal": 2327, - "source": 581, + "source": 584, "pc": [ - 2329, - 2330 + 2324 ] }, { - "teal": 2331, - "source": 582, + "teal": 2328, + "source": 584, "pc": [ - 2331 + 2325, + 2326 ] }, { - "teal": 2332, - "source": 582, + "teal": 2329, + "source": 584, "pc": [ + 2327, + 2328, + 2329, + 2330, + 2331, 2332 ] }, { - "teal": 2333, - "source": 582, + "teal": 2330, + "source": 584, "pc": [ 2333, 2334 ] }, { - "teal": 2337, - "source": 583, + "teal": 2334, + "source": 585, "pc": [ 2335 ] }, { - "teal": 2338, - "source": 583, + "teal": 2335, + "source": 585, "pc": [ 2336 ] }, { - "teal": 2339, - "source": 583, + "teal": 2336, + "source": 585, "pc": [ - 2337 + 2337, + 2338 ] }, { "teal": 2340, - "source": 583, + "source": 586, "pc": [ - 2338, 2339 ] }, { - "teal": 2343, - "source": 581, + "teal": 2341, + "source": 586, "pc": [ 2340 ] }, { - "teal": 2344, - "source": 581, + "teal": 2342, + "source": 586, "pc": [ - 2341, - 2342 + 2341 ] }, { - "teal": 2347, - "source": 581, + "teal": 2343, + "source": 586, "pc": [ + 2342, 2343 ] }, { - "teal": 2348, - "source": 581, + "teal": 2346, + "source": 584, "pc": [ - 2344, - 2345 + 2344 ] }, { - "teal": 2349, - "source": 581, + "teal": 2347, + "source": 584, "pc": [ + 2345, 2346 ] }, { "teal": 2350, - "source": 581, + "source": 584, "pc": [ 2347 ] }, { "teal": 2351, - "source": 581, + "source": 584, "pc": [ 2348, 2349 @@ -9800,101 +9782,101 @@ }, { "teal": 2352, - "source": 581, + "source": 584, "pc": [ - 2350, - 2351, - 2352 + 2350 ] }, { "teal": 2353, - "source": 581, + "source": 584, "pc": [ - 2353, - 2354 + 2351 ] }, { - "teal": 2357, - "source": 585, + "teal": 2354, + "source": 584, + "pc": [ + 2352, + 2353 + ] + }, + { + "teal": 2355, + "source": 584, "pc": [ + 2354, 2355, 2356 ] }, { - "teal": 2358, - "source": 585, + "teal": 2356, + "source": 584, "pc": [ 2357, - 2358, - 2359 + 2358 ] }, { - "teal": 2359, - "source": 585, + "teal": 2360, + "source": 588, "pc": [ + 2359, 2360 ] }, { - "teal": 2360, - "source": 585, + "teal": 2361, + "source": 588, "pc": [ 2361, - 2362 + 2362, + 2363 ] }, { - "teal": 2364, - "source": 591, + "teal": 2362, + "source": 588, "pc": [ - 2363, 2364 ] }, { - "teal": 2365, - "source": 591, + "teal": 2363, + "source": 588, "pc": [ 2365, 2366 ] }, - { - "teal": 2366, - "source": 591, - "pc": [ - 2367 - ] - }, { "teal": 2367, - "source": 591, + "source": 594, "pc": [ - 2368, - 2369 + 2367, + 2368 ] }, { "teal": 2368, - "source": 591, + "source": 594, "pc": [ + 2369, 2370 ] }, { "teal": 2369, - "source": 591, + "source": 594, "pc": [ 2371 ] }, { "teal": 2370, - "source": 591, + "source": 594, "pc": [ 2372, 2373 @@ -9902,392 +9884,392 @@ }, { "teal": 2371, - "source": 591, + "source": 594, "pc": [ - 2374, - 2375 + 2374 ] }, { "teal": 2372, - "source": 591, + "source": 594, "pc": [ - 2376 + 2375 ] }, { "teal": 2373, - "source": 591, + "source": 594, "pc": [ + 2376, 2377 ] }, { "teal": 2374, - "source": 591, + "source": 594, "pc": [ 2378, 2379 ] }, { - "teal": 2378, - "source": 592, + "teal": 2375, + "source": 594, "pc": [ 2380 ] }, { - "teal": 2379, - "source": 592, + "teal": 2376, + "source": 594, "pc": [ - 2381, - 2382 + 2381 ] }, { - "teal": 2383, - "source": 593, + "teal": 2377, + "source": 594, "pc": [ - 2383, - 2384, - 2385 + 2382, + 2383 ] }, { - "teal": 2384, - "source": 593, + "teal": 2381, + "source": 595, "pc": [ - 2386, - 2387 + 2384 ] }, { - "teal": 2389, - "source": 601, + "teal": 2382, + "source": 595, "pc": [ + 2385, + 2386 + ] + }, + { + "teal": 2386, + "source": 596, + "pc": [ + 2387, 2388, 2389 ] }, { - "teal": 2390, - "source": 601, + "teal": 2387, + "source": 596, "pc": [ 2390, - 2391, - 2392 + 2391 ] }, { - "teal": 2391, - "source": 601, + "teal": 2392, + "source": 604, "pc": [ + 2392, 2393 ] }, { - "teal": 2392, - "source": 601, + "teal": 2393, + "source": 604, "pc": [ 2394, - 2395 + 2395, + 2396 ] }, { - "teal": 2393, - "source": 601, + "teal": 2394, + "source": 604, "pc": [ - 2396 + 2397 ] }, { - "teal": 2394, - "source": 601, + "teal": 2395, + "source": 604, "pc": [ - 2397, 2398, 2399 ] }, { - "teal": 2399, - "source": 602, + "teal": 2396, + "source": 604, "pc": [ 2400 ] }, { - "teal": 2400, - "source": 602, + "teal": 2397, + "source": 604, "pc": [ 2401, - 2402 - ] - }, - { - "teal": 2405, - "source": 608, - "pc": [ + 2402, 2403 ] }, { - "teal": 2406, - "source": 608, + "teal": 2402, + "source": 605, "pc": [ - 2404, - 2405 + 2404 ] }, { - "teal": 2410, - "source": 609, + "teal": 2403, + "source": 605, "pc": [ + 2405, 2406 ] }, { - "teal": 2411, - "source": 609, + "teal": 2408, + "source": 611, "pc": [ - 2407, - 2408 + 2407 ] }, { - "teal": 2415, - "source": 610, + "teal": 2409, + "source": 611, "pc": [ + 2408, 2409 ] }, { - "teal": 2416, - "source": 610, + "teal": 2413, + "source": 612, "pc": [ - 2410, - 2411 + 2410 ] }, { - "teal": 2420, - "source": 611, + "teal": 2414, + "source": 612, "pc": [ + 2411, 2412 ] }, { - "teal": 2421, - "source": 611, + "teal": 2418, + "source": 613, "pc": [ - 2413, - 2414 + 2413 ] }, { - "teal": 2426, - "source": 612, + "teal": 2419, + "source": 613, "pc": [ - 2415, - 2416 + 2414, + 2415 ] }, { - "teal": 2427, - "source": 612, + "teal": 2423, + "source": 614, "pc": [ - 2417, - 2418, - 2419 + 2416 ] }, { - "teal": 2433, + "teal": 2424, "source": 614, "pc": [ - 2420, - 2421 + 2417, + 2418 ] }, { - "teal": 2434, - "source": 614, + "teal": 2429, + "source": 615, "pc": [ - 2422, - 2423 + 2419, + 2420 ] }, { - "teal": 2435, - "source": 614, + "teal": 2430, + "source": 615, "pc": [ - 2424, - 2425, - 2426 + 2421, + 2422, + 2423 ] }, { "teal": 2436, - "source": 614, + "source": 617, "pc": [ - 2427 + 2424, + 2425 ] }, { "teal": 2437, - "source": 614, + "source": 617, "pc": [ - 2428, - 2429 + 2426, + 2427 ] }, { "teal": 2438, - "source": 614, + "source": 617, "pc": [ + 2428, + 2429, 2430 ] }, { "teal": 2439, - "source": 614, + "source": 617, "pc": [ - 2431, - 2432 + 2431 ] }, { "teal": 2440, - "source": 614, + "source": 617, "pc": [ + 2432, 2433 ] }, { "teal": 2441, - "source": 613, + "source": 617, "pc": [ - 2434, - 2435 + 2434 ] }, { - "teal": 2446, - "source": 618, + "teal": 2442, + "source": 617, "pc": [ - 2436, - 2437 + 2435, + 2436 ] }, { - "teal": 2447, - "source": 618, + "teal": 2443, + "source": 617, "pc": [ - 2438, - 2439 + 2437 ] }, { - "teal": 2448, - "source": 618, + "teal": 2444, + "source": 616, "pc": [ - 2440, - 2441, - 2442 + 2438, + 2439 ] }, { "teal": 2449, - "source": 618, + "source": 621, "pc": [ - 2443 + 2440, + 2441 ] }, { "teal": 2450, - "source": 618, + "source": 621, "pc": [ - 2444 + 2442, + 2443 ] }, { "teal": 2451, - "source": 618, + "source": 621, "pc": [ + 2444, 2445, - 2446, - 2447 + 2446 ] }, { - "teal": 2456, - "source": 624, + "teal": 2452, + "source": 621, "pc": [ - 2448, - 2449 + 2447 ] }, { - "teal": 2457, - "source": 624, + "teal": 2453, + "source": 621, "pc": [ - 2450 + 2448 ] }, { - "teal": 2458, - "source": 624, + "teal": 2454, + "source": 621, "pc": [ + 2449, + 2450, 2451 ] }, { "teal": 2459, - "source": 624, + "source": 627, "pc": [ - 2452 + 2452, + 2453 ] }, { "teal": 2460, - "source": 624, + "source": 627, "pc": [ - 2453 + 2454 ] }, { "teal": 2461, - "source": 624, + "source": 627, "pc": [ - 2454 + 2455 ] }, { "teal": 2462, - "source": 624, + "source": 627, "pc": [ - 2455, 2456 ] }, { "teal": 2463, - "source": 624, + "source": 627, "pc": [ 2457 ] }, { "teal": 2464, - "source": 624, + "source": 627, "pc": [ 2458 ] }, { "teal": 2465, - "source": 624, + "source": 627, "pc": [ 2459, 2460 @@ -10295,75 +10277,75 @@ }, { "teal": 2466, - "source": 624, + "source": 627, "pc": [ 2461 ] }, { "teal": 2467, - "source": 624, + "source": 627, "pc": [ 2462 ] }, { "teal": 2468, - "source": 624, + "source": 627, "pc": [ 2463, 2464 ] }, { - "teal": 2472, + "teal": 2469, "source": 627, "pc": [ - 2465, - 2466 + 2465 ] }, { - "teal": 2473, + "teal": 2470, "source": 627, "pc": [ - 2467, - 2468, - 2469 + 2466 ] }, { - "teal": 2474, + "teal": 2471, "source": 627, "pc": [ - 2470 + 2467, + 2468 ] }, { "teal": 2475, - "source": 627, + "source": 630, "pc": [ - 2471, - 2472 + 2469, + 2470 ] }, { "teal": 2476, - "source": 627, + "source": 630, "pc": [ + 2471, + 2472, 2473 ] }, { "teal": 2477, - "source": 627, + "source": 630, "pc": [ 2474 ] }, { "teal": 2478, - "source": 627, + "source": 630, "pc": [ 2475, 2476 @@ -10371,126 +10353,144 @@ }, { "teal": 2479, - "source": 627, + "source": 630, "pc": [ 2477 ] }, { "teal": 2480, - "source": 627, + "source": 630, "pc": [ 2478 ] }, { "teal": 2481, - "source": 627, + "source": 630, "pc": [ - 2479 + 2479, + 2480 ] }, { "teal": 2482, - "source": 627, + "source": 630, "pc": [ - 2480 + 2481 ] }, { "teal": 2483, - "source": 627, + "source": 630, "pc": [ - 2481 + 2482 ] }, { - "teal": 2486, - "source": 627, - "errorMessage": "wideRatio failed", + "teal": 2484, + "source": 630, "pc": [ - 2482 + 2483 ] }, { - "teal": 2487, - "source": 627, + "teal": 2485, + "source": 630, "pc": [ - 2483, 2484 ] }, { - "teal": 2495, + "teal": 2486, "source": 630, "pc": [ - 2485, - 2486 + 2485 ] }, { - "teal": 2496, + "teal": 2489, "source": 630, + "errorMessage": "wideRatio failed", "pc": [ - 2487 + 2486 ] }, { - "teal": 2497, + "teal": 2490, "source": 630, "pc": [ + 2487, 2488 ] }, { "teal": 2498, - "source": 630, + "source": 633, "pc": [ 2489, - 2490, - 2491 + 2490 ] }, { - "teal": 2504, - "source": 635, + "teal": 2499, + "source": 633, "pc": [ - 2492, - 2493 + 2491 ] }, { - "teal": 2505, - "source": 635, + "teal": 2500, + "source": 633, "pc": [ + 2492 + ] + }, + { + "teal": 2501, + "source": 633, + "pc": [ + 2493, 2494, 2495 ] }, { - "teal": 2506, - "source": 635, + "teal": 2507, + "source": 638, "pc": [ - 2496 + 2496, + 2497 ] }, { - "teal": 2507, - "source": 635, + "teal": 2508, + "source": 638, "pc": [ - 2497, 2498, 2499 ] }, { - "teal": 2512, - "source": 636, + "teal": 2509, + "source": 638, + "pc": [ + 2500 + ] + }, + { + "teal": 2510, + "source": 638, "pc": [ - 2500, 2501, 2502, - 2503, + 2503 + ] + }, + { + "teal": 2515, + "source": 639, + "pc": [ 2504, 2505, 2506, @@ -10510,73 +10510,55 @@ 2520, 2521, 2522, - 2523 - ] - }, - { - "teal": 2513, - "source": 636, - "pc": [ - 2524 - ] - }, - { - "teal": 2517, - "source": 637, - "pc": [ - 2525 - ] - }, - { - "teal": 2525, - "source": 641, - "pc": [ + 2523, + 2524, + 2525, 2526, 2527 ] }, { - "teal": 2526, - "source": 641, + "teal": 2516, + "source": 639, "pc": [ - 2528, - 2529, - 2530 + 2528 ] }, { - "teal": 2531, - "source": 644, + "teal": 2520, + "source": 640, "pc": [ - 2531, - 2532 + 2529 ] }, { - "teal": 2532, + "teal": 2528, "source": 644, "pc": [ - 2533, - 2534 + 2530, + 2531 ] }, { - "teal": 2533, + "teal": 2529, "source": 644, "pc": [ - 2535 + 2532, + 2533, + 2534 ] }, { "teal": 2534, - "source": 644, + "source": 647, "pc": [ + 2535, 2536 ] }, { "teal": 2535, - "source": 644, + "source": 647, "pc": [ 2537, 2538 @@ -10584,165 +10566,183 @@ }, { "teal": 2536, - "source": 644, + "source": 647, "pc": [ - 2539, - 2540, - 2541 + 2539 ] }, { "teal": 2537, - "source": 644, + "source": 647, "pc": [ - 2542 + 2540 ] }, { "teal": 2538, - "source": 644, + "source": 647, "pc": [ - 2543 + 2541, + 2542 ] }, { "teal": 2539, - "source": 644, + "source": 647, "pc": [ - 2544 + 2543, + 2544, + 2545 ] }, { "teal": 2540, - "source": 644, + "source": 647, "pc": [ - 2545 + 2546 ] }, { "teal": 2541, - "source": 644, + "source": 647, "pc": [ - 2546 + 2547 ] }, { "teal": 2542, - "source": 644, + "source": 647, "pc": [ - 2547 + 2548 ] }, { - "teal": 2545, - "source": 644, - "errorMessage": "wideRatio failed", + "teal": 2543, + "source": 647, "pc": [ - 2548 + 2549 ] }, { - "teal": 2546, - "source": 644, + "teal": 2544, + "source": 647, "pc": [ - 2549, 2550 ] }, { - "teal": 2550, - "source": 646, + "teal": 2545, + "source": 647, "pc": [ - 2551, - 2552 + 2551 ] }, { - "teal": 2551, - "source": 646, + "teal": 2548, + "source": 647, + "errorMessage": "wideRatio failed", "pc": [ - 2553, - 2554 + 2552 ] }, { - "teal": 2552, - "source": 646, + "teal": 2549, + "source": 647, "pc": [ - 2555 + 2553, + 2554 ] }, { "teal": 2553, - "source": 646, + "source": 649, "pc": [ - 2556, - 2557 + 2555, + 2556 ] }, { - "teal": 2561, - "source": 647, + "teal": 2554, + "source": 649, "pc": [ + 2557, 2558 ] }, { - "teal": 2562, - "source": 647, + "teal": 2555, + "source": 649, "pc": [ 2559 ] }, { - "teal": 2563, - "source": 647, + "teal": 2556, + "source": 649, "pc": [ 2560, 2561 ] }, { - "teal": 2567, - "source": 648, + "teal": 2564, + "source": 650, + "pc": [ + 2562 + ] + }, + { + "teal": 2565, + "source": 650, "pc": [ - 2562, 2563 ] }, { - "teal": 2568, - "source": 648, + "teal": 2566, + "source": 650, "pc": [ 2564, 2565 ] }, { - "teal": 2572, - "source": 649, + "teal": 2570, + "source": 651, "pc": [ 2566, - 2567, - 2568 + 2567 ] }, { - "teal": 2573, - "source": 649, + "teal": 2571, + "source": 651, "pc": [ - 2569, - 2570 + 2568, + 2569 ] }, { - "teal": 2577, - "source": 650, + "teal": 2575, + "source": 652, "pc": [ + 2570, 2571, - 2572, + 2572 + ] + }, + { + "teal": 2576, + "source": 652, + "pc": [ 2573, - 2574, + 2574 + ] + }, + { + "teal": 2580, + "source": 653, + "pc": [ 2575, 2576, 2577, @@ -10774,424 +10774,406 @@ 2603, 2604, 2605, - 2606 - ] - }, - { - "teal": 2578, - "source": 650, - "pc": [ + 2606, 2607, - 2608 + 2608, + 2609, + 2610 ] }, { "teal": 2581, - "source": 647, + "source": 653, "pc": [ - 2609 + 2611, + 2612 ] }, { - "teal": 2582, - "source": 647, + "teal": 2584, + "source": 650, "pc": [ - 2610, - 2611 + 2613 ] }, { "teal": 2585, - "source": 647, - "pc": [ - 2612 - ] - }, - { - "teal": 2589, - "source": 653, + "source": 650, "pc": [ - 2613, - 2614 + 2614, + 2615 ] }, { - "teal": 2590, - "source": 653, + "teal": 2588, + "source": 650, "pc": [ - 2615, 2616 ] }, { - "teal": 2591, - "source": 641, + "teal": 2592, + "source": 656, "pc": [ 2617, - 2618, - 2619 + 2618 ] }, { - "teal": 2596, - "source": 654, + "teal": 2593, + "source": 656, "pc": [ - 2620, - 2621 + 2619, + 2620 ] }, { - "teal": 2597, - "source": 654, + "teal": 2594, + "source": 644, "pc": [ + 2621, 2622, - 2623, - 2624 + 2623 ] }, { - "teal": 2598, - "source": 654, + "teal": 2599, + "source": 657, "pc": [ + 2624, 2625 ] }, { - "teal": 2599, - "source": 654, + "teal": 2600, + "source": 657, "pc": [ - 2626 + 2626, + 2627, + 2628 ] }, { - "teal": 2600, - "source": 654, + "teal": 2601, + "source": 657, "pc": [ - 2627 + 2629 ] }, { - "teal": 2601, - "source": 654, + "teal": 2602, + "source": 657, "pc": [ - 2628, - 2629, 2630 ] }, { - "teal": 2609, - "source": 658, + "teal": 2603, + "source": 657, "pc": [ - 2631, - 2632 + 2631 ] }, { - "teal": 2610, - "source": 658, + "teal": 2604, + "source": 657, "pc": [ + 2632, 2633, 2634 ] }, - { - "teal": 2611, - "source": 658, - "pc": [ - 2635, - 2636, - 2637 - ] - }, { "teal": 2612, - "source": 658, + "source": 661, "pc": [ - 2638 + 2635, + 2636 ] }, { "teal": 2613, - "source": 657, + "source": 661, "pc": [ - 2639 + 2637, + 2638 ] }, { "teal": 2614, - "source": 657, + "source": 661, "pc": [ - 2640 + 2639, + 2640, + 2641 ] }, { "teal": 2615, - "source": 659, + "source": 661, "pc": [ - 2641, 2642 ] }, { "teal": 2616, - "source": 657, + "source": 660, "pc": [ 2643 ] }, { "teal": 2617, - "source": 657, + "source": 660, "pc": [ 2644 ] }, { "teal": 2618, - "source": 657, + "source": 662, "pc": [ - 2645 + 2645, + 2646 ] }, { "teal": 2619, - "source": 657, + "source": 660, "pc": [ - 2646 + 2647 ] }, { "teal": 2620, - "source": 657, + "source": 660, "pc": [ - 2647 + 2648 ] }, { - "teal": 2623, - "source": 657, - "errorMessage": "wideRatio failed", + "teal": 2621, + "source": 660, "pc": [ - 2648 + 2649 ] }, { - "teal": 2624, - "source": 657, + "teal": 2622, + "source": 660, "pc": [ - 2649, 2650 ] }, { - "teal": 2628, - "source": 663, + "teal": 2623, + "source": 660, "pc": [ - 2651, - 2652 + 2651 ] }, { - "teal": 2629, - "source": 663, + "teal": 2626, + "source": 660, + "errorMessage": "wideRatio failed", "pc": [ - 2653, - 2654 + 2652 ] }, { - "teal": 2630, - "source": 663, + "teal": 2627, + "source": 660, "pc": [ - 2655 + 2653, + 2654 ] }, { "teal": 2631, - "source": 663, + "source": 666, "pc": [ - 2656, - 2657 + 2655, + 2656 ] }, { - "teal": 2636, - "source": 670, + "teal": 2632, + "source": 666, "pc": [ - 2658, - 2659 + 2657, + 2658 ] }, { - "teal": 2637, - "source": 670, + "teal": 2633, + "source": 666, "pc": [ - 2660 + 2659 ] }, { - "teal": 2638, - "source": 670, + "teal": 2634, + "source": 666, "pc": [ + 2660, 2661 ] }, { "teal": 2639, - "source": 670, + "source": 673, "pc": [ 2662, - 2663, + 2663 + ] + }, + { + "teal": 2640, + "source": 673, + "pc": [ 2664 ] }, { - "teal": 2644, + "teal": 2641, "source": 673, "pc": [ 2665 ] }, { - "teal": 2645, + "teal": 2642, "source": 673, "pc": [ 2666, - 2667 + 2667, + 2668 ] }, { - "teal": 2651, - "source": 675, + "teal": 2647, + "source": 676, "pc": [ - 2668, 2669 ] }, { - "teal": 2652, - "source": 675, + "teal": 2648, + "source": 676, "pc": [ 2670, - 2671, - 2672 - ] - }, - { - "teal": 2653, - "source": 675, - "pc": [ - 2673, - 2674 + 2671 ] }, { "teal": 2654, - "source": 675, + "source": 678, "pc": [ - 2675, - 2676, - 2677 + 2672, + 2673 ] }, { "teal": 2655, - "source": 675, + "source": 678, "pc": [ - 2678 + 2674, + 2675, + 2676 ] }, { "teal": 2656, - "source": 675, + "source": 678, "pc": [ - 2679 + 2677, + 2678 ] }, { "teal": 2657, - "source": 675, + "source": 678, "pc": [ + 2679, 2680, - 2681, - 2682 + 2681 ] }, { "teal": 2658, - "source": 676, + "source": 678, "pc": [ - 2683, - 2684 + 2682 ] }, { "teal": 2659, - "source": 676, + "source": 678, "pc": [ - 2685, - 2686, - 2687 + 2683 ] }, { "teal": 2660, - "source": 676, + "source": 678, "pc": [ - 2688, - 2689 + 2684, + 2685, + 2686 ] }, { "teal": 2661, - "source": 676, + "source": 679, "pc": [ - 2690 + 2687, + 2688 ] }, { "teal": 2662, - "source": 676, + "source": 679, "pc": [ - 2691, - 2692 + 2689, + 2690, + 2691 ] }, { "teal": 2663, - "source": 676, + "source": 679, "pc": [ - 2693, - 2694, - 2695 + 2692, + 2693 ] }, { "teal": 2664, - "source": 676, + "source": 679, "pc": [ - 2696, - 2697 + 2694 ] }, { "teal": 2665, - "source": 676, + "source": 679, "pc": [ - 2698 + 2695, + 2696 ] }, { "teal": 2666, - "source": 676, + "source": 679, "pc": [ + 2697, + 2698, 2699 ] }, { "teal": 2667, - "source": 676, + "source": 679, "pc": [ 2700, 2701 @@ -11199,163 +11181,181 @@ }, { "teal": 2668, - "source": 676, + "source": 679, "pc": [ 2702 ] }, { "teal": 2669, - "source": 675, + "source": 679, "pc": [ 2703 ] }, { - "teal": 2672, - "source": 674, + "teal": 2670, + "source": 679, "pc": [ 2704, - 2705, + 2705 + ] + }, + { + "teal": 2671, + "source": 679, + "pc": [ 2706 ] }, { - "teal": 2677, + "teal": 2672, "source": 678, "pc": [ - 2707, - 2708 + 2707 ] }, { - "teal": 2678, - "source": 678, + "teal": 2675, + "source": 677, "pc": [ + 2708, 2709, 2710 ] }, { - "teal": 2679, - "source": 678, + "teal": 2680, + "source": 681, "pc": [ - 2711 + 2711, + 2712 ] }, { - "teal": 2680, - "source": 678, + "teal": 2681, + "source": 681, "pc": [ - 2712, 2713, 2714 ] }, { - "teal": 2681, - "source": 678, + "teal": 2682, + "source": 681, "pc": [ - 2715, - 2716 + 2715 ] }, { - "teal": 2682, - "source": 678, + "teal": 2683, + "source": 681, "pc": [ + 2716, 2717, - 2718, - 2719 + 2718 ] }, { - "teal": 2685, - "source": 678, + "teal": 2684, + "source": 681, "pc": [ - 2720, - 2721 + 2719, + 2720 ] }, { - "teal": 2688, - "source": 678, + "teal": 2685, + "source": 681, "pc": [ + 2721, 2722, 2723 ] }, { - "teal": 2696, - "source": 679, + "teal": 2688, + "source": 681, "pc": [ - 2724 + 2724, + 2725 ] }, { - "teal": 2697, - "source": 679, + "teal": 2691, + "source": 681, "pc": [ - 2725 + 2726, + 2727 ] }, { - "teal": 2698, - "source": 679, + "teal": 2699, + "source": 682, "pc": [ - 2726, - 2727 + 2728 ] }, { - "teal": 2702, - "source": 680, + "teal": 2700, + "source": 682, "pc": [ - 2728, 2729 ] }, { - "teal": 2703, - "source": 680, + "teal": 2701, + "source": 682, "pc": [ 2730, 2731 ] }, { - "teal": 2707, - "source": 681, + "teal": 2705, + "source": 683, "pc": [ 2732, 2733 ] }, { - "teal": 2708, - "source": 681, + "teal": 2706, + "source": 683, "pc": [ 2734, - 2735, - 2736 + 2735 ] }, { - "teal": 2709, - "source": 681, + "teal": 2710, + "source": 684, "pc": [ - 2737, - 2738 + 2736, + 2737 ] }, { - "teal": 2713, - "source": 682, + "teal": 2711, + "source": 684, "pc": [ + 2738, 2739, - 2740, + 2740 + ] + }, + { + "teal": 2712, + "source": 684, + "pc": [ 2741, - 2742, + 2742 + ] + }, + { + "teal": 2716, + "source": 685, + "pc": [ 2743, 2744, 2745, @@ -11406,171 +11406,171 @@ 2790, 2791, 2792, - 2793 - ] - }, - { - "teal": 2714, - "source": 682, - "pc": [ + 2793, 2794, - 2795 + 2795, + 2796, + 2797 ] }, { "teal": 2717, - "source": 679, + "source": 685, "pc": [ - 2796 + 2798, + 2799 ] }, { - "teal": 2718, - "source": 679, + "teal": 2720, + "source": 682, "pc": [ - 2797, - 2798 + 2800 ] }, { "teal": 2721, - "source": 679, - "pc": [ - 2799 - ] - }, - { - "teal": 2727, - "source": 685, + "source": 682, "pc": [ - 2800, - 2801 + 2801, + 2802 ] }, { - "teal": 2728, - "source": 685, + "teal": 2724, + "source": 682, "pc": [ - 2802, 2803 ] }, - { - "teal": 2729, - "source": 685, - "pc": [ - 2804 - ] - }, { "teal": 2730, - "source": 685, + "source": 688, "pc": [ + 2804, 2805 ] }, { "teal": 2731, - "source": 685, + "source": 688, "pc": [ - 2806 + 2806, + 2807 ] }, { "teal": 2732, - "source": 685, + "source": 688, "pc": [ - 2807, - 2808, - 2809 + 2808 ] }, { - "teal": 2741, - "source": 686, + "teal": 2733, + "source": 688, "pc": [ - 2810 + 2809 ] }, { - "teal": 2742, - "source": 686, + "teal": 2734, + "source": 688, "pc": [ - 2811 + 2810 ] }, { - "teal": 2743, - "source": 686, + "teal": 2735, + "source": 688, "pc": [ + 2811, 2812, 2813 ] }, { - "teal": 2747, - "source": 687, + "teal": 2744, + "source": 689, + "pc": [ + 2814 + ] + }, + { + "teal": 2745, + "source": 689, "pc": [ - 2814, 2815 ] }, { - "teal": 2748, - "source": 687, + "teal": 2746, + "source": 689, "pc": [ 2816, 2817 ] }, { - "teal": 2749, - "source": 687, + "teal": 2750, + "source": 690, "pc": [ - 2818 + 2818, + 2819 ] }, { - "teal": 2750, - "source": 687, + "teal": 2751, + "source": 690, "pc": [ - 2819, - 2820 + 2820, + 2821 ] }, { - "teal": 2754, - "source": 688, + "teal": 2752, + "source": 690, "pc": [ - 2821, 2822 ] }, { - "teal": 2755, - "source": 688, + "teal": 2753, + "source": 690, "pc": [ 2823, - 2824, - 2825 + 2824 ] }, { - "teal": 2756, - "source": 688, + "teal": 2757, + "source": 691, "pc": [ - 2826, - 2827 + 2825, + 2826 ] }, { - "teal": 2760, - "source": 689, + "teal": 2758, + "source": 691, "pc": [ + 2827, 2828, - 2829, + 2829 + ] + }, + { + "teal": 2759, + "source": 691, + "pc": [ 2830, - 2831, + 2831 + ] + }, + { + "teal": 2763, + "source": 692, + "pc": [ 2832, 2833, 2834, @@ -11584,832 +11584,814 @@ 2842, 2843, 2844, - 2845 - ] - }, - { - "teal": 2761, - "source": 689, - "pc": [ + 2845, 2846, - 2847 + 2847, + 2848, + 2849 ] }, { "teal": 2764, - "source": 686, - "pc": [ - 2848 - ] - }, - { - "teal": 2765, - "source": 686, - "pc": [ - 2849, - 2850 - ] - }, - { - "teal": 2768, - "source": 686, + "source": 692, "pc": [ + 2850, 2851 ] }, { - "teal": 2777, - "source": 701, + "teal": 2767, + "source": 689, "pc": [ 2852 ] }, { - "teal": 2778, - "source": 701, + "teal": 2768, + "source": 689, "pc": [ 2853, 2854 ] }, { - "teal": 2783, - "source": 725, + "teal": 2771, + "source": 689, "pc": [ - 2855, - 2856 + 2855 ] }, { - "teal": 2784, - "source": 725, + "teal": 2780, + "source": 704, "pc": [ - 2857 + 2856 ] }, { - "teal": 2785, - "source": 725, + "teal": 2781, + "source": 704, "pc": [ + 2857, 2858 ] }, { "teal": 2786, - "source": 725, + "source": 728, "pc": [ - 2859 + 2859, + 2860 ] }, { "teal": 2787, - "source": 725, + "source": 728, "pc": [ - 2860, - 2861, - 2862 + 2861 ] }, { "teal": 2788, - "source": 725, + "source": 728, "pc": [ - 2863, - 2864 + 2862 ] }, { "teal": 2789, - "source": 725, + "source": 728, "pc": [ - 2865 + 2863 ] }, { "teal": 2790, - "source": 725, + "source": 728, "pc": [ + 2864, + 2865, 2866 ] }, { "teal": 2791, - "source": 725, + "source": 728, "pc": [ - 2867 + 2867, + 2868 ] }, { - "teal": 2794, - "source": 725, + "teal": 2792, + "source": 728, + "pc": [ + 2869 + ] + }, + { + "teal": 2793, + "source": 728, "pc": [ - 2868, - 2869, 2870 ] }, { - "teal": 2799, - "source": 726, + "teal": 2794, + "source": 728, "pc": [ 2871 ] }, { - "teal": 2800, - "source": 726, + "teal": 2797, + "source": 728, "pc": [ 2872, - 2873 + 2873, + 2874 ] }, { - "teal": 2804, - "source": 727, + "teal": 2802, + "source": 729, "pc": [ - 2874 + 2875 ] }, { - "teal": 2805, - "source": 727, + "teal": 2803, + "source": 729, "pc": [ - 2875, - 2876 + 2876, + 2877 ] }, { - "teal": 2810, - "source": 727, + "teal": 2807, + "source": 730, "pc": [ - 2877, 2878 ] }, { - "teal": 2811, - "source": 727, + "teal": 2808, + "source": 730, "pc": [ 2879, 2880 ] }, { - "teal": 2812, - "source": 727, + "teal": 2813, + "source": 730, "pc": [ - 2881 + 2881, + 2882 ] }, { - "teal": 2813, - "source": 727, + "teal": 2814, + "source": 730, "pc": [ - 2882, 2883, 2884 ] }, { - "teal": 2818, - "source": 728, + "teal": 2815, + "source": 730, "pc": [ - 2885, - 2886 + 2885 ] }, { - "teal": 2819, - "source": 728, + "teal": 2816, + "source": 730, "pc": [ + 2886, 2887, 2888 ] }, { - "teal": 2820, - "source": 728, + "teal": 2821, + "source": 731, "pc": [ - 2889 + 2889, + 2890 ] }, { - "teal": 2821, - "source": 728, + "teal": 2822, + "source": 731, "pc": [ - 2890, 2891, 2892 ] }, { - "teal": 2826, - "source": 729, + "teal": 2823, + "source": 731, "pc": [ 2893 ] }, { - "teal": 2827, - "source": 729, - "pc": [ - 2894 - ] - }, - { - "teal": 2828, - "source": 729, + "teal": 2824, + "source": 731, "pc": [ + 2894, 2895, 2896 ] }, { "teal": 2829, - "source": 729, + "source": 732, "pc": [ 2897 ] }, { "teal": 2830, - "source": 729, + "source": 732, "pc": [ - 2898, - 2899 + 2898 ] }, { "teal": 2831, - "source": 729, + "source": 732, "pc": [ - 2900, - 2901 + 2899, + 2900 ] }, { "teal": 2832, - "source": 729, + "source": 732, "pc": [ - 2902 + 2901 ] }, { "teal": 2833, - "source": 729, + "source": 732, "pc": [ - 2903, - 2904 + 2902, + 2903 ] }, { "teal": 2834, - "source": 729, + "source": 732, "pc": [ - 2905, - 2906 + 2904, + 2905 ] }, { "teal": 2835, - "source": 729, + "source": 732, "pc": [ - 2907, - 2908 + 2906 ] }, { "teal": 2836, - "source": 729, + "source": 732, "pc": [ - 2909, - 2910 + 2907, + 2908 ] }, { "teal": 2837, - "source": 729, + "source": 732, "pc": [ - 2911 + 2909, + 2910 ] }, { - "teal": 2842, - "source": 731, + "teal": 2838, + "source": 732, "pc": [ - 2912, - 2913 + 2911, + 2912 ] }, { - "teal": 2843, - "source": 731, + "teal": 2839, + "source": 732, "pc": [ + 2913, 2914 ] }, { - "teal": 2844, - "source": 731, + "teal": 2840, + "source": 732, "pc": [ 2915 ] }, { "teal": 2845, - "source": 731, + "source": 734, "pc": [ - 2916 + 2916, + 2917 ] }, { "teal": 2846, - "source": 731, + "source": 734, "pc": [ - 2917 + 2918 ] }, { "teal": 2847, - "source": 731, + "source": 734, "pc": [ - 2918, 2919 ] }, { "teal": 2848, - "source": 731, + "source": 734, "pc": [ 2920 ] }, { "teal": 2849, - "source": 731, + "source": 734, "pc": [ - 2921, - 2922 + 2921 ] }, { - "teal": 2854, - "source": 732, + "teal": 2850, + "source": 734, "pc": [ - 2923, - 2924 + 2922, + 2923 ] }, { - "teal": 2855, - "source": 732, + "teal": 2851, + "source": 734, "pc": [ - 2925, - 2926, - 2927 + 2924 ] }, { - "teal": 2856, - "source": 732, + "teal": 2852, + "source": 734, "pc": [ - 2928, - 2929 + 2925, + 2926 ] }, { "teal": 2857, - "source": 732, + "source": 735, "pc": [ - 2930 + 2927, + 2928 ] }, { "teal": 2858, - "source": 732, + "source": 735, "pc": [ - 2931, - 2932, - 2933 + 2929, + 2930, + 2931 ] }, { - "teal": 2864, - "source": 733, + "teal": 2859, + "source": 735, "pc": [ - 2934, - 2935 + 2932, + 2933 ] }, { - "teal": 2865, - "source": 733, + "teal": 2860, + "source": 735, "pc": [ - 2936, - 2937, - 2938 + 2934 ] }, { - "teal": 2866, - "source": 733, + "teal": 2861, + "source": 735, "pc": [ - 2939 + 2935, + 2936, + 2937 ] }, { "teal": 2867, - "source": 733, + "source": 736, "pc": [ - 2940, - 2941 + 2938, + 2939 ] }, { "teal": 2868, - "source": 733, + "source": 736, "pc": [ + 2940, + 2941, 2942 ] }, { "teal": 2869, - "source": 733, + "source": 736, "pc": [ - 2943, - 2944, - 2945 + 2943 ] }, { - "teal": 2874, + "teal": 2870, "source": 736, "pc": [ - 2946, - 2947 + 2944, + 2945 ] }, { - "teal": 2875, + "teal": 2871, "source": 736, "pc": [ - 2948, - 2949 + 2946 ] }, { - "teal": 2876, + "teal": 2872, "source": 736, "pc": [ - 2950, - 2951, - 2952 + 2947, + 2948, + 2949 ] }, { "teal": 2877, - "source": 736, + "source": 739, "pc": [ - 2953 + 2950, + 2951 ] }, { "teal": 2878, - "source": 736, + "source": 739, "pc": [ - 2954 + 2952, + 2953 ] }, { "teal": 2879, - "source": 736, + "source": 739, "pc": [ + 2954, 2955, 2956 ] }, { "teal": 2880, - "source": 733, + "source": 739, "pc": [ - 2957, - 2958, - 2959 + 2957 ] }, { - "teal": 2885, - "source": 740, + "teal": 2881, + "source": 739, "pc": [ - 2960, - 2961 + 2958 ] }, { - "teal": 2886, - "source": 740, + "teal": 2882, + "source": 739, "pc": [ - 2962, - 2963 + 2959, + 2960 ] }, { - "teal": 2887, - "source": 740, + "teal": 2883, + "source": 736, "pc": [ - 2964, - 2965, - 2966 + 2961, + 2962, + 2963 ] }, { "teal": 2888, - "source": 740, + "source": 743, "pc": [ - 2967 + 2964, + 2965 ] }, { "teal": 2889, - "source": 740, + "source": 743, "pc": [ - 2968 + 2966, + 2967 ] }, { "teal": 2890, - "source": 740, + "source": 743, "pc": [ + 2968, 2969, 2970 ] }, { - "teal": 2895, - "source": 744, + "teal": 2891, + "source": 743, + "pc": [ + 2971 + ] + }, + { + "teal": 2892, + "source": 743, "pc": [ - 2971, 2972 ] }, { - "teal": 2896, - "source": 744, + "teal": 2893, + "source": 743, "pc": [ 2973, 2974 ] }, { - "teal": 2897, - "source": 744, + "teal": 2898, + "source": 747, "pc": [ - 2975 + 2975, + 2976 ] }, { - "teal": 2898, - "source": 744, + "teal": 2899, + "source": 747, "pc": [ - 2976, 2977, 2978 ] }, { - "teal": 2903, - "source": 745, + "teal": 2900, + "source": 747, "pc": [ - 2979, - 2980 + 2979 ] }, { - "teal": 2904, - "source": 745, + "teal": 2901, + "source": 747, "pc": [ + 2980, 2981, 2982 ] }, - { - "teal": 2905, - "source": 745, - "pc": [ - 2983, - 2984, - 2985 - ] - }, { "teal": 2906, - "source": 745, + "source": 748, "pc": [ - 2986 + 2983, + 2984 ] }, { "teal": 2907, - "source": 745, + "source": 748, "pc": [ - 2987 + 2985, + 2986 ] }, { "teal": 2908, - "source": 745, + "source": 748, "pc": [ + 2987, 2988, 2989 ] }, { - "teal": 2912, - "source": 746, + "teal": 2909, + "source": 748, "pc": [ - 2990, - 2991 + 2990 ] }, { - "teal": 2913, - "source": 746, + "teal": 2910, + "source": 748, "pc": [ - 2992, - 2993 + 2991 ] }, { - "teal": 2914, - "source": 746, + "teal": 2911, + "source": 748, "pc": [ - 2994 + 2992, + 2993 ] }, { "teal": 2915, - "source": 746, + "source": 749, "pc": [ - 2995, - 2996 + 2994, + 2995 ] }, { "teal": 2916, - "source": 746, + "source": 749, "pc": [ + 2996, 2997 ] }, { "teal": 2917, - "source": 746, + "source": 749, "pc": [ - 2998, - 2999 + 2998 ] }, { - "teal": 2922, - "source": 748, + "teal": 2918, + "source": 749, "pc": [ - 3000, - 3001 + 2999, + 3000 ] }, { - "teal": 2923, - "source": 748, + "teal": 2919, + "source": 749, "pc": [ - 3002 + 3001 ] }, { - "teal": 2924, - "source": 748, + "teal": 2920, + "source": 749, "pc": [ + 3002, 3003 ] }, { "teal": 2925, - "source": 748, + "source": 751, "pc": [ 3004, - 3005, - 3006 + 3005 ] }, { - "teal": 2933, + "teal": 2926, "source": 751, "pc": [ - 3007, - 3008 + 3006 ] }, { - "teal": 2934, + "teal": 2927, "source": 751, "pc": [ - 3009, - 3010, - 3011 + 3007 ] }, { - "teal": 2935, + "teal": 2928, "source": 751, "pc": [ - 3012 + 3008, + 3009, + 3010 ] }, { "teal": 2936, - "source": 751, + "source": 754, "pc": [ - 3013, - 3014 + 3011, + 3012 ] }, { "teal": 2937, - "source": 750, + "source": 754, "pc": [ + 3013, + 3014, 3015 ] }, { "teal": 2938, - "source": 751, + "source": 754, "pc": [ - 3016, - 3017 + 3016 ] }, { "teal": 2939, - "source": 750, + "source": 754, "pc": [ - 3018, - 3019 + 3017, + 3018 ] }, { "teal": 2940, - "source": 750, + "source": 753, "pc": [ - 3020, - 3021 + 3019 ] }, { "teal": 2941, - "source": 750, + "source": 754, "pc": [ - 3022 + 3020, + 3021 ] }, { "teal": 2942, - "source": 750, + "source": 753, "pc": [ - 3023, - 3024 + 3022, + 3023 ] }, { "teal": 2943, - "source": 750, + "source": 753, "pc": [ + 3024, 3025 ] }, { "teal": 2944, - "source": 750, + "source": 753, "pc": [ - 3026, - 3027 + 3026 ] }, { "teal": 2945, - "source": 750, + "source": 753, "pc": [ + 3027, 3028 ] }, { "teal": 2946, - "source": 750, + "source": 753, "pc": [ 3029 ] }, { "teal": 2947, - "source": 752, + "source": 753, "pc": [ 3030, 3031 @@ -12417,357 +12399,357 @@ }, { "teal": 2948, - "source": 752, + "source": 753, "pc": [ 3032 ] }, { "teal": 2949, - "source": 752, + "source": 753, "pc": [ - 3033, - 3034 + 3033 ] }, { "teal": 2950, - "source": 750, + "source": 755, "pc": [ + 3034, 3035 ] }, { "teal": 2951, - "source": 750, + "source": 755, "pc": [ 3036 ] }, { "teal": 2952, - "source": 750, + "source": 755, "pc": [ - 3037 + 3037, + 3038 ] }, { "teal": 2953, - "source": 750, + "source": 753, "pc": [ - 3038 + 3039 ] }, { "teal": 2954, - "source": 750, + "source": 753, "pc": [ - 3039 + 3040 ] }, { "teal": 2955, - "source": 750, + "source": 753, "pc": [ - 3040 + 3041 ] }, { - "teal": 2958, - "source": 750, - "errorMessage": "wideRatio failed", + "teal": 2956, + "source": 753, "pc": [ - 3041 + 3042 ] }, { - "teal": 2959, - "source": 750, + "teal": 2957, + "source": 753, "pc": [ - 3042, 3043 ] }, { - "teal": 2963, - "source": 757, + "teal": 2958, + "source": 753, + "pc": [ + 3044 + ] + }, + { + "teal": 2961, + "source": 753, + "errorMessage": "wideRatio failed", "pc": [ - 3044, 3045 ] }, { - "teal": 2964, - "source": 757, + "teal": 2962, + "source": 753, "pc": [ 3046, 3047 ] }, { - "teal": 2965, - "source": 757, + "teal": 2966, + "source": 760, "pc": [ - 3048 + 3048, + 3049 ] }, { - "teal": 2966, - "source": 757, + "teal": 2967, + "source": 760, "pc": [ - 3049, - 3050 + 3050, + 3051 ] }, { - "teal": 2970, - "source": 758, + "teal": 2968, + "source": 760, "pc": [ - 3051, 3052 ] }, { - "teal": 2971, - "source": 758, + "teal": 2969, + "source": 760, "pc": [ 3053, 3054 ] }, { - "teal": 2972, - "source": 758, + "teal": 2973, + "source": 761, "pc": [ 3055, 3056 ] }, - { - "teal": 2973, - "source": 758, - "pc": [ - 3057, - 3058, - 3059 - ] - }, { "teal": 2974, - "source": 758, + "source": 761, "pc": [ - 3060 + 3057, + 3058 ] }, { "teal": 2975, - "source": 758, + "source": 761, "pc": [ - 3061, - 3062 + 3059, + 3060 ] }, { "teal": 2976, - "source": 758, + "source": 761, "pc": [ + 3061, + 3062, 3063 ] }, { "teal": 2977, - "source": 758, + "source": 761, "pc": [ 3064 ] }, { "teal": 2978, - "source": 758, + "source": 761, "pc": [ - 3065 + 3065, + 3066 ] }, { "teal": 2979, - "source": 758, + "source": 761, "pc": [ - 3066, 3067 ] }, { - "teal": 2983, - "source": 759, + "teal": 2980, + "source": 761, "pc": [ - 3068, - 3069 + 3068 ] }, { - "teal": 2984, - "source": 759, + "teal": 2981, + "source": 761, "pc": [ - 3070, - 3071 + 3069 ] }, { - "teal": 2985, - "source": 759, + "teal": 2982, + "source": 761, "pc": [ - 3072 + 3070, + 3071 ] }, { "teal": 2986, - "source": 759, + "source": 762, "pc": [ - 3073, - 3074 + 3072, + 3073 ] }, { - "teal": 2992, - "source": 761, + "teal": 2987, + "source": 762, "pc": [ - 3075, - 3076 + 3074, + 3075 ] }, { - "teal": 2993, - "source": 761, + "teal": 2988, + "source": 762, "pc": [ - 3077 + 3076 ] }, { - "teal": 2994, - "source": 761, + "teal": 2989, + "source": 762, "pc": [ + 3077, 3078 ] }, { "teal": 2995, - "source": 761, + "source": 764, "pc": [ 3079, - 3080, - 3081 + 3080 ] }, { - "teal": 3003, + "teal": 2996, "source": 764, "pc": [ - 3082, - 3083 + 3081 ] }, { - "teal": 3004, + "teal": 2997, "source": 764, "pc": [ - 3084, - 3085, - 3086 + 3082 ] }, { - "teal": 3005, + "teal": 2998, "source": 764, "pc": [ - 3087 + 3083, + 3084, + 3085 ] }, { "teal": 3006, - "source": 764, + "source": 767, "pc": [ - 3088, - 3089 + 3086, + 3087 ] }, { "teal": 3007, - "source": 763, + "source": 767, "pc": [ + 3088, + 3089, 3090 ] }, { "teal": 3008, - "source": 764, + "source": 767, "pc": [ - 3091, - 3092 + 3091 ] }, { "teal": 3009, - "source": 763, + "source": 767, "pc": [ - 3093, - 3094 + 3092, + 3093 ] }, { "teal": 3010, - "source": 763, + "source": 766, "pc": [ - 3095, - 3096 + 3094 ] }, { "teal": 3011, - "source": 763, + "source": 767, "pc": [ - 3097 + 3095, + 3096 ] }, { "teal": 3012, - "source": 763, + "source": 766, "pc": [ - 3098, - 3099 + 3097, + 3098 ] }, { "teal": 3013, - "source": 763, + "source": 766, "pc": [ + 3099, 3100 ] }, { "teal": 3014, - "source": 763, + "source": 766, "pc": [ - 3101, - 3102 + 3101 ] }, { "teal": 3015, - "source": 763, + "source": 766, "pc": [ + 3102, 3103 ] }, { "teal": 3016, - "source": 763, + "source": 766, "pc": [ 3104 ] }, { "teal": 3017, - "source": 765, + "source": 766, "pc": [ 3105, 3106 @@ -12775,118 +12757,124 @@ }, { "teal": 3018, - "source": 765, + "source": 766, "pc": [ 3107 ] }, { "teal": 3019, - "source": 765, + "source": 766, "pc": [ - 3108, - 3109 + 3108 ] }, { "teal": 3020, - "source": 763, + "source": 768, "pc": [ + 3109, 3110 ] }, { "teal": 3021, - "source": 763, + "source": 768, "pc": [ 3111 ] }, { "teal": 3022, - "source": 763, + "source": 768, "pc": [ - 3112 + 3112, + 3113 ] }, { "teal": 3023, - "source": 763, + "source": 766, "pc": [ - 3113 + 3114 ] }, { "teal": 3024, - "source": 763, + "source": 766, "pc": [ - 3114 + 3115 ] }, { "teal": 3025, - "source": 763, + "source": 766, "pc": [ - 3115 + 3116 ] }, { - "teal": 3028, - "source": 763, - "errorMessage": "wideRatio failed", + "teal": 3026, + "source": 766, "pc": [ - 3116 + 3117 ] }, { - "teal": 3029, - "source": 763, + "teal": 3027, + "source": 766, "pc": [ - 3117, 3118 ] }, { - "teal": 3033, - "source": 770, + "teal": 3028, + "source": 766, + "pc": [ + 3119 + ] + }, + { + "teal": 3031, + "source": 766, + "errorMessage": "wideRatio failed", "pc": [ - 3119, 3120 ] }, { - "teal": 3034, - "source": 770, + "teal": 3032, + "source": 766, "pc": [ 3121, 3122 ] }, { - "teal": 3035, - "source": 770, + "teal": 3036, + "source": 773, "pc": [ - 3123 + 3123, + 3124 ] }, { - "teal": 3036, - "source": 770, + "teal": 3037, + "source": 773, "pc": [ - 3124, - 3125 + 3125, + 3126 ] }, { - "teal": 3040, + "teal": 3038, "source": 773, "pc": [ - 3126, 3127 ] }, { - "teal": 3041, + "teal": 3039, "source": 773, "pc": [ 3128, @@ -12894,199 +12882,193 @@ ] }, { - "teal": 3042, - "source": 773, + "teal": 3043, + "source": 776, "pc": [ 3130, 3131 ] }, - { - "teal": 3043, - "source": 773, - "pc": [ - 3132, - 3133, - 3134 - ] - }, { "teal": 3044, - "source": 773, + "source": 776, "pc": [ - 3135 + 3132, + 3133 ] }, { "teal": 3045, - "source": 773, + "source": 776, "pc": [ - 3136, - 3137 + 3134, + 3135 ] }, { "teal": 3046, - "source": 773, + "source": 776, "pc": [ + 3136, + 3137, 3138 ] }, { "teal": 3047, - "source": 773, + "source": 776, "pc": [ 3139 ] }, { "teal": 3048, - "source": 773, + "source": 776, "pc": [ - 3140 + 3140, + 3141 ] }, { "teal": 3049, - "source": 773, + "source": 776, "pc": [ - 3141, 3142 ] }, { - "teal": 3053, - "source": 774, + "teal": 3050, + "source": 776, "pc": [ - 3143, - 3144 + 3143 ] }, { - "teal": 3054, - "source": 774, + "teal": 3051, + "source": 776, "pc": [ - 3145, - 3146 + 3144 ] }, { - "teal": 3055, - "source": 774, + "teal": 3052, + "source": 776, "pc": [ - 3147, - 3148 + 3145, + 3146 ] }, { "teal": 3056, - "source": 774, + "source": 777, "pc": [ - 3149, - 3150, - 3151 + 3147, + 3148 ] }, { "teal": 3057, - "source": 774, + "source": 777, "pc": [ - 3152 + 3149, + 3150 ] }, { "teal": 3058, - "source": 774, + "source": 777, "pc": [ - 3153, - 3154 + 3151, + 3152 ] }, { "teal": 3059, - "source": 774, + "source": 777, "pc": [ + 3153, + 3154, 3155 ] }, { "teal": 3060, - "source": 774, + "source": 777, "pc": [ 3156 ] }, { "teal": 3061, - "source": 774, + "source": 777, "pc": [ - 3157 + 3157, + 3158 ] }, { "teal": 3062, - "source": 774, + "source": 777, "pc": [ - 3158, 3159 ] }, { - "teal": 3066, - "source": 775, + "teal": 3063, + "source": 777, "pc": [ - 3160, - 3161 + 3160 ] }, { - "teal": 3067, - "source": 775, + "teal": 3064, + "source": 777, "pc": [ - 3162, - 3163 + 3161 ] }, { - "teal": 3068, - "source": 775, + "teal": 3065, + "source": 777, "pc": [ - 3164 + 3162, + 3163 ] }, { "teal": 3069, - "source": 775, + "source": 778, "pc": [ - 3165, - 3166 + 3164, + 3165 ] }, { - "teal": 3074, + "teal": 3070, "source": 778, "pc": [ - 3167, - 3168 + 3166, + 3167 ] }, { - "teal": 3075, + "teal": 3071, "source": 778, "pc": [ - 3169 + 3168 ] }, { - "teal": 3076, + "teal": 3072, "source": 778, "pc": [ + 3169, 3170 ] }, { "teal": 3077, - "source": 778, + "source": 781, "pc": [ 3171, 3172 @@ -13094,51 +13076,51 @@ }, { "teal": 3078, - "source": 778, + "source": 781, "pc": [ 3173 ] }, { "teal": 3079, - "source": 778, + "source": 781, "pc": [ - 3174, - 3175 + 3174 ] }, { "teal": 3080, - "source": 778, + "source": 781, "pc": [ + 3175, 3176 ] }, { - "teal": 3091, - "source": 727, + "teal": 3081, + "source": 781, "pc": [ - 3177, - 3178 + 3177 ] }, { - "teal": 3092, - "source": 727, + "teal": 3082, + "source": 781, "pc": [ + 3178, 3179 ] }, { - "teal": 3093, - "source": 727, + "teal": 3083, + "source": 781, "pc": [ 3180 ] }, { "teal": 3094, - "source": 727, + "source": 730, "pc": [ 3181, 3182 @@ -13146,573 +13128,573 @@ }, { "teal": 3095, - "source": 727, + "source": 730, "pc": [ - 3183, - 3184, - 3185 + 3183 ] }, { - "teal": 3100, - "source": 786, + "teal": 3096, + "source": 730, "pc": [ - 3186, - 3187 + 3184 ] }, { - "teal": 3101, - "source": 786, + "teal": 3097, + "source": 730, "pc": [ - 3188 + 3185, + 3186 ] }, { - "teal": 3102, - "source": 786, + "teal": 3098, + "source": 730, "pc": [ - 3189, - 3190 + 3187, + 3188, + 3189 ] }, { "teal": 3103, - "source": 786, + "source": 789, "pc": [ + 3190, 3191 ] }, { "teal": 3104, - "source": 786, + "source": 789, "pc": [ - 3192, - 3193 + 3192 ] }, { - "teal": 3109, - "source": 790, + "teal": 3105, + "source": 789, "pc": [ - 3194, - 3195 + 3193, + 3194 ] }, { - "teal": 3110, - "source": 790, + "teal": 3106, + "source": 789, "pc": [ - 3196 + 3195 ] }, { - "teal": 3111, - "source": 790, + "teal": 3107, + "source": 789, "pc": [ + 3196, 3197 ] }, { "teal": 3112, - "source": 790, + "source": 793, "pc": [ 3198, - 3199, + 3199 + ] + }, + { + "teal": 3113, + "source": 793, + "pc": [ 3200 ] }, { - "teal": 3117, - "source": 792, + "teal": 3114, + "source": 793, "pc": [ 3201 ] }, { - "teal": 3118, - "source": 792, + "teal": 3115, + "source": 793, "pc": [ 3202, - 3203 + 3203, + 3204 ] }, { - "teal": 3123, - "source": 792, + "teal": 3120, + "source": 795, "pc": [ - 3204, 3205 ] }, { - "teal": 3124, - "source": 792, + "teal": 3121, + "source": 795, "pc": [ 3206, 3207 ] }, { - "teal": 3125, - "source": 792, + "teal": 3126, + "source": 795, "pc": [ - 3208 + 3208, + 3209 ] }, { - "teal": 3126, - "source": 792, + "teal": 3127, + "source": 795, "pc": [ - 3209, 3210, 3211 ] }, { - "teal": 3131, - "source": 793, + "teal": 3128, + "source": 795, "pc": [ - 3212, - 3213 + 3212 ] }, { - "teal": 3132, - "source": 793, + "teal": 3129, + "source": 795, "pc": [ + 3213, 3214, 3215 ] }, { - "teal": 3133, - "source": 793, + "teal": 3134, + "source": 796, "pc": [ - 3216 + 3216, + 3217 ] }, { - "teal": 3134, - "source": 793, + "teal": 3135, + "source": 796, "pc": [ - 3217, 3218, 3219 ] }, { - "teal": 3139, - "source": 794, + "teal": 3136, + "source": 796, "pc": [ 3220 ] }, { - "teal": 3140, - "source": 794, - "pc": [ - 3221 - ] - }, - { - "teal": 3141, - "source": 794, + "teal": 3137, + "source": 796, "pc": [ + 3221, 3222, 3223 ] }, { "teal": 3142, - "source": 794, + "source": 797, "pc": [ 3224 ] }, { "teal": 3143, - "source": 794, + "source": 797, "pc": [ - 3225, - 3226 + 3225 ] }, { "teal": 3144, - "source": 794, + "source": 797, "pc": [ - 3227, - 3228 + 3226, + 3227 ] }, { "teal": 3145, - "source": 794, + "source": 797, "pc": [ - 3229 + 3228 ] }, { "teal": 3146, - "source": 794, + "source": 797, "pc": [ - 3230, - 3231 + 3229, + 3230 ] }, { "teal": 3147, - "source": 794, + "source": 797, "pc": [ - 3232, - 3233 + 3231, + 3232 ] }, { "teal": 3148, - "source": 794, + "source": 797, "pc": [ - 3234, - 3235 + 3233 ] }, { "teal": 3149, - "source": 794, + "source": 797, "pc": [ - 3236, - 3237 + 3234, + 3235 ] }, { "teal": 3150, - "source": 794, + "source": 797, "pc": [ - 3238 + 3236, + 3237 ] }, { - "teal": 3155, - "source": 796, + "teal": 3151, + "source": 797, "pc": [ - 3239, - 3240 + 3238, + 3239 ] }, { - "teal": 3156, - "source": 796, + "teal": 3152, + "source": 797, "pc": [ + 3240, 3241 ] }, { - "teal": 3157, - "source": 796, + "teal": 3153, + "source": 797, "pc": [ 3242 ] }, { "teal": 3158, - "source": 796, + "source": 799, "pc": [ - 3243 + 3243, + 3244 ] }, { "teal": 3159, - "source": 796, + "source": 799, "pc": [ - 3244 + 3245 ] }, { "teal": 3160, - "source": 796, + "source": 799, "pc": [ - 3245, 3246 ] }, { "teal": 3161, - "source": 796, + "source": 799, "pc": [ 3247 ] }, { "teal": 3162, - "source": 796, + "source": 799, "pc": [ - 3248, - 3249 + 3248 ] }, { - "teal": 3167, - "source": 797, + "teal": 3163, + "source": 799, "pc": [ - 3250, - 3251 + 3249, + 3250 ] }, { - "teal": 3168, - "source": 797, + "teal": 3164, + "source": 799, "pc": [ - 3252, - 3253, - 3254 + 3251 ] }, { - "teal": 3169, - "source": 797, + "teal": 3165, + "source": 799, "pc": [ - 3255, - 3256 + 3252, + 3253 ] }, { "teal": 3170, - "source": 797, + "source": 800, "pc": [ - 3257 + 3254, + 3255 ] }, { "teal": 3171, - "source": 797, + "source": 800, "pc": [ + 3256, + 3257, 3258 ] }, { "teal": 3172, - "source": 797, + "source": 800, "pc": [ 3259, - 3260, - 3261 + 3260 ] }, { "teal": 3173, - "source": 797, + "source": 800, "pc": [ - 3262, - 3263 + 3261 ] }, { "teal": 3174, - "source": 797, + "source": 800, "pc": [ - 3264, - 3265, - 3266 + 3262 ] }, { "teal": 3175, - "source": 797, + "source": 800, "pc": [ - 3267 + 3263, + 3264, + 3265 ] }, { "teal": 3176, - "source": 797, + "source": 800, "pc": [ - 3268, - 3269 + 3266, + 3267 ] }, { "teal": 3177, - "source": 797, + "source": 800, "pc": [ + 3268, + 3269, 3270 ] }, { "teal": 3178, - "source": 797, + "source": 800, "pc": [ 3271 ] }, { - "teal": 3181, - "source": 797, + "teal": 3179, + "source": 800, "pc": [ 3272, - 3273, - 3274 + 3273 ] }, { - "teal": 3186, - "source": 798, + "teal": 3180, + "source": 800, "pc": [ - 3275, - 3276 + 3274 ] }, { - "teal": 3187, - "source": 798, + "teal": 3181, + "source": 800, "pc": [ - 3277, - 3278 + 3275 ] }, { - "teal": 3188, - "source": 798, + "teal": 3184, + "source": 800, "pc": [ - 3279, - 3280, - 3281 + 3276, + 3277, + 3278 ] }, { "teal": 3189, - "source": 798, + "source": 801, "pc": [ - 3282 + 3279, + 3280 ] }, { "teal": 3190, - "source": 798, + "source": 801, "pc": [ - 3283 + 3281, + 3282 ] }, { "teal": 3191, - "source": 798, + "source": 801, "pc": [ + 3283, 3284, 3285 ] }, { - "teal": 3196, - "source": 800, + "teal": 3192, + "source": 801, "pc": [ - 3286, - 3287 + 3286 ] }, { - "teal": 3197, - "source": 800, + "teal": 3193, + "source": 801, "pc": [ - 3288, - 3289 + 3287 ] }, { - "teal": 3198, - "source": 800, + "teal": 3194, + "source": 801, "pc": [ - 3290 + 3288, + 3289 ] }, { "teal": 3199, - "source": 800, + "source": 803, "pc": [ - 3291, - 3292, - 3293 + 3290, + 3291 ] }, { - "teal": 3205, - "source": 805, + "teal": 3200, + "source": 803, "pc": [ - 3294, - 3295 + 3292, + 3293 ] }, { - "teal": 3206, - "source": 805, + "teal": 3201, + "source": 803, "pc": [ - 3296 + 3294 ] }, { - "teal": 3207, - "source": 805, + "teal": 3202, + "source": 803, "pc": [ + 3295, + 3296, 3297 ] }, { "teal": 3208, - "source": 805, + "source": 808, "pc": [ 3298, - 3299, - 3300 + 3299 ] }, { - "teal": 3216, - "source": 807, + "teal": 3209, + "source": 808, "pc": [ - 3301, - 3302 + 3300 ] }, { - "teal": 3217, - "source": 807, + "teal": 3210, + "source": 808, "pc": [ - 3303, - 3304, - 3305 + 3301 ] }, { - "teal": 3218, - "source": 807, + "teal": 3211, + "source": 808, "pc": [ - 3306 + 3302, + 3303, + 3304 ] }, { "teal": 3219, - "source": 807, + "source": 810, "pc": [ - 3307, - 3308 + 3305, + 3306 ] }, { "teal": 3220, - "source": 806, + "source": 810, "pc": [ + 3307, + 3308, 3309 ] }, { "teal": 3221, - "source": 806, + "source": 810, "pc": [ 3310 ] }, { "teal": 3222, - "source": 808, + "source": 810, "pc": [ 3311, 3312 @@ -13720,243 +13702,243 @@ }, { "teal": 3223, - "source": 806, + "source": 809, "pc": [ 3313 ] }, { "teal": 3224, - "source": 806, + "source": 809, "pc": [ 3314 ] }, { "teal": 3225, - "source": 806, + "source": 811, "pc": [ - 3315 + 3315, + 3316 ] }, { "teal": 3226, - "source": 806, + "source": 809, "pc": [ - 3316 + 3317 ] }, { "teal": 3227, - "source": 806, + "source": 809, "pc": [ - 3317 + 3318 ] }, { - "teal": 3230, - "source": 806, - "errorMessage": "wideRatio failed", + "teal": 3228, + "source": 809, "pc": [ - 3318 + 3319 ] }, { - "teal": 3231, - "source": 806, + "teal": 3229, + "source": 809, "pc": [ - 3319, 3320 ] }, { - "teal": 3235, - "source": 812, + "teal": 3230, + "source": 809, "pc": [ - 3321, - 3322 + 3321 ] }, { - "teal": 3236, - "source": 812, + "teal": 3233, + "source": 809, + "errorMessage": "wideRatio failed", "pc": [ - 3323, - 3324 + 3322 ] }, { - "teal": 3237, - "source": 812, + "teal": 3234, + "source": 809, "pc": [ - 3325, - 3326 + 3323, + 3324 ] }, { "teal": 3238, - "source": 812, + "source": 815, "pc": [ - 3327, - 3328, - 3329 + 3325, + 3326 ] }, { "teal": 3239, - "source": 812, + "source": 815, "pc": [ - 3330 + 3327, + 3328 ] }, { "teal": 3240, - "source": 812, + "source": 815, "pc": [ - 3331, - 3332 + 3329, + 3330 ] }, { "teal": 3241, - "source": 812, + "source": 815, "pc": [ + 3331, + 3332, 3333 ] }, { "teal": 3242, - "source": 812, + "source": 815, "pc": [ 3334 ] }, { "teal": 3243, - "source": 812, + "source": 815, "pc": [ - 3335 + 3335, + 3336 ] }, { "teal": 3244, - "source": 812, + "source": 815, "pc": [ - 3336, 3337 ] }, { - "teal": 3248, - "source": 813, + "teal": 3245, + "source": 815, "pc": [ - 3338, - 3339 + 3338 ] }, { - "teal": 3249, - "source": 813, + "teal": 3246, + "source": 815, "pc": [ - 3340, - 3341 + 3339 ] }, { - "teal": 3250, - "source": 813, + "teal": 3247, + "source": 815, "pc": [ - 3342 + 3340, + 3341 ] }, { "teal": 3251, - "source": 813, + "source": 816, "pc": [ - 3343, - 3344 + 3342, + 3343 ] }, { - "teal": 3257, - "source": 815, + "teal": 3252, + "source": 816, "pc": [ - 3345, - 3346 + 3344, + 3345 ] }, { - "teal": 3258, - "source": 815, + "teal": 3253, + "source": 816, "pc": [ - 3347 + 3346 ] }, { - "teal": 3259, - "source": 815, + "teal": 3254, + "source": 816, "pc": [ + 3347, 3348 ] }, { "teal": 3260, - "source": 815, + "source": 818, "pc": [ 3349, - 3350, - 3351 + 3350 ] }, { - "teal": 3268, - "source": 817, + "teal": 3261, + "source": 818, "pc": [ - 3352, - 3353 + 3351 ] }, { - "teal": 3269, - "source": 817, + "teal": 3262, + "source": 818, "pc": [ - 3354, - 3355, - 3356 + 3352 ] }, { - "teal": 3270, - "source": 817, + "teal": 3263, + "source": 818, "pc": [ - 3357 + 3353, + 3354, + 3355 ] }, { "teal": 3271, - "source": 817, + "source": 820, "pc": [ - 3358, - 3359 + 3356, + 3357 ] }, { "teal": 3272, - "source": 816, + "source": 820, "pc": [ + 3358, + 3359, 3360 ] }, { "teal": 3273, - "source": 816, + "source": 820, "pc": [ 3361 ] }, { "teal": 3274, - "source": 818, + "source": 820, "pc": [ 3362, 3363 @@ -13964,265 +13946,265 @@ }, { "teal": 3275, - "source": 816, + "source": 819, "pc": [ 3364 ] }, { "teal": 3276, - "source": 816, + "source": 819, "pc": [ 3365 ] }, { "teal": 3277, - "source": 816, + "source": 821, "pc": [ - 3366 + 3366, + 3367 ] }, { "teal": 3278, - "source": 816, + "source": 819, "pc": [ - 3367 + 3368 ] }, { "teal": 3279, - "source": 816, + "source": 819, "pc": [ - 3368 + 3369 ] }, { - "teal": 3282, - "source": 816, - "errorMessage": "wideRatio failed", + "teal": 3280, + "source": 819, "pc": [ - 3369 + 3370 ] }, { - "teal": 3283, - "source": 816, + "teal": 3281, + "source": 819, "pc": [ - 3370, 3371 ] }, { - "teal": 3287, - "source": 822, + "teal": 3282, + "source": 819, "pc": [ - 3372, - 3373 + 3372 ] }, { - "teal": 3288, - "source": 822, + "teal": 3285, + "source": 819, + "errorMessage": "wideRatio failed", "pc": [ - 3374, - 3375 + 3373 ] }, { - "teal": 3289, - "source": 822, + "teal": 3286, + "source": 819, "pc": [ - 3376, - 3377 + 3374, + 3375 ] }, { "teal": 3290, - "source": 822, + "source": 825, "pc": [ - 3378, - 3379, - 3380 + 3376, + 3377 ] }, { "teal": 3291, - "source": 822, + "source": 825, "pc": [ - 3381 + 3378, + 3379 ] }, { "teal": 3292, - "source": 822, + "source": 825, "pc": [ - 3382, - 3383 + 3380, + 3381 ] }, { "teal": 3293, - "source": 822, + "source": 825, "pc": [ + 3382, + 3383, 3384 ] }, { "teal": 3294, - "source": 822, + "source": 825, "pc": [ 3385 ] }, { "teal": 3295, - "source": 822, + "source": 825, "pc": [ - 3386 + 3386, + 3387 ] }, { "teal": 3296, - "source": 822, + "source": 825, "pc": [ - 3387, 3388 ] }, { - "teal": 3300, - "source": 823, + "teal": 3297, + "source": 825, "pc": [ - 3389, - 3390 + 3389 ] }, { - "teal": 3301, - "source": 823, + "teal": 3298, + "source": 825, "pc": [ - 3391, - 3392 + 3390 ] }, { - "teal": 3302, - "source": 823, + "teal": 3299, + "source": 825, "pc": [ - 3393, - 3394 + 3391, + 3392 ] }, { "teal": 3303, - "source": 823, + "source": 826, "pc": [ - 3395, - 3396, - 3397 + 3393, + 3394 ] }, { "teal": 3304, - "source": 823, + "source": 826, "pc": [ - 3398 + 3395, + 3396 ] }, { "teal": 3305, - "source": 823, + "source": 826, "pc": [ - 3399, - 3400 + 3397, + 3398 ] }, { "teal": 3306, - "source": 823, + "source": 826, "pc": [ + 3399, + 3400, 3401 ] }, { "teal": 3307, - "source": 823, + "source": 826, "pc": [ 3402 ] }, { "teal": 3308, - "source": 823, + "source": 826, "pc": [ - 3403 + 3403, + 3404 ] }, { "teal": 3309, - "source": 823, + "source": 826, "pc": [ - 3404, 3405 ] }, { - "teal": 3313, - "source": 824, + "teal": 3310, + "source": 826, "pc": [ - 3406, - 3407 + 3406 ] }, { - "teal": 3314, - "source": 824, + "teal": 3311, + "source": 826, "pc": [ - 3408, - 3409 + 3407 ] }, { - "teal": 3315, - "source": 824, + "teal": 3312, + "source": 826, "pc": [ - 3410 + 3408, + 3409 ] }, { "teal": 3316, - "source": 824, + "source": 827, "pc": [ - 3411, - 3412 + 3410, + 3411 ] }, { - "teal": 3321, - "source": 828, + "teal": 3317, + "source": 827, "pc": [ - 3413, - 3414 + 3412, + 3413 ] }, { - "teal": 3322, - "source": 828, + "teal": 3318, + "source": 827, "pc": [ - 3415 + 3414 ] }, { - "teal": 3323, - "source": 828, + "teal": 3319, + "source": 827, "pc": [ + 3415, 3416 ] }, { "teal": 3324, - "source": 828, + "source": 831, "pc": [ 3417, 3418 @@ -14230,51 +14212,51 @@ }, { "teal": 3325, - "source": 828, + "source": 831, "pc": [ 3419 ] }, { "teal": 3326, - "source": 828, + "source": 831, "pc": [ - 3420, - 3421 + 3420 ] }, { "teal": 3327, - "source": 828, + "source": 831, "pc": [ + 3421, 3422 ] }, { - "teal": 3336, - "source": 792, + "teal": 3328, + "source": 831, "pc": [ - 3423, - 3424 + 3423 ] }, { - "teal": 3337, - "source": 792, + "teal": 3329, + "source": 831, "pc": [ + 3424, 3425 ] }, { - "teal": 3338, - "source": 792, + "teal": 3330, + "source": 831, "pc": [ 3426 ] }, { "teal": 3339, - "source": 792, + "source": 795, "pc": [ 3427, 3428 @@ -14282,53 +14264,53 @@ }, { "teal": 3340, - "source": 792, + "source": 795, "pc": [ - 3429, - 3430, - 3431 + 3429 ] }, { - "teal": 3349, - "source": 838, + "teal": 3341, + "source": 795, "pc": [ - 3432, - 3433 + 3430 ] }, { - "teal": 3350, - "source": 838, + "teal": 3342, + "source": 795, "pc": [ - 3434 + 3431, + 3432 ] }, { - "teal": 3351, - "source": 838, + "teal": 3343, + "source": 795, "pc": [ - 3435, - 3436 + 3433, + 3434, + 3435 ] }, { "teal": 3352, - "source": 838, + "source": 841, "pc": [ + 3436, 3437 ] }, { "teal": 3353, - "source": 838, + "source": 841, "pc": [ 3438 ] }, { "teal": 3354, - "source": 838, + "source": 841, "pc": [ 3439, 3440 @@ -14336,96 +14318,96 @@ }, { "teal": 3355, - "source": 838, + "source": 841, "pc": [ 3441 ] }, { "teal": 3356, - "source": 838, + "source": 841, "pc": [ - 3442, - 3443 + 3442 ] }, { - "teal": 3360, - "source": 839, + "teal": 3357, + "source": 841, "pc": [ - 3444, - 3445 + 3443, + 3444 ] }, { - "teal": 3361, - "source": 839, + "teal": 3358, + "source": 841, "pc": [ - 3446 + 3445 ] }, { - "teal": 3362, - "source": 839, + "teal": 3359, + "source": 841, "pc": [ - 3447, - 3448 + 3446, + 3447 ] }, { "teal": 3363, - "source": 839, + "source": 842, "pc": [ + 3448, 3449 ] }, { "teal": 3364, - "source": 839, + "source": 842, "pc": [ - 3450, - 3451 + 3450 ] }, { "teal": 3365, - "source": 839, + "source": 842, "pc": [ + 3451, 3452 ] }, { "teal": 3366, - "source": 839, + "source": 842, "pc": [ 3453 ] }, { - "teal": 3371, - "source": 840, + "teal": 3367, + "source": 842, "pc": [ 3454, 3455 ] }, { - "teal": 3372, - "source": 840, + "teal": 3368, + "source": 842, "pc": [ 3456 ] }, { - "teal": 3373, - "source": 841, + "teal": 3369, + "source": 842, "pc": [ 3457 ] }, { "teal": 3374, - "source": 841, + "source": 843, "pc": [ 3458, 3459 @@ -14433,174 +14415,174 @@ }, { "teal": 3375, - "source": 841, + "source": 843, "pc": [ 3460 ] }, { "teal": 3376, - "source": 841, + "source": 844, "pc": [ - 3461, - 3462 + 3461 ] }, { "teal": 3377, - "source": 841, + "source": 844, "pc": [ + 3462, 3463 ] }, { "teal": 3378, - "source": 841, + "source": 844, "pc": [ 3464 ] }, { "teal": 3379, - "source": 841, + "source": 844, "pc": [ - 3465 + 3465, + 3466 ] }, { "teal": 3380, - "source": 841, + "source": 844, "pc": [ - 3466 + 3467 ] }, { "teal": 3381, - "source": 841, + "source": 844, "pc": [ - 3467 + 3468 ] }, { "teal": 3382, - "source": 841, + "source": 844, "pc": [ - 3468, 3469 ] }, { "teal": 3383, - "source": 841, + "source": 844, "pc": [ 3470 ] }, { - "teal": 3386, - "source": 841, - "errorMessage": "this.stakeAccumulator.value + (increasedStake as uint128) * (roundsLeftInBin as uint128) overflowed 128 bits", + "teal": 3384, + "source": 844, "pc": [ 3471 ] }, { - "teal": 3387, - "source": 841, + "teal": 3385, + "source": 844, "pc": [ 3472, 3473 ] }, { - "teal": 3388, - "source": 841, + "teal": 3386, + "source": 844, "pc": [ 3474 ] }, { "teal": 3389, - "source": 841, + "source": 844, + "errorMessage": "this.stakeAccumulator.value + (increasedStake as uint128) * (roundsLeftInBin as uint128) overflowed 128 bits", "pc": [ 3475 ] }, { "teal": 3390, - "source": 841, + "source": 844, "pc": [ - 3476 + 3476, + 3477 ] }, { "teal": 3391, - "source": 841, + "source": 844, "pc": [ - 3477 + 3478 ] }, { "teal": 3392, - "source": 841, + "source": 844, "pc": [ - 3478, 3479 ] }, { "teal": 3393, - "source": 841, + "source": 844, "pc": [ 3480 ] }, { "teal": 3394, - "source": 841, + "source": 844, "pc": [ 3481 ] }, { "teal": 3395, - "source": 841, + "source": 844, "pc": [ - 3482 + 3482, + 3483 ] }, { "teal": 3396, - "source": 840, + "source": 844, "pc": [ - 3483 + 3484 ] }, { - "teal": 3400, - "source": 842, + "teal": 3397, + "source": 844, "pc": [ - 3484, 3485 ] }, { - "teal": 3401, - "source": 842, + "teal": 3398, + "source": 844, "pc": [ 3486 ] }, { - "teal": 3402, - "source": 842, + "teal": 3399, + "source": 843, "pc": [ 3487 ] }, { "teal": 3403, - "source": 842, + "source": 845, "pc": [ 3488, 3489 @@ -14608,302 +14590,308 @@ }, { "teal": 3404, - "source": 842, + "source": 845, "pc": [ 3490 ] }, { "teal": 3405, - "source": 842, + "source": 845, "pc": [ 3491 ] }, { - "teal": 3418, - "source": 848, + "teal": 3406, + "source": 845, "pc": [ - 3492 + 3492, + 3493 ] }, { - "teal": 3419, - "source": 848, + "teal": 3407, + "source": 845, "pc": [ - 3493 + 3494 ] }, { - "teal": 3420, - "source": 848, + "teal": 3408, + "source": 845, "pc": [ - 3494, 3495 ] }, { "teal": 3421, - "source": 848, + "source": 851, "pc": [ - 3496, - 3497, - 3498, - 3499, - 3500, - 3501 + 3496 ] }, { "teal": 3422, - "source": 848, + "source": 851, "pc": [ - 3502, - 3503 + 3497 ] }, { - "teal": 3426, - "source": 849, + "teal": 3423, + "source": 851, "pc": [ - 3504 + 3498, + 3499 ] }, { - "teal": 3427, - "source": 849, + "teal": 3424, + "source": 851, "pc": [ + 3500, + 3501, + 3502, + 3503, + 3504, 3505 ] }, { - "teal": 3428, - "source": 849, + "teal": 3425, + "source": 851, "pc": [ 3506, 3507 ] }, { - "teal": 3438, - "source": 851, + "teal": 3429, + "source": 852, "pc": [ 3508 ] }, { - "teal": 3439, - "source": 851, + "teal": 3430, + "source": 852, "pc": [ 3509 ] }, { - "teal": 3440, - "source": 851, + "teal": 3431, + "source": 852, "pc": [ - 3510 + 3510, + 3511 ] }, { "teal": 3441, - "source": 851, + "source": 854, "pc": [ - 3511 + 3512 ] }, { "teal": 3442, - "source": 851, + "source": 854, "pc": [ - 3512 + 3513 ] }, { "teal": 3443, - "source": 851, + "source": 854, "pc": [ - 3513 + 3514 ] }, { "teal": 3444, - "source": 851, + "source": 854, "pc": [ - 3514 + 3515 ] }, { "teal": 3445, - "source": 851, + "source": 854, "pc": [ - 3515, - 3516, - 3517 + 3516 ] }, { "teal": 3446, - "source": 851, + "source": 854, "pc": [ - 3518 + 3517 ] }, { "teal": 3447, - "source": 851, + "source": 854, "pc": [ - 3519 + 3518 ] }, { "teal": 3448, - "source": 851, + "source": 854, "pc": [ + 3519, 3520, 3521 ] }, { "teal": 3449, - "source": 852, + "source": 854, "pc": [ - 3522, - 3523 + 3522 ] }, { "teal": 3450, - "source": 852, + "source": 854, "pc": [ - 3524 + 3523 ] }, { "teal": 3451, - "source": 852, + "source": 854, "pc": [ - 3525, - 3526 + 3524, + 3525 ] }, { "teal": 3452, - "source": 853, + "source": 855, "pc": [ - 3527, - 3528 + 3526, + 3527 ] }, { "teal": 3453, - "source": 853, + "source": 855, "pc": [ - 3529 + 3528 ] }, { "teal": 3454, - "source": 853, + "source": 855, "pc": [ - 3530, - 3531 + 3529, + 3530 ] }, { "teal": 3455, - "source": 854, + "source": 856, "pc": [ - 3532, - 3533 + 3531, + 3532 ] }, { "teal": 3456, - "source": 854, + "source": 856, "pc": [ - 3534 + 3533 ] }, { "teal": 3457, - "source": 854, + "source": 856, "pc": [ - 3535, - 3536 + 3534, + 3535 ] }, { "teal": 3458, - "source": 855, + "source": 857, "pc": [ - 3537, - 3538 + 3536, + 3537 ] }, { "teal": 3459, - "source": 855, + "source": 857, "pc": [ - 3539 + 3538 ] }, { "teal": 3460, - "source": 855, + "source": 857, "pc": [ - 3540, - 3541 + 3539, + 3540 ] }, { - "teal": 3463, - "source": 848, + "teal": 3461, + "source": 858, "pc": [ + 3541, 3542 ] }, { - "teal": 3464, - "source": 848, + "teal": 3462, + "source": 858, "pc": [ - 3543, - 3544 + 3543 ] }, { - "teal": 3467, - "source": 848, + "teal": 3463, + "source": 858, "pc": [ + 3544, 3545 ] }, { - "teal": 3468, - "source": 513, + "teal": 3466, + "source": 851, "pc": [ 3546 ] }, { - "teal": 3473, - "source": 880, + "teal": 3467, + "source": 851, "pc": [ 3547, - 3548, + 3548 + ] + }, + { + "teal": 3470, + "source": 851, + "pc": [ 3549 ] }, { - "teal": 3474, - "source": 880, + "teal": 3471, + "source": 516, "pc": [ 3550 ] }, { - "teal": 3477, - "source": 879, + "teal": 3476, + "source": 883, "pc": [ 3551, 3552, @@ -14911,15 +14899,15 @@ ] }, { - "teal": 3478, - "source": 879, + "teal": 3477, + "source": 883, "pc": [ 3554 ] }, { - "teal": 3481, - "source": 878, + "teal": 3480, + "source": 882, "pc": [ 3555, 3556, @@ -14927,15 +14915,15 @@ ] }, { - "teal": 3482, - "source": 878, + "teal": 3481, + "source": 882, "pc": [ 3558 ] }, { - "teal": 3485, - "source": 877, + "teal": 3484, + "source": 881, "pc": [ 3559, 3560, @@ -14943,169 +14931,168 @@ ] }, { - "teal": 3486, - "source": 877, + "teal": 3485, + "source": 881, + "pc": [ + 3562 + ] + }, + { + "teal": 3488, + "source": 880, "pc": [ - 3562, 3563, - 3564 + 3564, + 3565 ] }, { "teal": 3489, - "source": 876, + "source": 880, "pc": [ - 3565, 3566, - 3567 + 3567, + 3568 ] }, { - "teal": 3490, - "source": 876, + "teal": 3492, + "source": 879, "pc": [ - 3568, 3569, - 3570 + 3570, + 3571 ] }, { "teal": 3493, - "source": 875, + "source": 879, "pc": [ - 3571, 3572, - 3573 + 3573, + 3574 ] }, { - "teal": 3494, - "source": 875, + "teal": 3496, + "source": 878, "pc": [ - 3574, 3575, - 3576 + 3576, + 3577 ] }, { "teal": 3497, - "source": 874, - "pc": [ - 3577, - 3578 - ] - }, - { - "teal": 3498, - "source": 874, - "pc": [ - 3579 - ] - }, - { - "teal": 3499, - "source": 874, + "source": 878, "pc": [ + 3578, + 3579, 3580 ] }, { "teal": 3500, - "source": 874, + "source": 877, "pc": [ - 3581 + 3581, + 3582 ] }, { "teal": 3501, - "source": 874, + "source": 877, "pc": [ - 3582, 3583 ] }, { "teal": 3502, - "source": 874, + "source": 877, "pc": [ 3584 ] }, { "teal": 3503, - "source": 874, + "source": 877, "pc": [ 3585 ] }, { - "teal": 3506, - "source": 874, - "errorMessage": "argument 6 (feePayment) for goOnline must be a pay transaction", + "teal": 3504, + "source": 877, "pc": [ - 3586 + 3586, + 3587 ] }, { - "teal": 3509, - "source": 873, + "teal": 3505, + "source": 877, + "pc": [ + 3588 + ] + }, + { + "teal": 3506, + "source": 877, "pc": [ - 3587, - 3588, 3589 ] }, { - "teal": 3510, - "source": 873, + "teal": 3509, + "source": 877, + "errorMessage": "argument 6 (feePayment) for goOnline must be a pay transaction", "pc": [ 3590 ] }, { - "teal": 3511, - "source": 873, + "teal": 3512, + "source": 876, "pc": [ - 3591 + 3591, + 3592, + 3593 ] }, { - "teal": 3527, - "source": 873, + "teal": 3513, + "source": 876, "pc": [ - 3592, - 3593, 3594 ] }, { - "teal": 3530, - "source": 873, + "teal": 3514, + "source": 876, "pc": [ - 3595, - 3596 + 3595 ] }, { - "teal": 3534, - "source": 882, + "teal": 3530, + "source": 876, "pc": [ + 3596, 3597, - 3598, - 3599 + 3598 ] }, { - "teal": 3537, - "source": 882, - "errorMessage": "can only be called by owner or manager of validator", + "teal": 3533, + "source": 876, "pc": [ + 3599, 3600 ] }, { - "teal": 3541, - "source": 883, + "teal": 3537, + "source": 885, "pc": [ 3601, 3602, @@ -15113,298 +15100,293 @@ ] }, { - "teal": 3542, - "source": 883, + "teal": 3540, + "source": 885, + "errorMessage": "can only be called by owner or manager of validator", "pc": [ - 3604, - 3605 + 3604 ] }, { - "teal": 3547, - "source": 884, + "teal": 3544, + "source": 886, "pc": [ + 3605, 3606, 3607 ] }, { - "teal": 3548, - "source": 884, + "teal": 3545, + "source": 886, "pc": [ 3608, 3609 ] }, { - "teal": 3549, - "source": 884, + "teal": 3550, + "source": 887, "pc": [ 3610, 3611 ] }, { - "teal": 3550, - "source": 884, + "teal": 3551, + "source": 887, "pc": [ - 3612 + 3612, + 3613 ] }, { - "teal": 3553, - "source": 884, - "errorMessage": "transaction verification failed: {\"txn\":\"feePayment\",\"field\":\"receiver\",\"expected\":\"this.app.address\"}", + "teal": 3552, + "source": 887, "pc": [ - 3613 + 3614, + 3615 ] }, { - "teal": 3556, - "source": 884, + "teal": 3553, + "source": 887, "pc": [ - 3614, - 3615 + 3616 ] }, { - "teal": 3557, - "source": 884, + "teal": 3556, + "source": 887, + "errorMessage": "transaction verification failed: {\"txn\":\"feePayment\",\"field\":\"receiver\",\"expected\":\"this.app.address\"}", "pc": [ - 3616, 3617 ] }, { - "teal": 3558, - "source": 884, + "teal": 3559, + "source": 887, "pc": [ 3618, 3619 ] }, { - "teal": 3559, - "source": 884, + "teal": 3560, + "source": 887, "pc": [ - 3620 + 3620, + 3621 ] }, { - "teal": 3562, - "source": 884, - "errorMessage": "transaction verification failed: {\"txn\":\"feePayment\",\"field\":\"amount\",\"expected\":\"extraFee\"}", + "teal": 3561, + "source": 887, "pc": [ - 3621 + 3622, + 3623 ] }, { - "teal": 3574, - "source": 885, + "teal": 3562, + "source": 887, "pc": [ - 3622 + 3624 ] }, { - "teal": 3575, - "source": 885, + "teal": 3565, + "source": 887, + "errorMessage": "transaction verification failed: {\"txn\":\"feePayment\",\"field\":\"amount\",\"expected\":\"extraFee\"}", "pc": [ - 3623, - 3624 + 3625 ] }, { - "teal": 3576, - "source": 885, + "teal": 3577, + "source": 888, "pc": [ - 3625, 3626 ] }, { - "teal": 3580, - "source": 886, + "teal": 3578, + "source": 888, "pc": [ 3627, 3628 ] }, { - "teal": 3581, - "source": 886, + "teal": 3579, + "source": 888, "pc": [ 3629, 3630 ] }, { - "teal": 3585, - "source": 887, + "teal": 3583, + "source": 889, "pc": [ 3631, 3632 ] }, { - "teal": 3586, - "source": 887, + "teal": 3584, + "source": 889, "pc": [ 3633, 3634 ] }, { - "teal": 3590, - "source": 888, + "teal": 3588, + "source": 890, "pc": [ 3635, 3636 ] }, { - "teal": 3591, - "source": 888, + "teal": 3589, + "source": 890, "pc": [ 3637, 3638 ] }, { - "teal": 3595, - "source": 889, + "teal": 3593, + "source": 891, "pc": [ 3639, 3640 ] }, { - "teal": 3596, - "source": 889, + "teal": 3594, + "source": 891, "pc": [ 3641, 3642 ] }, { - "teal": 3600, - "source": 890, + "teal": 3598, + "source": 892, "pc": [ 3643, 3644 ] }, { - "teal": 3601, - "source": 890, + "teal": 3599, + "source": 892, "pc": [ 3645, 3646 ] }, { - "teal": 3605, - "source": 891, + "teal": 3603, + "source": 893, "pc": [ 3647, 3648 ] }, { - "teal": 3606, - "source": 891, + "teal": 3604, + "source": 893, "pc": [ 3649, 3650 ] }, { - "teal": 3610, - "source": 892, + "teal": 3608, + "source": 894, "pc": [ 3651, - 3652, - 3653 - ] - }, - { - "teal": 3611, - "source": 892, - "pc": [ - 3654, - 3655 + 3652 ] }, { - "teal": 3614, - "source": 885, + "teal": 3609, + "source": 894, "pc": [ - 3656 + 3653, + 3654 ] }, { - "teal": 3615, - "source": 873, + "teal": 3613, + "source": 895, "pc": [ + 3655, + 3656, 3657 ] }, { - "teal": 3620, - "source": 901, + "teal": 3614, + "source": 895, "pc": [ 3658, - 3659, - 3660 + 3659 ] }, { - "teal": 3621, - "source": 901, + "teal": 3617, + "source": 888, "pc": [ - 3661 + 3660 ] }, { - "teal": 3622, - "source": 901, + "teal": 3618, + "source": 876, "pc": [ - 3662 + 3661 ] }, { - "teal": 3629, - "source": 901, + "teal": 3623, + "source": 904, "pc": [ + 3662, 3663, - 3664, - 3665 + 3664 ] }, { - "teal": 3634, + "teal": 3624, "source": 904, "pc": [ - 3666, - 3667 + 3665 ] }, { - "teal": 3635, + "teal": 3625, "source": 904, "pc": [ - 3668 + 3666 ] }, { - "teal": 3636, + "teal": 3632, "source": 904, "pc": [ + 3667, + 3668, 3669 ] }, { "teal": 3637, - "source": 904, + "source": 907, "pc": [ 3670, 3671 @@ -15412,133 +15394,139 @@ }, { "teal": 3638, - "source": 904, + "source": 907, "pc": [ 3672 ] }, { "teal": 3639, - "source": 904, + "source": 907, "pc": [ 3673 ] }, { "teal": 3640, - "source": 904, + "source": 907, "pc": [ 3674, - 3675, - 3676 + 3675 ] }, { - "teal": 3645, - "source": 905, + "teal": 3641, + "source": 907, "pc": [ - 3677, - 3678, - 3679 + 3676 ] }, { - "teal": 3648, - "source": 905, - "errorMessage": "can only be called by owner or manager of validator", + "teal": 3642, + "source": 907, "pc": [ - 3680 + 3677 ] }, { - "teal": 3653, - "source": 908, + "teal": 3643, + "source": 907, "pc": [ - 3681 + 3678, + 3679, + 3680 ] }, { - "teal": 3654, + "teal": 3648, "source": 908, "pc": [ + 3681, 3682, 3683 ] }, { - "teal": 3655, + "teal": 3651, "source": 908, + "errorMessage": "can only be called by owner or manager of validator", "pc": [ - 3684, - 3685 + 3684 ] }, { - "teal": 3658, - "source": 908, + "teal": 3656, + "source": 911, "pc": [ - 3686 + 3685 ] }, { - "teal": 3659, - "source": 908, + "teal": 3657, + "source": 911, "pc": [ - 3687, - 3688 + 3686, + 3687 ] }, { - "teal": 3662, - "source": 908, + "teal": 3658, + "source": 911, "pc": [ + 3688, 3689 ] }, { - "teal": 3663, - "source": 901, + "teal": 3661, + "source": 911, "pc": [ 3690 ] }, { - "teal": 3668, - "source": 914, + "teal": 3662, + "source": 911, "pc": [ 3691, - 3692, + 3692 + ] + }, + { + "teal": 3665, + "source": 911, + "pc": [ 3693 ] }, { - "teal": 3669, - "source": 914, + "teal": 3666, + "source": 904, "pc": [ - 3694, - 3695, - 3696 + 3694 ] }, { - "teal": 3672, - "source": 914, + "teal": 3671, + "source": 917, "pc": [ - 3697, - 3698, - 3699 + 3695, + 3696, + 3697 ] }, { - "teal": 3673, - "source": 914, + "teal": 3672, + "source": 917, "pc": [ + 3698, + 3699, 3700 ] }, { - "teal": 3676, - "source": 914, + "teal": 3675, + "source": 917, "pc": [ 3701, 3702, @@ -15546,92 +15534,104 @@ ] }, { - "teal": 3677, - "source": 914, + "teal": 3676, + "source": 917, "pc": [ 3704 ] }, { - "teal": 3678, - "source": 914, + "teal": 3679, + "source": 917, "pc": [ - 3705 + 3705, + 3706, + 3707 ] }, { - "teal": 3682, - "source": 914, + "teal": 3680, + "source": 917, "pc": [ - 3706, - 3707, 3708 ] }, { - "teal": 3686, - "source": 915, + "teal": 3681, + "source": 917, "pc": [ - 3709, - 3710, - 3711 + 3709 ] }, { - "teal": 3689, - "source": 915, - "errorMessage": "can only be called by owner or manager of validator", + "teal": 3685, + "source": 917, "pc": [ + 3710, + 3711, 3712 ] }, { - "teal": 3697, - "source": 917, + "teal": 3689, + "source": 918, "pc": [ - 3713 + 3713, + 3714, + 3715 ] }, { - "teal": 3698, - "source": 917, + "teal": 3692, + "source": 918, + "errorMessage": "can only be called by owner or manager of validator", "pc": [ - 3714 + 3716 ] }, { - "teal": 3699, - "source": 917, + "teal": 3700, + "source": 920, "pc": [ - 3715, - 3716 + 3717 ] }, { - "teal": 3703, - "source": 918, + "teal": 3701, + "source": 920, "pc": [ - 3717, - 3718, - 3719 + 3718 ] }, { - "teal": 3704, - "source": 918, + "teal": 3702, + "source": 920, "pc": [ - 3720, - 3721 + 3719, + 3720 ] }, { - "teal": 3708, - "source": 919, + "teal": 3706, + "source": 921, "pc": [ + 3721, 3722, - 3723, + 3723 + ] + }, + { + "teal": 3707, + "source": 921, + "pc": [ 3724, - 3725, + 3725 + ] + }, + { + "teal": 3711, + "source": 922, + "pc": [ 3726, 3727, 3728, @@ -15644,242 +15644,224 @@ 3735, 3736, 3737, - 3738 - ] - }, - { - "teal": 3709, - "source": 919, - "pc": [ + 3738, 3739, - 3740 - ] - }, - { - "teal": 3710, - "source": 919, - "pc": [ + 3740, 3741, 3742 ] }, { - "teal": 3711, - "source": 919, + "teal": 3712, + "source": 922, "pc": [ 3743, 3744 ] }, { - "teal": 3712, - "source": 919, + "teal": 3713, + "source": 922, "pc": [ 3745, 3746 ] }, { - "teal": 3713, - "source": 919, + "teal": 3714, + "source": 922, "pc": [ - 3747 + 3747, + 3748 ] }, { - "teal": 3714, - "source": 919, + "teal": 3715, + "source": 922, "pc": [ - 3748, - 3749 + 3749, + 3750 ] }, { - "teal": 3715, - "source": 919, + "teal": 3716, + "source": 922, "pc": [ - 3750, 3751 ] }, { - "teal": 3716, - "source": 919, + "teal": 3717, + "source": 922, "pc": [ 3752, 3753 ] }, { - "teal": 3720, - "source": 920, + "teal": 3718, + "source": 922, "pc": [ 3754, 3755 ] }, { - "teal": 3721, - "source": 920, + "teal": 3719, + "source": 922, "pc": [ 3756, 3757 ] }, { - "teal": 3724, - "source": 917, - "pc": [ - 3758 - ] - }, - { - "teal": 3725, - "source": 917, + "teal": 3723, + "source": 923, "pc": [ - 3759, - 3760 + 3758, + 3759 ] }, { - "teal": 3728, - "source": 917, + "teal": 3724, + "source": 923, "pc": [ + 3760, 3761 ] }, { - "teal": 3729, - "source": 914, + "teal": 3727, + "source": 920, "pc": [ 3762 ] }, { - "teal": 3734, - "source": 930, + "teal": 3728, + "source": 920, "pc": [ 3763, 3764 ] }, { - "teal": 3737, - "source": 930, + "teal": 3731, + "source": 920, "pc": [ - 3765, - 3766, - 3767 + 3765 ] }, { - "teal": 3738, - "source": 930, + "teal": 3732, + "source": 917, "pc": [ - 3768 + 3766 ] }, { - "teal": 3739, - "source": 930, + "teal": 3737, + "source": 933, "pc": [ - 3769 + 3767, + 3768 ] }, { "teal": 3740, - "source": 930, + "source": 933, "pc": [ + 3769, 3770, 3771 ] }, { "teal": 3741, - "source": 930, + "source": 933, "pc": [ 3772 ] }, { - "teal": 3744, - "source": 930, - "errorMessage": "argument 0 (poolKey) for proxiedSetTokenPayoutRatio must be a (uint64,uint64,uint64)", + "teal": 3742, + "source": 933, "pc": [ 3773 ] }, { - "teal": 3747, - "source": 930, + "teal": 3743, + "source": 933, "pc": [ 3774, - 3775, - 3776 + 3775 ] }, { - "teal": 3748, - "source": 930, + "teal": 3744, + "source": 933, "pc": [ - 3777 + 3776 ] }, { - "teal": 3749, - "source": 930, + "teal": 3747, + "source": 933, + "errorMessage": "argument 0 (poolKey) for proxiedSetTokenPayoutRatio must be a (uint64,uint64,uint64)", "pc": [ - 3778 + 3777 ] }, { "teal": 3750, - "source": 930, + "source": 933, "pc": [ - 3779 + 3778, + 3779, + 3780 ] }, { "teal": 3751, - "source": 930, + "source": 933, "pc": [ - 3780 + 3781 ] }, { - "teal": 3760, - "source": 930, + "teal": 3752, + "source": 933, "pc": [ - 3781, - 3782, - 3783 + 3782 ] }, { - "teal": 3763, - "source": 930, + "teal": 3753, + "source": 933, "pc": [ - 3784, - 3785 + 3783 ] }, { - "teal": 3767, - "source": 931, + "teal": 3754, + "source": 933, "pc": [ - 3786 + 3784 ] }, { - "teal": 3768, - "source": 931, + "teal": 3763, + "source": 933, "pc": [ + 3785, + 3786, 3787 ] }, { - "teal": 3769, - "source": 931, + "teal": 3766, + "source": 933, "pc": [ 3788, 3789 @@ -15887,302 +15869,302 @@ }, { "teal": 3770, - "source": 931, + "source": 934, "pc": [ - 3790, - 3791, - 3792 + 3790 ] }, { "teal": 3771, - "source": 931, + "source": 934, "pc": [ - 3793 + 3791 ] }, { "teal": 3772, - "source": 931, - "pc": [ - 3794 - ] - }, - { - "teal": 3775, - "source": 931, - "errorMessage": "caller must be part of same validator set!", + "source": 934, "pc": [ - 3795 + 3792, + 3793 ] }, { - "teal": 3779, - "source": 932, + "teal": 3773, + "source": 934, "pc": [ + 3794, + 3795, 3796 ] }, { - "teal": 3780, - "source": 932, + "teal": 3774, + "source": 934, "pc": [ 3797 ] }, { - "teal": 3781, - "source": 932, + "teal": 3775, + "source": 934, "pc": [ 3798 ] }, { - "teal": 3782, - "source": 932, + "teal": 3778, + "source": 934, + "errorMessage": "caller must be part of same validator set!", "pc": [ 3799 ] }, { - "teal": 3785, - "source": 932, - "errorMessage": "callee must be pool 1", + "teal": 3782, + "source": 935, "pc": [ 3800 ] }, { - "teal": 3789, - "source": 933, + "teal": 3783, + "source": 935, "pc": [ - 3801, - 3802 + 3801 ] }, { - "teal": 3790, - "source": 933, + "teal": 3784, + "source": 935, "pc": [ - 3803, - 3804, - 3805 + 3802 ] }, { - "teal": 3791, - "source": 933, + "teal": 3785, + "source": 935, "pc": [ - 3806 + 3803 ] }, { - "teal": 3792, - "source": 933, + "teal": 3788, + "source": 935, + "errorMessage": "callee must be pool 1", "pc": [ - 3807 + 3804 ] }, { - "teal": 3793, - "source": 933, + "teal": 3792, + "source": 936, "pc": [ - 3808 + 3805, + 3806 ] }, { - "teal": 3796, - "source": 933, - "errorMessage": "caller must NOT be pool 1", + "teal": 3793, + "source": 936, "pc": [ + 3807, + 3808, 3809 ] }, { - "teal": 3803, - "source": 935, + "teal": 3794, + "source": 936, "pc": [ 3810 ] }, { - "teal": 3804, - "source": 935, + "teal": 3795, + "source": 936, "pc": [ 3811 ] }, { - "teal": 3805, - "source": 935, + "teal": 3796, + "source": 936, + "pc": [ + 3812 + ] + }, + { + "teal": 3799, + "source": 936, + "errorMessage": "caller must NOT be pool 1", "pc": [ - 3812, 3813 ] }, { "teal": 3806, - "source": 935, + "source": 938, "pc": [ - 3814, - 3815 + 3814 ] }, { "teal": 3807, - "source": 935, + "source": 938, "pc": [ - 3816, - 3817 + 3815 ] }, { - "teal": 3811, - "source": 936, + "teal": 3808, + "source": 938, "pc": [ - 3818 + 3816, + 3817 ] }, { - "teal": 3812, - "source": 936, + "teal": 3809, + "source": 938, "pc": [ + 3818, 3819 ] }, { - "teal": 3813, - "source": 936, + "teal": 3810, + "source": 938, "pc": [ 3820, 3821 ] }, { - "teal": 3817, - "source": 937, + "teal": 3814, + "source": 939, "pc": [ - 3822, - 3823 + 3822 ] }, { - "teal": 3818, - "source": 937, + "teal": 3815, + "source": 939, "pc": [ - 3824, - 3825, - 3826 + 3823 ] }, { - "teal": 3819, - "source": 937, + "teal": 3816, + "source": 939, "pc": [ - 3827 + 3824, + 3825 ] }, { "teal": 3820, - "source": 937, + "source": 940, "pc": [ - 3828 + 3826, + 3827 ] }, { "teal": 3821, - "source": 937, + "source": 940, "pc": [ + 3828, 3829, 3830 ] }, { "teal": 3822, - "source": 937, + "source": 940, "pc": [ - 3831, - 3832 + 3831 ] }, { "teal": 3823, - "source": 937, + "source": 940, "pc": [ - 3833, - 3834, - 3835 + 3832 ] }, { "teal": 3824, - "source": 937, + "source": 940, "pc": [ - 3836 + 3833, + 3834 ] }, { "teal": 3825, - "source": 937, + "source": 940, "pc": [ - 3837 + 3835, + 3836 ] }, { "teal": 3826, - "source": 937, + "source": 940, "pc": [ + 3837, 3838, 3839 ] }, { - "teal": 3829, - "source": 935, + "teal": 3827, + "source": 940, "pc": [ 3840 ] }, { - "teal": 3830, - "source": 935, + "teal": 3828, + "source": 940, "pc": [ - 3841, - 3842 + 3841 ] }, { - "teal": 3833, - "source": 935, + "teal": 3829, + "source": 940, "pc": [ + 3842, 3843 ] }, { - "teal": 3834, - "source": 935, + "teal": 3832, + "source": 938, "pc": [ - 3844, - 3845 + 3844 ] }, { - "teal": 3835, - "source": 935, + "teal": 3833, + "source": 938, "pc": [ + 3845, 3846 ] }, { "teal": 3836, - "source": 935, + "source": 938, "pc": [ 3847 ] }, { "teal": 3837, - "source": 935, + "source": 938, "pc": [ 3848, 3849 @@ -16190,271 +16172,271 @@ }, { "teal": 3838, - "source": 935, + "source": 938, "pc": [ - 3850, - 3851, - 3852 + 3850 ] }, { "teal": 3839, - "source": 935, + "source": 938, "pc": [ - 3853 + 3851 ] }, { "teal": 3840, - "source": 935, + "source": 938, "pc": [ - 3854, - 3855 + 3852, + 3853 ] }, { - "teal": 3844, - "source": 939, + "teal": 3841, + "source": 938, "pc": [ - 3856, - 3857 + 3854, + 3855, + 3856 ] }, { - "teal": 3845, - "source": 939, + "teal": 3842, + "source": 938, "pc": [ - 3858, - 3859 + 3857 ] }, { - "teal": 3846, - "source": 939, + "teal": 3843, + "source": 938, "pc": [ - 3860, - 3861, - 3862 + 3858, + 3859 ] }, { "teal": 3847, - "source": 939, + "source": 942, "pc": [ - 3863 + 3860, + 3861 ] }, { "teal": 3848, - "source": 939, + "source": 942, "pc": [ - 3864 + 3862, + 3863 ] }, { "teal": 3849, - "source": 939, + "source": 942, "pc": [ - 3865 + 3864, + 3865, + 3866 ] }, { - "teal": 3853, - "source": 940, + "teal": 3850, + "source": 942, "pc": [ - 3866, 3867 ] }, { - "teal": 3854, - "source": 940, + "teal": 3851, + "source": 942, "pc": [ - 3868, - 3869 + 3868 ] }, { - "teal": 3855, - "source": 940, + "teal": 3852, + "source": 942, "pc": [ - 3870, - 3871, - 3872 + 3869 ] }, { "teal": 3856, - "source": 940, + "source": 943, "pc": [ - 3873 + 3870, + 3871 ] }, { "teal": 3857, - "source": 940, + "source": 943, "pc": [ - 3874, - 3875 + 3872, + 3873 ] }, { "teal": 3858, - "source": 940, + "source": 943, "pc": [ + 3874, + 3875, 3876 ] }, { "teal": 3859, - "source": 940, + "source": 943, "pc": [ 3877 ] }, { "teal": 3860, - "source": 940, + "source": 943, "pc": [ - 3878 + 3878, + 3879 ] }, { - "teal": 3867, - "source": 942, + "teal": 3861, + "source": 943, "pc": [ - 3879 + 3880 ] }, { - "teal": 3868, - "source": 942, + "teal": 3862, + "source": 943, "pc": [ - 3880 + 3881 ] }, { - "teal": 3869, - "source": 942, + "teal": 3863, + "source": 943, "pc": [ - 3881, 3882 ] }, { "teal": 3870, - "source": 942, + "source": 945, "pc": [ - 3883, - 3884 + 3883 ] }, { "teal": 3871, - "source": 942, + "source": 945, "pc": [ - 3885, - 3886 + 3884 ] }, { - "teal": 3875, - "source": 943, + "teal": 3872, + "source": 945, "pc": [ - 3887 + 3885, + 3886 ] }, { - "teal": 3876, - "source": 943, + "teal": 3873, + "source": 945, "pc": [ + 3887, 3888 ] }, { - "teal": 3877, - "source": 943, + "teal": 3874, + "source": 945, "pc": [ 3889, 3890 ] }, { - "teal": 3881, - "source": 944, + "teal": 3878, + "source": 946, "pc": [ 3891 ] }, { - "teal": 3882, - "source": 944, + "teal": 3879, + "source": 946, "pc": [ 3892 ] }, { - "teal": 3883, - "source": 944, + "teal": 3880, + "source": 946, "pc": [ - 3893 + 3893, + 3894 ] }, { "teal": 3884, - "source": 944, + "source": 947, "pc": [ - 3894, 3895 ] }, { - "teal": 3887, - "source": 942, + "teal": 3885, + "source": 947, "pc": [ 3896 ] }, { - "teal": 3888, - "source": 942, + "teal": 3886, + "source": 947, "pc": [ - 3897, - 3898 + 3897 ] }, { - "teal": 3891, - "source": 942, + "teal": 3887, + "source": 947, "pc": [ + 3898, 3899 ] }, { - "teal": 3892, - "source": 942, + "teal": 3890, + "source": 945, "pc": [ - 3900, - 3901 + 3900 ] }, { - "teal": 3893, - "source": 942, + "teal": 3891, + "source": 945, "pc": [ + 3901, 3902 ] }, { "teal": 3894, - "source": 942, + "source": 945, "pc": [ 3903 ] }, { "teal": 3895, - "source": 942, + "source": 945, "pc": [ 3904, 3905 @@ -16462,62 +16444,62 @@ }, { "teal": 3896, - "source": 942, + "source": 945, "pc": [ - 3906, - 3907, - 3908 + 3906 ] }, { - "teal": 3899, - "source": 930, + "teal": 3897, + "source": 945, "pc": [ - 3909, - 3910 + 3907 ] }, { - "teal": 3900, - "source": 930, + "teal": 3898, + "source": 945, "pc": [ - 3911 + 3908, + 3909 ] }, { - "teal": 3904, - "source": 948, + "teal": 3899, + "source": 945, "pc": [ - 3912, - 3913, - 3914 + 3910, + 3911, + 3912 ] }, { - "teal": 3907, - "source": 948, + "teal": 3902, + "source": 933, "pc": [ - 3915, - 3916 + 3913, + 3914 ] }, { - "teal": 3914, - "source": 949, + "teal": 3903, + "source": 933, "pc": [ - 3917 + 3915 ] }, { - "teal": 3915, - "source": 949, + "teal": 3907, + "source": 951, "pc": [ + 3916, + 3917, 3918 ] }, { - "teal": 3916, - "source": 949, + "teal": 3910, + "source": 951, "pc": [ 3919, 3920 @@ -16525,122 +16507,122 @@ }, { "teal": 3917, - "source": 949, + "source": 952, "pc": [ - 3921, - 3922, - 3923, - 3924, - 3925, - 3926 + 3921 ] }, { "teal": 3918, - "source": 949, + "source": 952, "pc": [ - 3927, - 3928 + 3922 ] }, { - "teal": 3922, - "source": 950, + "teal": 3919, + "source": 952, "pc": [ - 3929 + 3923, + 3924 ] }, { - "teal": 3923, - "source": 950, + "teal": 3920, + "source": 952, "pc": [ + 3925, + 3926, + 3927, + 3928, + 3929, 3930 ] }, { - "teal": 3924, - "source": 950, + "teal": 3921, + "source": 952, "pc": [ 3931, 3932 ] }, { - "teal": 3928, - "source": 951, + "teal": 3925, + "source": 953, "pc": [ 3933 ] }, { - "teal": 3929, - "source": 951, + "teal": 3926, + "source": 953, "pc": [ 3934 ] }, { - "teal": 3930, - "source": 951, + "teal": 3927, + "source": 953, "pc": [ - 3935 + 3935, + 3936 ] }, { "teal": 3931, - "source": 951, + "source": 954, "pc": [ - 3936, 3937 ] }, { - "teal": 3934, - "source": 949, + "teal": 3932, + "source": 954, "pc": [ 3938 ] }, { - "teal": 3935, - "source": 949, + "teal": 3933, + "source": 954, "pc": [ - 3939, - 3940 + 3939 ] }, { - "teal": 3938, - "source": 949, + "teal": 3934, + "source": 954, "pc": [ + 3940, 3941 ] }, { - "teal": 3939, - "source": 949, + "teal": 3937, + "source": 952, "pc": [ - 3942, - 3943 + 3942 ] }, { - "teal": 3940, - "source": 949, + "teal": 3938, + "source": 952, "pc": [ + 3943, 3944 ] }, { "teal": 3941, - "source": 949, + "source": 952, "pc": [ 3945 ] }, { "teal": 3942, - "source": 949, + "source": 952, "pc": [ 3946, 3947 @@ -16648,140 +16630,158 @@ }, { "teal": 3943, - "source": 949, + "source": 952, "pc": [ - 3948, - 3949, - 3950 + 3948 ] }, { "teal": 3944, - "source": 949, + "source": 952, "pc": [ - 3951, - 3952 + 3949 ] }, { - "teal": 3948, - "source": 953, + "teal": 3945, + "source": 952, "pc": [ - 3953, - 3954 + 3950, + 3951 ] }, { - "teal": 3949, - "source": 953, + "teal": 3946, + "source": 952, "pc": [ - 3955, - 3956 + 3952, + 3953, + 3954 ] }, { - "teal": 3950, - "source": 953, + "teal": 3947, + "source": 952, "pc": [ - 3957, - 3958, - 3959 + 3955, + 3956 ] }, { "teal": 3951, - "source": 953, + "source": 956, "pc": [ - 3960 + 3957, + 3958 ] }, { "teal": 3952, - "source": 953, + "source": 956, "pc": [ - 3961 + 3959, + 3960 ] }, { "teal": 3953, - "source": 953, + "source": 956, "pc": [ + 3961, 3962, - 3963, - 3964 + 3963 ] }, { "teal": 3954, - "source": 953, + "source": 956, "pc": [ - 3965, - 3966 + 3964 ] }, { "teal": 3955, - "source": 953, + "source": 956, "pc": [ - 3967, - 3968 + 3965 ] }, { "teal": 3956, - "source": 953, + "source": 956, "pc": [ - 3969, - 3970, - 3971 + 3966, + 3967, + 3968 ] }, { "teal": 3957, - "source": 953, + "source": 956, "pc": [ - 3972 + 3969, + 3970 ] }, { "teal": 3958, - "source": 953, + "source": 956, "pc": [ - 3973 + 3971, + 3972 ] }, { - "teal": 3962, - "source": 948, + "teal": 3959, + "source": 956, "pc": [ + 3973, 3974, 3975 ] }, { - "teal": 3963, - "source": 948, + "teal": 3960, + "source": 956, "pc": [ 3976 ] }, { - "teal": 3967, + "teal": 3961, "source": 956, "pc": [ - 3977, + 3977 + ] + }, + { + "teal": 3965, + "source": 951, + "pc": [ 3978, 3979 ] }, { - "teal": 3971, - "source": 957, + "teal": 3966, + "source": 951, + "pc": [ + 3980 + ] + }, + { + "teal": 3970, + "source": 959, "pc": [ - 3980, 3981, 3982, - 3983, + 3983 + ] + }, + { + "teal": 3974, + "source": 960, + "pc": [ 3984, 3985, 3986, @@ -16811,83 +16811,65 @@ 4010, 4011, 4012, - 4013 - ] - }, - { - "teal": 3972, - "source": 956, - "pc": [ - 4014 - ] - }, - { - "teal": 3979, - "source": 966, - "pc": [ + 4013, + 4014, 4015, 4016, 4017 ] }, { - "teal": 3982, - "source": 966, + "teal": 3975, + "source": 959, "pc": [ - 4018, - 4019 + 4018 ] }, { - "teal": 3986, - "source": 967, + "teal": 3982, + "source": 969, "pc": [ + 4019, 4020, - 4021, - 4022 + 4021 ] }, { - "teal": 3987, - "source": 967, + "teal": 3985, + "source": 969, "pc": [ - 4023, - 4024 + 4022, + 4023 ] }, { - "teal": 3991, - "source": 969, + "teal": 3989, + "source": 970, "pc": [ + 4024, 4025, 4026 ] }, { - "teal": 3992, - "source": 969, + "teal": 3990, + "source": 970, "pc": [ 4027, 4028 ] }, - { - "teal": 3993, - "source": 969, - "pc": [ - 4029 - ] - }, { "teal": 3994, - "source": 969, + "source": 972, "pc": [ + 4029, 4030 ] }, { "teal": 3995, - "source": 969, + "source": 972, "pc": [ 4031, 4032 @@ -16895,554 +16877,572 @@ }, { "teal": 3996, - "source": 969, + "source": 972, "pc": [ 4033 ] }, { "teal": 3997, - "source": 969, + "source": 972, "pc": [ 4034 ] }, { "teal": 3998, - "source": 969, + "source": 972, "pc": [ - 4035 + 4035, + 4036 ] }, { "teal": 3999, - "source": 969, + "source": 972, "pc": [ - 4036 + 4037 ] }, { "teal": 4000, - "source": 969, + "source": 972, "pc": [ - 4037 + 4038 ] }, { - "teal": 4003, - "source": 969, - "errorMessage": "wideRatio failed", + "teal": 4001, + "source": 972, "pc": [ - 4038 + 4039 ] }, { - "teal": 4006, - "source": 966, + "teal": 4002, + "source": 972, "pc": [ - 4039, 4040 ] }, { - "teal": 4007, - "source": 966, + "teal": 4003, + "source": 972, "pc": [ 4041 ] }, { - "teal": 4011, - "source": 972, + "teal": 4006, + "source": 972, + "errorMessage": "wideRatio failed", + "pc": [ + 4042 + ] + }, + { + "teal": 4009, + "source": 969, "pc": [ - 4042, 4043, 4044 ] }, { - "teal": 4014, - "source": 972, + "teal": 4010, + "source": 969, "pc": [ - 4045, - 4046 + 4045 ] }, { - "teal": 4018, - "source": 976, + "teal": 4014, + "source": 975, "pc": [ - 4047 + 4046, + 4047, + 4048 ] }, { - "teal": 4019, - "source": 976, + "teal": 4017, + "source": 975, "pc": [ - 4048, - 4049 + 4049, + 4050 ] }, { - "teal": 4024, - "source": 977, + "teal": 4021, + "source": 979, "pc": [ - 4050, 4051 ] }, { - "teal": 4025, - "source": 977, + "teal": 4022, + "source": 979, "pc": [ - 4052 + 4052, + 4053 ] }, { - "teal": 4026, - "source": 977, + "teal": 4027, + "source": 980, "pc": [ - 4053, 4054, 4055 ] }, { - "teal": 4031, - "source": 979, + "teal": 4028, + "source": 980, + "pc": [ + 4056 + ] + }, + { + "teal": 4029, + "source": 980, "pc": [ - 4056, 4057, 4058, 4059 ] }, { - "teal": 4032, - "source": 979, + "teal": 4034, + "source": 982, "pc": [ 4060, 4061, - 4062 - ] - }, - { - "teal": 4037, - "source": 981, - "pc": [ + 4062, 4063 ] }, { - "teal": 4041, - "source": 972, + "teal": 4035, + "source": 982, "pc": [ 4064, - 4065 + 4065, + 4066 ] }, { - "teal": 4042, - "source": 972, + "teal": 4040, + "source": 984, "pc": [ - 4066 + 4067 ] }, { - "teal": 4046, - "source": 984, + "teal": 4044, + "source": 975, "pc": [ - 4067, 4068, 4069 ] }, { - "teal": 4050, - "source": 986, + "teal": 4045, + "source": 975, "pc": [ - 4070, - 4071, - 4072, - 4073, - 4074, - 4075, - 4076, - 4077, - 4078 + 4070 ] }, { - "teal": 4051, - "source": 984, + "teal": 4049, + "source": 987, "pc": [ - 4079 + 4071, + 4072, + 4073 ] }, { - "teal": 4057, - "source": 992, + "teal": 4053, + "source": 989, "pc": [ + 4074, + 4075, + 4076, + 4077, + 4078, + 4079, 4080, 4081, 4082 ] }, { - "teal": 4060, - "source": 992, + "teal": 4054, + "source": 987, "pc": [ - 4083, - 4084 + 4083 ] }, { - "teal": 4061, - "source": 992, + "teal": 4060, + "source": 995, "pc": [ + 4084, 4085, 4086 ] }, { - "teal": 4065, - "source": 993, + "teal": 4063, + "source": 995, "pc": [ 4087, 4088 ] }, { - "teal": 4066, - "source": 993, - "pc": [ - 4089 - ] - }, - { - "teal": 4067, - "source": 993, + "teal": 4064, + "source": 995, "pc": [ + 4089, 4090 ] }, { "teal": 4068, - "source": 993, + "source": 996, "pc": [ 4091, 4092 ] }, { - "teal": 4073, - "source": 994, + "teal": 4069, + "source": 996, "pc": [ - 4093, - 4094 + 4093 ] }, { - "teal": 4074, - "source": 994, + "teal": 4070, + "source": 996, "pc": [ - 4095, - 4096 + 4094 ] }, { - "teal": 4075, - "source": 994, + "teal": 4071, + "source": 996, "pc": [ - 4097 + 4095, + 4096 ] }, { "teal": 4076, - "source": 994, + "source": 997, "pc": [ - 4098, - 4099 + 4097, + 4098 ] }, { "teal": 4077, - "source": 994, + "source": 997, "pc": [ + 4099, 4100 ] }, { "teal": 4078, - "source": 994, + "source": 997, "pc": [ 4101 ] }, { "teal": 4079, - "source": 994, + "source": 997, "pc": [ - 4102 + 4102, + 4103 ] }, { "teal": 4080, - "source": 994, + "source": 997, "pc": [ - 4103 + 4104 ] }, { - "teal": 4083, - "source": 994, - "errorMessage": "currentBinSize as uint64 overflowed 64 bits", + "teal": 4081, + "source": 997, "pc": [ - 4104 + 4105 ] }, { - "teal": 4084, - "source": 994, + "teal": 4082, + "source": 997, "pc": [ - 4105, - 4106, - 4107, - 4108, - 4109, - 4110, - 4111, - 4112, - 4113, - 4114 + 4106 ] }, { - "teal": 4085, - "source": 994, + "teal": 4083, + "source": 997, "pc": [ - 4115 + 4107 ] }, { "teal": 4086, - "source": 994, + "source": 997, + "errorMessage": "currentBinSize as uint64 overflowed 64 bits", "pc": [ - 4116 + 4108 ] }, { "teal": 4087, - "source": 994, + "source": 997, "pc": [ - 4117 + 4109, + 4110, + 4111, + 4112, + 4113, + 4114, + 4115, + 4116, + 4117, + 4118 ] }, { "teal": 4088, - "source": 994, + "source": 997, "pc": [ - 4118 + 4119 ] }, { "teal": 4089, - "source": 994, + "source": 997, "pc": [ - 4119, 4120 ] }, { "teal": 4090, - "source": 994, + "source": 997, "pc": [ 4121 ] }, { "teal": 4091, - "source": 994, + "source": 997, "pc": [ 4122 ] }, { "teal": 4092, - "source": 994, + "source": 997, "pc": [ - 4123 + 4123, + 4124 ] }, { "teal": 4093, - "source": 994, + "source": 997, "pc": [ - 4124 + 4125 ] }, { "teal": 4094, - "source": 994, + "source": 997, "pc": [ - 4125 + 4126 ] }, { "teal": 4095, - "source": 994, + "source": 997, "pc": [ - 4126 + 4127 ] }, { "teal": 4096, - "source": 994, + "source": 997, + "pc": [ + 4128 + ] + }, + { + "teal": 4097, + "source": 997, "pc": [ - 4127, - 4128, 4129 ] }, { - "teal": 4102, - "source": 995, + "teal": 4098, + "source": 997, "pc": [ - 4130, - 4131 + 4130 ] }, { - "teal": 4103, - "source": 995, + "teal": 4099, + "source": 997, "pc": [ + 4131, 4132, 4133 ] }, { - "teal": 4104, - "source": 995, + "teal": 4105, + "source": 998, "pc": [ - 4134 + 4134, + 4135 ] }, { - "teal": 4105, - "source": 995, + "teal": 4106, + "source": 998, "pc": [ - 4135, 4136, 4137 ] }, { - "teal": 4110, - "source": 996, + "teal": 4107, + "source": 998, "pc": [ 4138 ] }, { - "teal": 4111, - "source": 996, - "pc": [ - 4139 - ] - }, - { - "teal": 4112, - "source": 996, + "teal": 4108, + "source": 998, "pc": [ + 4139, 4140, 4141 ] }, { "teal": 4113, - "source": 996, + "source": 999, "pc": [ 4142 ] }, { "teal": 4114, - "source": 996, + "source": 999, "pc": [ - 4143, - 4144 + 4143 ] }, { "teal": 4115, - "source": 996, + "source": 999, "pc": [ - 4145, - 4146 + 4144, + 4145 ] }, { "teal": 4116, - "source": 996, + "source": 999, "pc": [ - 4147 + 4146 ] }, { "teal": 4117, - "source": 996, + "source": 999, "pc": [ - 4148, - 4149 + 4147, + 4148 ] }, { "teal": 4118, - "source": 996, + "source": 999, "pc": [ - 4150, - 4151 + 4149, + 4150 ] }, { "teal": 4119, - "source": 996, + "source": 999, + "pc": [ + 4151 + ] + }, + { + "teal": 4120, + "source": 999, "pc": [ 4152, 4153 ] }, { - "teal": 4120, - "source": 996, + "teal": 4121, + "source": 999, "pc": [ 4154, 4155 ] }, { - "teal": 4121, - "source": 996, + "teal": 4122, + "source": 999, "pc": [ - 4156 + 4156, + 4157 ] }, { - "teal": 4126, - "source": 998, + "teal": 4123, + "source": 999, "pc": [ - 4157, - 4158 + 4158, + 4159 ] }, { - "teal": 4127, - "source": 998, + "teal": 4124, + "source": 999, + "pc": [ + 4160 + ] + }, + { + "teal": 4129, + "source": 1001, "pc": [ - 4159, - 4160, 4161, - 4162, + 4162 + ] + }, + { + "teal": 4130, + "source": 1001, + "pc": [ 4163, 4164, 4165, @@ -17456,514 +17456,514 @@ 4173, 4174, 4175, - 4176 - ] - }, - { - "teal": 4128, - "source": 998, - "pc": [ - 4177 - ] - }, - { - "teal": 4129, - "source": 998, - "pc": [ - 4178 - ] - }, - { - "teal": 4130, - "source": 998, - "pc": [ - 4179 + 4176, + 4177, + 4178, + 4179, + 4180 ] }, { "teal": 4131, - "source": 998, + "source": 1001, "pc": [ - 4180, 4181 ] }, { "teal": 4132, - "source": 998, + "source": 1001, "pc": [ 4182 ] }, { - "teal": 4135, - "source": 998, - "errorMessage": "currentBinSize * (365 as uint128) overflowed 128 bits", + "teal": 4133, + "source": 1001, "pc": [ 4183 ] }, { - "teal": 4136, - "source": 998, + "teal": 4134, + "source": 1001, "pc": [ 4184, 4185 ] }, { - "teal": 4137, - "source": 998, + "teal": 4135, + "source": 1001, "pc": [ 4186 ] }, { "teal": 4138, - "source": 998, + "source": 1001, + "errorMessage": "currentBinSize * (365 as uint128) overflowed 128 bits", "pc": [ 4187 ] }, { "teal": 4139, - "source": 998, + "source": 1001, "pc": [ - 4188 + 4188, + 4189 ] }, { "teal": 4140, - "source": 998, + "source": 1001, "pc": [ - 4189 + 4190 ] }, { "teal": 4141, - "source": 998, + "source": 1001, "pc": [ - 4190, 4191 ] }, { "teal": 4142, - "source": 998, + "source": 1001, "pc": [ 4192 ] }, { "teal": 4143, - "source": 998, + "source": 1001, "pc": [ 4193 ] }, { "teal": 4144, - "source": 998, + "source": 1001, "pc": [ - 4194 + 4194, + 4195 ] }, { "teal": 4145, - "source": 998, + "source": 1001, "pc": [ - 4195, 4196 ] }, { - "teal": 4149, - "source": 999, + "teal": 4146, + "source": 1001, "pc": [ - 4197, - 4198 + 4197 ] }, { - "teal": 4150, - "source": 999, + "teal": 4147, + "source": 1001, "pc": [ - 4199 + 4198 ] }, { - "teal": 4151, - "source": 999, + "teal": 4148, + "source": 1001, "pc": [ - 4200, - 4201 + 4199, + 4200 ] }, { "teal": 4152, - "source": 999, + "source": 1002, "pc": [ + 4201, 4202 ] }, { "teal": 4153, - "source": 999, + "source": 1002, "pc": [ 4203 ] }, { "teal": 4154, - "source": 999, + "source": 1002, "pc": [ - 4204 + 4204, + 4205 ] }, { "teal": 4155, - "source": 999, + "source": 1002, "pc": [ - 4205, 4206 ] }, { "teal": 4156, - "source": 999, + "source": 1002, "pc": [ 4207 ] }, { - "teal": 4159, - "source": 999, - "errorMessage": "this.stakeAccumulator.value / currentBinSize overflowed 128 bits", + "teal": 4157, + "source": 1002, "pc": [ 4208 ] }, { - "teal": 4160, - "source": 999, + "teal": 4158, + "source": 1002, "pc": [ 4209, 4210 ] }, { - "teal": 4161, - "source": 999, + "teal": 4159, + "source": 1002, "pc": [ 4211 ] }, { "teal": 4162, - "source": 999, + "source": 1002, + "errorMessage": "this.stakeAccumulator.value / currentBinSize overflowed 128 bits", "pc": [ 4212 ] }, { "teal": 4163, - "source": 999, + "source": 1002, "pc": [ - 4213 + 4213, + 4214 ] }, { "teal": 4164, - "source": 999, + "source": 1002, "pc": [ - 4214 + 4215 ] }, { "teal": 4165, - "source": 999, + "source": 1002, "pc": [ - 4215, 4216 ] }, { "teal": 4166, - "source": 999, + "source": 1002, "pc": [ 4217 ] }, { "teal": 4167, - "source": 999, + "source": 1002, "pc": [ 4218 ] }, { "teal": 4168, - "source": 999, + "source": 1002, "pc": [ - 4219 + 4219, + 4220 ] }, { "teal": 4169, - "source": 999, + "source": 1002, "pc": [ - 4220, 4221 ] }, { - "teal": 4174, - "source": 1000, + "teal": 4170, + "source": 1002, "pc": [ - 4222, - 4223 + 4222 ] }, { - "teal": 4175, - "source": 1000, + "teal": 4171, + "source": 1002, "pc": [ - 4224, - 4225 + 4223 ] }, { - "teal": 4176, - "source": 1000, + "teal": 4172, + "source": 1002, "pc": [ - 4226 + 4224, + 4225 ] }, { "teal": 4177, - "source": 1000, + "source": 1003, "pc": [ - 4227, - 4228, - 4229 + 4226, + 4227 ] }, { - "teal": 4184, - "source": 1005, + "teal": 4178, + "source": 1003, "pc": [ - 4230, - 4231 + 4228, + 4229 ] }, { - "teal": 4185, - "source": 1005, + "teal": 4179, + "source": 1003, "pc": [ - 4232 + 4230 ] }, { - "teal": 4186, - "source": 1005, + "teal": 4180, + "source": 1003, "pc": [ + 4231, + 4232, 4233 ] }, { "teal": 4187, - "source": 1005, + "source": 1008, "pc": [ 4234, - 4235, - 4236, - 4237, - 4238, - 4239, - 4240, - 4241, - 4242, - 4243, - 4244, - 4245, - 4246, - 4247, - 4248, - 4249, - 4250, - 4251 + 4235 ] }, { "teal": 4188, - "source": 1005, + "source": 1008, "pc": [ - 4252 + 4236 ] }, { "teal": 4189, - "source": 1005, + "source": 1008, "pc": [ - 4253, - 4254 + 4237 ] }, { "teal": 4190, - "source": 1005, + "source": 1008, "pc": [ + 4238, + 4239, + 4240, + 4241, + 4242, + 4243, + 4244, + 4245, + 4246, + 4247, + 4248, + 4249, + 4250, + 4251, + 4252, + 4253, + 4254, 4255 ] }, { "teal": 4191, - "source": 1006, + "source": 1008, "pc": [ - 4256, - 4257 + 4256 ] }, { "teal": 4192, - "source": 1006, + "source": 1008, "pc": [ - 4258, - 4259 + 4257, + 4258 ] }, { "teal": 4193, - "source": 1006, + "source": 1008, "pc": [ - 4260 + 4259 ] }, { "teal": 4194, - "source": 1005, + "source": 1009, "pc": [ + 4260, 4261 ] }, { "teal": 4195, - "source": 1005, + "source": 1009, "pc": [ - 4262 + 4262, + 4263 ] }, { "teal": 4196, - "source": 1005, + "source": 1009, "pc": [ - 4263 + 4264 ] }, { "teal": 4197, - "source": 1005, + "source": 1008, "pc": [ - 4264, 4265 ] }, { "teal": 4198, - "source": 1005, + "source": 1008, "pc": [ 4266 ] }, { - "teal": 4201, - "source": 1005, - "errorMessage": "(((this.rewardAccumulator.value as uint128) * (10000 as uint128)) / avgStake) *\\n (approxRoundsPerYear / currentBinSize) overflowed 128 bits", + "teal": 4199, + "source": 1008, "pc": [ 4267 ] }, { - "teal": 4202, - "source": 1005, + "teal": 4200, + "source": 1008, "pc": [ 4268, 4269 ] }, { - "teal": 4203, - "source": 1005, + "teal": 4201, + "source": 1008, "pc": [ 4270 ] }, { "teal": 4204, - "source": 1005, + "source": 1008, + "errorMessage": "(((this.rewardAccumulator.value as uint128) * (10000 as uint128)) / avgStake) *\\n (approxRoundsPerYear / currentBinSize) overflowed 128 bits", "pc": [ 4271 ] }, { "teal": 4205, - "source": 1005, + "source": 1008, "pc": [ - 4272 + 4272, + 4273 ] }, { "teal": 4206, - "source": 1005, + "source": 1008, "pc": [ - 4273 + 4274 ] }, { "teal": 4207, - "source": 1005, + "source": 1008, "pc": [ - 4274, 4275 ] }, { "teal": 4208, - "source": 1005, + "source": 1008, "pc": [ 4276 ] }, { "teal": 4209, - "source": 1005, + "source": 1008, "pc": [ 4277 ] }, { "teal": 4210, - "source": 1005, + "source": 1008, "pc": [ - 4278 + 4278, + 4279 ] }, { "teal": 4211, - "source": 1004, + "source": 1008, "pc": [ - 4279, 4280 ] }, { - "teal": 4215, + "teal": 4212, + "source": 1008, + "pc": [ + 4281 + ] + }, + { + "teal": 4213, "source": 1008, "pc": [ - 4281, - 4282, + 4282 + ] + }, + { + "teal": 4214, + "source": 1007, + "pc": [ 4283, - 4284, + 4284 + ] + }, + { + "teal": 4218, + "source": 1011, + "pc": [ 4285, 4286, 4287, @@ -17977,33 +17977,33 @@ 4295, 4296, 4297, - 4298 + 4298, + 4299, + 4300, + 4301, + 4302 ] }, { - "teal": 4216, - "source": 1008, + "teal": 4219, + "source": 1011, "pc": [ - 4299, - 4300 + 4303, + 4304 ] }, { - "teal": 4221, - "source": 1010, + "teal": 4224, + "source": 1013, "pc": [ - 4301, - 4302 + 4305, + 4306 ] }, { - "teal": 4222, - "source": 1010, + "teal": 4225, + "source": 1013, "pc": [ - 4303, - 4304, - 4305, - 4306, 4307, 4308, 4309, @@ -18017,33 +18017,33 @@ 4317, 4318, 4319, - 4320 + 4320, + 4321, + 4322, + 4323, + 4324 ] }, { - "teal": 4223, - "source": 1010, + "teal": 4226, + "source": 1013, "pc": [ - 4321 + 4325 ] }, { - "teal": 4224, - "source": 1010, + "teal": 4227, + "source": 1013, "pc": [ - 4322, - 4323, - 4324 + 4326, + 4327, + 4328 ] }, { - "teal": 4229, - "source": 1011, + "teal": 4232, + "source": 1014, "pc": [ - 4325, - 4326, - 4327, - 4328, 4329, 4330, 4331, @@ -18057,42 +18057,24 @@ 4339, 4340, 4341, - 4342 - ] - }, - { - "teal": 4230, - "source": 1011, - "pc": [ + 4342, 4343, - 4344 - ] - }, - { - "teal": 4237, - "source": 1013, - "pc": [ + 4344, 4345, 4346 ] }, { - "teal": 4238, - "source": 1013, - "pc": [ - 4347 - ] - }, - { - "teal": 4239, + "teal": 4233, "source": 1014, "pc": [ + 4347, 4348 ] }, { "teal": 4240, - "source": 1014, + "source": 1016, "pc": [ 4349, 4350 @@ -18100,29 +18082,29 @@ }, { "teal": 4241, - "source": 1014, + "source": 1016, "pc": [ - 4351, - 4352 + 4351 ] }, { "teal": 4242, - "source": 1014, + "source": 1017, "pc": [ - 4353 + 4352 ] }, { "teal": 4243, - "source": 1014, + "source": 1017, "pc": [ + 4353, 4354 ] }, { "teal": 4244, - "source": 1014, + "source": 1017, "pc": [ 4355, 4356 @@ -18130,207 +18112,207 @@ }, { "teal": 4245, - "source": 1014, + "source": 1017, "pc": [ 4357 ] }, { "teal": 4246, - "source": 1015, + "source": 1017, "pc": [ - 4358, - 4359 + 4358 ] }, { "teal": 4247, - "source": 1015, + "source": 1017, "pc": [ - 4360, - 4361 + 4359, + 4360 ] }, { "teal": 4248, - "source": 1015, + "source": 1017, "pc": [ - 4362 + 4361 ] }, { "teal": 4249, - "source": 1015, + "source": 1018, "pc": [ - 4363, - 4364 + 4362, + 4363 ] }, { "teal": 4250, - "source": 1015, + "source": 1018, "pc": [ + 4364, 4365 ] }, { "teal": 4251, - "source": 1014, + "source": 1018, "pc": [ 4366 ] }, { "teal": 4252, - "source": 1014, + "source": 1018, "pc": [ - 4367 + 4367, + 4368 ] }, { "teal": 4253, - "source": 1014, + "source": 1018, "pc": [ - 4368 + 4369 ] }, { "teal": 4254, - "source": 1014, + "source": 1017, "pc": [ - 4369, 4370 ] }, { "teal": 4255, - "source": 1014, + "source": 1017, "pc": [ 4371 ] }, { - "teal": 4258, - "source": 1014, - "errorMessage": "(this.weightedMovingAverage.value * ((100 as uint128) - alpha)) / (100 as uint128) +\\n (apr * alpha) / (100 as uint128) overflowed 128 bits", + "teal": 4256, + "source": 1017, "pc": [ 4372 ] }, { - "teal": 4259, - "source": 1014, + "teal": 4257, + "source": 1017, "pc": [ 4373, 4374 ] }, { - "teal": 4260, - "source": 1014, + "teal": 4258, + "source": 1017, "pc": [ 4375 ] }, { "teal": 4261, - "source": 1014, + "source": 1017, + "errorMessage": "(this.weightedMovingAverage.value * ((100 as uint128) - alpha)) / (100 as uint128) +\\n (apr * alpha) / (100 as uint128) overflowed 128 bits", "pc": [ 4376 ] }, { "teal": 4262, - "source": 1014, + "source": 1017, "pc": [ - 4377 + 4377, + 4378 ] }, { "teal": 4263, - "source": 1014, + "source": 1017, "pc": [ - 4378 + 4379 ] }, { "teal": 4264, - "source": 1014, + "source": 1017, "pc": [ - 4379, 4380 ] }, { "teal": 4265, - "source": 1014, + "source": 1017, "pc": [ 4381 ] }, { "teal": 4266, - "source": 1014, + "source": 1017, "pc": [ 4382 ] }, { "teal": 4267, - "source": 1014, + "source": 1017, "pc": [ - 4383 + 4383, + 4384 ] }, { "teal": 4268, - "source": 1013, + "source": 1017, "pc": [ - 4384 + 4385 ] }, { - "teal": 4273, - "source": 1019, + "teal": 4269, + "source": 1017, "pc": [ - 4385, - 4386, - 4387 + 4386 ] }, { - "teal": 4277, - "source": 1020, + "teal": 4270, + "source": 1017, "pc": [ - 4388, - 4389 + 4387 ] }, { - "teal": 4278, - "source": 1020, + "teal": 4271, + "source": 1016, "pc": [ - 4390, - 4391 + 4388 ] }, { - "teal": 4279, - "source": 1020, + "teal": 4276, + "source": 1022, "pc": [ - 4392 + 4389, + 4390, + 4391 ] }, { "teal": 4280, - "source": 1020, + "source": 1023, "pc": [ + 4392, 4393 ] }, { "teal": 4281, - "source": 1020, + "source": 1023, "pc": [ 4394, 4395 @@ -18338,290 +18320,302 @@ }, { "teal": 4282, - "source": 1020, + "source": 1023, "pc": [ 4396 ] }, { "teal": 4283, - "source": 1020, + "source": 1023, "pc": [ 4397 ] }, { "teal": 4284, - "source": 1020, + "source": 1023, "pc": [ - 4398 + 4398, + 4399 ] }, { "teal": 4285, - "source": 1020, + "source": 1023, "pc": [ - 4399 + 4400 ] }, { "teal": 4286, - "source": 1020, + "source": 1023, "pc": [ - 4400 + 4401 ] }, { "teal": 4287, - "source": 1020, + "source": 1023, "pc": [ - 4401, 4402 ] }, { "teal": 4288, - "source": 1020, + "source": 1023, "pc": [ 4403 ] }, { - "teal": 4291, - "source": 1020, - "errorMessage": "(this.totalAlgoStaked.value as uint128) * (this.roundsPerDay.value as uint128) overflowed 128 bits", + "teal": 4289, + "source": 1023, "pc": [ 4404 ] }, { - "teal": 4292, - "source": 1020, + "teal": 4290, + "source": 1023, "pc": [ 4405, 4406 ] }, { - "teal": 4293, - "source": 1020, + "teal": 4291, + "source": 1023, "pc": [ 4407 ] }, { "teal": 4294, - "source": 1020, + "source": 1023, + "errorMessage": "(this.totalAlgoStaked.value as uint128) * (this.roundsPerDay.value as uint128) overflowed 128 bits", "pc": [ 4408 ] }, { "teal": 4295, - "source": 1020, + "source": 1023, "pc": [ - 4409 + 4409, + 4410 ] }, { "teal": 4296, - "source": 1020, + "source": 1023, "pc": [ - 4410 + 4411 ] }, { "teal": 4297, - "source": 1020, + "source": 1023, "pc": [ - 4411, 4412 ] }, { "teal": 4298, - "source": 1020, + "source": 1023, "pc": [ 4413 ] }, { "teal": 4299, - "source": 1020, + "source": 1023, "pc": [ 4414 ] }, { "teal": 4300, - "source": 1020, + "source": 1023, "pc": [ - 4415 + 4415, + 4416 ] }, { "teal": 4301, - "source": 1020, + "source": 1023, "pc": [ - 4416 + 4417 ] }, { - "teal": 4305, - "source": 1021, + "teal": 4302, + "source": 1023, "pc": [ - 4417, 4418 ] }, { - "teal": 4306, - "source": 1021, + "teal": 4303, + "source": 1023, "pc": [ 4419 ] }, { - "teal": 4307, - "source": 1021, + "teal": 4304, + "source": 1023, "pc": [ 4420 ] }, { - "teal": 4311, - "source": 1022, + "teal": 4308, + "source": 1024, "pc": [ 4421, 4422 ] }, { - "teal": 4312, - "source": 1022, + "teal": 4309, + "source": 1024, "pc": [ - 4423, - 4424 + 4423 ] }, { - "teal": 4313, - "source": 1022, + "teal": 4310, + "source": 1024, "pc": [ - 4425, - 4426 + 4424 ] }, { "teal": 4314, - "source": 1022, + "source": 1025, "pc": [ - 4427, - 4428 + 4425, + 4426 ] }, { "teal": 4315, - "source": 1022, + "source": 1025, "pc": [ - 4429 + 4427, + 4428 ] }, { "teal": 4316, - "source": 1022, + "source": 1025, "pc": [ + 4429, 4430 ] }, { "teal": 4317, - "source": 1022, + "source": 1025, "pc": [ - 4431 + 4431, + 4432 ] }, { "teal": 4318, - "source": 1022, + "source": 1025, "pc": [ - 4432 + 4433 ] }, { - "teal": 4321, - "source": 992, + "teal": 4319, + "source": 1025, "pc": [ - 4433 + 4434 ] }, { - "teal": 4325, - "source": 1026, + "teal": 4320, + "source": 1025, + "pc": [ + 4435 + ] + }, + { + "teal": 4321, + "source": 1025, "pc": [ - 4434, - 4435, 4436 ] }, { - "teal": 4329, - "source": 1027, + "teal": 4324, + "source": 995, "pc": [ - 4437, - 4438 + 4437 ] }, { - "teal": 4330, - "source": 1027, + "teal": 4328, + "source": 1029, "pc": [ + 4438, 4439, - 4440, + 4440 + ] + }, + { + "teal": 4332, + "source": 1030, + "pc": [ 4441, 4442 ] }, { - "teal": 4331, - "source": 1027, + "teal": 4333, + "source": 1030, "pc": [ - 4443 + 4443, + 4444, + 4445, + 4446 ] }, { - "teal": 4332, - "source": 1026, + "teal": 4334, + "source": 1030, "pc": [ - 4444 + 4447 ] }, { "teal": 4335, - "source": 36, + "source": 1029, "pc": [ - 4445, - 4446, - 4447, - 4448, - 4449, - 4450 + 4448 ] }, { - "teal": 4336, + "teal": 4338, "source": 36, "pc": [ + 4449, + 4450, 4451, 4452, - 4453 + 4453, + 4454 ] }, { - "teal": 4337, + "teal": 4339, "source": 36, "pc": [ - 4454, 4455, 4456, 4457 @@ -18630,180 +18624,186 @@ { "teal": 4340, "source": 36, - "errorMessage": "this contract does not implement the given ABI method for create NoOp", "pc": [ - 4458 + 4458, + 4459, + 4460, + 4461 ] }, { "teal": 4343, "source": 36, + "errorMessage": "this contract does not implement the given ABI method for create NoOp", "pc": [ - 4459, - 4460, - 4461, - 4462, - 4463, - 4464 + 4462 ] }, { - "teal": 4344, + "teal": 4346, "source": 36, "pc": [ + 4463, + 4464, 4465, 4466, 4467, - 4468, - 4469, - 4470 + 4468 ] }, { - "teal": 4345, + "teal": 4347, "source": 36, "pc": [ + 4469, + 4470, 4471, 4472, 4473, - 4474, - 4475, - 4476 + 4474 ] }, { - "teal": 4346, + "teal": 4348, "source": 36, "pc": [ + 4475, + 4476, 4477, 4478, 4479, - 4480, - 4481, - 4482 + 4480 ] }, { - "teal": 4347, + "teal": 4349, "source": 36, "pc": [ + 4481, + 4482, 4483, 4484, 4485, - 4486, - 4487, - 4488 + 4486 ] }, { - "teal": 4348, + "teal": 4350, "source": 36, "pc": [ + 4487, + 4488, 4489, 4490, 4491, - 4492, - 4493, - 4494 + 4492 ] }, { - "teal": 4349, + "teal": 4351, "source": 36, "pc": [ + 4493, + 4494, 4495, 4496, 4497, - 4498, - 4499, - 4500 + 4498 ] }, { - "teal": 4350, + "teal": 4352, "source": 36, "pc": [ + 4499, + 4500, 4501, 4502, 4503, - 4504, - 4505, - 4506 + 4504 ] }, { - "teal": 4351, + "teal": 4353, "source": 36, "pc": [ + 4505, + 4506, 4507, 4508, 4509, - 4510, - 4511, - 4512 + 4510 ] }, { - "teal": 4352, + "teal": 4354, "source": 36, "pc": [ + 4511, + 4512, 4513, 4514, 4515, - 4516, - 4517, - 4518 + 4516 ] }, { - "teal": 4353, + "teal": 4355, "source": 36, "pc": [ + 4517, + 4518, 4519, 4520, 4521, - 4522, - 4523, - 4524 + 4522 ] }, { - "teal": 4354, + "teal": 4356, "source": 36, "pc": [ + 4523, + 4524, 4525, 4526, 4527, - 4528, - 4529, - 4530 + 4528 ] }, { - "teal": 4355, + "teal": 4357, "source": 36, "pc": [ + 4529, + 4530, 4531, - 4532 + 4532, + 4533, + 4534 ] }, { - "teal": 4356, + "teal": 4358, "source": 36, "pc": [ - 4533, - 4534, - 4535 + 4535, + 4536 ] }, { - "teal": 4357, + "teal": 4359, "source": 36, "pc": [ - 4536, 4537, 4538, - 4539, + 4539 + ] + }, + { + "teal": 4360, + "source": 36, + "pc": [ 4540, 4541, 4542, @@ -18827,43 +18827,37 @@ 4560, 4561, 4562, - 4563 + 4563, + 4564, + 4565, + 4566, + 4567 ] }, { - "teal": 4360, + "teal": 4363, "source": 36, "errorMessage": "this contract does not implement the given ABI method for call NoOp", "pc": [ - 4564 + 4568 ] }, { - "teal": 4363, + "teal": 4366, "source": 36, "pc": [ - 4565, - 4566, - 4567, - 4568, 4569, - 4570 - ] - }, - { - "teal": 4364, - "source": 36, - "pc": [ + 4570, 4571, 4572, - 4573 + 4573, + 4574 ] }, { - "teal": 4365, + "teal": 4367, "source": 36, "pc": [ - 4574, 4575, 4576, 4577 @@ -18872,9 +18866,19 @@ { "teal": 4368, "source": 36, + "pc": [ + 4578, + 4579, + 4580, + 4581 + ] + }, + { + "teal": 4371, + "source": 36, "errorMessage": "this contract does not implement the given ABI method for call UpdateApplication", "pc": [ - 4578 + 4582 ] } ] \ No newline at end of file diff --git a/contracts/contracts/artifacts/ValidatorRegistry.approval.teal b/contracts/contracts/artifacts/ValidatorRegistry.approval.teal index e16ef291..122706bf 100644 --- a/contracts/contracts/artifacts/ValidatorRegistry.approval.teal +++ b/contracts/contracts/artifacts/ValidatorRegistry.approval.teal @@ -1972,10 +1972,7 @@ addPool: // clearStateProgram: StakingPool.clearProgram(), // globalNumUint: StakingPool.schema.global.numUint, // globalNumByteSlice: StakingPool.schema.global.numByteSlice, - // // first page is included, we need 'extra' 2k pages, so normally we'd do - // // size+2047/2048 to handle integer math rounding but instead we can just subtract 1 - // // to get equivalent (ignoring the first 2048) - // extraProgramPages: (this.stakingPoolApprovalProgram.size - 1) / 2048, + // extraProgramPages: 3, // applicationArgs: [ // // creatingContractID, validatorId, poolId, minEntryStake // method('createApplication(uint64,uint64,uint64,uint64)void'), @@ -2031,20 +2028,12 @@ addPool: int 3 itxn_field GlobalNumByteSlice - // contracts/validatorRegistry.algo.ts:616 - // extraProgramPages: (this.stakingPoolApprovalProgram.size - 1) / 2048 - byte 0x706f6f6c54656d706c617465417070726f76616c4279746573 // "poolTemplateApprovalBytes" - box_len - - // box value does not exist: this.stakingPoolApprovalProgram.size - assert - int 1 - - - int 2048 - / + // contracts/validatorRegistry.algo.ts:613 + // extraProgramPages: 3 + int 3 itxn_field ExtraProgramPages - // contracts/validatorRegistry.algo.ts:617 + // contracts/validatorRegistry.algo.ts:614 // applicationArgs: [ // // creatingContractID, validatorId, poolId, minEntryStake // method('createApplication(uint64,uint64,uint64,uint64)void'), @@ -2083,7 +2072,7 @@ addPool: // Submit inner transaction itxn_submit - // contracts/validatorRegistry.algo.ts:627 + // contracts/validatorRegistry.algo.ts:624 // this.validatorList(validatorId).value.state.numPools = numPools as uint16 int 242 frame_dig 0 // numPools: uint64 @@ -2096,12 +2085,12 @@ addPool: cover 2 box_replace - // contracts/validatorRegistry.algo.ts:630 + // contracts/validatorRegistry.algo.ts:627 // poolAppId = this.itxn.createdApplicationID.id itxn CreatedApplicationID frame_bury 1 // poolAppId: uint64 - // contracts/validatorRegistry.algo.ts:631 + // contracts/validatorRegistry.algo.ts:628 // this.validatorList(validatorId).value.pools[numPools - 1].poolAppId = poolAppId int 268 // headOffset frame_dig 0 // numPools: uint64 @@ -2121,14 +2110,14 @@ addPool: cover 2 box_replace - // contracts/validatorRegistry.algo.ts:632 + // contracts/validatorRegistry.algo.ts:629 // this.addPoolToNode(validatorId, poolAppId, nodeNum) frame_dig -3 // nodeNum: uint64 frame_dig 1 // poolAppId: uint64 frame_dig -2 // validatorId: ValidatorIdType callsub addPoolToNode - // contracts/validatorRegistry.algo.ts:640 + // contracts/validatorRegistry.algo.ts:637 // return { id: validatorId, poolId: numPools as uint64, poolAppId: this.itxn!.createdApplicationID.id } frame_dig -2 // validatorId: ValidatorIdType itob @@ -2194,7 +2183,7 @@ addStake: byte 0x dupn 5 - // contracts/validatorRegistry.algo.ts:653 + // contracts/validatorRegistry.algo.ts:650 // assert(this.validatorList(validatorId).exists, "specified validator id isn't valid") byte 0x76 // "v" frame_dig -2 // validatorId: ValidatorIdType @@ -2208,7 +2197,7 @@ addStake: assert // *if8_condition - // contracts/validatorRegistry.algo.ts:656 + // contracts/validatorRegistry.algo.ts:653 // this.validatorList(validatorId).value.config.sunsettingOn > 0 int 226 int 8 @@ -2224,7 +2213,7 @@ addStake: bz *if8_end // *if8_consequent - // contracts/validatorRegistry.algo.ts:657 + // contracts/validatorRegistry.algo.ts:654 // assert( // this.validatorList(validatorId).value.config.sunsettingOn < globals.latestTimestamp, // "can't stake with a validator that is past its sunsetting time", @@ -2245,12 +2234,12 @@ addStake: assert *if8_end: - // contracts/validatorRegistry.algo.ts:663 + // contracts/validatorRegistry.algo.ts:660 // staker = this.txn.sender txn Sender frame_bury 0 // staker: address - // contracts/validatorRegistry.algo.ts:667 + // contracts/validatorRegistry.algo.ts:664 // verifyPayTxn(stakedAmountPayment, { // sender: staker, // receiver: this.app.address, @@ -2273,7 +2262,7 @@ addStake: // transaction verification failed: {"txn":"stakedAmountPayment","field":"receiver","expected":"this.app.address"} assert - // contracts/validatorRegistry.algo.ts:674 + // contracts/validatorRegistry.algo.ts:671 // assert( // this.validatorList(validatorId).value.state.totalAlgoStaked < this.maxAllowedStake(), // 'total staked for all of a validators pools may not exceed hard cap', @@ -2293,25 +2282,25 @@ addStake: // total staked for all of a validators pools may not exceed hard cap assert - // contracts/validatorRegistry.algo.ts:681 + // contracts/validatorRegistry.algo.ts:678 // this.doesStakerMeetGating(validatorId, valueToVerify) frame_dig -3 // valueToVerify: uint64 frame_dig -2 // validatorId: ValidatorIdType callsub doesStakerMeetGating - // contracts/validatorRegistry.algo.ts:683 + // contracts/validatorRegistry.algo.ts:680 // realAmount = stakedAmountPayment.amount frame_dig -1 // stakedAmountPayment: PayTxn gtxns Amount frame_bury 1 // realAmount: uint64 - // contracts/validatorRegistry.algo.ts:684 + // contracts/validatorRegistry.algo.ts:681 // mbrAmtLeftBehind: uint64 = 0 int 0 frame_bury 2 // mbrAmtLeftBehind: uint64 // *if9_condition - // contracts/validatorRegistry.algo.ts:686 + // contracts/validatorRegistry.algo.ts:683 // !this.stakerPoolSet(staker).exists byte 0x737073 // "sps" frame_dig 0 // staker: address @@ -2323,21 +2312,21 @@ addStake: bz *if9_end // *if9_consequent - // contracts/validatorRegistry.algo.ts:689 + // contracts/validatorRegistry.algo.ts:686 // mbrAmtLeftBehind = this.getMbrAmounts().addStakerMbr callsub getMbrAmounts extract 24 8 btoi frame_bury 2 // mbrAmtLeftBehind: uint64 - // contracts/validatorRegistry.algo.ts:690 + // contracts/validatorRegistry.algo.ts:687 // realAmount -= mbrAmtLeftBehind frame_dig 1 // realAmount: uint64 frame_dig 2 // mbrAmtLeftBehind: uint64 - frame_bury 1 // realAmount: uint64 - // contracts/validatorRegistry.algo.ts:691 + // contracts/validatorRegistry.algo.ts:688 // this.stakerPoolSet(staker).create() byte 0x737073 // "sps" frame_dig 0 // staker: address @@ -2347,7 +2336,7 @@ addStake: pop *if9_end: - // contracts/validatorRegistry.algo.ts:695 + // contracts/validatorRegistry.algo.ts:692 // findRet = this.findPoolForStaker(validatorId, staker, realAmount) frame_dig 1 // realAmount: uint64 frame_dig 0 // staker: address @@ -2355,9 +2344,9 @@ addStake: callsub findPoolForStaker frame_bury 3 // findRet: ((uint64,uint64,uint64),bool,bool) - // contracts/validatorRegistry.algo.ts:696 + // contracts/validatorRegistry.algo.ts:693 // poolKey = findRet[0] - // contracts/validatorRegistry.algo.ts:697 + // contracts/validatorRegistry.algo.ts:694 // isNewStakerToValidator = findRet[1] frame_dig 3 // findRet: ((uint64,uint64,uint64),bool,bool) store 255 // full array @@ -2366,7 +2355,7 @@ addStake: getbit frame_bury 4 // isNewStakerToValidator: bool - // contracts/validatorRegistry.algo.ts:698 + // contracts/validatorRegistry.algo.ts:695 // isNewStakerToProtocol = findRet[2] frame_dig 3 // findRet: ((uint64,uint64,uint64),bool,bool) store 255 // full array @@ -2376,7 +2365,7 @@ addStake: frame_bury 5 // isNewStakerToProtocol: bool // *if10_condition - // contracts/validatorRegistry.algo.ts:699 + // contracts/validatorRegistry.algo.ts:696 // poolKey.poolId === 0 frame_dig 3 // findRet: ((uint64,uint64,uint64),bool,bool) store 255 // full array @@ -2392,7 +2381,7 @@ addStake: err *if10_end: - // contracts/validatorRegistry.algo.ts:704 + // contracts/validatorRegistry.algo.ts:701 // this.updateStakerPoolSet(staker, poolKey) frame_dig 3 // findRet: ((uint64,uint64,uint64),bool,bool) store 255 // full array @@ -2401,7 +2390,7 @@ addStake: frame_dig 0 // staker: address callsub updateStakerPoolSet - // contracts/validatorRegistry.algo.ts:707 + // contracts/validatorRegistry.algo.ts:704 // this.callPoolAddStake( // stakedAmountPayment, // poolKey, @@ -2419,7 +2408,7 @@ addStake: frame_dig -1 // stakedAmountPayment: PayTxn callsub callPoolAddStake - // contracts/validatorRegistry.algo.ts:722 + // contracts/validatorRegistry.algo.ts:719 // return poolKey frame_dig 3 // findRet: ((uint64,uint64,uint64),bool,bool) store 255 // full array @@ -2471,7 +2460,7 @@ setTokenPayoutRatio: byte 0x dupn 8 - // contracts/validatorRegistry.algo.ts:742 + // contracts/validatorRegistry.algo.ts:739 // pool1AppID = this.validatorList(validatorId).value.pools[0].poolAppId int 268 int 8 @@ -2484,7 +2473,7 @@ setTokenPayoutRatio: btoi frame_bury 0 // pool1AppID: uint64 - // contracts/validatorRegistry.algo.ts:743 + // contracts/validatorRegistry.algo.ts:740 // assert(pool1AppID !== 0) frame_dig 0 // pool1AppID: uint64 int 0 @@ -2492,7 +2481,7 @@ setTokenPayoutRatio: assert // *if11_condition - // contracts/validatorRegistry.algo.ts:745 + // contracts/validatorRegistry.algo.ts:742 // this.txn.sender !== AppID.fromUint64(pool1AppID).address txn Sender frame_dig 0 // pool1AppID: uint64 @@ -2502,7 +2491,7 @@ setTokenPayoutRatio: bz *if11_end // *if11_consequent - // contracts/validatorRegistry.algo.ts:746 + // contracts/validatorRegistry.algo.ts:743 // return this.validatorList(validatorId).value.tokenPayoutRatio int 700 // headOffset int 200 @@ -2515,12 +2504,12 @@ setTokenPayoutRatio: b *setTokenPayoutRatio*return *if11_end: - // contracts/validatorRegistry.algo.ts:752 + // contracts/validatorRegistry.algo.ts:749 // curRound = globals.round global Round frame_bury 1 // curRound: uint64 - // contracts/validatorRegistry.algo.ts:753 + // contracts/validatorRegistry.algo.ts:750 // lastPayoutUpdate = this.validatorList(validatorId).value.tokenPayoutRatio.updatedForPayout int 892 int 8 @@ -2534,7 +2523,7 @@ setTokenPayoutRatio: frame_bury 2 // lastPayoutUpdate: uint64 // *if12_condition - // contracts/validatorRegistry.algo.ts:754 + // contracts/validatorRegistry.algo.ts:751 // lastPayoutUpdate !== 0 frame_dig 2 // lastPayoutUpdate: uint64 int 0 @@ -2543,7 +2532,7 @@ setTokenPayoutRatio: // *if12_consequent // *if13_condition - // contracts/validatorRegistry.algo.ts:756 + // contracts/validatorRegistry.algo.ts:753 // (AppID.fromUint64(pool1AppID).globalState('lastPayout') as uint64) === lastPayoutUpdate frame_dig 0 // pool1AppID: uint64 byte 0x6c6173745061796f7574 // "lastPayout" @@ -2556,7 +2545,7 @@ setTokenPayoutRatio: bz *if13_end // *if13_consequent - // contracts/validatorRegistry.algo.ts:757 + // contracts/validatorRegistry.algo.ts:754 // return this.validatorList(validatorId).value.tokenPayoutRatio int 700 // headOffset int 200 @@ -2569,7 +2558,7 @@ setTokenPayoutRatio: b *setTokenPayoutRatio*return *if13_end: - // contracts/validatorRegistry.algo.ts:759 + // contracts/validatorRegistry.algo.ts:756 // epochRoundLength = this.validatorList(validatorId).value.config.epochRoundLength as uint64 int 169 int 4 @@ -2582,7 +2571,7 @@ setTokenPayoutRatio: btoi frame_bury 3 // epochRoundLength: uint64 - // contracts/validatorRegistry.algo.ts:760 + // contracts/validatorRegistry.algo.ts:757 // thisEpochBegin = curRound - (curRound % epochRoundLength) frame_dig 1 // curRound: uint64 frame_dig 1 // curRound: uint64 @@ -2592,7 +2581,7 @@ setTokenPayoutRatio: frame_bury 4 // thisEpochBegin: uint64 // *if14_condition - // contracts/validatorRegistry.algo.ts:762 + // contracts/validatorRegistry.algo.ts:759 // lastPayoutUpdate - (lastPayoutUpdate % epochRoundLength) === thisEpochBegin frame_dig 2 // lastPayoutUpdate: uint64 frame_dig 2 // lastPayoutUpdate: uint64 @@ -2604,7 +2593,7 @@ setTokenPayoutRatio: bz *if14_end // *if14_consequent - // contracts/validatorRegistry.algo.ts:763 + // contracts/validatorRegistry.algo.ts:760 // return this.validatorList(validatorId).value.tokenPayoutRatio int 700 // headOffset int 200 @@ -2619,7 +2608,7 @@ setTokenPayoutRatio: *if14_end: *if12_end: - // contracts/validatorRegistry.algo.ts:766 + // contracts/validatorRegistry.algo.ts:763 // this.validatorList(validatorId).value.tokenPayoutRatio.updatedForPayout = curRound int 892 frame_dig 1 // curRound: uint64 @@ -2631,7 +2620,7 @@ setTokenPayoutRatio: cover 2 box_replace - // contracts/validatorRegistry.algo.ts:768 + // contracts/validatorRegistry.algo.ts:765 // curNumPools = this.validatorList(validatorId).value.state.numPools as uint64 int 242 int 2 @@ -2644,7 +2633,7 @@ setTokenPayoutRatio: btoi frame_bury 5 // curNumPools: uint64 - // contracts/validatorRegistry.algo.ts:769 + // contracts/validatorRegistry.algo.ts:766 // totalStakeForValidator = this.validatorList(validatorId).value.state.totalAlgoStaked int 252 int 8 @@ -2657,20 +2646,20 @@ setTokenPayoutRatio: btoi frame_bury 6 // totalStakeForValidator: uint64 - // contracts/validatorRegistry.algo.ts:770 + // contracts/validatorRegistry.algo.ts:767 // for (let i = 0; i < curNumPools; i += 1) int 0 frame_bury 7 // i: uint64 *for_2: - // contracts/validatorRegistry.algo.ts:770 + // contracts/validatorRegistry.algo.ts:767 // i < curNumPools frame_dig 7 // i: uint64 frame_dig 5 // curNumPools: uint64 < bz *for_2_end - // contracts/validatorRegistry.algo.ts:775 + // contracts/validatorRegistry.algo.ts:772 // ourPoolPctOfWhole = wideRatio( // [this.validatorList(validatorId).value.pools[i].totalAlgoStaked, 1_000_000], // [totalStakeForValidator], @@ -2704,7 +2693,7 @@ setTokenPayoutRatio: assert frame_bury 8 // ourPoolPctOfWhole: uint64 - // contracts/validatorRegistry.algo.ts:779 + // contracts/validatorRegistry.algo.ts:776 // this.validatorList(validatorId).value.tokenPayoutRatio.poolPctOfWhole[i] = ourPoolPctOfWhole int 700 frame_dig 7 // i: uint64 @@ -2721,7 +2710,7 @@ setTokenPayoutRatio: box_replace *for_2_continue: - // contracts/validatorRegistry.algo.ts:770 + // contracts/validatorRegistry.algo.ts:767 // i += 1 frame_dig 7 // i: uint64 int 1 @@ -2730,7 +2719,7 @@ setTokenPayoutRatio: b *for_2 *for_2_end: - // contracts/validatorRegistry.algo.ts:781 + // contracts/validatorRegistry.algo.ts:778 // return this.validatorList(validatorId).value.tokenPayoutRatio int 700 // headOffset int 200 @@ -2796,12 +2785,12 @@ setTokenPayoutRatio: stakeUpdatedViaRewards: proto 5 0 - // contracts/validatorRegistry.algo.ts:802 + // contracts/validatorRegistry.algo.ts:799 // this.verifyPoolKeyCaller(poolKey) frame_dig -1 // poolKey: ValidatorPoolKey callsub verifyPoolKeyCaller - // contracts/validatorRegistry.algo.ts:805 + // contracts/validatorRegistry.algo.ts:802 // this.validatorList(poolKey.id).value.pools[poolKey.poolId - 1].totalAlgoStaked += algoToAdd int 268 // headOffset frame_dig -1 // poolKey: ValidatorPoolKey @@ -2847,7 +2836,7 @@ stakeUpdatedViaRewards: cover 2 box_replace - // contracts/validatorRegistry.algo.ts:806 + // contracts/validatorRegistry.algo.ts:803 // this.validatorList(poolKey.id).value.state.totalAlgoStaked += algoToAdd int 252 dup @@ -2873,7 +2862,7 @@ stakeUpdatedViaRewards: cover 2 box_replace - // contracts/validatorRegistry.algo.ts:807 + // contracts/validatorRegistry.algo.ts:804 // this.validatorList(poolKey.id).value.state.rewardTokenHeldBack += rewardTokenAmountReserved int 260 dup @@ -2899,7 +2888,7 @@ stakeUpdatedViaRewards: cover 2 box_replace - // contracts/validatorRegistry.algo.ts:809 + // contracts/validatorRegistry.algo.ts:806 // this.totalAlgoStaked.value += algoToAdd byte 0x7374616b6564 // "staked" app_global_get @@ -2909,7 +2898,7 @@ stakeUpdatedViaRewards: swap app_global_put - // contracts/validatorRegistry.algo.ts:812 + // contracts/validatorRegistry.algo.ts:809 // this.reverifyNFDOwnership(poolKey.id) frame_dig -1 // poolKey: ValidatorPoolKey extract 0 8 @@ -2984,7 +2973,7 @@ stakeRemoved: dupn 3 // *if15_condition - // contracts/validatorRegistry.algo.ts:844 + // contracts/validatorRegistry.algo.ts:841 // globals.opcodeBudget < 300 global OpcodeBudget int 300 @@ -2992,7 +2981,7 @@ stakeRemoved: bz *if15_end // *if15_consequent - // contracts/validatorRegistry.algo.ts:845 + // contracts/validatorRegistry.algo.ts:842 // increaseOpcodeBudget() itxn_begin int appl @@ -3008,12 +2997,12 @@ stakeRemoved: itxn_submit *if15_end: - // contracts/validatorRegistry.algo.ts:847 + // contracts/validatorRegistry.algo.ts:844 // this.verifyPoolKeyCaller(poolKey) frame_dig -1 // poolKey: ValidatorPoolKey callsub verifyPoolKeyCaller - // contracts/validatorRegistry.algo.ts:851 + // contracts/validatorRegistry.algo.ts:848 // assert(amountRemoved > 0 || rewardRemoved > 0, 'should only be called if algo or reward was removed') frame_dig -3 // amountRemoved: uint64 int 0 @@ -3029,7 +3018,7 @@ stakeRemoved: // should only be called if algo or reward was removed assert - // contracts/validatorRegistry.algo.ts:854 + // contracts/validatorRegistry.algo.ts:851 // this.validatorList(poolKey.id).value.pools[poolKey.poolId - 1].totalAlgoStaked -= amountRemoved int 268 // headOffset frame_dig -1 // poolKey: ValidatorPoolKey @@ -3075,7 +3064,7 @@ stakeRemoved: cover 2 box_replace - // contracts/validatorRegistry.algo.ts:855 + // contracts/validatorRegistry.algo.ts:852 // this.validatorList(poolKey.id).value.state.totalAlgoStaked -= amountRemoved int 252 dup @@ -3101,7 +3090,7 @@ stakeRemoved: cover 2 box_replace - // contracts/validatorRegistry.algo.ts:856 + // contracts/validatorRegistry.algo.ts:853 // this.totalAlgoStaked.value -= amountRemoved byte 0x7374616b6564 // "staked" app_global_get @@ -3112,7 +3101,7 @@ stakeRemoved: app_global_put // *if16_condition - // contracts/validatorRegistry.algo.ts:858 + // contracts/validatorRegistry.algo.ts:855 // rewardRemoved > 0 frame_dig -4 // rewardRemoved: uint64 int 0 @@ -3120,7 +3109,7 @@ stakeRemoved: bz *if16_else // *if16_consequent - // contracts/validatorRegistry.algo.ts:859 + // contracts/validatorRegistry.algo.ts:856 // rewardTokenID = this.validatorList(poolKey.id).value.config.rewardTokenId int 153 int 8 @@ -3135,7 +3124,7 @@ stakeRemoved: btoi frame_bury 0 // rewardTokenID: uint64 - // contracts/validatorRegistry.algo.ts:860 + // contracts/validatorRegistry.algo.ts:857 // assert(rewardTokenID !== 0, "rewardRemoved can't be set if validator doesn't have reward token!") frame_dig 0 // rewardTokenID: uint64 int 0 @@ -3144,7 +3133,7 @@ stakeRemoved: // rewardRemoved can't be set if validator doesn't have reward token! assert - // contracts/validatorRegistry.algo.ts:861 + // contracts/validatorRegistry.algo.ts:858 // assert( // this.validatorList(poolKey.id).value.state.rewardTokenHeldBack >= rewardRemoved, // 'reward being removed must be covered by hold back amount', @@ -3166,7 +3155,7 @@ stakeRemoved: // reward being removed must be covered by hold back amount assert - // contracts/validatorRegistry.algo.ts:867 + // contracts/validatorRegistry.algo.ts:864 // this.validatorList(poolKey.id).value.state.rewardTokenHeldBack -= rewardRemoved int 260 dup @@ -3193,7 +3182,7 @@ stakeRemoved: box_replace // *if17_condition - // contracts/validatorRegistry.algo.ts:872 + // contracts/validatorRegistry.algo.ts:869 // poolKey.poolId !== 1 frame_dig -1 // poolKey: ValidatorPoolKey extract 8 8 @@ -3203,7 +3192,7 @@ stakeRemoved: bz *if17_end // *if17_consequent - // contracts/validatorRegistry.algo.ts:873 + // contracts/validatorRegistry.algo.ts:870 // sendMethodCall({ // applicationID: AppID.fromUint64(this.validatorList(poolKey.id).value.pools[0].poolAppId), // methodArgs: [staker, rewardTokenID, rewardRemoved], @@ -3214,7 +3203,7 @@ stakeRemoved: method "payTokenReward(address,uint64,uint64)void" itxn_field ApplicationArgs - // contracts/validatorRegistry.algo.ts:874 + // contracts/validatorRegistry.algo.ts:871 // applicationID: AppID.fromUint64(this.validatorList(poolKey.id).value.pools[0].poolAppId) int 268 int 8 @@ -3229,7 +3218,7 @@ stakeRemoved: btoi itxn_field ApplicationID - // contracts/validatorRegistry.algo.ts:875 + // contracts/validatorRegistry.algo.ts:872 // methodArgs: [staker, rewardTokenID, rewardRemoved] frame_dig -2 // staker: Address itxn_field ApplicationArgs @@ -3254,13 +3243,13 @@ stakeRemoved: *if16_end: // *if18_condition - // contracts/validatorRegistry.algo.ts:900 + // contracts/validatorRegistry.algo.ts:897 // stakerRemoved frame_dig -5 // stakerRemoved: boolean bz *if18_end // *if18_consequent - // contracts/validatorRegistry.algo.ts:902 + // contracts/validatorRegistry.algo.ts:899 // this.validatorList(poolKey.id).value.pools[poolKey.poolId - 1].totalStakers -= 1 int 268 // headOffset frame_dig -1 // poolKey: ValidatorPoolKey @@ -3307,7 +3296,7 @@ stakeRemoved: cover 2 box_replace - // contracts/validatorRegistry.algo.ts:904 + // contracts/validatorRegistry.algo.ts:901 // removeRet = this.removeFromStakerPoolSet(staker, { // id: poolKey.id, // poolId: poolKey.poolId, @@ -3331,7 +3320,7 @@ stakeRemoved: callsub removeFromStakerPoolSet frame_bury 1 // removeRet: (bool,bool) - // contracts/validatorRegistry.algo.ts:909 + // contracts/validatorRegistry.algo.ts:906 // stakerOutOfThisValidator = removeRet[0] frame_dig 1 // removeRet: (bool,bool) store 255 // full array @@ -3340,7 +3329,7 @@ stakeRemoved: getbit frame_bury 2 // stakerOutOfThisValidator: bool - // contracts/validatorRegistry.algo.ts:910 + // contracts/validatorRegistry.algo.ts:907 // stakerOutOfProtocol = removeRet[1] frame_dig 1 // removeRet: (bool,bool) store 255 // full array @@ -3350,13 +3339,13 @@ stakeRemoved: frame_bury 3 // stakerOutOfProtocol: bool // *if19_condition - // contracts/validatorRegistry.algo.ts:912 + // contracts/validatorRegistry.algo.ts:909 // stakerOutOfThisValidator frame_dig 2 // stakerOutOfThisValidator: bool bz *if19_end // *if19_consequent - // contracts/validatorRegistry.algo.ts:913 + // contracts/validatorRegistry.algo.ts:910 // this.validatorList(poolKey.id).value.state.totalStakers -= 1 int 244 dup @@ -3384,13 +3373,13 @@ stakeRemoved: *if19_end: // *if20_condition - // contracts/validatorRegistry.algo.ts:916 + // contracts/validatorRegistry.algo.ts:913 // stakerOutOfProtocol frame_dig 3 // stakerOutOfProtocol: bool bz *if20_end // *if20_consequent - // contracts/validatorRegistry.algo.ts:917 + // contracts/validatorRegistry.algo.ts:914 // this.numStakers.value -= 1 byte 0x6e756d5374616b657273 // "numStakers" app_global_get @@ -3453,24 +3442,24 @@ findPoolForStaker: byte 0x dupn 7 - // contracts/validatorRegistry.algo.ts:938 + // contracts/validatorRegistry.algo.ts:935 // isNewStakerToValidator = true int 1 frame_bury 0 // isNewStakerToValidator: bool - // contracts/validatorRegistry.algo.ts:939 + // contracts/validatorRegistry.algo.ts:936 // isNewStakerToProtocol = true int 1 frame_bury 1 // isNewStakerToProtocol: bool - // contracts/validatorRegistry.algo.ts:947 + // contracts/validatorRegistry.algo.ts:944 // maxPerPool = this.getCurMaxStakePerPool(validatorId) frame_dig -1 // validatorId: ValidatorIdType callsub getCurMaxStakePerPool frame_bury 2 // maxPerPool: uint64 // *if21_condition - // contracts/validatorRegistry.algo.ts:950 + // contracts/validatorRegistry.algo.ts:947 // this.stakerPoolSet(staker).exists byte 0x737073 // "sps" frame_dig -2 // staker: Address @@ -3481,7 +3470,7 @@ findPoolForStaker: bz *if21_end // *if21_consequent - // contracts/validatorRegistry.algo.ts:951 + // contracts/validatorRegistry.algo.ts:948 // poolSet = clone(this.stakerPoolSet(staker).value) byte 0x737073 // "sps" frame_dig -2 // staker: Address @@ -3492,20 +3481,20 @@ findPoolForStaker: assert frame_bury 3 // poolSet: (uint64,uint64,uint64)[6] - // contracts/validatorRegistry.algo.ts:952 + // contracts/validatorRegistry.algo.ts:949 // assert(validatorId !== 0) frame_dig -1 // validatorId: ValidatorIdType int 0 != assert - // contracts/validatorRegistry.algo.ts:953 + // contracts/validatorRegistry.algo.ts:950 // for (let i = 0; i < poolSet.length; i += 1) int 0 frame_bury 4 // i: uint64 *for_3: - // contracts/validatorRegistry.algo.ts:953 + // contracts/validatorRegistry.algo.ts:950 // i < poolSet.length frame_dig 4 // i: uint64 int 6 @@ -3513,7 +3502,7 @@ findPoolForStaker: bz *for_3_end // *if22_condition - // contracts/validatorRegistry.algo.ts:954 + // contracts/validatorRegistry.algo.ts:951 // globals.opcodeBudget < 300 global OpcodeBudget int 300 @@ -3521,7 +3510,7 @@ findPoolForStaker: bz *if22_end // *if22_consequent - // contracts/validatorRegistry.algo.ts:955 + // contracts/validatorRegistry.algo.ts:952 // increaseOpcodeBudget() itxn_begin int appl @@ -3538,7 +3527,7 @@ findPoolForStaker: *if22_end: // *if23_condition - // contracts/validatorRegistry.algo.ts:957 + // contracts/validatorRegistry.algo.ts:954 // poolSet[i].id === 0 frame_dig 3 // poolSet: (uint64,uint64,uint64)[6] frame_dig 4 // i: uint64 @@ -3557,13 +3546,13 @@ findPoolForStaker: b *for_3_continue *if23_end: - // contracts/validatorRegistry.algo.ts:960 + // contracts/validatorRegistry.algo.ts:957 // isNewStakerToProtocol = false int 0 frame_bury 1 // isNewStakerToProtocol: bool // *if24_condition - // contracts/validatorRegistry.algo.ts:961 + // contracts/validatorRegistry.algo.ts:958 // poolSet[i].id === validatorId frame_dig 3 // poolSet: (uint64,uint64,uint64)[6] frame_dig 4 // i: uint64 @@ -3579,13 +3568,13 @@ findPoolForStaker: bz *if24_end // *if24_consequent - // contracts/validatorRegistry.algo.ts:963 + // contracts/validatorRegistry.algo.ts:960 // isNewStakerToValidator = false int 0 frame_bury 0 // isNewStakerToValidator: bool // *if25_condition - // contracts/validatorRegistry.algo.ts:965 + // contracts/validatorRegistry.algo.ts:962 // this.validatorList(validatorId).value.pools[poolSet[i].poolId - 1].totalAlgoStaked + // amountToStake <= // maxPerPool @@ -3621,7 +3610,7 @@ findPoolForStaker: bz *if25_end // *if25_consequent - // contracts/validatorRegistry.algo.ts:969 + // contracts/validatorRegistry.algo.ts:966 // return [poolSet[i], isNewStakerToValidator, isNewStakerToProtocol] frame_dig 3 // poolSet: (uint64,uint64,uint64)[6] frame_dig 4 // i: uint64 @@ -3644,7 +3633,7 @@ findPoolForStaker: *if24_end: *for_3_continue: - // contracts/validatorRegistry.algo.ts:953 + // contracts/validatorRegistry.algo.ts:950 // i += 1 frame_dig 4 // i: uint64 int 1 @@ -3655,7 +3644,7 @@ findPoolForStaker: *for_3_end: *if21_end: - // contracts/validatorRegistry.algo.ts:976 + // contracts/validatorRegistry.algo.ts:973 // assert( // amountToStake >= this.validatorList(validatorId).value.config.minEntryStake, // 'must stake at least the minimum for this pool', @@ -3675,7 +3664,7 @@ findPoolForStaker: // must stake at least the minimum for this pool assert - // contracts/validatorRegistry.algo.ts:982 + // contracts/validatorRegistry.algo.ts:979 // pools = clone(this.validatorList(validatorId).value.pools) int 268 // headOffset int 432 @@ -3687,7 +3676,7 @@ findPoolForStaker: box_extract frame_bury 5 // pools: (uint64,uint16,uint64)[24] - // contracts/validatorRegistry.algo.ts:983 + // contracts/validatorRegistry.algo.ts:980 // curNumPools = this.validatorList(validatorId).value.state.numPools as uint64 int 242 int 2 @@ -3700,13 +3689,13 @@ findPoolForStaker: btoi frame_bury 6 // curNumPools: uint64 - // contracts/validatorRegistry.algo.ts:984 + // contracts/validatorRegistry.algo.ts:981 // for (let i = 0; i < curNumPools; i += 1) int 0 frame_bury 7 // i: uint64 *for_4: - // contracts/validatorRegistry.algo.ts:984 + // contracts/validatorRegistry.algo.ts:981 // i < curNumPools frame_dig 7 // i: uint64 frame_dig 6 // curNumPools: uint64 @@ -3714,7 +3703,7 @@ findPoolForStaker: bz *for_4_end // *if26_condition - // contracts/validatorRegistry.algo.ts:985 + // contracts/validatorRegistry.algo.ts:982 // pools[i].totalAlgoStaked + amountToStake <= maxPerPool frame_dig 5 // pools: (uint64,uint16,uint64)[24] frame_dig 7 // i: uint64 @@ -3732,7 +3721,7 @@ findPoolForStaker: bz *if26_end // *if26_consequent - // contracts/validatorRegistry.algo.ts:986 + // contracts/validatorRegistry.algo.ts:983 // return [ // { id: validatorId, poolId: i + 1, poolAppId: pools[i].poolAppId }, // isNewStakerToValidator, @@ -3769,7 +3758,7 @@ findPoolForStaker: *if26_end: *for_4_continue: - // contracts/validatorRegistry.algo.ts:984 + // contracts/validatorRegistry.algo.ts:981 // i += 1 frame_dig 7 // i: uint64 int 1 @@ -3778,7 +3767,7 @@ findPoolForStaker: b *for_4 *for_4_end: - // contracts/validatorRegistry.algo.ts:994 + // contracts/validatorRegistry.algo.ts:991 // return [{ id: validatorId, poolId: 0, poolAppId: 0 }, isNewStakerToValidator, isNewStakerToProtocol] frame_dig -1 // validatorId: ValidatorIdType itob @@ -3829,7 +3818,10 @@ findPoolForStaker: // new key goes online on new node soon after (320 rounds after it goes online) // No-op if success, asserts if not found or can't move (no space in target) // [ ONLY OWNER OR MANAGER CAN CHANGE ] -// Only callable by owner or manager +// +// @param {ValidatorIdType} validatorId - The id of the validator. +// @param {uint64} poolAppId +// @param {uint64} nodeNum movePoolToNode: proto 3 0 @@ -4040,6 +4032,193 @@ movePoolToNode: err retsub +// emptyTokenRewards(uint64,address)uint64 +*abi_route_emptyTokenRewards: + // The ABI return prefix + byte 0x151f7c75 + + // receiver: address + txna ApplicationArgs 2 + dup + len + int 32 + == + + // argument 0 (receiver) for emptyTokenRewards must be a address + assert + + // validatorId: uint64 + txna ApplicationArgs 1 + btoi + + // execute emptyTokenRewards(uint64,address)uint64 + callsub emptyTokenRewards + itob + concat + log + int 1 + return + +// emptyTokenRewards(validatorId: ValidatorIdType, receiver: Address): uint64 +// +// Sends the reward tokens held in pool 1 to specified receiver. +// This is intended to be used by the owner when they want to get reward tokens 'back' which they sent to +// the first pool (likely because validator is sunsetting. Any tokens currently 'reserved' for stakers to claim will +// NOT be sent as they must be held back for stakers to later claim. +// [ ONLY OWNER CAN CALL] +// +// @param {ValidatorIdType} validatorId - The id of the validator. +// @param {Address} receiver - the account to send the tokens to (must already be opted-in to the reward token) +// @returns {uint64} the amount of reward token sent +emptyTokenRewards: + proto 2 1 + + // Push empty bytes after the frame pointer to reserve space for local variables + byte 0x + dupn 3 + + // contracts/validatorRegistry.algo.ts:1049 + // assert( + // this.txn.sender === this.validatorList(validatorId).value.config.owner, + // 'can only be called by validator owner', + // ) + txn Sender + int 8 + int 32 + byte 0x76 // "v" + frame_dig -1 // validatorId: ValidatorIdType + itob + concat + cover 2 + box_extract + == + + // can only be called by validator owner + assert + + // contracts/validatorRegistry.algo.ts:1053 + // rewardTokenId = this.validatorList(validatorId).value.config.rewardTokenId + int 153 + int 8 + byte 0x76 // "v" + frame_dig -1 // validatorId: ValidatorIdType + itob + concat + cover 2 + box_extract + btoi + frame_bury 0 // rewardTokenId: uint64 + + // contracts/validatorRegistry.algo.ts:1054 + // rewardTokenHeldBack = this.validatorList(validatorId).value.state.rewardTokenHeldBack + int 260 + int 8 + byte 0x76 // "v" + frame_dig -1 // validatorId: ValidatorIdType + itob + concat + cover 2 + box_extract + btoi + frame_bury 1 // rewardTokenHeldBack: uint64 + + // contracts/validatorRegistry.algo.ts:1055 + // assert(rewardTokenId !== 0, "this validator doesn't have a reward token defined") + frame_dig 0 // rewardTokenId: uint64 + int 0 + != + + // this validator doesn't have a reward token defined + assert + + // contracts/validatorRegistry.algo.ts:1056 + // poolOneAppId = AppID.fromUint64(this.validatorList(validatorId).value.pools[0].poolAppId) + int 268 + int 8 + byte 0x76 // "v" + frame_dig -1 // validatorId: ValidatorIdType + itob + concat + cover 2 + box_extract + btoi + frame_bury 2 // poolOneAppId: uint64 + + // contracts/validatorRegistry.algo.ts:1058 + // tokenRewardBal = + // poolOneAppId.address.assetBalance(AssetID.fromUint64(rewardTokenId)) - rewardTokenHeldBack + frame_dig 2 // poolOneAppId: uint64 + app_params_get AppAddress + pop + frame_dig 0 // rewardTokenId: uint64 + asset_holding_get AssetBalance + pop + frame_dig 1 // rewardTokenHeldBack: uint64 + - + frame_bury 3 // tokenRewardBal: uint64 + + // contracts/validatorRegistry.algo.ts:1062 + // sendMethodCall({ + // applicationID: poolOneAppId, + // methodArgs: [receiver, rewardTokenId, tokenRewardBal], + // }) + itxn_begin + int appl + itxn_field TypeEnum + method "payTokenReward(address,uint64,uint64)void" + itxn_field ApplicationArgs + + // contracts/validatorRegistry.algo.ts:1063 + // applicationID: poolOneAppId + frame_dig 2 // poolOneAppId: uint64 + itxn_field ApplicationID + + // contracts/validatorRegistry.algo.ts:1064 + // methodArgs: [receiver, rewardTokenId, tokenRewardBal] + frame_dig -2 // receiver: Address + itxn_field ApplicationArgs + frame_dig 0 // rewardTokenId: uint64 + itob + itxn_field ApplicationArgs + frame_dig 3 // tokenRewardBal: uint64 + itob + itxn_field ApplicationArgs + + // Fee field not set, defaulting to 0 + int 0 + itxn_field Fee + + // Submit inner transaction + itxn_submit + + // contracts/validatorRegistry.algo.ts:1066 + // assert( + // poolOneAppId.address.assetBalance(AssetID.fromUint64(rewardTokenId)) === rewardTokenHeldBack, + // 'balance of remaining reward tokens should match the held back amount', + // ) + frame_dig 2 // poolOneAppId: uint64 + app_params_get AppAddress + pop + frame_dig 0 // rewardTokenId: uint64 + asset_holding_get AssetBalance + pop + frame_dig 1 // rewardTokenHeldBack: uint64 + == + + // balance of remaining reward tokens should match the held back amount + assert + + // contracts/validatorRegistry.algo.ts:1070 + // return tokenRewardBal + frame_dig 3 // tokenRewardBal: uint64 + + // set the subroutine return value + frame_bury 0 + + // pop all local variables from the stack + popn 3 + retsub + // verifyPoolKeyCaller(poolKey: ValidatorPoolKey): void // // Logs the addition of a new validator to the system, its initial owner and manager @@ -4051,7 +4230,7 @@ movePoolToNode: verifyPoolKeyCaller: proto 1 0 - // contracts/validatorRegistry.algo.ts:1132 + // contracts/validatorRegistry.algo.ts:1168 // assert(this.validatorList(poolKey.id).exists, "the specified validator id isn't valid") byte 0x76 // "v" frame_dig -1 // poolKey: ValidatorPoolKey @@ -4066,7 +4245,7 @@ verifyPoolKeyCaller: // the specified validator id isn't valid assert - // contracts/validatorRegistry.algo.ts:1133 + // contracts/validatorRegistry.algo.ts:1169 // assert(poolKey.poolId <= MAX_POOLS, 'pool id not in valid range') frame_dig -1 // poolKey: ValidatorPoolKey extract 8 8 @@ -4077,7 +4256,7 @@ verifyPoolKeyCaller: // pool id not in valid range assert - // contracts/validatorRegistry.algo.ts:1134 + // contracts/validatorRegistry.algo.ts:1170 // assert( // poolKey.poolId > 0 && (poolKey.poolId as uint16) <= this.validatorList(poolKey.id).value.state.numPools, // 'pool id outside of range of pools created for this validator', @@ -4110,7 +4289,7 @@ verifyPoolKeyCaller: // pool id outside of range of pools created for this validator assert - // contracts/validatorRegistry.algo.ts:1140 + // contracts/validatorRegistry.algo.ts:1176 // assert( // poolKey.poolAppId === this.validatorList(poolKey.id).value.pools[poolKey.poolId - 1].poolAppId, // "The passed in app id doesn't match the passed in ids", @@ -4144,7 +4323,7 @@ verifyPoolKeyCaller: // The passed in app id doesn't match the passed in ids assert - // contracts/validatorRegistry.algo.ts:1145 + // contracts/validatorRegistry.algo.ts:1181 // assert(this.txn.sender === AppID.fromUint64(poolKey.poolAppId).address) txn Sender frame_dig -1 // poolKey: ValidatorPoolKey @@ -4155,7 +4334,7 @@ verifyPoolKeyCaller: == assert - // contracts/validatorRegistry.algo.ts:1147 + // contracts/validatorRegistry.algo.ts:1183 // assert(poolKey.id === (AppID.fromUint64(poolKey.poolAppId).globalState('validatorId') as uint64)) frame_dig -1 // poolKey: ValidatorPoolKey extract 0 8 @@ -4171,7 +4350,7 @@ verifyPoolKeyCaller: == assert - // contracts/validatorRegistry.algo.ts:1148 + // contracts/validatorRegistry.algo.ts:1184 // assert(poolKey.poolId === (AppID.fromUint64(poolKey.poolAppId).globalState('poolId') as uint64)) frame_dig -1 // poolKey: ValidatorPoolKey extract 8 8 @@ -4201,7 +4380,7 @@ reverifyNFDOwnership: byte 0x dup - // contracts/validatorRegistry.algo.ts:1158 + // contracts/validatorRegistry.algo.ts:1194 // validatorConfig = this.validatorList(validatorId).value.config byte 0x76 // "v" frame_dig -1 // validatorId: ValidatorIdType @@ -4210,7 +4389,7 @@ reverifyNFDOwnership: frame_bury 0 // storage key//validatorConfig // *if28_condition - // contracts/validatorRegistry.algo.ts:1159 + // contracts/validatorRegistry.algo.ts:1195 // validatorConfig.nfdForInfo !== 0 int 72 int 8 @@ -4226,7 +4405,7 @@ reverifyNFDOwnership: bz *if28_end // *if28_consequent - // contracts/validatorRegistry.algo.ts:1162 + // contracts/validatorRegistry.algo.ts:1198 // nfdOwner = AppID.fromUint64(validatorConfig.nfdForInfo).globalState('i.owner.a') as Address int 72 int 8 @@ -4245,7 +4424,7 @@ reverifyNFDOwnership: frame_bury 1 // nfdOwner: address // *if29_condition - // contracts/validatorRegistry.algo.ts:1164 + // contracts/validatorRegistry.algo.ts:1200 // validatorConfig.owner !== nfdOwner && validatorConfig.manager !== nfdOwner int 8 int 32 @@ -4275,7 +4454,7 @@ reverifyNFDOwnership: bz *if29_end // *if29_consequent - // contracts/validatorRegistry.algo.ts:1166 + // contracts/validatorRegistry.algo.ts:1202 // this.validatorList(validatorId).value.config.nfdForInfo = 0 int 72 byte 0x0000000000000000 @@ -4295,7 +4474,7 @@ reverifyNFDOwnership: validateConfig: proto 1 0 - // contracts/validatorRegistry.algo.ts:1173 + // contracts/validatorRegistry.algo.ts:1209 // assert( // config.entryGatingType >= GATING_TYPE_NONE && config.entryGatingType <= GATING_TYPE_CONST_MAX, // 'gating type not valid', @@ -4318,7 +4497,7 @@ validateConfig: // gating type not valid assert - // contracts/validatorRegistry.algo.ts:1177 + // contracts/validatorRegistry.algo.ts:1213 // assert( // config.epochRoundLength >= MIN_EPOCH_LENGTH && config.epochRoundLength <= MAX_EPOCH_LENGTH, // 'epoch length not in allowable range', @@ -4341,7 +4520,7 @@ validateConfig: // epoch length not in allowable range assert - // contracts/validatorRegistry.algo.ts:1181 + // contracts/validatorRegistry.algo.ts:1217 // assert( // config.percentToValidator >= MIN_PCT_TO_VALIDATOR && config.percentToValidator <= MAX_PCT_TO_VALIDATOR, // 'commission percentage not valid', @@ -4365,7 +4544,7 @@ validateConfig: assert // *if30_condition - // contracts/validatorRegistry.algo.ts:1185 + // contracts/validatorRegistry.algo.ts:1221 // config.percentToValidator !== 0 frame_dig -1 // config: ValidatorConfig extract 173 4 @@ -4375,7 +4554,7 @@ validateConfig: bz *if30_end // *if30_consequent - // contracts/validatorRegistry.algo.ts:1186 + // contracts/validatorRegistry.algo.ts:1222 // assert( // config.validatorCommissionAddress !== Address.zeroAddress, // 'validatorCommissionAddress must be set if percent to validator is not 0', @@ -4389,7 +4568,7 @@ validateConfig: assert *if30_end: - // contracts/validatorRegistry.algo.ts:1191 + // contracts/validatorRegistry.algo.ts:1227 // assert(config.minEntryStake >= MIN_ALGO_STAKE_PER_POOL, 'staking pool must have minimum entry of 1 algo') frame_dig -1 // config: ValidatorConfig extract 209 8 @@ -4400,7 +4579,7 @@ validateConfig: // staking pool must have minimum entry of 1 algo assert - // contracts/validatorRegistry.algo.ts:1193 + // contracts/validatorRegistry.algo.ts:1229 // assert( // config.poolsPerNode > 0 && config.poolsPerNode <= MAX_POOLS_PER_NODE, // 'number of pools per node exceeds allowed number', @@ -4424,7 +4603,7 @@ validateConfig: assert // *if31_condition - // contracts/validatorRegistry.algo.ts:1197 + // contracts/validatorRegistry.algo.ts:1233 // config.sunsettingOn !== 0 frame_dig -1 // config: ValidatorConfig extract 226 8 @@ -4434,7 +4613,7 @@ validateConfig: bz *if31_end // *if31_consequent - // contracts/validatorRegistry.algo.ts:1198 + // contracts/validatorRegistry.algo.ts:1234 // assert(config.sunsettingOn > globals.latestTimestamp, 'sunsettingOn must be later than now if set') frame_dig -1 // config: ValidatorConfig extract 226 8 @@ -4466,7 +4645,7 @@ callPoolAddStake: byte 0x dupn 2 - // contracts/validatorRegistry.algo.ts:1220 + // contracts/validatorRegistry.algo.ts:1256 // poolAppId = this.validatorList(poolKey.id).value.pools[poolKey.poolId - 1].poolAppId int 268 // headOffset frame_dig -2 // poolKey: ValidatorPoolKey @@ -4491,7 +4670,7 @@ callPoolAddStake: btoi frame_bury 0 // poolAppId: uint64 - // contracts/validatorRegistry.algo.ts:1224 + // contracts/validatorRegistry.algo.ts:1260 // sendMethodCall({ // applicationID: AppID.fromUint64(poolAppId), // methodArgs: [ @@ -4506,7 +4685,7 @@ callPoolAddStake: int pay itxn_field TypeEnum - // contracts/validatorRegistry.algo.ts:1229 + // contracts/validatorRegistry.algo.ts:1265 // amount: stakedAmountPayment.amount - mbrAmtPaid frame_dig -1 // stakedAmountPayment: PayTxn gtxns Amount @@ -4514,7 +4693,7 @@ callPoolAddStake: - itxn_field Amount - // contracts/validatorRegistry.algo.ts:1229 + // contracts/validatorRegistry.algo.ts:1265 // receiver: AppID.fromUint64(poolAppId).address frame_dig 0 // poolAppId: uint64 app_params_get AppAddress @@ -4530,12 +4709,12 @@ callPoolAddStake: method "addStake(pay,address)uint64" itxn_field ApplicationArgs - // contracts/validatorRegistry.algo.ts:1225 + // contracts/validatorRegistry.algo.ts:1261 // applicationID: AppID.fromUint64(poolAppId) frame_dig 0 // poolAppId: uint64 itxn_field ApplicationID - // contracts/validatorRegistry.algo.ts:1226 + // contracts/validatorRegistry.algo.ts:1262 // methodArgs: [ // // ======= // // THIS IS A SEND of the amount received right back out and into the staking pool contract account. @@ -4561,7 +4740,7 @@ callPoolAddStake: btoi // *if32_condition - // contracts/validatorRegistry.algo.ts:1234 + // contracts/validatorRegistry.algo.ts:1270 // globals.opcodeBudget < 500 global OpcodeBudget int 500 @@ -4569,7 +4748,7 @@ callPoolAddStake: bz *if32_end // *if32_consequent - // contracts/validatorRegistry.algo.ts:1235 + // contracts/validatorRegistry.algo.ts:1271 // increaseOpcodeBudget() itxn_begin int appl @@ -4585,7 +4764,7 @@ callPoolAddStake: itxn_submit *if32_end: - // contracts/validatorRegistry.algo.ts:1239 + // contracts/validatorRegistry.algo.ts:1275 // poolNumStakers = AppID.fromUint64(poolAppId).globalState('numStakers') as uint64 frame_dig 0 // poolAppId: uint64 byte 0x6e756d5374616b657273 // "numStakers" @@ -4595,7 +4774,7 @@ callPoolAddStake: assert frame_bury 1 // poolNumStakers: uint64 - // contracts/validatorRegistry.algo.ts:1240 + // contracts/validatorRegistry.algo.ts:1276 // poolAlgoStaked = AppID.fromUint64(poolAppId).globalState('staked') as uint64 frame_dig 0 // poolAppId: uint64 byte 0x7374616b6564 // "staked" @@ -4605,7 +4784,7 @@ callPoolAddStake: assert frame_bury 2 // poolAlgoStaked: uint64 - // contracts/validatorRegistry.algo.ts:1241 + // contracts/validatorRegistry.algo.ts:1277 // this.validatorList(poolKey.id).value.pools[poolKey.poolId - 1].totalStakers = poolNumStakers as uint16 int 268 // headOffset frame_dig -2 // poolKey: ValidatorPoolKey @@ -4630,7 +4809,7 @@ callPoolAddStake: cover 2 box_replace - // contracts/validatorRegistry.algo.ts:1242 + // contracts/validatorRegistry.algo.ts:1278 // this.validatorList(poolKey.id).value.pools[poolKey.poolId - 1].totalAlgoStaked = poolAlgoStaked int 268 // headOffset frame_dig -2 // poolKey: ValidatorPoolKey @@ -4655,13 +4834,13 @@ callPoolAddStake: box_replace // *if33_condition - // contracts/validatorRegistry.algo.ts:1245 + // contracts/validatorRegistry.algo.ts:1281 // isNewStakerToValidator frame_dig -4 // isNewStakerToValidator: boolean bz *if33_end // *if33_consequent - // contracts/validatorRegistry.algo.ts:1246 + // contracts/validatorRegistry.algo.ts:1282 // this.validatorList(poolKey.id).value.state.totalStakers += 1 int 244 dup @@ -4689,13 +4868,13 @@ callPoolAddStake: *if33_end: // *if34_condition - // contracts/validatorRegistry.algo.ts:1248 + // contracts/validatorRegistry.algo.ts:1284 // isNewStakerToProtocol frame_dig -5 // isNewStakerToProtocol: boolean bz *if34_end // *if34_consequent - // contracts/validatorRegistry.algo.ts:1249 + // contracts/validatorRegistry.algo.ts:1285 // this.numStakers.value += 1 byte 0x6e756d5374616b657273 // "numStakers" app_global_get @@ -4706,7 +4885,7 @@ callPoolAddStake: app_global_put *if34_end: - // contracts/validatorRegistry.algo.ts:1251 + // contracts/validatorRegistry.algo.ts:1287 // this.validatorList(poolKey.id).value.state.totalAlgoStaked += stakedAmountPayment.amount - mbrAmtPaid int 252 dup @@ -4735,7 +4914,7 @@ callPoolAddStake: cover 2 box_replace - // contracts/validatorRegistry.algo.ts:1252 + // contracts/validatorRegistry.algo.ts:1288 // this.totalAlgoStaked.value += stakedAmountPayment.amount - mbrAmtPaid byte 0x7374616b6564 // "staked" app_global_get @@ -4757,7 +4936,7 @@ updateStakerPoolSet: byte 0x dupn 2 - // contracts/validatorRegistry.algo.ts:1256 + // contracts/validatorRegistry.algo.ts:1292 // assert(this.stakerPoolSet(staker).exists) byte 0x737073 // "sps" frame_dig -1 // staker: Address @@ -4767,7 +4946,7 @@ updateStakerPoolSet: pop assert - // contracts/validatorRegistry.algo.ts:1258 + // contracts/validatorRegistry.algo.ts:1294 // poolSet = clone(this.stakerPoolSet(staker).value) byte 0x737073 // "sps" frame_dig -1 // staker: Address @@ -4778,18 +4957,18 @@ updateStakerPoolSet: assert frame_bury 0 // poolSet: (uint64,uint64,uint64)[6] - // contracts/validatorRegistry.algo.ts:1259 + // contracts/validatorRegistry.algo.ts:1295 // firstEmpty = 0 int 0 frame_bury 1 // firstEmpty: uint64 - // contracts/validatorRegistry.algo.ts:1260 + // contracts/validatorRegistry.algo.ts:1296 // for (let i = 0; i < this.stakerPoolSet(staker).value.length; i += 1) int 0 frame_bury 2 // i: uint64 *for_7: - // contracts/validatorRegistry.algo.ts:1260 + // contracts/validatorRegistry.algo.ts:1296 // i < this.stakerPoolSet(staker).value.length frame_dig 2 // i: uint64 int 6 @@ -4797,7 +4976,7 @@ updateStakerPoolSet: bz *for_7_end // *if35_condition - // contracts/validatorRegistry.algo.ts:1261 + // contracts/validatorRegistry.algo.ts:1297 // poolSet[i] === poolKey frame_dig 0 // poolSet: (uint64,uint64,uint64)[6] frame_dig 2 // i: uint64 @@ -4810,13 +4989,13 @@ updateStakerPoolSet: bz *if35_end // *if35_consequent - // contracts/validatorRegistry.algo.ts:1263 + // contracts/validatorRegistry.algo.ts:1299 // return retsub *if35_end: // *if36_condition - // contracts/validatorRegistry.algo.ts:1265 + // contracts/validatorRegistry.algo.ts:1301 // firstEmpty === 0 && poolSet[i].id === 0 frame_dig 1 // firstEmpty: uint64 int 0 @@ -4840,7 +5019,7 @@ updateStakerPoolSet: bz *if36_end // *if36_consequent - // contracts/validatorRegistry.algo.ts:1266 + // contracts/validatorRegistry.algo.ts:1302 // firstEmpty = i + 1 frame_dig 2 // i: uint64 int 1 @@ -4850,7 +5029,7 @@ updateStakerPoolSet: *if36_end: *for_7_continue: - // contracts/validatorRegistry.algo.ts:1260 + // contracts/validatorRegistry.algo.ts:1296 // i += 1 frame_dig 2 // i: uint64 int 1 @@ -4860,7 +5039,7 @@ updateStakerPoolSet: *for_7_end: // *if37_condition - // contracts/validatorRegistry.algo.ts:1269 + // contracts/validatorRegistry.algo.ts:1305 // firstEmpty === 0 frame_dig 1 // firstEmpty: uint64 int 0 @@ -4872,7 +5051,7 @@ updateStakerPoolSet: err *if37_end: - // contracts/validatorRegistry.algo.ts:1272 + // contracts/validatorRegistry.algo.ts:1308 // this.stakerPoolSet(staker).value[firstEmpty - 1] = poolKey frame_dig 1 // firstEmpty: uint64 int 1 @@ -4902,22 +5081,22 @@ removeFromStakerPoolSet: byte 0x dupn 4 - // contracts/validatorRegistry.algo.ts:1285 + // contracts/validatorRegistry.algo.ts:1321 // inSameValidatorPoolCount = 0 int 0 frame_bury 0 // inSameValidatorPoolCount: uint64 - // contracts/validatorRegistry.algo.ts:1286 + // contracts/validatorRegistry.algo.ts:1322 // inAnyPoolCount = 0 int 0 frame_bury 1 // inAnyPoolCount: uint64 - // contracts/validatorRegistry.algo.ts:1287 + // contracts/validatorRegistry.algo.ts:1323 // found = false int 0 frame_bury 2 // found: bool - // contracts/validatorRegistry.algo.ts:1289 + // contracts/validatorRegistry.algo.ts:1325 // poolSet = clone(this.stakerPoolSet(staker).value) byte 0x737073 // "sps" frame_dig -1 // staker: Address @@ -4928,13 +5107,13 @@ removeFromStakerPoolSet: assert frame_bury 3 // poolSet: (uint64,uint64,uint64)[6] - // contracts/validatorRegistry.algo.ts:1290 + // contracts/validatorRegistry.algo.ts:1326 // for (let i = 0; i < this.stakerPoolSet(staker).value.length; i += 1) int 0 frame_bury 4 // i: uint64 *for_8: - // contracts/validatorRegistry.algo.ts:1290 + // contracts/validatorRegistry.algo.ts:1326 // i < this.stakerPoolSet(staker).value.length frame_dig 4 // i: uint64 int 6 @@ -4942,7 +5121,7 @@ removeFromStakerPoolSet: bz *for_8_end // *if38_condition - // contracts/validatorRegistry.algo.ts:1291 + // contracts/validatorRegistry.algo.ts:1327 // poolSet[i].id === 0 frame_dig 3 // poolSet: (uint64,uint64,uint64)[6] frame_dig 4 // i: uint64 @@ -4961,7 +5140,7 @@ removeFromStakerPoolSet: b *for_8_continue *if38_end: - // contracts/validatorRegistry.algo.ts:1294 + // contracts/validatorRegistry.algo.ts:1330 // inAnyPoolCount += 1 frame_dig 1 // inAnyPoolCount: uint64 int 1 @@ -4969,7 +5148,7 @@ removeFromStakerPoolSet: frame_bury 1 // inAnyPoolCount: uint64 // *if39_condition - // contracts/validatorRegistry.algo.ts:1295 + // contracts/validatorRegistry.algo.ts:1331 // poolSet[i].id === poolKey.id frame_dig 3 // poolSet: (uint64,uint64,uint64)[6] frame_dig 4 // i: uint64 @@ -4988,7 +5167,7 @@ removeFromStakerPoolSet: // *if39_consequent // *if40_condition - // contracts/validatorRegistry.algo.ts:1296 + // contracts/validatorRegistry.algo.ts:1332 // poolSet[i] === poolKey frame_dig 3 // poolSet: (uint64,uint64,uint64)[6] frame_dig 4 // i: uint64 @@ -5001,12 +5180,12 @@ removeFromStakerPoolSet: bz *if40_else // *if40_consequent - // contracts/validatorRegistry.algo.ts:1297 + // contracts/validatorRegistry.algo.ts:1333 // found = true int 1 frame_bury 2 // found: bool - // contracts/validatorRegistry.algo.ts:1299 + // contracts/validatorRegistry.algo.ts:1335 // this.stakerPoolSet(staker).value[i] = { id: 0, poolId: 0, poolAppId: 0 } frame_dig 4 // i: uint64 int 24 @@ -5020,7 +5199,7 @@ removeFromStakerPoolSet: b *if40_end *if40_else: - // contracts/validatorRegistry.algo.ts:1301 + // contracts/validatorRegistry.algo.ts:1337 // inSameValidatorPoolCount += 1 frame_dig 0 // inSameValidatorPoolCount: uint64 int 1 @@ -5032,7 +5211,7 @@ removeFromStakerPoolSet: *if39_end: *for_8_continue: - // contracts/validatorRegistry.algo.ts:1290 + // contracts/validatorRegistry.algo.ts:1326 // i += 1 frame_dig 4 // i: uint64 int 1 @@ -5042,7 +5221,7 @@ removeFromStakerPoolSet: *for_8_end: // *if41_condition - // contracts/validatorRegistry.algo.ts:1305 + // contracts/validatorRegistry.algo.ts:1341 // !found frame_dig 2 // found: bool ! @@ -5053,7 +5232,7 @@ removeFromStakerPoolSet: err *if41_end: - // contracts/validatorRegistry.algo.ts:1309 + // contracts/validatorRegistry.algo.ts:1345 // return [inSameValidatorPoolCount === 0, inAnyPoolCount === 0] byte 0x00 int 0 @@ -5082,7 +5261,7 @@ addPoolToNode: byte 0x dupn 2 - // contracts/validatorRegistry.algo.ts:1313 + // contracts/validatorRegistry.algo.ts:1349 // nodePoolAssignments = clone(this.validatorList(validatorId).value.nodePoolAssignments) int 900 // headOffset int 192 @@ -5094,7 +5273,7 @@ addPoolToNode: box_extract frame_bury 0 // nodePoolAssignments: ((uint64[3])[8]) - // contracts/validatorRegistry.algo.ts:1314 + // contracts/validatorRegistry.algo.ts:1350 // maxPoolsPerNodeForThisValidator = this.validatorList(validatorId).value.config.poolsPerNode as uint64 int 225 int 1 @@ -5107,7 +5286,7 @@ addPoolToNode: btoi frame_bury 1 // maxPoolsPerNodeForThisValidator: uint64 - // contracts/validatorRegistry.algo.ts:1316 + // contracts/validatorRegistry.algo.ts:1352 // assert(nodeNum >= 1 && nodeNum <= MAX_NODES, 'node number not in valid range') frame_dig -3 // nodeNum: uint64 int 1 @@ -5123,13 +5302,13 @@ addPoolToNode: // node number not in valid range assert - // contracts/validatorRegistry.algo.ts:1318 + // contracts/validatorRegistry.algo.ts:1354 // for (let i = 0; i < maxPoolsPerNodeForThisValidator; i += 1) int 0 frame_bury 2 // i: uint64 *for_9: - // contracts/validatorRegistry.algo.ts:1318 + // contracts/validatorRegistry.algo.ts:1354 // i < maxPoolsPerNodeForThisValidator frame_dig 2 // i: uint64 frame_dig 1 // maxPoolsPerNodeForThisValidator: uint64 @@ -5137,7 +5316,7 @@ addPoolToNode: bz *for_9_end // *if42_condition - // contracts/validatorRegistry.algo.ts:1319 + // contracts/validatorRegistry.algo.ts:1355 // nodePoolAssignments.nodes[nodeNum - 1].poolAppIds[i] === 0 frame_dig 0 // nodePoolAssignments: ((uint64[3])[8]) int 0 @@ -5161,7 +5340,7 @@ addPoolToNode: bz *if42_end // *if42_consequent - // contracts/validatorRegistry.algo.ts:1321 + // contracts/validatorRegistry.algo.ts:1357 // this.validatorList(validatorId).value.nodePoolAssignments.nodes[nodeNum - 1].poolAppIds[i] = poolAppId int 900 frame_dig -3 // nodeNum: uint64 @@ -5185,14 +5364,14 @@ addPoolToNode: cover 2 box_replace - // contracts/validatorRegistry.algo.ts:1322 + // contracts/validatorRegistry.algo.ts:1358 // return retsub *if42_end: *for_9_continue: - // contracts/validatorRegistry.algo.ts:1318 + // contracts/validatorRegistry.algo.ts:1354 // i += 1 frame_dig 2 // i: uint64 int 1 @@ -5219,7 +5398,7 @@ doesStakerMeetGating: byte 0x dupn 8 - // contracts/validatorRegistry.algo.ts:1336 + // contracts/validatorRegistry.algo.ts:1372 // type = this.validatorList(validatorId).value.config.entryGatingType int 80 int 1 @@ -5233,7 +5412,7 @@ doesStakerMeetGating: frame_bury 0 // type: uint8 // *if43_condition - // contracts/validatorRegistry.algo.ts:1337 + // contracts/validatorRegistry.algo.ts:1373 // type === GATING_TYPE_NONE frame_dig 0 // type: uint8 int 0 @@ -5241,17 +5420,17 @@ doesStakerMeetGating: bz *if43_end // *if43_consequent - // contracts/validatorRegistry.algo.ts:1338 + // contracts/validatorRegistry.algo.ts:1374 // return retsub *if43_end: - // contracts/validatorRegistry.algo.ts:1340 + // contracts/validatorRegistry.algo.ts:1376 // staker = this.txn.sender txn Sender frame_bury 1 // staker: address - // contracts/validatorRegistry.algo.ts:1341 + // contracts/validatorRegistry.algo.ts:1377 // config = clone(this.validatorList(validatorId).value.config) int 0 int 242 @@ -5264,7 +5443,7 @@ doesStakerMeetGating: frame_bury 2 // config: (uint64,address,address,uint64,uint8,address,uint64[4],uint64,uint64,uint64,uint32,uint32,address,uint64,uint64,uint8,uint64,uint64) // *if44_condition - // contracts/validatorRegistry.algo.ts:1345 + // contracts/validatorRegistry.algo.ts:1381 // type === GATING_TYPE_ASSETS_CREATED_BY || // type === GATING_TYPE_ASSET_ID || // type === GATING_TYPE_CREATED_BY_NFD_ADDRESSES @@ -5290,14 +5469,14 @@ doesStakerMeetGating: bz *if44_end // *if44_consequent - // contracts/validatorRegistry.algo.ts:1349 + // contracts/validatorRegistry.algo.ts:1385 // assert(valueToVerify !== 0) frame_dig -2 // valueToVerify: uint64 int 0 != assert - // contracts/validatorRegistry.algo.ts:1350 + // contracts/validatorRegistry.algo.ts:1386 // balRequired = this.validatorList(validatorId).value.config.gatingAssetMinBalance int 145 int 8 @@ -5311,7 +5490,7 @@ doesStakerMeetGating: frame_bury 3 // balRequired: uint64 // *if45_condition - // contracts/validatorRegistry.algo.ts:1351 + // contracts/validatorRegistry.algo.ts:1387 // balRequired === 0 frame_dig 3 // balRequired: uint64 int 0 @@ -5319,13 +5498,13 @@ doesStakerMeetGating: bz *if45_end // *if45_consequent - // contracts/validatorRegistry.algo.ts:1352 + // contracts/validatorRegistry.algo.ts:1388 // balRequired = 1 int 1 frame_bury 3 // balRequired: uint64 *if45_end: - // contracts/validatorRegistry.algo.ts:1354 + // contracts/validatorRegistry.algo.ts:1390 // assert( // staker.assetBalance(AssetID.fromUint64(valueToVerify)) >= balRequired, // 'must have required minimum balance of validator defined token to add stake', @@ -5342,7 +5521,7 @@ doesStakerMeetGating: *if44_end: // *if46_condition - // contracts/validatorRegistry.algo.ts:1359 + // contracts/validatorRegistry.algo.ts:1395 // type === GATING_TYPE_ASSETS_CREATED_BY frame_dig 0 // type: uint8 int 1 @@ -5350,7 +5529,7 @@ doesStakerMeetGating: bz *if46_end // *if46_consequent - // contracts/validatorRegistry.algo.ts:1360 + // contracts/validatorRegistry.algo.ts:1396 // assert( // AssetID.fromUint64(valueToVerify).creator === config.entryGatingAddress, // 'specified asset must be created by creator that the validator defined as a requirement to stake', @@ -5367,7 +5546,7 @@ doesStakerMeetGating: *if46_end: // *if47_condition - // contracts/validatorRegistry.algo.ts:1365 + // contracts/validatorRegistry.algo.ts:1401 // type === GATING_TYPE_ASSET_ID frame_dig 0 // type: uint8 int 2 @@ -5375,19 +5554,19 @@ doesStakerMeetGating: bz *if47_end // *if47_consequent - // contracts/validatorRegistry.algo.ts:1366 + // contracts/validatorRegistry.algo.ts:1402 // assert(valueToVerify !== 0) frame_dig -2 // valueToVerify: uint64 int 0 != assert - // contracts/validatorRegistry.algo.ts:1367 + // contracts/validatorRegistry.algo.ts:1403 // found = false int 0 frame_bury 4 // found: bool - // contracts/validatorRegistry.algo.ts:1368 + // contracts/validatorRegistry.algo.ts:1404 // config.entryGatingAssets frame_dig 2 // config: (uint64,address,address,uint64,uint8,address,uint64[4],uint64,uint64,uint64,uint32,uint32,address,uint64,uint64,uint8,uint64,uint64) extract 113 32 @@ -5401,7 +5580,7 @@ doesStakerMeetGating: *forOf_0: // *if48_condition - // contracts/validatorRegistry.algo.ts:1369 + // contracts/validatorRegistry.algo.ts:1405 // valueToVerify === assetId frame_dig -2 // valueToVerify: uint64 frame_dig 6 // assetId: uint64 @@ -5409,7 +5588,7 @@ doesStakerMeetGating: bz *if48_end // *if48_consequent - // contracts/validatorRegistry.algo.ts:1370 + // contracts/validatorRegistry.algo.ts:1406 // found = true int 1 frame_bury 4 // found: bool @@ -5436,7 +5615,7 @@ doesStakerMeetGating: b *forOf_0 *forOf_0_end: - // contracts/validatorRegistry.algo.ts:1374 + // contracts/validatorRegistry.algo.ts:1410 // assert(found, 'specified asset must be identical to the asset id defined as a requirement to stake') frame_dig 4 // found: bool @@ -5445,7 +5624,7 @@ doesStakerMeetGating: *if47_end: // *if49_condition - // contracts/validatorRegistry.algo.ts:1376 + // contracts/validatorRegistry.algo.ts:1412 // type === GATING_TYPE_CREATED_BY_NFD_ADDRESSES frame_dig 0 // type: uint8 int 3 @@ -5453,7 +5632,7 @@ doesStakerMeetGating: bz *if49_end // *if49_consequent - // contracts/validatorRegistry.algo.ts:1379 + // contracts/validatorRegistry.algo.ts:1415 // assert( // this.isAddressInNFDCAAlgoList(config.entryGatingAssets[0], AssetID.fromUint64(valueToVerify).creator), // 'specified asset must be created by creator that is one of the linked addresses in an nfd', @@ -5471,7 +5650,7 @@ doesStakerMeetGating: *if49_end: // *if50_condition - // contracts/validatorRegistry.algo.ts:1384 + // contracts/validatorRegistry.algo.ts:1420 // type === GATING_TYPE_SEGMENT_OF_NFD frame_dig 0 // type: uint8 int 4 @@ -5479,12 +5658,12 @@ doesStakerMeetGating: bz *if50_end // *if50_consequent - // contracts/validatorRegistry.algo.ts:1386 + // contracts/validatorRegistry.algo.ts:1422 // userOfferedNFDAppID = valueToVerify frame_dig -2 // valueToVerify: uint64 frame_bury 8 // userOfferedNFDAppID: uint64 - // contracts/validatorRegistry.algo.ts:1387 + // contracts/validatorRegistry.algo.ts:1423 // assert(this.isNFDAppIDValid(userOfferedNFDAppID), 'provided NFD must be valid') frame_dig 8 // userOfferedNFDAppID: uint64 callsub isNFDAppIDValid @@ -5492,7 +5671,7 @@ doesStakerMeetGating: // provided NFD must be valid assert - // contracts/validatorRegistry.algo.ts:1390 + // contracts/validatorRegistry.algo.ts:1426 // assert( // rawBytes(AppID.fromUint64(userOfferedNFDAppID).globalState('i.owner.a') as Address) === // rawBytes(staker) || this.isAddressInNFDCAAlgoList(userOfferedNFDAppID, staker), @@ -5517,7 +5696,7 @@ doesStakerMeetGating: // provided nfd for entry isn't owned or linked to the staker assert - // contracts/validatorRegistry.algo.ts:1397 + // contracts/validatorRegistry.algo.ts:1433 // assert( // (AppID.fromUint64(userOfferedNFDAppID).globalState('i.parentAppID') as uint64) === // config.entryGatingAssets[0], @@ -5555,7 +5734,7 @@ isNFDAppIDValid: // Push empty bytes after the frame pointer to reserve space for local variables byte 0x - // contracts/validatorRegistry.algo.ts:1416 + // contracts/validatorRegistry.algo.ts:1452 // userOfferedNFDName = AppID.fromUint64(nfdAppID).globalState('i.name') as string frame_dig -1 // nfdAppID: uint64 byte 0x692e6e616d65 // "i.name" @@ -5565,7 +5744,7 @@ isNFDAppIDValid: assert frame_bury 0 // userOfferedNFDName: string - // contracts/validatorRegistry.algo.ts:1418 + // contracts/validatorRegistry.algo.ts:1454 // sendAppCall({ // applicationID: AppID.fromUint64(this.nfdRegistryAppId), // applicationArgs: ['is_valid_nfd_appid', userOfferedNFDName, itob(nfdAppID)], @@ -5575,12 +5754,12 @@ isNFDAppIDValid: int appl itxn_field TypeEnum - // contracts/validatorRegistry.algo.ts:1419 + // contracts/validatorRegistry.algo.ts:1455 // applicationID: AppID.fromUint64(this.nfdRegistryAppId) pushints TMPL_nfdRegistryAppId itxn_field ApplicationID - // contracts/validatorRegistry.algo.ts:1420 + // contracts/validatorRegistry.algo.ts:1456 // applicationArgs: ['is_valid_nfd_appid', userOfferedNFDName, itob(nfdAppID)] byte 0x69735f76616c69645f6e66645f6170706964 // "is_valid_nfd_appid" itxn_field ApplicationArgs @@ -5590,7 +5769,7 @@ isNFDAppIDValid: itob itxn_field ApplicationArgs - // contracts/validatorRegistry.algo.ts:1421 + // contracts/validatorRegistry.algo.ts:1457 // applications: [AppID.fromUint64(nfdAppID)] frame_dig -1 // nfdAppID: uint64 itxn_field Applications @@ -5602,7 +5781,7 @@ isNFDAppIDValid: // Submit inner transaction itxn_submit - // contracts/validatorRegistry.algo.ts:1423 + // contracts/validatorRegistry.algo.ts:1459 // return btoi(this.itxn.lastLog) === 1 itxn LastLog btoi @@ -5628,7 +5807,7 @@ isAddressInNFDCAAlgoList: byte 0x dupn 2 - // contracts/validatorRegistry.algo.ts:1435 + // contracts/validatorRegistry.algo.ts:1471 // sendAppCall({ // applicationID: AppID.fromUint64(nfdAppID), // applicationArgs: ['read_property', 'v.caAlgo.0.as'], @@ -5637,12 +5816,12 @@ isAddressInNFDCAAlgoList: int appl itxn_field TypeEnum - // contracts/validatorRegistry.algo.ts:1436 + // contracts/validatorRegistry.algo.ts:1472 // applicationID: AppID.fromUint64(nfdAppID) frame_dig -1 // nfdAppID: uint64 itxn_field ApplicationID - // contracts/validatorRegistry.algo.ts:1437 + // contracts/validatorRegistry.algo.ts:1473 // applicationArgs: ['read_property', 'v.caAlgo.0.as'] byte 0x726561645f70726f7065727479 // "read_property" itxn_field ApplicationArgs @@ -5656,18 +5835,18 @@ isAddressInNFDCAAlgoList: // Submit inner transaction itxn_submit - // contracts/validatorRegistry.algo.ts:1439 + // contracts/validatorRegistry.algo.ts:1475 // caAlgoData = this.itxn.lastLog itxn LastLog frame_bury 0 // caAlgoData: byte[] - // contracts/validatorRegistry.algo.ts:1440 + // contracts/validatorRegistry.algo.ts:1476 // for (let i = 0; i < caAlgoData.length; i += 32) int 0 frame_bury 1 // i: uint64 *for_10: - // contracts/validatorRegistry.algo.ts:1440 + // contracts/validatorRegistry.algo.ts:1476 // i < caAlgoData.length frame_dig 1 // i: uint64 frame_dig 0 // caAlgoData: byte[] @@ -5675,7 +5854,7 @@ isAddressInNFDCAAlgoList: < bz *for_10_end - // contracts/validatorRegistry.algo.ts:1441 + // contracts/validatorRegistry.algo.ts:1477 // addr = extract3(caAlgoData, i, 32) frame_dig 0 // caAlgoData: byte[] frame_dig 1 // i: uint64 @@ -5684,7 +5863,7 @@ isAddressInNFDCAAlgoList: frame_bury 2 // addr: byte[] // *if51_condition - // contracts/validatorRegistry.algo.ts:1442 + // contracts/validatorRegistry.algo.ts:1478 // addr !== rawBytes(globals.zeroAddress) && addr === rawBytes(addrToFind) frame_dig 2 // addr: byte[] global ZeroAddress @@ -5700,7 +5879,7 @@ isAddressInNFDCAAlgoList: bz *if51_end // *if51_consequent - // contracts/validatorRegistry.algo.ts:1443 + // contracts/validatorRegistry.algo.ts:1479 // return true int 1 b *isAddressInNFDCAAlgoList*return @@ -5708,7 +5887,7 @@ isAddressInNFDCAAlgoList: *if51_end: *for_10_continue: - // contracts/validatorRegistry.algo.ts:1440 + // contracts/validatorRegistry.algo.ts:1476 // i += 32 frame_dig 1 // i: uint64 int 32 @@ -5717,7 +5896,7 @@ isAddressInNFDCAAlgoList: b *for_10 *for_10_end: - // contracts/validatorRegistry.algo.ts:1446 + // contracts/validatorRegistry.algo.ts:1482 // return false int 0 @@ -5740,12 +5919,12 @@ algoSaturationLevel: // Push empty bytes after the frame pointer to reserve space for local variables byte 0x - // contracts/validatorRegistry.algo.ts:1455 + // contracts/validatorRegistry.algo.ts:1491 // online = this.getCurrentOnlineStake() callsub getCurrentOnlineStake frame_bury 0 // online: uint64 - // contracts/validatorRegistry.algo.ts:1457 + // contracts/validatorRegistry.algo.ts:1493 // return wideRatio([online, MAX_VALIDATOR_SOFT_PCT_OF_ONLINE_1DECIMAL], [1000]) frame_dig 0 // online: uint64 int 100 @@ -5775,12 +5954,12 @@ maxAllowedStake: // Push empty bytes after the frame pointer to reserve space for local variables byte 0x - // contracts/validatorRegistry.algo.ts:1465 + // contracts/validatorRegistry.algo.ts:1501 // online = this.getCurrentOnlineStake() callsub getCurrentOnlineStake frame_bury 0 // online: uint64 - // contracts/validatorRegistry.algo.ts:1467 + // contracts/validatorRegistry.algo.ts:1503 // return wideRatio([online, MAX_VALIDATOR_HARD_PCT_OF_ONLINE_1DECIMAL], [1000]) frame_dig 0 // online: uint64 int 150 @@ -5806,7 +5985,7 @@ maxAllowedStake: maxAlgoAllowedPerPool: proto 0 1 - // contracts/validatorRegistry.algo.ts:1475 + // contracts/validatorRegistry.algo.ts:1511 // return 70_000_000_000_000 int 70_000_000_000_000 retsub @@ -5815,7 +5994,7 @@ maxAlgoAllowedPerPool: getCurrentOnlineStake: proto 0 1 - // contracts/validatorRegistry.algo.ts:1480 + // contracts/validatorRegistry.algo.ts:1516 // return 2_000_000_000_000_000 int 2_000_000_000_000_000 retsub @@ -5827,12 +6006,12 @@ minBalanceForAccount: // Push empty bytes after the frame pointer to reserve space for local variables byte 0x - // contracts/validatorRegistry.algo.ts:1492 + // contracts/validatorRegistry.algo.ts:1528 // minBal = ALGORAND_ACCOUNT_MIN_BALANCE int 100000 frame_bury 0 // minBal: uint64 - // contracts/validatorRegistry.algo.ts:1493 + // contracts/validatorRegistry.algo.ts:1529 // minBal += contracts * APPLICATION_BASE_FEE frame_dig 0 // minBal: uint64 frame_dig -1 // contracts: uint64 @@ -5841,7 +6020,7 @@ minBalanceForAccount: + frame_bury 0 // minBal: uint64 - // contracts/validatorRegistry.algo.ts:1494 + // contracts/validatorRegistry.algo.ts:1530 // minBal += extraPages * APPLICATION_BASE_FEE frame_dig 0 // minBal: uint64 frame_dig -2 // extraPages: uint64 @@ -5850,7 +6029,7 @@ minBalanceForAccount: + frame_bury 0 // minBal: uint64 - // contracts/validatorRegistry.algo.ts:1495 + // contracts/validatorRegistry.algo.ts:1531 // minBal += assets * ASSET_HOLDING_FEE frame_dig 0 // minBal: uint64 frame_dig -3 // assets: uint64 @@ -5859,7 +6038,7 @@ minBalanceForAccount: + frame_bury 0 // minBal: uint64 - // contracts/validatorRegistry.algo.ts:1496 + // contracts/validatorRegistry.algo.ts:1532 // minBal += localInts * SSC_VALUE_UINT frame_dig 0 // minBal: uint64 frame_dig -4 // localInts: uint64 @@ -5868,7 +6047,7 @@ minBalanceForAccount: + frame_bury 0 // minBal: uint64 - // contracts/validatorRegistry.algo.ts:1497 + // contracts/validatorRegistry.algo.ts:1533 // minBal += globalInts * SSC_VALUE_UINT frame_dig 0 // minBal: uint64 frame_dig -6 // globalInts: uint64 @@ -5877,7 +6056,7 @@ minBalanceForAccount: + frame_bury 0 // minBal: uint64 - // contracts/validatorRegistry.algo.ts:1498 + // contracts/validatorRegistry.algo.ts:1534 // minBal += localBytes * SSC_VALUE_BYTES frame_dig 0 // minBal: uint64 frame_dig -5 // localBytes: uint64 @@ -5886,7 +6065,7 @@ minBalanceForAccount: + frame_bury 0 // minBal: uint64 - // contracts/validatorRegistry.algo.ts:1499 + // contracts/validatorRegistry.algo.ts:1535 // minBal += globalBytes * SSC_VALUE_BYTES frame_dig 0 // minBal: uint64 frame_dig -7 // globalBytes: uint64 @@ -5895,7 +6074,7 @@ minBalanceForAccount: + frame_bury 0 // minBal: uint64 - // contracts/validatorRegistry.algo.ts:1500 + // contracts/validatorRegistry.algo.ts:1536 // return minBal frame_dig 0 // minBal: uint64 @@ -5907,7 +6086,7 @@ minBalanceForAccount: costForBoxStorage: proto 1 1 - // contracts/validatorRegistry.algo.ts:1507 + // contracts/validatorRegistry.algo.ts:1543 // return SCBOX_PERBOX + totalNumBytes * SCBOX_PERBYTE int 2500 frame_dig -1 // totalNumBytes: uint64 @@ -5957,8 +6136,9 @@ costForBoxStorage: method "stakeRemoved((uint64,uint64,uint64),address,uint64,uint64,bool)void" method "findPoolForStaker(uint64,address,uint64)((uint64,uint64,uint64),bool,bool)" method "movePoolToNode(uint64,uint64,uint64)void" + method "emptyTokenRewards(uint64,address)uint64" txna ApplicationArgs 0 - match *abi_route_initStakingContract *abi_route_loadStakingContractData *abi_route_finalizeStakingContract *abi_route_gas *abi_route_getMbrAmounts *abi_route_getProtocolConstraints *abi_route_getNumValidators *abi_route_getValidatorConfig *abi_route_getValidatorState *abi_route_getValidatorOwnerAndManager *abi_route_getPools *abi_route_getPoolAppId *abi_route_getPoolInfo *abi_route_getCurMaxStakePerPool *abi_route_doesStakerNeedToPayMBR *abi_route_getStakedPoolsForAccount *abi_route_getTokenPayoutRatio *abi_route_getNodePoolAssignments *abi_route_getNFDRegistryID *abi_route_addValidator *abi_route_changeValidatorManager *abi_route_changeValidatorSunsetInfo *abi_route_changeValidatorNFD *abi_route_changeValidatorCommissionAddress *abi_route_changeValidatorRewardInfo *abi_route_addPool *abi_route_addStake *abi_route_setTokenPayoutRatio *abi_route_stakeUpdatedViaRewards *abi_route_stakeRemoved *abi_route_findPoolForStaker *abi_route_movePoolToNode + match *abi_route_initStakingContract *abi_route_loadStakingContractData *abi_route_finalizeStakingContract *abi_route_gas *abi_route_getMbrAmounts *abi_route_getProtocolConstraints *abi_route_getNumValidators *abi_route_getValidatorConfig *abi_route_getValidatorState *abi_route_getValidatorOwnerAndManager *abi_route_getPools *abi_route_getPoolAppId *abi_route_getPoolInfo *abi_route_getCurMaxStakePerPool *abi_route_doesStakerNeedToPayMBR *abi_route_getStakedPoolsForAccount *abi_route_getTokenPayoutRatio *abi_route_getNodePoolAssignments *abi_route_getNFDRegistryID *abi_route_addValidator *abi_route_changeValidatorManager *abi_route_changeValidatorSunsetInfo *abi_route_changeValidatorNFD *abi_route_changeValidatorCommissionAddress *abi_route_changeValidatorRewardInfo *abi_route_addPool *abi_route_addStake *abi_route_setTokenPayoutRatio *abi_route_stakeUpdatedViaRewards *abi_route_stakeRemoved *abi_route_findPoolForStaker *abi_route_movePoolToNode *abi_route_emptyTokenRewards // this contract does not implement the given ABI method for call NoOp err diff --git a/contracts/contracts/artifacts/ValidatorRegistry.arc32.json b/contracts/contracts/artifacts/ValidatorRegistry.arc32.json index 3f17e12f..e28cc005 100644 --- a/contracts/contracts/artifacts/ValidatorRegistry.arc32.json +++ b/contracts/contracts/artifacts/ValidatorRegistry.arc32.json @@ -169,6 +169,11 @@ "call_config": { "no_op": "CALL" } + }, + "emptyTokenRewards(uint64,address)uint64": { + "call_config": { + "no_op": "CALL" + } } }, "bare_call_config": { @@ -216,7 +221,7 @@ } }, "source": { - "approval": "I3ByYWdtYSB2ZXJzaW9uIDEwCgovLyBUaGlzIFRFQUwgd2FzIGdlbmVyYXRlZCBieSBURUFMU2NyaXB0IHYwLjkyLjAKLy8gaHR0cHM6Ly9naXRodWIuY29tL2FsZ29yYW5kZm91bmRhdGlvbi9URUFMU2NyaXB0CgovLyBUaGlzIGNvbnRyYWN0IGlzIGNvbXBsaWFudCB3aXRoIGFuZC9vciBpbXBsZW1lbnRzIHRoZSBmb2xsb3dpbmcgQVJDczogWyBBUkM0IF0KCi8vIFRoZSBmb2xsb3dpbmcgdGVuIGxpbmVzIG9mIFRFQUwgaGFuZGxlIGluaXRpYWwgcHJvZ3JhbSBmbG93Ci8vIFRoaXMgcGF0dGVybiBpcyB1c2VkIHRvIG1ha2UgaXQgZWFzeSBmb3IgYW55b25lIHRvIHBhcnNlIHRoZSBzdGFydCBvZiB0aGUgcHJvZ3JhbSBhbmQgZGV0ZXJtaW5lIGlmIGEgc3BlY2lmaWMgYWN0aW9uIGlzIGFsbG93ZWQKLy8gS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AzLAoJLy8gICAgICAgICAgICAgICAgIDAsCgkvLyAgICAgICAgICAgICAgICAgMCwKCS8vICAgICAgICAgICAgICAgICAwLAoJLy8gICAgICAgICAgICAgICAgIFN0YWtpbmdQb29sLnNjaGVtYS5nbG9iYWwubnVtVWludCwKCS8vICAgICAgICAgICAgICAgICBTdGFraW5nUG9vbC5zY2hlbWEuZ2xvYmFsLm51bUJ5dGVTbGljZSwKCS8vICAgICAgICAgICAgICksCgkvLyAgICAgICAgICAgICBwb29sSW5pdE1icjoKCS8vICAgICAgICAgICAgICAgICBBTEdPUkFORF9BQ0NPVU5UX01JTl9CQUxBTkNFICsKCS8vICAgICAgICAgICAgICAgICB0aGlzLmNvc3RGb3JCb3hTdG9yYWdlKDcgLyogJ3N0YWtlcnMnIG5hbWUgKi8gKyBsZW48U3Rha2VkSW5mbz4oKSAqIE1BWF9TVEFLRVJTX1BFUl9QT09MKSwKCS8vICAgICAgICAgICAgIGFkZFN0YWtlck1icjoKCS8vICAgICAgICAgICAgICAgICAvLyBob3cgbXVjaCB0byBjaGFyZ2UgZm9yIGZpcnN0IHRpbWUgYSBzdGFrZXIgYWRkcyBzdGFrZSAtIHNpbmNlIHdlIGFkZCBhIHRyYWNraW5nIGJveCBwZXIgc3Rha2VyCgkvLyAgICAgICAgICAgICAgICAgdGhpcy5jb3N0Rm9yQm94U3RvcmFnZSgKCS8vICAgICAgICAgICAgICAgICAgICAgMyAvKiAnc3BzJyBwcmVmaXggKi8gKyBsZW48QWRkcmVzcz4oKSArIGxlbjxWYWxpZGF0b3JQb29sS2V5PigpICogTUFYX1BPT0xTX1BFUl9TVEFLRVIsCgkvLyAgICAgICAgICAgICAgICAgKSwgLy8gc2l6ZSBvZiBrZXkgKyBhbGwgdmFsdWVzCgkvLyAgICAgICAgIH0KCWludCAxMTAxCgljYWxsc3ViIGNvc3RGb3JCb3hTdG9yYWdlCglpdG9iCglpbnQgMwoJaW50IDExCglpbnQgMAoJZHVwbiAyCglpbnQgMwoJaW50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IgKmFiaV9yb3V0ZV9jaGFuZ2VWYWxpZGF0b3JTdW5zZXRJbmZvICphYmlfcm91dGVfY2hhbmdlVmFsaWRhdG9yTkZEICphYmlfcm91dGVfY2hhbmdlVmFsaWRhdG9yQ29tbWlzc2lvbkFkZHJlc3MgKmFiaV9yb3V0ZV9jaGFuZ2VWYWxpZGF0b3JSZXdhcmRJbmZvICphYmlfcm91dGVfYWRkUG9vbCAqYWJpX3JvdXRlX2FkZFN0YWtlICphYmlfcm91dGVfc2V0VG9rZW5QYXlvdXRSYXRpbyAqYWJpX3JvdXRlX3N0YWtlVXBkYXRlZFZpYVJld2FyZHMgKmFiaV9yb3V0ZV9zdGFrZVJlbW92ZWQgKmFiaV9yb3V0ZV9maW5kUG9vbEZvclN0YWtlciAqYWJpX3JvdXRlX21vdmVQb29sVG9Ob2RlICphYmlfcm91dGVfZW1wdHlUb2tlblJld2FyZHMKCgkvLyB0aGlzIGNvbnRyYWN0IGRvZXMgbm90IGltcGxlbWVudCB0aGUgZ2l2ZW4gQUJJIG1ldGhvZCBmb3IgY2FsbCBOb09wCgllcnIKCipjYWxsX1VwZGF0ZUFwcGxpY2F0aW9uOgoJbWV0aG9kICJ1cGRhdGVBcHBsaWNhdGlvbigpdm9pZCIKCXR4bmEgQXBwbGljYXRpb25BcmdzIDAKCW1hdGNoICphYmlfcm91dGVfdXBkYXRlQXBwbGljYXRpb24KCgkvLyB0aGlzIGNvbnRyYWN0IGRvZXMgbm90IGltcGxlbWVudCB0aGUgZ2l2ZW4gQUJJIG1ldGhvZCBmb3IgY2FsbCBVcGRhdGVBcHBsaWNhdGlvbgoJZXJy", "clear": "I3ByYWdtYSB2ZXJzaW9uIDEw" }, "contract": { @@ -756,11 +761,12 @@ }, { "name": "movePoolToNode", - "desc": "Find the specified pool (in any node number) and move it to the specified node.The pool account is forced offline if moved so prior node will still run for 320 rounds butnew key goes online on new node soon after (320 rounds after it goes online)No-op if success, asserts if not found or can't move (no space in target)[ ONLY OWNER OR MANAGER CAN CHANGE ]Only callable by owner or manager", + "desc": "Find the specified pool (in any node number) and move it to the specified node.The pool account is forced offline if moved so prior node will still run for 320 rounds butnew key goes online on new node soon after (320 rounds after it goes online)No-op if success, asserts if not found or can't move (no space in target)[ ONLY OWNER OR MANAGER CAN CHANGE ]", "args": [ { "name": "validatorId", - "type": "uint64" + "type": "uint64", + "desc": "The id of the validator." }, { "name": "poolAppId", @@ -774,6 +780,26 @@ "returns": { "type": "void" } + }, + { + "name": "emptyTokenRewards", + "desc": "Sends the reward tokens held in pool 1 to specified receiver.This is intended to be used by the owner when they want to get reward tokens 'back' which they sent tothe first pool (likely because validator is sunsetting. Any tokens currently 'reserved' for stakers to claim willNOT be sent as they must be held back for stakers to later claim.[ ONLY OWNER CAN CALL]", + "args": [ + { + "name": "validatorId", + "type": "uint64", + "desc": "The id of the validator." + }, + { + "name": "receiver", + "type": "address", + "desc": "the account to send the tokens to (must already be opted-in to the reward token)" + } + ], + "returns": { + "type": "uint64", + "desc": "{uint64}the amount of reward token sent" + } } ] } diff --git a/contracts/contracts/artifacts/ValidatorRegistry.arc4.json b/contracts/contracts/artifacts/ValidatorRegistry.arc4.json index 85cb1cc1..c030549d 100644 --- a/contracts/contracts/artifacts/ValidatorRegistry.arc4.json +++ b/contracts/contracts/artifacts/ValidatorRegistry.arc4.json @@ -535,11 +535,12 @@ }, { "name": "movePoolToNode", - "desc": "Find the specified pool (in any node number) and move it to the specified node.The pool account is forced offline if moved so prior node will still run for 320 rounds butnew key goes online on new node soon after (320 rounds after it goes online)No-op if success, asserts if not found or can't move (no space in target)[ ONLY OWNER OR MANAGER CAN CHANGE ]Only callable by owner or manager", + "desc": "Find the specified pool (in any node number) and move it to the specified node.The pool account is forced offline if moved so prior node will still run for 320 rounds butnew key goes online on new node soon after (320 rounds after it goes online)No-op if success, asserts if not found or can't move (no space in target)[ ONLY OWNER OR MANAGER CAN CHANGE ]", "args": [ { "name": "validatorId", - "type": "uint64" + "type": "uint64", + "desc": "The id of the validator." }, { "name": "poolAppId", @@ -553,6 +554,26 @@ "returns": { "type": "void" } + }, + { + "name": "emptyTokenRewards", + "desc": "Sends the reward tokens held in pool 1 to specified receiver.This is intended to be used by the owner when they want to get reward tokens 'back' which they sent tothe first pool (likely because validator is sunsetting. Any tokens currently 'reserved' for stakers to claim willNOT be sent as they must be held back for stakers to later claim.[ ONLY OWNER CAN CALL]", + "args": [ + { + "name": "validatorId", + "type": "uint64", + "desc": "The id of the validator." + }, + { + "name": "receiver", + "type": "address", + "desc": "the account to send the tokens to (must already be opted-in to the reward token)" + } + ], + "returns": { + "type": "uint64", + "desc": "{uint64}the amount of reward token sent" + } } ] } \ No newline at end of file diff --git a/contracts/contracts/artifacts/ValidatorRegistry.src_map.json b/contracts/contracts/artifacts/ValidatorRegistry.src_map.json index d9b21ee7..1e4ea505 100644 --- a/contracts/contracts/artifacts/ValidatorRegistry.src_map.json +++ b/contracts/contracts/artifacts/ValidatorRegistry.src_map.json @@ -179,65 +179,65 @@ 173, 174, 175, - 176 + 176, + 177, + 178, + 179, + 180, + 181, + 182, + 183 ] }, { "teal": 13, "source": 165, "pc": [ - 177, - 178 + 184, + 185 ] }, { "teal": 14, "source": 165, "pc": [ - 179 + 186 ] }, { "teal": 15, "source": 165, "pc": [ - 180, - 181 + 187, + 188 ] }, { "teal": 16, "source": 165, "pc": [ - 182 + 189 ] }, { "teal": 17, "source": 165, "pc": [ - 183, - 184 + 190, + 191 ] }, { "teal": 18, "source": 165, "pc": [ - 185 + 192 ] }, { "teal": 19, "source": 165, "pc": [ - 186, - 187, - 188, - 189, - 190, - 191, - 192, 193, 194, 195, @@ -256,7 +256,14 @@ 208, 209, 210, - 211 + 211, + 212, + 213, + 214, + 215, + 216, + 217, + 218 ] }, { @@ -264,60 +271,53 @@ "source": 165, "errorMessage": "The requested action is not implemented in this contract. Are you using the correct OnComplete? Did you set your app ID?", "pc": [ - 212 + 219 ] }, { "teal": 28, "source": 198, "pc": [ - 213, - 214, - 215 + 220, + 221, + 222 ] }, { "teal": 29, "source": 198, "pc": [ - 216 + 223 ] }, { "teal": 30, "source": 198, "pc": [ - 217 + 224 ] }, { "teal": 34, "source": 198, "pc": [ - 218, - 219, - 220 + 225, + 226, + 227 ] }, { "teal": 38, "source": 199, "pc": [ - 221, - 222 + 228, + 229 ] }, { "teal": 39, "source": 199, "pc": [ - 223, - 224, - 225, - 226, - 227, - 228, - 229, 230, 231, 232, @@ -344,913 +344,913 @@ 253, 254, 255, - 256 + 256, + 257, + 258, + 259, + 260, + 261, + 262, + 263 ] }, { "teal": 40, "source": 199, "pc": [ - 257 + 264 ] }, { "teal": 41, "source": 199, "pc": [ - 258 + 265 ] }, { "teal": 45, "source": 201, "pc": [ - 259, - 260 + 266, + 267 ] }, { "teal": 46, "source": 201, "pc": [ - 261 + 268 ] }, { "teal": 50, "source": 202, "pc": [ - 262, - 263 + 269, + 270 ] }, { "teal": 51, "source": 202, "pc": [ - 264 + 271 ] }, { "teal": 52, "source": 202, "pc": [ - 265, - 266 + 272, + 273 ] }, { "teal": 53, "source": 202, "pc": [ - 267 + 274 ] }, { "teal": 54, "source": 202, "pc": [ - 268, - 269 + 275, + 276 ] }, { "teal": 55, "source": 202, "pc": [ - 270 + 277 ] }, { "teal": 56, "source": 202, "pc": [ - 271 + 278 ] }, { "teal": 57, "source": 198, "pc": [ - 272 + 279 ] }, { "teal": 62, "source": 205, "pc": [ - 273, - 274, - 275 + 280, + 281, + 282 ] }, { "teal": 63, "source": 205, "pc": [ - 276 + 283 ] }, { "teal": 64, "source": 205, "pc": [ - 277 + 284 ] }, { "teal": 68, "source": 205, "pc": [ - 278, - 279, - 280 + 285, + 286, + 287 ] }, { "teal": 72, "source": 206, "pc": [ - 281, - 282 + 288, + 289 ] }, { "teal": 73, "source": 206, "pc": [ - 283 + 290 ] }, { "teal": 74, "source": 206, "pc": [ - 284, - 285 + 291, + 292 ] }, { "teal": 75, "source": 206, "pc": [ - 286 + 293 ] }, { "teal": 76, "source": 206, "pc": [ - 287, - 288 + 294, + 295 ] }, { "teal": 77, "source": 206, "pc": [ - 289 + 296 ] }, { "teal": 78, "source": 206, "pc": [ - 290 + 297 ] }, { "teal": 82, "source": 207, "pc": [ - 291, - 292 + 298, + 299 ] }, { "teal": 83, "source": 207, "pc": [ - 293 + 300 ] }, { "teal": 84, "source": 207, "pc": [ - 294 + 301 ] }, { "teal": 88, "source": 208, "pc": [ - 295, - 296 + 302, + 303 ] }, { "teal": 89, "source": 208, "pc": [ - 297 + 304 ] }, { "teal": 90, "source": 208, "pc": [ - 298 + 305 ] }, { "teal": 94, "source": 209, "pc": [ - 299, - 300 + 306, + 307 ] }, { "teal": 95, "source": 209, "pc": [ - 301 + 308 ] }, { "teal": 96, "source": 209, "pc": [ - 302 + 309 ] }, { "teal": 97, "source": 205, "pc": [ - 303 + 310 ] }, { "teal": 102, "source": 212, "pc": [ - 304, - 305, - 306 + 311, + 312, + 313 ] }, { "teal": 103, "source": 212, "pc": [ - 307 + 314 ] }, { "teal": 106, "source": 212, "pc": [ - 308, - 309, - 310 + 315, + 316, + 317 ] }, { "teal": 107, "source": 212, "pc": [ - 311 + 318 ] }, { "teal": 108, "source": 212, "pc": [ - 312 + 319 ] }, { "teal": 112, "source": 212, "pc": [ - 313, - 314, - 315 + 320, + 321, + 322 ] }, { "teal": 116, "source": 214, "pc": [ - 316, - 317 + 323, + 324 ] }, { "teal": 117, "source": 214, "pc": [ - 318, - 319 + 325, + 326 ] }, { "teal": 118, "source": 214, "pc": [ - 320 + 327 ] }, { "teal": 119, "source": 214, "pc": [ - 321 + 328 ] }, { "teal": 120, "source": 212, "pc": [ - 322 + 329 ] }, { "teal": 125, "source": 217, "pc": [ - 323, - 324, - 325 + 330, + 331, + 332 ] }, { "teal": 126, "source": 217, "pc": [ - 326, - 327, - 328 + 333, + 334, + 335 ] }, { "teal": 129, "source": 217, "pc": [ - 329, - 330, - 331 + 336, + 337, + 338 ] }, { "teal": 130, "source": 217, "pc": [ - 332 + 339 ] }, { "teal": 133, "source": 217, "pc": [ - 333, - 334, - 335 + 340, + 341, + 342 ] }, { "teal": 134, "source": 217, "pc": [ - 336 + 343 ] }, { "teal": 135, "source": 217, "pc": [ - 337 + 344 ] }, { "teal": 139, "source": 217, "pc": [ - 338, - 339, - 340 + 345, + 346, + 347 ] }, { "teal": 143, "source": 218, "pc": [ - 341, - 342 + 348, + 349 ] }, { "teal": 144, "source": 218, "pc": [ - 343 + 350 ] }, { "teal": 145, "source": 218, "pc": [ - 344 + 351 ] }, { "teal": 146, "source": 218, "pc": [ - 345 + 352 ] }, { "teal": 147, "source": 218, "pc": [ - 346 + 353 ] }, { "teal": 148, "source": 218, "pc": [ - 347 + 354 ] }, { "teal": 152, "source": 219, "pc": [ - 348, - 349 + 355, + 356 ] }, { "teal": 153, "source": 219, "pc": [ - 350, - 351 + 357, + 358 ] }, { "teal": 154, "source": 219, "pc": [ - 352, - 353 + 359, + 360 ] }, { "teal": 155, "source": 219, "pc": [ - 354 + 361 ] }, { "teal": 156, "source": 217, "pc": [ - 355 + 362 ] }, { "teal": 161, "source": 222, "pc": [ - 356, - 357, - 358 + 363, + 364, + 365 ] }, { "teal": 162, "source": 222, "pc": [ - 359 + 366 ] }, { "teal": 163, "source": 222, "pc": [ - 360 + 367 ] }, { "teal": 167, "source": 222, "pc": [ - 361, - 362, - 363 + 368, + 369, + 370 ] }, { "teal": 171, "source": 223, "pc": [ - 364, - 365 + 371, + 372 ] }, { "teal": 172, "source": 223, "pc": [ - 366 + 373 ] }, { "teal": 173, "source": 223, "pc": [ - 367, - 368 + 374, + 375 ] }, { "teal": 174, "source": 223, "pc": [ - 369 + 376 ] }, { "teal": 175, "source": 223, "pc": [ - 370, - 371 + 377, + 378 ] }, { "teal": 176, "source": 223, "pc": [ - 372 + 379 ] }, { "teal": 177, "source": 223, "pc": [ - 373 + 380 ] }, { "teal": 178, "source": 222, "pc": [ - 374 + 381 ] }, { "teal": 183, "source": 229, "pc": [ - 375, - 376, - 377 + 382, + 383, + 384 ] }, { "teal": 184, "source": 229, "pc": [ - 378 + 385 ] }, { "teal": 185, "source": 229, "pc": [ - 379 + 386 ] }, { "teal": 191, "source": 229, "pc": [ - 380, - 381, - 382 + 387, + 388, + 389 ] }, { "teal": 192, "source": 229, "pc": [ - 383 + 390 ] }, { "teal": 197, "source": 240, "pc": [ - 384 + 391 ] }, { "teal": 200, "source": 240, "pc": [ - 385, - 386, - 387 + 392, + 393, + 394 ] }, { "teal": 201, "source": 240, "pc": [ - 388 + 395 ] }, { "teal": 202, "source": 240, "pc": [ - 389 + 396 ] }, { "teal": 203, "source": 240, "pc": [ - 390 + 397 ] }, { "teal": 204, "source": 240, "pc": [ - 391 + 398 ] }, { "teal": 216, "source": 240, "pc": [ - 392, - 393, - 394 + 399, + 400, + 401 ] }, { "teal": 241, "source": 244, "pc": [ - 395, - 396, - 397 + 402, + 403, + 404 ] }, { "teal": 242, "source": 244, "pc": [ - 398, - 399, - 400 + 405, + 406, + 407 ] }, { "teal": 243, "source": 244, "pc": [ - 401 + 408 ] }, { "teal": 244, "source": 254, "pc": [ - 402, - 403 + 409, + 410 ] }, { "teal": 245, "source": 253, "pc": [ - 404, - 405 + 411, + 412 ] }, { "teal": 246, "source": 252, "pc": [ - 406 + 413 ] }, { "teal": 247, "source": 252, "pc": [ - 407, - 408 + 414, + 415 ] }, { "teal": 248, "source": 249, "pc": [ - 409, - 410 + 416, + 417 ] }, { "teal": 249, "source": 246, "pc": [ - 411 + 418 ] }, { "teal": 250, "source": 245, "pc": [ - 412, - 413, - 414 + 419, + 420, + 421 ] }, { "teal": 251, "source": 245, "pc": [ - 415 + 422 ] }, { "teal": 252, "source": 245, "pc": [ - 416 + 423 ] }, { "teal": 253, "source": 257, "pc": [ - 417, - 418 + 424, + 425 ] }, { "teal": 254, "source": 258, "pc": [ - 419, - 420, - 421 + 426, + 427, + 428 ] }, { "teal": 255, "source": 258, "pc": [ - 422, - 423, - 424 + 429, + 430, + 431 ] }, { "teal": 256, "source": 257, "pc": [ - 425 + 432 ] }, { "teal": 257, "source": 257, "pc": [ - 426 + 433 ] }, { "teal": 258, "source": 257, "pc": [ - 427 + 434 ] }, { "teal": 259, "source": 262, "pc": [ - 428, - 429, - 430 + 435, + 436, + 437 ] }, { "teal": 260, "source": 261, "pc": [ - 431, - 432, - 433 + 438, + 439, + 440 ] }, { "teal": 261, "source": 261, "pc": [ - 434 + 441 ] }, { "teal": 262, "source": 261, "pc": [ - 435 + 442 ] }, { "teal": 263, "source": 240, "pc": [ - 436 + 443 ] }, { "teal": 268, "source": 270, "pc": [ - 437 + 444 ] }, { "teal": 271, "source": 270, "pc": [ - 438, - 439, - 440 + 445, + 446, + 447 ] }, { "teal": 272, "source": 270, "pc": [ - 441 + 448 ] }, { "teal": 273, "source": 270, "pc": [ - 442 + 449 ] }, { "teal": 274, "source": 270, "pc": [ - 443 + 450 ] }, { "teal": 275, "source": 270, "pc": [ - 444 + 451 ] }, { "teal": 281, "source": 270, "pc": [ - 445, - 446, - 447 + 452, + 453, + 454 ] }, { "teal": 297, "source": 276, "pc": [ - 448, - 449, - 450, - 451, - 452, - 453, - 454, 455, 456, 457, @@ -1285,1375 +1285,1382 @@ 486, 487, 488, - 489 + 489, + 490, + 491, + 492, + 493, + 494, + 495, + 496 ] }, { "teal": 298, "source": 277, "pc": [ - 490, - 491, - 492 + 497, + 498, + 499 ] }, { "teal": 299, "source": 277, "pc": [ - 493 + 500 ] }, { "teal": 300, "source": 277, "pc": [ - 494 + 501 ] }, { "teal": 301, "source": 278, "pc": [ - 495, - 496, - 497 + 502, + 503, + 504 ] }, { "teal": 302, "source": 278, "pc": [ - 498 + 505 ] }, { "teal": 303, "source": 278, "pc": [ - 499 + 506 ] }, { "teal": 304, "source": 279, "pc": [ - 500, - 501, - 502 + 507, + 508, + 509 ] }, { "teal": 305, "source": 279, "pc": [ - 503 + 510 ] }, { "teal": 306, "source": 279, "pc": [ - 504 + 511 ] }, { "teal": 307, "source": 280, "pc": [ - 505, - 506, - 507, - 508, - 509, - 510, - 511, 512, 513, - 514 + 514, + 515, + 516, + 517, + 518, + 519, + 520, + 521 ] }, { "teal": 308, "source": 280, "pc": [ - 515 + 522 ] }, { "teal": 309, "source": 281, "pc": [ - 516, - 517, - 518, - 519, - 520, - 521, - 522, 523, 524, - 525 + 525, + 526, + 527, + 528, + 529, + 530, + 531, + 532 ] }, { "teal": 310, "source": 281, "pc": [ - 526 + 533 ] }, { "teal": 311, "source": 282, "pc": [ - 527, - 528, - 529, - 530, - 531, - 532, - 533, 534, 535, - 536 + 536, + 537, + 538, + 539, + 540, + 541, + 542, + 543 ] }, { "teal": 312, "source": 282, "pc": [ - 537 + 544 ] }, { "teal": 313, "source": 270, "pc": [ - 538 + 545 ] }, { "teal": 318, "source": 290, "pc": [ - 539 + 546 ] }, { "teal": 321, "source": 290, "pc": [ - 540, - 541, - 542 + 547, + 548, + 549 ] }, { "teal": 322, "source": 290, "pc": [ - 543 + 550 ] }, { "teal": 323, "source": 290, "pc": [ - 544 + 551 ] }, { "teal": 324, "source": 290, "pc": [ - 545 + 552 ] }, { "teal": 325, "source": 290, "pc": [ - 546 + 553 ] }, { "teal": 326, "source": 290, "pc": [ - 547 + 554 ] }, { "teal": 332, "source": 290, "pc": [ - 548, - 549, - 550 + 555, + 556, + 557 ] }, { "teal": 336, "source": 291, "pc": [ - 551, - 552 + 558, + 559 ] }, { "teal": 337, "source": 291, "pc": [ - 553 + 560 ] }, { "teal": 338, "source": 290, "pc": [ - 554 + 561 ] }, { "teal": 343, "source": 295, "pc": [ - 555 + 562 ] }, { "teal": 346, "source": 295, "pc": [ - 556, - 557, - 558 + 563, + 564, + 565 ] }, { "teal": 347, "source": 295, "pc": [ - 559 + 566 ] }, { "teal": 350, "source": 295, "pc": [ - 560, - 561, - 562 + 567, + 568, + 569 ] }, { "teal": 351, "source": 295, "pc": [ - 563 + 570 ] }, { "teal": 352, "source": 295, "pc": [ - 564 + 571 ] }, { "teal": 353, "source": 295, "pc": [ - 565 + 572 ] }, { "teal": 354, "source": 295, "pc": [ - 566 + 573 ] }, { "teal": 358, "source": 295, "pc": [ - 567, - 568, - 569 + 574, + 575, + 576 ] }, { "teal": 362, "source": 296, "pc": [ - 570 + 577 ] }, { "teal": 363, "source": 296, "pc": [ - 571, - 572 + 578, + 579 ] }, { "teal": 364, "source": 296, "pc": [ - 573 + 580 ] }, { "teal": 365, "source": 296, "pc": [ - 574, - 575 + 581, + 582 ] }, { "teal": 366, "source": 296, "pc": [ - 576 + 583 ] }, { "teal": 367, "source": 296, "pc": [ - 577 + 584 ] }, { "teal": 368, "source": 296, "pc": [ - 578, - 579 + 585, + 586 ] }, { "teal": 369, "source": 296, "pc": [ - 580 + 587 ] }, { "teal": 370, "source": 295, "pc": [ - 581 + 588 ] }, { "teal": 375, "source": 300, "pc": [ - 582 + 589 ] }, { "teal": 378, "source": 300, "pc": [ - 583, - 584, - 585 + 590, + 591, + 592 ] }, { "teal": 379, "source": 300, "pc": [ - 586 + 593 ] }, { "teal": 382, "source": 300, "pc": [ - 587, - 588, - 589 + 594, + 595, + 596 ] }, { "teal": 383, "source": 300, "pc": [ - 590 + 597 ] }, { "teal": 384, "source": 300, "pc": [ - 591 + 598 ] }, { "teal": 385, "source": 300, "pc": [ - 592 + 599 ] }, { "teal": 386, "source": 300, "pc": [ - 593 + 600 ] }, { "teal": 390, "source": 300, "pc": [ - 594, - 595, - 596 + 601, + 602, + 603 ] }, { "teal": 394, "source": 301, "pc": [ - 597, - 598 + 604, + 605 ] }, { "teal": 395, "source": 301, "pc": [ - 599, - 600 + 606, + 607 ] }, { "teal": 396, "source": 301, "pc": [ - 601 + 608 ] }, { "teal": 397, "source": 301, "pc": [ - 602, - 603 + 609, + 610 ] }, { "teal": 398, "source": 301, "pc": [ - 604 + 611 ] }, { "teal": 399, "source": 301, "pc": [ - 605 + 612 ] }, { "teal": 400, "source": 301, "pc": [ - 606, - 607 + 613, + 614 ] }, { "teal": 401, "source": 301, "pc": [ - 608 + 615 ] }, { "teal": 402, "source": 300, "pc": [ - 609 + 616 ] }, { "teal": 407, "source": 305, "pc": [ - 610 + 617 ] }, { "teal": 410, "source": 305, "pc": [ - 611, - 612, - 613 + 618, + 619, + 620 ] }, { "teal": 411, "source": 305, "pc": [ - 614 + 621 ] }, { "teal": 414, "source": 305, "pc": [ - 615, - 616, - 617 + 622, + 623, + 624 ] }, { "teal": 415, "source": 305, "pc": [ - 618 + 625 ] }, { "teal": 416, "source": 305, "pc": [ - 619 + 626 ] }, { "teal": 417, "source": 305, "pc": [ - 620 + 627 ] }, { "teal": 418, "source": 305, "pc": [ - 621 + 628 ] }, { "teal": 422, "source": 305, "pc": [ - 622, - 623, - 624 + 629, + 630, + 631 ] }, { "teal": 429, "source": 307, "pc": [ - 625 + 632 ] }, { "teal": 430, "source": 307, "pc": [ - 626, - 627 + 633, + 634 ] }, { "teal": 431, "source": 307, "pc": [ - 628 + 635 ] }, { "teal": 432, "source": 307, "pc": [ - 629, - 630 + 636, + 637 ] }, { "teal": 433, "source": 307, "pc": [ - 631 + 638 ] }, { "teal": 434, "source": 307, "pc": [ - 632 + 639 ] }, { "teal": 435, "source": 307, "pc": [ - 633, - 634 + 640, + 641 ] }, { "teal": 436, "source": 307, "pc": [ - 635 + 642 ] }, { "teal": 437, "source": 308, "pc": [ - 636, - 637 + 643, + 644 ] }, { "teal": 438, "source": 308, "pc": [ - 638, - 639 + 645, + 646 ] }, { "teal": 439, "source": 308, "pc": [ - 640 + 647 ] }, { "teal": 440, "source": 308, "pc": [ - 641, - 642 + 648, + 649 ] }, { "teal": 441, "source": 308, "pc": [ - 643 + 650 ] }, { "teal": 442, "source": 308, "pc": [ - 644 + 651 ] }, { "teal": 443, "source": 308, "pc": [ - 645, - 646 + 652, + 653 ] }, { "teal": 444, "source": 308, "pc": [ - 647 + 654 ] }, { "teal": 445, "source": 308, "pc": [ - 648 + 655 ] }, { "teal": 446, "source": 305, "pc": [ - 649 + 656 ] }, { "teal": 451, "source": 319, "pc": [ - 650 + 657 ] }, { "teal": 454, "source": 319, "pc": [ - 651, - 652, - 653 + 658, + 659, + 660 ] }, { "teal": 455, "source": 319, "pc": [ - 654 + 661 ] }, { "teal": 458, "source": 319, "pc": [ - 655, - 656, - 657 + 662, + 663, + 664 ] }, { "teal": 459, "source": 319, "pc": [ - 658 + 665 ] }, { "teal": 460, "source": 319, "pc": [ - 659 + 666 ] }, { "teal": 461, "source": 319, "pc": [ - 660, - 661 + 667, + 668 ] }, { "teal": 462, "source": 319, "pc": [ - 662 + 669 ] }, { "teal": 463, "source": 319, "pc": [ - 663 + 670 ] }, { "teal": 464, "source": 319, "pc": [ - 664, - 665, - 666 + 671, + 672, + 673 ] }, { "teal": 465, "source": 319, "pc": [ - 667 + 674 ] }, { "teal": 466, "source": 319, "pc": [ - 668 + 675 ] }, { "teal": 467, "source": 319, "pc": [ - 669 + 676 ] }, { "teal": 468, "source": 319, "pc": [ - 670 + 677 ] }, { "teal": 469, "source": 319, "pc": [ - 671 + 678 ] }, { "teal": 470, "source": 319, "pc": [ - 672 + 679 ] }, { "teal": 479, "source": 319, "pc": [ - 673, - 674, - 675 + 680, + 681, + 682 ] }, { "teal": 482, "source": 319, "pc": [ - 676 + 683 ] }, { "teal": 483, "source": 319, "pc": [ - 677, - 678 + 684, + 685 ] }, { "teal": 487, "source": 320, "pc": [ - 679 + 686 ] }, { "teal": 488, "source": 320, "pc": [ - 680, - 681 + 687, + 688 ] }, { "teal": 492, "source": 321, "pc": [ - 682, - 683 + 689, + 690 ] }, { "teal": 493, "source": 321, "pc": [ - 684, - 685 + 691, + 692 ] }, { "teal": 494, "source": 321, "pc": [ - 686 + 693 ] }, { "teal": 495, "source": 321, "pc": [ - 687, - 688 + 694, + 695 ] }, { "teal": 496, "source": 321, "pc": [ - 689 + 696 ] }, { "teal": 497, "source": 321, "pc": [ - 690 + 697 ] }, { "teal": 498, "source": 321, "pc": [ - 691, - 692 + 698, + 699 ] }, { "teal": 499, "source": 321, "pc": [ - 693 + 700 ] }, { "teal": 500, "source": 321, "pc": [ - 694, - 695 + 701, + 702 ] }, { "teal": 504, "source": 322, "pc": [ - 696 + 703 ] }, { "teal": 505, "source": 322, "pc": [ - 697, - 698 + 704, + 705 ] }, { "teal": 510, "source": 322, "pc": [ - 699, - 700 + 706, + 707 ] }, { "teal": 511, "source": 322, "pc": [ - 701 + 708 ] }, { "teal": 512, "source": 322, "pc": [ - 702 + 709 ] }, { "teal": 513, "source": 322, "pc": [ - 703, - 704, - 705 + 710, + 711, + 712 ] }, { "teal": 518, "source": 323, "pc": [ - 706, - 707 + 713, + 714 ] }, { "teal": 519, "source": 323, "pc": [ - 708, - 709 + 715, + 716 ] }, { "teal": 520, "source": 323, "pc": [ - 710, - 711 + 717, + 718 ] }, { "teal": 521, "source": 323, "pc": [ - 712 + 719 ] }, { "teal": 522, "source": 323, "pc": [ - 713 + 720 ] }, { "teal": 523, "source": 323, "pc": [ - 714 + 721 ] }, { "teal": 524, "source": 323, "pc": [ - 715 + 722 ] }, { "teal": 525, "source": 323, "pc": [ - 716 + 723 ] }, { "teal": 526, "source": 323, "pc": [ - 717 + 724 ] }, { "teal": 527, "source": 323, "pc": [ - 718 + 725 ] }, { "teal": 528, "source": 323, "pc": [ - 719 + 726 ] }, { "teal": 529, "source": 323, "pc": [ - 720, - 721, - 722 + 727, + 728, + 729 ] }, { "teal": 532, "source": 325, "pc": [ - 723, - 724, - 725 + 730, + 731, + 732 ] }, { "teal": 537, "source": 327, "pc": [ - 726, - 727 + 733, + 734 ] }, { "teal": 538, "source": 327, "pc": [ - 728, - 729 + 735, + 736 ] }, { "teal": 539, "source": 327, "pc": [ - 730, - 731 + 737, + 738 ] }, { "teal": 540, "source": 327, "pc": [ - 732, - 733 + 739, + 740 ] }, { "teal": 541, "source": 327, "pc": [ - 734 + 741 ] }, { "teal": 542, "source": 327, "pc": [ - 735, - 736 + 742, + 743 ] }, { "teal": 543, "source": 327, "pc": [ - 737 + 744 ] }, { "teal": 544, "source": 327, "pc": [ - 738 + 745 ] }, { "teal": 545, "source": 327, "pc": [ - 739, - 740 + 746, + 747 ] }, { "teal": 550, "source": 322, "pc": [ - 741, - 742 + 748, + 749 ] }, { "teal": 551, "source": 322, "pc": [ - 743 + 750 ] }, { "teal": 552, "source": 322, "pc": [ - 744 + 751 ] }, { "teal": 553, "source": 322, "pc": [ - 745, - 746 + 752, + 753 ] }, { "teal": 554, "source": 322, "pc": [ - 747, - 748, - 749 + 754, + 755, + 756 ] }, { "teal": 559, "source": 329, "pc": [ - 750, - 751 + 757, + 758 ] }, { "teal": 562, "source": 319, "pc": [ - 752, - 753 + 759, + 760 ] }, { "teal": 565, "source": 319, "pc": [ - 754, - 755 + 761, + 762 ] }, { "teal": 566, "source": 319, "pc": [ - 756 + 763 ] }, { "teal": 571, "source": 336, "pc": [ - 757 + 764 ] }, { "teal": 574, "source": 336, "pc": [ - 758, - 759, - 760 + 765, + 766, + 767 ] }, { "teal": 575, "source": 336, "pc": [ - 761 + 768 ] }, { "teal": 578, "source": 336, "pc": [ - 762, - 763, - 764 + 769, + 770, + 771 ] }, { "teal": 579, "source": 336, "pc": [ - 765 + 772 ] }, { "teal": 582, "source": 336, "pc": [ - 766, - 767, - 768 + 773, + 774, + 775 ] }, { "teal": 583, "source": 336, "pc": [ - 769 + 776 ] }, { "teal": 584, "source": 336, "pc": [ - 770 + 777 ] }, { "teal": 585, "source": 336, "pc": [ - 771 + 778 ] }, { "teal": 586, "source": 336, "pc": [ - 772 + 779 ] }, { "teal": 587, "source": 336, "pc": [ - 773 + 780 ] }, { "teal": 591, "source": 336, "pc": [ - 774, - 775, - 776 + 781, + 782, + 783 ] }, { "teal": 598, "source": 338, "pc": [ - 777, - 778 + 784, + 785 ] }, { "teal": 599, "source": 338, "pc": [ - 779 + 786 ] }, { "teal": 600, "source": 338, "pc": [ - 780 + 787 ] }, { "teal": 601, "source": 338, "pc": [ - 781 + 788 ] }, { "teal": 602, "source": 338, "pc": [ - 782, - 783, - 784 + 789, + 790, + 791 ] }, { "teal": 603, "source": 338, "pc": [ - 785, - 786 + 792, + 793 ] }, { "teal": 604, "source": 338, "pc": [ - 787 + 794 ] }, { "teal": 605, "source": 338, "pc": [ - 788 + 795 ] }, { "teal": 606, "source": 338, "pc": [ - 789 + 796 ] }, { @@ -2661,182 +2668,182 @@ "source": 337, "errorMessage": "pool id must be between 1 and number of pools for this validator", "pc": [ - 790 + 797 ] }, { "teal": 614, "source": 341, "pc": [ - 791, - 792 + 798, + 799 ] }, { "teal": 615, "source": 341, "pc": [ - 793, - 794 + 800, + 801 ] }, { "teal": 616, "source": 341, "pc": [ - 795 + 802 ] }, { "teal": 617, "source": 341, "pc": [ - 796 + 803 ] }, { "teal": 618, "source": 341, "pc": [ - 797, - 798 + 804, + 805 ] }, { "teal": 619, "source": 341, "pc": [ - 799 + 806 ] }, { "teal": 620, "source": 341, "pc": [ - 800 + 807 ] }, { "teal": 621, "source": 341, "pc": [ - 801 + 808 ] }, { "teal": 622, "source": 341, "pc": [ - 802 + 809 ] }, { "teal": 623, "source": 341, "pc": [ - 803 + 810 ] }, { "teal": 624, "source": 341, "pc": [ - 804 + 811 ] }, { "teal": 625, "source": 341, "pc": [ - 805, - 806 + 812, + 813 ] }, { "teal": 626, "source": 341, "pc": [ - 807 + 814 ] }, { "teal": 627, "source": 341, "pc": [ - 808 + 815 ] }, { "teal": 628, "source": 341, "pc": [ - 809, - 810 + 816, + 817 ] }, { "teal": 629, "source": 341, "pc": [ - 811 + 818 ] }, { "teal": 630, "source": 341, "pc": [ - 812 + 819 ] }, { "teal": 631, "source": 336, "pc": [ - 813 + 820 ] }, { "teal": 636, "source": 345, "pc": [ - 814 + 821 ] }, { "teal": 639, "source": 345, "pc": [ - 815, - 816, - 817 + 822, + 823, + 824 ] }, { "teal": 640, "source": 345, "pc": [ - 818 + 825 ] }, { "teal": 641, "source": 345, "pc": [ - 819 + 826 ] }, { "teal": 642, "source": 345, "pc": [ - 820 + 827 ] }, { "teal": 643, "source": 345, "pc": [ - 821 + 828 ] }, { @@ -2844,641 +2851,641 @@ "source": 345, "errorMessage": "argument 0 (poolKey) for getPoolInfo must be a (uint64,uint64,uint64)", "pc": [ - 822 + 829 ] }, { "teal": 649, "source": 345, "pc": [ - 823, - 824, - 825 + 830, + 831, + 832 ] }, { "teal": 650, "source": 345, "pc": [ - 826 + 833 ] }, { "teal": 651, "source": 345, "pc": [ - 827 + 834 ] }, { "teal": 652, "source": 345, "pc": [ - 828 + 835 ] }, { "teal": 653, "source": 345, "pc": [ - 829 + 836 ] }, { "teal": 657, "source": 345, "pc": [ - 830, - 831, - 832 + 837, + 838, + 839 ] }, { "teal": 661, "source": 346, "pc": [ - 833, - 834 + 840, + 841 ] }, { "teal": 662, "source": 346, "pc": [ - 835, - 836 + 842, + 843 ] }, { "teal": 663, "source": 346, "pc": [ - 837, - 838, - 839 + 844, + 845, + 846 ] }, { "teal": 664, "source": 346, "pc": [ - 840 + 847 ] }, { "teal": 665, "source": 346, "pc": [ - 841 + 848 ] }, { "teal": 666, "source": 346, "pc": [ - 842 + 849 ] }, { "teal": 667, "source": 346, "pc": [ - 843, - 844 + 850, + 851 ] }, { "teal": 668, "source": 346, "pc": [ - 845 + 852 ] }, { "teal": 669, "source": 346, "pc": [ - 846 + 853 ] }, { "teal": 670, "source": 346, "pc": [ - 847, - 848 + 854, + 855 ] }, { "teal": 671, "source": 346, "pc": [ - 849 + 856 ] }, { "teal": 672, "source": 346, "pc": [ - 850, - 851 + 857, + 858 ] }, { "teal": 673, "source": 346, "pc": [ - 852, - 853, - 854 + 859, + 860, + 861 ] }, { "teal": 674, "source": 346, "pc": [ - 855 + 862 ] }, { "teal": 675, "source": 346, "pc": [ - 856 + 863 ] }, { "teal": 676, "source": 346, "pc": [ - 857 + 864 ] }, { "teal": 677, "source": 346, "pc": [ - 858, - 859 + 865, + 866 ] }, { "teal": 678, "source": 346, "pc": [ - 860 + 867 ] }, { "teal": 679, "source": 345, "pc": [ - 861 + 868 ] }, { "teal": 684, "source": 356, "pc": [ - 862 + 869 ] }, { "teal": 687, "source": 356, "pc": [ - 863, - 864, - 865 + 870, + 871, + 872 ] }, { "teal": 688, "source": 356, "pc": [ - 866 + 873 ] }, { "teal": 691, "source": 356, "pc": [ - 867, - 868, - 869 + 874, + 875, + 876 ] }, { "teal": 692, "source": 356, "pc": [ - 870 + 877 ] }, { "teal": 693, "source": 356, "pc": [ - 871 + 878 ] }, { "teal": 694, "source": 356, "pc": [ - 872 + 879 ] }, { "teal": 695, "source": 356, "pc": [ - 873 + 880 ] }, { "teal": 696, "source": 356, "pc": [ - 874 + 881 ] }, { "teal": 706, "source": 356, "pc": [ - 875, - 876, - 877 + 882, + 883, + 884 ] }, { "teal": 709, "source": 356, "pc": [ - 878 + 885 ] }, { "teal": 710, "source": 356, "pc": [ - 879, - 880 + 886, + 887 ] }, { "teal": 714, "source": 357, "pc": [ - 881, - 882 + 888, + 889 ] }, { "teal": 715, "source": 357, "pc": [ - 883, - 884 + 890, + 891 ] }, { "teal": 716, "source": 357, "pc": [ - 885 + 892 ] }, { "teal": 717, "source": 357, "pc": [ - 886, - 887 + 893, + 894 ] }, { "teal": 718, "source": 357, "pc": [ - 888 + 895 ] }, { "teal": 719, "source": 357, "pc": [ - 889 + 896 ] }, { "teal": 720, "source": 357, "pc": [ - 890, - 891 + 897, + 898 ] }, { "teal": 721, "source": 357, "pc": [ - 892 + 899 ] }, { "teal": 722, "source": 357, "pc": [ - 893 + 900 ] }, { "teal": 723, "source": 357, "pc": [ - 894, - 895 + 901, + 902 ] }, { "teal": 727, "source": 358, "pc": [ - 896, - 897, - 898 + 903, + 904, + 905 ] }, { "teal": 728, "source": 358, "pc": [ - 899, - 900 + 906, + 907 ] }, { "teal": 729, "source": 358, "pc": [ - 901 + 908 ] }, { "teal": 730, "source": 358, "pc": [ - 902, - 903 + 909, + 910 ] }, { "teal": 734, "source": 359, "pc": [ - 904, - 905, - 906 + 911, + 912, + 913 ] }, { "teal": 735, "source": 359, "pc": [ - 907 + 914 ] }, { "teal": 736, "source": 359, "pc": [ - 908 + 915 ] }, { "teal": 737, "source": 359, "pc": [ - 909, - 910 + 916, + 917 ] }, { "teal": 738, "source": 359, "pc": [ - 911 + 918 ] }, { "teal": 739, "source": 359, "pc": [ - 912 + 919 ] }, { "teal": 740, "source": 359, "pc": [ - 913, - 914 + 920, + 921 ] }, { "teal": 741, "source": 359, "pc": [ - 915 + 922 ] }, { "teal": 742, "source": 359, "pc": [ - 916 + 923 ] }, { "teal": 743, "source": 359, "pc": [ - 917, - 918 + 924, + 925 ] }, { "teal": 748, "source": 360, "pc": [ - 919, - 920 + 926, + 927 ] }, { "teal": 749, "source": 360, "pc": [ - 921 + 928 ] }, { "teal": 750, "source": 360, "pc": [ - 922 + 929 ] }, { "teal": 751, "source": 360, "pc": [ - 923, - 924, - 925 + 930, + 931, + 932 ] }, { "teal": 756, "source": 361, "pc": [ - 926, - 927, - 928 + 933, + 934, + 935 ] }, { "teal": 757, "source": 361, "pc": [ - 929, - 930 + 936, + 937 ] }, { "teal": 763, "source": 363, "pc": [ - 931, - 932 + 938, + 939 ] }, { "teal": 764, "source": 363, "pc": [ - 933, - 934 + 940, + 941 ] }, { "teal": 765, "source": 363, "pc": [ - 935 + 942 ] }, { "teal": 766, "source": 363, "pc": [ - 936, - 937, - 938 + 943, + 944, + 945 ] }, { "teal": 771, "source": 364, "pc": [ - 939, - 940 + 946, + 947 ] }, { "teal": 772, "source": 364, "pc": [ - 941, - 942 + 948, + 949 ] }, { "teal": 777, "source": 366, "pc": [ - 943, - 944 + 950, + 951 ] }, { "teal": 780, "source": 356, "pc": [ - 945, - 946 + 952, + 953 ] }, { "teal": 783, "source": 356, "pc": [ - 947, - 948 + 954, + 955 ] }, { "teal": 784, "source": 356, "pc": [ - 949 + 956 ] }, { "teal": 789, "source": 374, "pc": [ - 950 + 957 ] }, { "teal": 792, "source": 374, "pc": [ - 951, - 952, - 953 + 958, + 959, + 960 ] }, { "teal": 793, "source": 374, "pc": [ - 954 + 961 ] }, { "teal": 794, "source": 374, "pc": [ - 955 + 962 ] }, { "teal": 795, "source": 374, "pc": [ - 956, - 957 + 963, + 964 ] }, { "teal": 796, "source": 374, "pc": [ - 958 + 965 ] }, { @@ -3486,185 +3493,185 @@ "source": 374, "errorMessage": "argument 0 (staker) for doesStakerNeedToPayMBR must be a address", "pc": [ - 959 + 966 ] }, { "teal": 802, "source": 374, "pc": [ - 960, - 961, - 962 + 967, + 968, + 969 ] }, { "teal": 803, "source": 374, "pc": [ - 963, - 964 + 970, + 971 ] }, { "teal": 804, "source": 374, "pc": [ - 965 + 972 ] }, { "teal": 805, "source": 374, "pc": [ - 966, - 967 + 973, + 974 ] }, { "teal": 806, "source": 374, "pc": [ - 968 + 975 ] }, { "teal": 807, "source": 374, "pc": [ - 969 + 976 ] }, { "teal": 808, "source": 374, "pc": [ - 970 + 977 ] }, { "teal": 809, "source": 374, "pc": [ - 971 + 978 ] }, { "teal": 810, "source": 374, "pc": [ - 972 + 979 ] }, { "teal": 817, "source": 374, "pc": [ - 973, - 974, - 975 + 980, + 981, + 982 ] }, { "teal": 821, "source": 375, "pc": [ - 976 + 983 ] }, { "teal": 822, "source": 375, "pc": [ - 977, - 978 + 984, + 985 ] }, { "teal": 823, "source": 375, "pc": [ - 979 + 986 ] }, { "teal": 824, "source": 375, "pc": [ - 980 + 987 ] }, { "teal": 825, "source": 375, "pc": [ - 981 + 988 ] }, { "teal": 826, "source": 375, "pc": [ - 982 + 989 ] }, { "teal": 827, "source": 375, "pc": [ - 983 + 990 ] }, { "teal": 828, "source": 374, "pc": [ - 984 + 991 ] }, { "teal": 833, "source": 384, "pc": [ - 985 + 992 ] }, { "teal": 836, "source": 384, "pc": [ - 986, - 987, - 988 + 993, + 994, + 995 ] }, { "teal": 837, "source": 384, "pc": [ - 989 + 996 ] }, { "teal": 838, "source": 384, "pc": [ - 990 + 997 ] }, { "teal": 839, "source": 384, "pc": [ - 991, - 992 + 998, + 999 ] }, { "teal": 840, "source": 384, "pc": [ - 993 + 1000 ] }, { @@ -3672,245 +3679,245 @@ "source": 384, "errorMessage": "argument 0 (staker) for getStakedPoolsForAccount must be a address", "pc": [ - 994 + 1001 ] }, { "teal": 846, "source": 384, "pc": [ - 995, - 996, - 997 + 1002, + 1003, + 1004 ] }, { "teal": 847, "source": 384, "pc": [ - 998 + 1005 ] }, { "teal": 848, "source": 384, "pc": [ - 999 + 1006 ] }, { "teal": 849, "source": 384, "pc": [ - 1000 + 1007 ] }, { "teal": 850, "source": 384, "pc": [ - 1001 + 1008 ] }, { "teal": 851, "source": 384, "pc": [ - 1002 + 1009 ] }, { "teal": 852, "source": 384, "pc": [ - 1003, - 1004, - 1005 + 1010, + 1011, + 1012 ] }, { "teal": 853, "source": 384, "pc": [ - 1006 + 1013 ] }, { "teal": 854, "source": 384, "pc": [ - 1007 + 1014 ] }, { "teal": 855, "source": 384, "pc": [ - 1008 + 1015 ] }, { "teal": 856, "source": 384, "pc": [ - 1009 + 1016 ] }, { "teal": 857, "source": 384, "pc": [ - 1010 + 1017 ] }, { "teal": 858, "source": 384, "pc": [ - 1011 + 1018 ] }, { "teal": 867, "source": 384, "pc": [ - 1012, - 1013, - 1014 + 1019, + 1020, + 1021 ] }, { "teal": 870, "source": 384, "pc": [ - 1015 + 1022 ] }, { "teal": 871, "source": 384, "pc": [ - 1016, - 1017 + 1023, + 1024 ] }, { "teal": 876, "source": 385, "pc": [ - 1018 + 1025 ] }, { "teal": 877, "source": 385, "pc": [ - 1019, - 1020 + 1026, + 1027 ] }, { "teal": 878, "source": 385, "pc": [ - 1021 + 1028 ] }, { "teal": 879, "source": 385, "pc": [ - 1022 + 1029 ] }, { "teal": 880, "source": 385, "pc": [ - 1023 + 1030 ] }, { "teal": 881, "source": 385, "pc": [ - 1024 + 1031 ] }, { "teal": 882, "source": 385, "pc": [ - 1025 + 1032 ] }, { "teal": 883, "source": 385, "pc": [ - 1026, - 1027, - 1028 + 1033, + 1034, + 1035 ] }, { "teal": 888, "source": 386, "pc": [ - 1029 + 1036 ] }, { "teal": 889, "source": 386, "pc": [ - 1030, - 1031, - 1032 + 1037, + 1038, + 1039 ] }, { "teal": 894, "source": 388, "pc": [ - 1033 + 1040 ] }, { "teal": 895, "source": 388, "pc": [ - 1034, - 1035 + 1041, + 1042 ] }, { "teal": 899, "source": 389, "pc": [ - 1036 + 1043 ] }, { "teal": 900, "source": 389, "pc": [ - 1037, - 1038 + 1044, + 1045 ] }, { "teal": 901, "source": 389, "pc": [ - 1039 + 1046 ] }, { "teal": 902, "source": 389, "pc": [ - 1040 + 1047 ] }, { @@ -3918,542 +3925,542 @@ "source": 389, "errorMessage": "box value does not exist: this.stakerPoolSet(staker).value", "pc": [ - 1041 + 1048 ] }, { "teal": 906, "source": 389, "pc": [ - 1042, - 1043 + 1049, + 1050 ] }, { "teal": 910, "source": 390, "pc": [ - 1044 + 1051 ] }, { "teal": 911, "source": 390, "pc": [ - 1045, - 1046 + 1052, + 1053 ] }, { "teal": 916, "source": 390, "pc": [ - 1047, - 1048 + 1054, + 1055 ] }, { "teal": 917, "source": 390, "pc": [ - 1049, - 1050 + 1056, + 1057 ] }, { "teal": 918, "source": 390, "pc": [ - 1051 + 1058 ] }, { "teal": 919, "source": 390, "pc": [ - 1052, - 1053, - 1054 + 1059, + 1060, + 1061 ] }, { "teal": 924, "source": 391, "pc": [ - 1055, - 1056 + 1062, + 1063 ] }, { "teal": 925, "source": 391, "pc": [ - 1057, - 1058 + 1064, + 1065 ] }, { "teal": 926, "source": 391, "pc": [ - 1059 + 1066 ] }, { "teal": 927, "source": 391, "pc": [ - 1060 + 1067 ] }, { "teal": 928, "source": 391, "pc": [ - 1061 + 1068 ] }, { "teal": 929, "source": 391, "pc": [ - 1062 + 1069 ] }, { "teal": 930, "source": 391, "pc": [ - 1063 + 1070 ] }, { "teal": 931, "source": 391, "pc": [ - 1064 + 1071 ] }, { "teal": 932, "source": 391, "pc": [ - 1065 + 1072 ] }, { "teal": 933, "source": 391, "pc": [ - 1066 + 1073 ] }, { "teal": 934, "source": 391, "pc": [ - 1067 + 1074 ] }, { "teal": 935, "source": 391, "pc": [ - 1068, - 1069, - 1070 + 1075, + 1076, + 1077 ] }, { "teal": 940, "source": 392, "pc": [ - 1071, - 1072 + 1078, + 1079 ] }, { "teal": 941, "source": 392, "pc": [ - 1073, - 1074 + 1080, + 1081 ] }, { "teal": 942, "source": 392, "pc": [ - 1075, - 1076 + 1082, + 1083 ] }, { "teal": 943, "source": 392, "pc": [ - 1077 + 1084 ] }, { "teal": 944, "source": 392, "pc": [ - 1078 + 1085 ] }, { "teal": 945, "source": 392, "pc": [ - 1079 + 1086 ] }, { "teal": 946, "source": 392, "pc": [ - 1080 + 1087 ] }, { "teal": 947, "source": 392, "pc": [ - 1081 + 1088 ] }, { "teal": 948, "source": 392, "pc": [ - 1082, - 1083 + 1089, + 1090 ] }, { "teal": 955, "source": 390, "pc": [ - 1084, - 1085 + 1091, + 1092 ] }, { "teal": 956, "source": 390, "pc": [ - 1086 + 1093 ] }, { "teal": 957, "source": 390, "pc": [ - 1087 + 1094 ] }, { "teal": 958, "source": 390, "pc": [ - 1088, - 1089 + 1095, + 1096 ] }, { "teal": 959, "source": 390, "pc": [ - 1090, - 1091, - 1092 + 1097, + 1098, + 1099 ] }, { "teal": 964, "source": 395, "pc": [ - 1093, - 1094 + 1100, + 1101 ] }, { "teal": 968, "source": 384, "pc": [ - 1095, - 1096 + 1102, + 1103 ] }, { "teal": 971, "source": 384, "pc": [ - 1097, - 1098 + 1104, + 1105 ] }, { "teal": 972, "source": 384, "pc": [ - 1099 + 1106 ] }, { "teal": 977, "source": 406, "pc": [ - 1100 + 1107 ] }, { "teal": 980, "source": 406, "pc": [ - 1101, - 1102, - 1103 + 1108, + 1109, + 1110 ] }, { "teal": 981, "source": 406, "pc": [ - 1104 + 1111 ] }, { "teal": 984, "source": 406, "pc": [ - 1105, - 1106, - 1107 + 1112, + 1113, + 1114 ] }, { "teal": 985, "source": 406, "pc": [ - 1108 + 1115 ] }, { "teal": 986, "source": 406, "pc": [ - 1109 + 1116 ] }, { "teal": 987, "source": 406, "pc": [ - 1110 + 1117 ] }, { "teal": 988, "source": 406, "pc": [ - 1111 + 1118 ] }, { "teal": 998, "source": 406, "pc": [ - 1112, - 1113, - 1114 + 1119, + 1120, + 1121 ] }, { "teal": 1002, "source": 407, "pc": [ - 1115, - 1116 + 1122, + 1123 ] }, { "teal": 1003, "source": 407, "pc": [ - 1117, - 1118 + 1124, + 1125 ] }, { "teal": 1004, "source": 407, "pc": [ - 1119 + 1126 ] }, { "teal": 1005, "source": 407, "pc": [ - 1120, - 1121 + 1127, + 1128 ] }, { "teal": 1006, "source": 407, "pc": [ - 1122 + 1129 ] }, { "teal": 1007, "source": 407, "pc": [ - 1123 + 1130 ] }, { "teal": 1008, "source": 407, "pc": [ - 1124, - 1125 + 1131, + 1132 ] }, { "teal": 1009, "source": 407, "pc": [ - 1126 + 1133 ] }, { "teal": 1010, "source": 406, "pc": [ - 1127 + 1134 ] }, { "teal": 1015, "source": 411, "pc": [ - 1128 + 1135 ] }, { "teal": 1018, "source": 411, "pc": [ - 1129, - 1130, - 1131 + 1136, + 1137, + 1138 ] }, { "teal": 1019, "source": 411, "pc": [ - 1132 + 1139 ] }, { "teal": 1022, "source": 411, "pc": [ - 1133, - 1134, - 1135 + 1140, + 1141, + 1142 ] }, { "teal": 1023, "source": 411, "pc": [ - 1136 + 1143 ] }, { "teal": 1024, "source": 411, "pc": [ - 1137 + 1144 ] }, { "teal": 1025, "source": 411, "pc": [ - 1138 + 1145 ] }, { "teal": 1026, "source": 411, "pc": [ - 1139 + 1146 ] }, { "teal": 1030, "source": 411, "pc": [ - 1140, - 1141, - 1142 + 1147, + 1148, + 1149 ] }, { "teal": 1034, "source": 412, "pc": [ - 1143 + 1150 ] }, { "teal": 1035, "source": 412, "pc": [ - 1144, - 1145 + 1151, + 1152 ] }, { "teal": 1036, "source": 412, "pc": [ - 1146 + 1153 ] }, { "teal": 1037, "source": 412, "pc": [ - 1147 + 1154 ] }, { "teal": 1038, "source": 412, "pc": [ - 1148 + 1155 ] }, { "teal": 1039, "source": 412, "pc": [ - 1149 + 1156 ] }, { "teal": 1040, "source": 412, "pc": [ - 1150 + 1157 ] }, { @@ -4461,195 +4468,195 @@ "source": 412, "errorMessage": "the specified validator id doesn't exist", "pc": [ - 1151 + 1158 ] }, { "teal": 1047, "source": 414, "pc": [ - 1152, - 1153 + 1159, + 1160 ] }, { "teal": 1048, "source": 414, "pc": [ - 1154, - 1155 + 1161, + 1162 ] }, { "teal": 1049, "source": 414, "pc": [ - 1156 + 1163 ] }, { "teal": 1050, "source": 414, "pc": [ - 1157, - 1158 + 1164, + 1165 ] }, { "teal": 1051, "source": 414, "pc": [ - 1159 + 1166 ] }, { "teal": 1052, "source": 414, "pc": [ - 1160 + 1167 ] }, { "teal": 1053, "source": 414, "pc": [ - 1161, - 1162 + 1168, + 1169 ] }, { "teal": 1054, "source": 414, "pc": [ - 1163 + 1170 ] }, { "teal": 1055, "source": 411, "pc": [ - 1164 + 1171 ] }, { "teal": 1060, "source": 417, "pc": [ - 1165 + 1172 ] }, { "teal": 1063, "source": 417, "pc": [ - 1166, - 1167, - 1168 + 1173, + 1174, + 1175 ] }, { "teal": 1064, "source": 417, "pc": [ - 1169 + 1176 ] }, { "teal": 1065, "source": 417, "pc": [ - 1170 + 1177 ] }, { "teal": 1066, "source": 417, "pc": [ - 1171 + 1178 ] }, { "teal": 1067, "source": 417, "pc": [ - 1172 + 1179 ] }, { "teal": 1068, "source": 417, "pc": [ - 1173 + 1180 ] }, { "teal": 1072, "source": 417, "pc": [ - 1174, - 1175, - 1176 + 1181, + 1182, + 1183 ] }, { "teal": 1076, "source": 418, "pc": [ - 1177, - 1178, - 1179 + 1184, + 1185, + 1186 ] }, { "teal": 1077, "source": 417, "pc": [ - 1180 + 1187 ] }, { "teal": 1082, "source": 429, "pc": [ - 1181 + 1188 ] }, { "teal": 1085, "source": 429, "pc": [ - 1182, - 1183, - 1184 + 1189, + 1190, + 1191 ] }, { "teal": 1086, "source": 429, "pc": [ - 1185 + 1192 ] }, { "teal": 1087, "source": 429, "pc": [ - 1186 + 1193 ] }, { "teal": 1088, "source": 429, "pc": [ - 1187, - 1188 + 1194, + 1195 ] }, { "teal": 1089, "source": 429, "pc": [ - 1189 + 1196 ] }, { @@ -4657,76 +4664,76 @@ "source": 429, "errorMessage": "argument 0 (config) for addValidator must be a (uint64,address,address,uint64,uint8,address,uint64[4],uint64,uint64,uint64,uint32,uint32,address,uint64,uint64,uint8,uint64,uint64)", "pc": [ - 1190 + 1197 ] }, { "teal": 1095, "source": 429, "pc": [ - 1191, - 1192, - 1193 + 1198, + 1199, + 1200 ] }, { "teal": 1096, "source": 429, "pc": [ - 1194, - 1195, - 1196 + 1201, + 1202, + 1203 ] }, { "teal": 1099, "source": 429, "pc": [ - 1197, - 1198 + 1204, + 1205 ] }, { "teal": 1100, "source": 429, "pc": [ - 1199 + 1206 ] }, { "teal": 1101, "source": 429, "pc": [ - 1200 + 1207 ] }, { "teal": 1102, "source": 429, "pc": [ - 1201 + 1208 ] }, { "teal": 1103, "source": 429, "pc": [ - 1202, - 1203 + 1209, + 1210 ] }, { "teal": 1104, "source": 429, "pc": [ - 1204 + 1211 ] }, { "teal": 1105, "source": 429, "pc": [ - 1205 + 1212 ] }, { @@ -4734,194 +4741,194 @@ "source": 429, "errorMessage": "argument 2 (mbrPayment) for addValidator must be a pay transaction", "pc": [ - 1206 + 1213 ] }, { "teal": 1111, "source": 429, "pc": [ - 1207, - 1208, - 1209 + 1214, + 1215, + 1216 ] }, { "teal": 1112, "source": 429, "pc": [ - 1210 + 1217 ] }, { "teal": 1113, "source": 429, "pc": [ - 1211 + 1218 ] }, { "teal": 1114, "source": 429, "pc": [ - 1212 + 1219 ] }, { "teal": 1115, "source": 429, "pc": [ - 1213 + 1220 ] }, { "teal": 1116, "source": 429, "pc": [ - 1214 + 1221 ] }, { "teal": 1128, "source": 429, "pc": [ - 1215, - 1216, - 1217 + 1222, + 1223, + 1224 ] }, { "teal": 1131, "source": 429, "pc": [ - 1218 + 1225 ] }, { "teal": 1135, "source": 430, "pc": [ - 1219, - 1220 + 1226, + 1227 ] }, { "teal": 1136, "source": 430, "pc": [ - 1221, - 1222, - 1223 + 1228, + 1229, + 1230 ] }, { "teal": 1140, "source": 431, "pc": [ - 1224, - 1225 + 1231, + 1232 ] }, { "teal": 1141, "source": 431, "pc": [ - 1226, - 1227, - 1228 + 1233, + 1234, + 1235 ] }, { "teal": 1142, "source": 431, "pc": [ - 1229, - 1230 + 1236, + 1237 ] }, { "teal": 1143, "source": 431, "pc": [ - 1231 + 1238 ] }, { "teal": 1144, "source": 431, "pc": [ - 1232 + 1239 ] }, { "teal": 1148, "source": 432, "pc": [ - 1233, - 1234 + 1240, + 1241 ] }, { "teal": 1149, "source": 432, "pc": [ - 1235, - 1236, - 1237 + 1242, + 1243, + 1244 ] }, { "teal": 1150, "source": 432, "pc": [ - 1238, - 1239 + 1245, + 1246 ] }, { "teal": 1151, "source": 432, "pc": [ - 1240 + 1247 ] }, { "teal": 1152, "source": 432, "pc": [ - 1241 + 1248 ] }, { "teal": 1156, "source": 433, "pc": [ - 1242, - 1243 + 1249, + 1250 ] }, { "teal": 1157, "source": 433, "pc": [ - 1244, - 1245 + 1251, + 1252 ] }, { "teal": 1158, "source": 433, "pc": [ - 1246, - 1247, - 1248 + 1253, + 1254, + 1255 ] }, { "teal": 1159, "source": 433, "pc": [ - 1249 + 1256 ] }, { @@ -4929,55 +4936,55 @@ "source": 433, "errorMessage": "sender must be owner to add new validator", "pc": [ - 1250 + 1257 ] }, { "teal": 1167, "source": 435, "pc": [ - 1251, - 1252 + 1258, + 1259 ] }, { "teal": 1168, "source": 435, "pc": [ - 1253, - 1254 + 1260, + 1261 ] }, { "teal": 1169, "source": 435, "pc": [ - 1255, - 1256, - 1257 + 1262, + 1263, + 1264 ] }, { "teal": 1170, "source": 435, "pc": [ - 1258, - 1259, - 1260 + 1265, + 1266, + 1267 ] }, { "teal": 1171, "source": 435, "pc": [ - 1261 + 1268 ] }, { "teal": 1172, "source": 435, "pc": [ - 1262 + 1269 ] }, { @@ -4985,41 +4992,41 @@ "source": 435, "errorMessage": "transaction verification failed: {\"txn\":\"mbrPayment\",\"field\":\"amount\",\"expected\":\"this.getMbrAmounts().addValidatorMbr\"}", "pc": [ - 1263 + 1270 ] }, { "teal": 1179, "source": 437, "pc": [ - 1264, - 1265 + 1271, + 1272 ] }, { "teal": 1180, "source": 437, "pc": [ - 1266, - 1267 + 1273, + 1274 ] }, { "teal": 1181, "source": 437, "pc": [ - 1268, - 1269, - 1270, - 1271, - 1272 + 1275, + 1276, + 1277, + 1278, + 1279 ] }, { "teal": 1182, "source": 437, "pc": [ - 1273 + 1280 ] }, { @@ -5027,485 +5034,485 @@ "source": 437, "errorMessage": "fee must be 10 ALGO or more to prevent spamming of validators", "pc": [ - 1274 + 1281 ] }, { "teal": 1189, "source": 440, "pc": [ - 1275, - 1276 + 1282, + 1283 ] }, { "teal": 1190, "source": 440, "pc": [ - 1277 + 1284 ] }, { "teal": 1191, "source": 440, "pc": [ - 1278 + 1285 ] }, { "teal": 1192, "source": 440, "pc": [ - 1279 + 1286 ] }, { "teal": 1193, "source": 440, "pc": [ - 1280, - 1281 + 1287, + 1288 ] }, { "teal": 1197, "source": 441, "pc": [ - 1282, - 1283 + 1289, + 1290 ] }, { "teal": 1198, "source": 441, "pc": [ - 1284, - 1285 + 1291, + 1292 ] }, { "teal": 1199, "source": 441, "pc": [ - 1286 + 1293 ] }, { "teal": 1203, "source": 443, "pc": [ - 1287 + 1294 ] }, { "teal": 1204, "source": 443, "pc": [ - 1288, - 1289 + 1295, + 1296 ] }, { "teal": 1205, "source": 443, "pc": [ - 1290 + 1297 ] }, { "teal": 1206, "source": 443, "pc": [ - 1291 + 1298 ] }, { "teal": 1207, "source": 443, "pc": [ - 1292, - 1293, - 1294 + 1299, + 1300, + 1301 ] }, { "teal": 1208, "source": 443, "pc": [ - 1295 + 1302 ] }, { "teal": 1209, "source": 443, "pc": [ - 1296 + 1303 ] }, { "teal": 1213, "source": 444, "pc": [ - 1297 + 1304 ] }, { "teal": 1214, "source": 444, "pc": [ - 1298, - 1299 + 1305, + 1306 ] }, { "teal": 1215, "source": 444, "pc": [ - 1300 + 1307 ] }, { "teal": 1216, "source": 444, "pc": [ - 1301, - 1302 + 1308, + 1309 ] }, { "teal": 1217, "source": 444, "pc": [ - 1303 + 1310 ] }, { "teal": 1218, "source": 444, "pc": [ - 1304 + 1311 ] }, { "teal": 1219, "source": 444, "pc": [ - 1305, - 1306 + 1312, + 1313 ] }, { "teal": 1220, "source": 444, "pc": [ - 1307 + 1314 ] }, { "teal": 1224, "source": 445, "pc": [ - 1308 + 1315 ] }, { "teal": 1225, "source": 445, "pc": [ - 1309, - 1310 + 1316, + 1317 ] }, { "teal": 1226, "source": 445, "pc": [ - 1311 + 1318 ] }, { "teal": 1227, "source": 445, "pc": [ - 1312 + 1319 ] }, { "teal": 1228, "source": 445, "pc": [ - 1313, - 1314 + 1320, + 1321 ] }, { "teal": 1229, "source": 445, "pc": [ - 1315 + 1322 ] }, { "teal": 1230, "source": 445, "pc": [ - 1316 + 1323 ] }, { "teal": 1231, "source": 445, "pc": [ - 1317, - 1318 + 1324, + 1325 ] }, { "teal": 1232, "source": 445, "pc": [ - 1319 + 1326 ] }, { "teal": 1237, "source": 448, "pc": [ - 1320, - 1321 + 1327, + 1328 ] }, { "teal": 1238, "source": 448, "pc": [ - 1322, - 1323, - 1324 + 1329, + 1330, + 1331 ] }, { "teal": 1239, "source": 448, "pc": [ - 1325 + 1332 ] }, { "teal": 1240, "source": 448, "pc": [ - 1326 + 1333 ] }, { "teal": 1241, "source": 448, "pc": [ - 1327 + 1334 ] }, { "teal": 1242, "source": 448, "pc": [ - 1328, - 1329, - 1330 + 1335, + 1336, + 1337 ] }, { "teal": 1251, "source": 450, "pc": [ - 1331 + 1338 ] }, { "teal": 1252, "source": 450, "pc": [ - 1332, - 1333 + 1339, + 1340 ] }, { "teal": 1253, "source": 450, "pc": [ - 1334, - 1335 + 1341, + 1342 ] }, { "teal": 1257, "source": 451, "pc": [ - 1336, - 1337, - 1338 + 1343, + 1344, + 1345 ] }, { "teal": 1258, "source": 451, "pc": [ - 1339, - 1340 + 1346, + 1347 ] }, { "teal": 1262, "source": 452, "pc": [ - 1341, - 1342 + 1348, + 1349 ] }, { "teal": 1263, "source": 452, "pc": [ - 1343, - 1344 + 1350, + 1351 ] }, { "teal": 1264, "source": 452, "pc": [ - 1345, - 1346 + 1352, + 1353 ] }, { "teal": 1265, "source": 452, "pc": [ - 1347, - 1348 + 1354, + 1355 ] }, { "teal": 1266, "source": 452, "pc": [ - 1349, - 1350 + 1356, + 1357 ] }, { "teal": 1267, "source": 452, "pc": [ - 1351, - 1352, - 1353 + 1358, + 1359, + 1360 ] }, { "teal": 1268, "source": 452, "pc": [ - 1354 + 1361 ] }, { "teal": 1269, "source": 452, "pc": [ - 1355 + 1362 ] }, { "teal": 1270, "source": 452, "pc": [ - 1356, - 1357 + 1363, + 1364 ] }, { "teal": 1274, "source": 453, "pc": [ - 1358, - 1359 + 1365, + 1366 ] }, { "teal": 1275, "source": 453, "pc": [ - 1360, - 1361, - 1362 + 1367, + 1368, + 1369 ] }, { "teal": 1276, "source": 453, "pc": [ - 1363 + 1370 ] }, { "teal": 1277, "source": 453, "pc": [ - 1364, - 1365 + 1371, + 1372 ] }, { "teal": 1280, "source": 450, "pc": [ - 1366 + 1373 ] }, { "teal": 1281, "source": 450, "pc": [ - 1367, - 1368 + 1374, + 1375 ] }, { "teal": 1284, "source": 450, "pc": [ - 1369 + 1376 ] }, { "teal": 1288, "source": 455, "pc": [ - 1370, - 1371 + 1377, + 1378 ] }, { "teal": 1289, "source": 455, "pc": [ - 1372 + 1379 ] }, { "teal": 1290, "source": 455, "pc": [ - 1373 + 1380 ] }, { "teal": 1291, "source": 455, "pc": [ - 1374 + 1381 ] }, { @@ -5513,54 +5520,54 @@ "source": 455, "errorMessage": "provided NFD isn't valid", "pc": [ - 1375 + 1382 ] }, { "teal": 1301, "source": 458, "pc": [ - 1376, - 1377 + 1383, + 1384 ] }, { "teal": 1302, "source": 458, "pc": [ - 1378, - 1379 + 1385, + 1386 ] }, { "teal": 1303, "source": 458, "pc": [ - 1380, - 1381, - 1382 + 1387, + 1388, + 1389 ] }, { "teal": 1304, "source": 458, "pc": [ - 1383 + 1390 ] }, { "teal": 1305, "source": 458, "pc": [ - 1384, - 1385 + 1391, + 1392 ] }, { "teal": 1306, "source": 458, "pc": [ - 1386 + 1393 ] }, { @@ -5568,14 +5575,14 @@ "source": 458, "errorMessage": "global state value does not exist: AppID.fromUint64(config.nfdForInfo).globalState('i.owner.a')", "pc": [ - 1387 + 1394 ] }, { "teal": 1310, "source": 458, "pc": [ - 1388 + 1395 ] }, { @@ -5583,150 +5590,150 @@ "source": 457, "errorMessage": "If specifying NFD, account adding validator must be owner", "pc": [ - 1389 + 1396 ] }, { "teal": 1320, "source": 463, "pc": [ - 1390, - 1391 + 1397, + 1398 ] }, { "teal": 1321, "source": 463, "pc": [ - 1392, - 1393, - 1394 + 1399, + 1400, + 1401 ] }, { "teal": 1322, "source": 463, "pc": [ - 1395 + 1402 ] }, { "teal": 1323, "source": 463, "pc": [ - 1396, - 1397 + 1403, + 1404 ] }, { "teal": 1324, "source": 463, "pc": [ - 1398 + 1405 ] }, { "teal": 1325, "source": 463, "pc": [ - 1399 + 1406 ] }, { "teal": 1326, "source": 463, "pc": [ - 1400, - 1401, - 1402 + 1407, + 1408, + 1409 ] }, { "teal": 1327, "source": 464, "pc": [ - 1403, - 1404 + 1410, + 1411 ] }, { "teal": 1328, "source": 464, "pc": [ - 1405, - 1406, - 1407 + 1412, + 1413, + 1414 ] }, { "teal": 1329, "source": 464, "pc": [ - 1408 + 1415 ] }, { "teal": 1330, "source": 464, "pc": [ - 1409, - 1410 + 1416, + 1417 ] }, { "teal": 1331, "source": 464, "pc": [ - 1411 + 1418 ] }, { "teal": 1332, "source": 463, "pc": [ - 1412 + 1419 ] }, { "teal": 1335, "source": 462, "pc": [ - 1413, - 1414, - 1415 + 1420, + 1421, + 1422 ] }, { "teal": 1343, "source": 468, "pc": [ - 1416, - 1417 + 1423, + 1424 ] }, { "teal": 1344, "source": 468, "pc": [ - 1418, - 1419, - 1420 + 1425, + 1426, + 1427 ] }, { "teal": 1345, "source": 468, "pc": [ - 1421 + 1428 ] }, { "teal": 1346, "source": 468, "pc": [ - 1422, - 1423, - 1424 + 1429, + 1430, + 1431 ] }, { @@ -5734,68 +5741,68 @@ "source": 467, "errorMessage": "provided NFD App id for gating must be valid NFD", "pc": [ - 1425 + 1432 ] }, { "teal": 1354, "source": 473, "pc": [ - 1426, - 1427 + 1433, + 1434 ] }, { "teal": 1357, "source": 429, "pc": [ - 1428, - 1429 + 1435, + 1436 ] }, { "teal": 1358, "source": 429, "pc": [ - 1430 + 1437 ] }, { "teal": 1363, "source": 483, "pc": [ - 1431, - 1432, - 1433 + 1438, + 1439, + 1440 ] }, { "teal": 1364, "source": 483, "pc": [ - 1434 + 1441 ] }, { "teal": 1365, "source": 483, "pc": [ - 1435 + 1442 ] }, { "teal": 1366, "source": 483, "pc": [ - 1436, - 1437 + 1443, + 1444 ] }, { "teal": 1367, "source": 483, "pc": [ - 1438 + 1445 ] }, { @@ -5803,129 +5810,129 @@ "source": 483, "errorMessage": "argument 0 (manager) for changeValidatorManager must be a address", "pc": [ - 1439 + 1446 ] }, { "teal": 1373, "source": 483, "pc": [ - 1440, - 1441, - 1442 + 1447, + 1448, + 1449 ] }, { "teal": 1374, "source": 483, "pc": [ - 1443 + 1450 ] }, { "teal": 1377, "source": 483, "pc": [ - 1444, - 1445, - 1446 + 1451, + 1452, + 1453 ] }, { "teal": 1378, "source": 483, "pc": [ - 1447 + 1454 ] }, { "teal": 1379, "source": 483, "pc": [ - 1448 + 1455 ] }, { "teal": 1389, "source": 483, "pc": [ - 1449, - 1450, - 1451 + 1456, + 1457, + 1458 ] }, { "teal": 1396, "source": 485, "pc": [ - 1452, - 1453 + 1459, + 1460 ] }, { "teal": 1397, "source": 485, "pc": [ - 1454 + 1461 ] }, { "teal": 1398, "source": 485, "pc": [ - 1455, - 1456 + 1462, + 1463 ] }, { "teal": 1399, "source": 485, "pc": [ - 1457 + 1464 ] }, { "teal": 1400, "source": 485, "pc": [ - 1458, - 1459 + 1465, + 1466 ] }, { "teal": 1401, "source": 485, "pc": [ - 1460 + 1467 ] }, { "teal": 1402, "source": 485, "pc": [ - 1461 + 1468 ] }, { "teal": 1403, "source": 485, "pc": [ - 1462, - 1463 + 1469, + 1470 ] }, { "teal": 1404, "source": 485, "pc": [ - 1464 + 1471 ] }, { "teal": 1405, "source": 485, "pc": [ - 1465 + 1472 ] }, { @@ -5933,228 +5940,228 @@ "source": 484, "errorMessage": "can only be called by validator owner", "pc": [ - 1466 + 1473 ] }, { "teal": 1412, "source": 488, "pc": [ - 1467, - 1468 + 1474, + 1475 ] }, { "teal": 1413, "source": 488, "pc": [ - 1469, - 1470 + 1476, + 1477 ] }, { "teal": 1414, "source": 488, "pc": [ - 1471 + 1478 ] }, { "teal": 1415, "source": 488, "pc": [ - 1472, - 1473 + 1479, + 1480 ] }, { "teal": 1416, "source": 488, "pc": [ - 1474 + 1481 ] }, { "teal": 1417, "source": 488, "pc": [ - 1475 + 1482 ] }, { "teal": 1418, "source": 488, "pc": [ - 1476, - 1477 + 1483, + 1484 ] }, { "teal": 1419, "source": 488, "pc": [ - 1478 + 1485 ] }, { "teal": 1420, "source": 483, "pc": [ - 1479 + 1486 ] }, { "teal": 1425, "source": 499, "pc": [ - 1480, - 1481, - 1482 + 1487, + 1488, + 1489 ] }, { "teal": 1426, "source": 499, "pc": [ - 1483 + 1490 ] }, { "teal": 1429, "source": 499, "pc": [ - 1484, - 1485, - 1486 + 1491, + 1492, + 1493 ] }, { "teal": 1430, "source": 499, "pc": [ - 1487 + 1494 ] }, { "teal": 1433, "source": 499, "pc": [ - 1488, - 1489, - 1490 + 1495, + 1496, + 1497 ] }, { "teal": 1434, "source": 499, "pc": [ - 1491 + 1498 ] }, { "teal": 1437, "source": 499, "pc": [ - 1492, - 1493, - 1494 + 1499, + 1500, + 1501 ] }, { "teal": 1438, "source": 499, "pc": [ - 1495 + 1502 ] }, { "teal": 1439, "source": 499, "pc": [ - 1496 + 1503 ] }, { "teal": 1450, "source": 499, "pc": [ - 1497, - 1498, - 1499 + 1504, + 1505, + 1506 ] }, { "teal": 1457, "source": 501, "pc": [ - 1500, - 1501 + 1507, + 1508 ] }, { "teal": 1458, "source": 501, "pc": [ - 1502 + 1509 ] }, { "teal": 1459, "source": 501, "pc": [ - 1503, - 1504 + 1510, + 1511 ] }, { "teal": 1460, "source": 501, "pc": [ - 1505 + 1512 ] }, { "teal": 1461, "source": 501, "pc": [ - 1506, - 1507 + 1513, + 1514 ] }, { "teal": 1462, "source": 501, "pc": [ - 1508 + 1515 ] }, { "teal": 1463, "source": 501, "pc": [ - 1509 + 1516 ] }, { "teal": 1464, "source": 501, "pc": [ - 1510, - 1511 + 1517, + 1518 ] }, { "teal": 1465, "source": 501, "pc": [ - 1512 + 1519 ] }, { "teal": 1466, "source": 501, "pc": [ - 1513 + 1520 ] }, { @@ -6162,305 +6169,305 @@ "source": 500, "errorMessage": "can only be called by validator owner", "pc": [ - 1514 + 1521 ] }, { "teal": 1473, "source": 504, "pc": [ - 1515, - 1516 + 1522, + 1523 ] }, { "teal": 1474, "source": 504, "pc": [ - 1517, - 1518 + 1524, + 1525 ] }, { "teal": 1475, "source": 504, "pc": [ - 1519 + 1526 ] }, { "teal": 1476, "source": 504, "pc": [ - 1520 + 1527 ] }, { "teal": 1477, "source": 504, "pc": [ - 1521, - 1522 + 1528, + 1529 ] }, { "teal": 1478, "source": 504, "pc": [ - 1523 + 1530 ] }, { "teal": 1479, "source": 504, "pc": [ - 1524 + 1531 ] }, { "teal": 1480, "source": 504, "pc": [ - 1525, - 1526 + 1532, + 1533 ] }, { "teal": 1481, "source": 504, "pc": [ - 1527 + 1534 ] }, { "teal": 1485, "source": 505, "pc": [ - 1528, - 1529, - 1530 + 1535, + 1536, + 1537 ] }, { "teal": 1486, "source": 505, "pc": [ - 1531, - 1532 + 1538, + 1539 ] }, { "teal": 1487, "source": 505, "pc": [ - 1533 + 1540 ] }, { "teal": 1488, "source": 505, "pc": [ - 1534 + 1541 ] }, { "teal": 1489, "source": 505, "pc": [ - 1535, - 1536 + 1542, + 1543 ] }, { "teal": 1490, "source": 505, "pc": [ - 1537 + 1544 ] }, { "teal": 1491, "source": 505, "pc": [ - 1538 + 1545 ] }, { "teal": 1492, "source": 505, "pc": [ - 1539, - 1540 + 1546, + 1547 ] }, { "teal": 1493, "source": 505, "pc": [ - 1541 + 1548 ] }, { "teal": 1494, "source": 499, "pc": [ - 1542 + 1549 ] }, { "teal": 1499, "source": 516, "pc": [ - 1543, - 1544, - 1545 + 1550, + 1551, + 1552 ] }, { "teal": 1500, "source": 516, "pc": [ - 1546, - 1547, - 1548 + 1553, + 1554, + 1555 ] }, { "teal": 1503, "source": 516, "pc": [ - 1549, - 1550, - 1551 + 1556, + 1557, + 1558 ] }, { "teal": 1504, "source": 516, "pc": [ - 1552 + 1559 ] }, { "teal": 1507, "source": 516, "pc": [ - 1553, - 1554, - 1555 + 1560, + 1561, + 1562 ] }, { "teal": 1508, "source": 516, "pc": [ - 1556 + 1563 ] }, { "teal": 1511, "source": 516, "pc": [ - 1557, - 1558, - 1559 + 1564, + 1565, + 1566 ] }, { "teal": 1512, "source": 516, "pc": [ - 1560 + 1567 ] }, { "teal": 1513, "source": 516, "pc": [ - 1561 + 1568 ] }, { "teal": 1524, "source": 516, "pc": [ - 1562, - 1563, - 1564 + 1569, + 1570, + 1571 ] }, { "teal": 1531, "source": 519, "pc": [ - 1565, - 1566 + 1572, + 1573 ] }, { "teal": 1532, "source": 519, "pc": [ - 1567 + 1574 ] }, { "teal": 1533, "source": 519, "pc": [ - 1568, - 1569 + 1575, + 1576 ] }, { "teal": 1534, "source": 519, "pc": [ - 1570 + 1577 ] }, { "teal": 1535, "source": 519, "pc": [ - 1571, - 1572 + 1578, + 1579 ] }, { "teal": 1536, "source": 519, "pc": [ - 1573 + 1580 ] }, { "teal": 1537, "source": 519, "pc": [ - 1574 + 1581 ] }, { "teal": 1538, "source": 519, "pc": [ - 1575, - 1576 + 1582, + 1583 ] }, { "teal": 1539, "source": 519, "pc": [ - 1577 + 1584 ] }, { "teal": 1540, "source": 519, "pc": [ - 1578 + 1585 ] }, { @@ -6468,171 +6475,171 @@ "source": 518, "errorMessage": "can only be called by validator owner", "pc": [ - 1579 + 1586 ] }, { "teal": 1551, "source": 523, "pc": [ - 1580 + 1587 ] }, { "teal": 1552, "source": 523, "pc": [ - 1581, - 1582 + 1588, + 1589 ] }, { "teal": 1553, "source": 523, "pc": [ - 1583, - 1584 + 1590, + 1591 ] }, { "teal": 1557, "source": 524, "pc": [ - 1585, - 1586, - 1587 + 1592, + 1593, + 1594 ] }, { "teal": 1558, "source": 524, "pc": [ - 1588, - 1589 + 1595, + 1596 ] }, { "teal": 1562, "source": 525, "pc": [ - 1590, - 1591 + 1597, + 1598 ] }, { "teal": 1563, "source": 525, "pc": [ - 1592, - 1593 + 1599, + 1600 ] }, { "teal": 1564, "source": 525, "pc": [ - 1594, - 1595 + 1601, + 1602 ] }, { "teal": 1565, "source": 525, "pc": [ - 1596, - 1597 + 1603, + 1604 ] }, { "teal": 1566, "source": 525, "pc": [ - 1598, - 1599 + 1605, + 1606 ] }, { "teal": 1567, "source": 525, "pc": [ - 1600 + 1607 ] }, { "teal": 1568, "source": 525, "pc": [ - 1601, - 1602 + 1608, + 1609 ] }, { "teal": 1572, "source": 526, "pc": [ - 1603, - 1604 + 1610, + 1611 ] }, { "teal": 1573, "source": 526, "pc": [ - 1605, - 1606 + 1612, + 1613 ] }, { "teal": 1576, "source": 523, "pc": [ - 1607 + 1614 ] }, { "teal": 1577, "source": 523, "pc": [ - 1608, - 1609 + 1615, + 1616 ] }, { "teal": 1580, "source": 523, "pc": [ - 1610 + 1617 ] }, { "teal": 1587, "source": 530, "pc": [ - 1611, - 1612 + 1618, + 1619 ] }, { "teal": 1588, "source": 530, "pc": [ - 1613, - 1614 + 1620, + 1621 ] }, { "teal": 1589, "source": 530, "pc": [ - 1615, - 1616 + 1622, + 1623 ] }, { "teal": 1590, "source": 530, "pc": [ - 1617 + 1624 ] }, { @@ -6640,14 +6647,14 @@ "source": 530, "errorMessage": "global state value does not exist: AppID.fromUint64(nfdAppID).globalState('i.owner.a')", "pc": [ - 1618 + 1625 ] }, { "teal": 1594, "source": 530, "pc": [ - 1619 + 1626 ] }, { @@ -6655,119 +6662,119 @@ "source": 529, "errorMessage": "If specifying NFD, account adding validator must be owner", "pc": [ - 1620 + 1627 ] }, { "teal": 1601, "source": 533, "pc": [ - 1621, - 1622 + 1628, + 1629 ] }, { "teal": 1602, "source": 533, "pc": [ - 1623, - 1624 + 1630, + 1631 ] }, { "teal": 1603, "source": 533, "pc": [ - 1625 + 1632 ] }, { "teal": 1604, "source": 533, "pc": [ - 1626 + 1633 ] }, { "teal": 1605, "source": 533, "pc": [ - 1627, - 1628 + 1634, + 1635 ] }, { "teal": 1606, "source": 533, "pc": [ - 1629 + 1636 ] }, { "teal": 1607, "source": 533, "pc": [ - 1630 + 1637 ] }, { "teal": 1608, "source": 533, "pc": [ - 1631, - 1632 + 1638, + 1639 ] }, { "teal": 1609, "source": 533, "pc": [ - 1633 + 1640 ] }, { "teal": 1610, "source": 516, "pc": [ - 1634 + 1641 ] }, { "teal": 1615, "source": 540, "pc": [ - 1635, - 1636, - 1637 + 1642, + 1643, + 1644 ] }, { "teal": 1616, "source": 540, "pc": [ - 1638 + 1645 ] }, { "teal": 1617, "source": 540, "pc": [ - 1639 + 1646 ] }, { "teal": 1618, "source": 540, "pc": [ - 1640, - 1641 + 1647, + 1648 ] }, { "teal": 1619, "source": 540, "pc": [ - 1642 + 1649 ] }, { @@ -6775,129 +6782,129 @@ "source": 540, "errorMessage": "argument 0 (commissionAddress) for changeValidatorCommissionAddress must be a address", "pc": [ - 1643 + 1650 ] }, { "teal": 1625, "source": 540, "pc": [ - 1644, - 1645, - 1646 + 1651, + 1652, + 1653 ] }, { "teal": 1626, "source": 540, "pc": [ - 1647 + 1654 ] }, { "teal": 1629, "source": 540, "pc": [ - 1648, - 1649, - 1650 + 1655, + 1656, + 1657 ] }, { "teal": 1630, "source": 540, "pc": [ - 1651 + 1658 ] }, { "teal": 1631, "source": 540, "pc": [ - 1652 + 1659 ] }, { "teal": 1638, "source": 540, "pc": [ - 1653, - 1654, - 1655 + 1660, + 1661, + 1662 ] }, { "teal": 1645, "source": 542, "pc": [ - 1656, - 1657 + 1663, + 1664 ] }, { "teal": 1646, "source": 542, "pc": [ - 1658 + 1665 ] }, { "teal": 1647, "source": 542, "pc": [ - 1659, - 1660 + 1666, + 1667 ] }, { "teal": 1648, "source": 542, "pc": [ - 1661 + 1668 ] }, { "teal": 1649, "source": 542, "pc": [ - 1662, - 1663 + 1669, + 1670 ] }, { "teal": 1650, "source": 542, "pc": [ - 1664 + 1671 ] }, { "teal": 1651, "source": 542, "pc": [ - 1665 + 1672 ] }, { "teal": 1652, "source": 542, "pc": [ - 1666, - 1667 + 1673, + 1674 ] }, { "teal": 1653, "source": 542, "pc": [ - 1668 + 1675 ] }, { "teal": 1654, "source": 542, "pc": [ - 1669 + 1676 ] }, { @@ -6905,175 +6912,175 @@ "source": 541, "errorMessage": "can only be called by validator owner", "pc": [ - 1670 + 1677 ] }, { "teal": 1661, "source": 545, "pc": [ - 1671, - 1672 + 1678, + 1679 ] }, { "teal": 1662, "source": 545, "pc": [ - 1673, - 1674 + 1680, + 1681 ] }, { "teal": 1663, "source": 545, "pc": [ - 1675 + 1682 ] }, { "teal": 1664, "source": 545, "pc": [ - 1676 + 1683 ] }, { "teal": 1668, "source": 546, "pc": [ - 1677, - 1678, - 1679 + 1684, + 1685, + 1686 ] }, { "teal": 1669, "source": 546, "pc": [ - 1680, - 1681 + 1687, + 1688 ] }, { "teal": 1670, "source": 546, "pc": [ - 1682 + 1689 ] }, { "teal": 1671, "source": 546, "pc": [ - 1683, - 1684 + 1690, + 1691 ] }, { "teal": 1672, "source": 546, "pc": [ - 1685 + 1692 ] }, { "teal": 1673, "source": 546, "pc": [ - 1686 + 1693 ] }, { "teal": 1674, "source": 546, "pc": [ - 1687, - 1688 + 1694, + 1695 ] }, { "teal": 1675, "source": 546, "pc": [ - 1689 + 1696 ] }, { "teal": 1676, "source": 540, "pc": [ - 1690 + 1697 ] }, { "teal": 1681, "source": 559, "pc": [ - 1691, - 1692, - 1693 + 1698, + 1699, + 1700 ] }, { "teal": 1682, "source": 559, "pc": [ - 1694 + 1701 ] }, { "teal": 1685, "source": 558, "pc": [ - 1695, - 1696, - 1697 + 1702, + 1703, + 1704 ] }, { "teal": 1686, "source": 558, "pc": [ - 1698 + 1705 ] }, { "teal": 1689, "source": 557, "pc": [ - 1699, - 1700, - 1701 + 1706, + 1707, + 1708 ] }, { "teal": 1690, "source": 557, "pc": [ - 1702 + 1709 ] }, { "teal": 1691, "source": 557, "pc": [ - 1703 + 1710 ] }, { "teal": 1692, "source": 557, "pc": [ - 1704, - 1705 + 1711, + 1712 ] }, { "teal": 1693, "source": 557, "pc": [ - 1706 + 1713 ] }, { @@ -7081,45 +7088,45 @@ "source": 557, "errorMessage": "argument 2 (EntryGatingAssets) for changeValidatorRewardInfo must be a uint64[4]", "pc": [ - 1707 + 1714 ] }, { "teal": 1699, "source": 556, "pc": [ - 1708, - 1709, - 1710 + 1715, + 1716, + 1717 ] }, { "teal": 1700, "source": 556, "pc": [ - 1711 + 1718 ] }, { "teal": 1701, "source": 556, "pc": [ - 1712 + 1719 ] }, { "teal": 1702, "source": 556, "pc": [ - 1713, - 1714 + 1720, + 1721 ] }, { "teal": 1703, "source": 556, "pc": [ - 1715 + 1722 ] }, { @@ -7127,44 +7134,44 @@ "source": 556, "errorMessage": "argument 3 (EntryGatingAddress) for changeValidatorRewardInfo must be a address", "pc": [ - 1716 + 1723 ] }, { "teal": 1709, "source": 555, "pc": [ - 1717, - 1718, - 1719 + 1724, + 1725, + 1726 ] }, { "teal": 1710, "source": 555, "pc": [ - 1720 + 1727 ] }, { "teal": 1711, "source": 555, "pc": [ - 1721 + 1728 ] }, { "teal": 1712, "source": 555, "pc": [ - 1722 + 1729 ] }, { "teal": 1713, "source": 555, "pc": [ - 1723 + 1730 ] }, { @@ -7172,136 +7179,136 @@ "source": 555, "errorMessage": "argument 4 (EntryGatingType) for changeValidatorRewardInfo must be a uint8", "pc": [ - 1724 + 1731 ] }, { "teal": 1717, "source": 555, "pc": [ - 1725 + 1732 ] }, { "teal": 1720, "source": 554, "pc": [ - 1726, - 1727, - 1728 + 1733, + 1734, + 1735 ] }, { "teal": 1721, "source": 554, "pc": [ - 1729 + 1736 ] }, { "teal": 1724, "source": 553, "pc": [ - 1730, - 1731, - 1732 + 1737, + 1738, + 1739 ] }, { "teal": 1725, "source": 553, "pc": [ - 1733 + 1740 ] }, { "teal": 1726, "source": 553, "pc": [ - 1734 + 1741 ] }, { "teal": 1733, "source": 553, "pc": [ - 1735, - 1736, - 1737 + 1742, + 1743, + 1744 ] }, { "teal": 1740, "source": 562, "pc": [ - 1738, - 1739 + 1745, + 1746 ] }, { "teal": 1741, "source": 562, "pc": [ - 1740 + 1747 ] }, { "teal": 1742, "source": 562, "pc": [ - 1741, - 1742 + 1748, + 1749 ] }, { "teal": 1743, "source": 562, "pc": [ - 1743 + 1750 ] }, { "teal": 1744, "source": 562, "pc": [ - 1744, - 1745 + 1751, + 1752 ] }, { "teal": 1745, "source": 562, "pc": [ - 1746 + 1753 ] }, { "teal": 1746, "source": 562, "pc": [ - 1747 + 1754 ] }, { "teal": 1747, "source": 562, "pc": [ - 1748, - 1749 + 1755, + 1756 ] }, { "teal": 1748, "source": 562, "pc": [ - 1750 + 1757 ] }, { "teal": 1749, "source": 562, "pc": [ - 1751 + 1758 ] }, { @@ -7309,435 +7316,435 @@ "source": 561, "errorMessage": "can only be called by validator owner", "pc": [ - 1752 + 1759 ] }, { "teal": 1756, "source": 566, "pc": [ - 1753, - 1754 + 1760, + 1761 ] }, { "teal": 1757, "source": 566, "pc": [ - 1755, - 1756 + 1762, + 1763 ] }, { "teal": 1758, "source": 566, "pc": [ - 1757 + 1764 ] }, { "teal": 1759, "source": 566, "pc": [ - 1758, - 1759, - 1760 + 1765, + 1766, + 1767 ] }, { "teal": 1760, "source": 566, "pc": [ - 1761 + 1768 ] }, { "teal": 1761, "source": 566, "pc": [ - 1762, - 1763 + 1769, + 1770 ] }, { "teal": 1762, "source": 566, "pc": [ - 1764 + 1771 ] }, { "teal": 1763, "source": 566, "pc": [ - 1765 + 1772 ] }, { "teal": 1764, "source": 566, "pc": [ - 1766, - 1767 + 1773, + 1774 ] }, { "teal": 1765, "source": 566, "pc": [ - 1768 + 1775 ] }, { "teal": 1769, "source": 567, "pc": [ - 1769, - 1770 + 1776, + 1777 ] }, { "teal": 1770, "source": 567, "pc": [ - 1771, - 1772 + 1778, + 1779 ] }, { "teal": 1771, "source": 567, "pc": [ - 1773 + 1780 ] }, { "teal": 1772, "source": 567, "pc": [ - 1774, - 1775 + 1781, + 1782 ] }, { "teal": 1773, "source": 567, "pc": [ - 1776 + 1783 ] }, { "teal": 1774, "source": 567, "pc": [ - 1777 + 1784 ] }, { "teal": 1775, "source": 567, "pc": [ - 1778, - 1779 + 1785, + 1786 ] }, { "teal": 1776, "source": 567, "pc": [ - 1780 + 1787 ] }, { "teal": 1780, "source": 568, "pc": [ - 1781, - 1782 + 1788, + 1789 ] }, { "teal": 1781, "source": 568, "pc": [ - 1783, - 1784 + 1790, + 1791 ] }, { "teal": 1782, "source": 568, "pc": [ - 1785 + 1792 ] }, { "teal": 1783, "source": 568, "pc": [ - 1786, - 1787 + 1793, + 1794 ] }, { "teal": 1784, "source": 568, "pc": [ - 1788 + 1795 ] }, { "teal": 1785, "source": 568, "pc": [ - 1789 + 1796 ] }, { "teal": 1786, "source": 568, "pc": [ - 1790, - 1791 + 1797, + 1798 ] }, { "teal": 1787, "source": 568, "pc": [ - 1792 + 1799 ] }, { "teal": 1791, "source": 569, "pc": [ - 1793, - 1794 + 1800, + 1801 ] }, { "teal": 1792, "source": 569, "pc": [ - 1795, - 1796 + 1802, + 1803 ] }, { "teal": 1793, "source": 569, "pc": [ - 1797 + 1804 ] }, { "teal": 1794, "source": 569, "pc": [ - 1798 + 1805 ] }, { "teal": 1795, "source": 569, "pc": [ - 1799, - 1800 + 1806, + 1807 ] }, { "teal": 1796, "source": 569, "pc": [ - 1801 + 1808 ] }, { "teal": 1797, "source": 569, "pc": [ - 1802 + 1809 ] }, { "teal": 1798, "source": 569, "pc": [ - 1803, - 1804 + 1810, + 1811 ] }, { "teal": 1799, "source": 569, "pc": [ - 1805 + 1812 ] }, { "teal": 1803, "source": 570, "pc": [ - 1806, - 1807, - 1808 + 1813, + 1814, + 1815 ] }, { "teal": 1804, "source": 570, "pc": [ - 1809, - 1810 + 1816, + 1817 ] }, { "teal": 1805, "source": 570, "pc": [ - 1811 + 1818 ] }, { "teal": 1806, "source": 570, "pc": [ - 1812 + 1819 ] }, { "teal": 1807, "source": 570, "pc": [ - 1813, - 1814 + 1820, + 1821 ] }, { "teal": 1808, "source": 570, "pc": [ - 1815 + 1822 ] }, { "teal": 1809, "source": 570, "pc": [ - 1816 + 1823 ] }, { "teal": 1810, "source": 570, "pc": [ - 1817, - 1818 + 1824, + 1825 ] }, { "teal": 1811, "source": 570, "pc": [ - 1819 + 1826 ] }, { "teal": 1812, "source": 553, "pc": [ - 1820 + 1827 ] }, { "teal": 1817, "source": 584, "pc": [ - 1821 + 1828 ] }, { "teal": 1820, "source": 584, "pc": [ - 1822, - 1823, - 1824 + 1829, + 1830, + 1831 ] }, { "teal": 1821, "source": 584, "pc": [ - 1825 + 1832 ] }, { "teal": 1824, "source": 584, "pc": [ - 1826, - 1827, - 1828 + 1833, + 1834, + 1835 ] }, { "teal": 1825, "source": 584, "pc": [ - 1829 + 1836 ] }, { "teal": 1828, "source": 584, "pc": [ - 1830, - 1831 + 1837, + 1838 ] }, { "teal": 1829, "source": 584, "pc": [ - 1832 + 1839 ] }, { "teal": 1830, "source": 584, "pc": [ - 1833 + 1840 ] }, { "teal": 1831, "source": 584, "pc": [ - 1834 + 1841 ] }, { "teal": 1832, "source": 584, "pc": [ - 1835, - 1836 + 1842, + 1843 ] }, { "teal": 1833, "source": 584, "pc": [ - 1837 + 1844 ] }, { "teal": 1834, "source": 584, "pc": [ - 1838 + 1845 ] }, { @@ -7745,239 +7752,239 @@ "source": 584, "errorMessage": "argument 2 (mbrPayment) for addPool must be a pay transaction", "pc": [ - 1839 + 1846 ] }, { "teal": 1840, "source": 584, "pc": [ - 1840, - 1841, - 1842 + 1847, + 1848, + 1849 ] }, { "teal": 1841, "source": 584, "pc": [ - 1843 + 1850 ] }, { "teal": 1842, "source": 584, "pc": [ - 1844 + 1851 ] }, { "teal": 1843, "source": 584, "pc": [ - 1845 + 1852 ] }, { "teal": 1844, "source": 584, "pc": [ - 1846 + 1853 ] }, { "teal": 1857, "source": 584, "pc": [ - 1847, - 1848, - 1849 + 1854, + 1855, + 1856 ] }, { "teal": 1860, "source": 584, "pc": [ - 1850 + 1857 ] }, { "teal": 1861, "source": 584, "pc": [ - 1851 + 1858 ] }, { "teal": 1869, "source": 587, "pc": [ - 1852, - 1853 + 1859, + 1860 ] }, { "teal": 1870, "source": 587, "pc": [ - 1854 + 1861 ] }, { "teal": 1871, "source": 587, "pc": [ - 1855, - 1856 + 1862, + 1863 ] }, { "teal": 1872, "source": 587, "pc": [ - 1857 + 1864 ] }, { "teal": 1873, "source": 587, "pc": [ - 1858, - 1859 + 1865, + 1866 ] }, { "teal": 1874, "source": 587, "pc": [ - 1860 + 1867 ] }, { "teal": 1875, "source": 587, "pc": [ - 1861 + 1868 ] }, { "teal": 1876, "source": 587, "pc": [ - 1862, - 1863 + 1869, + 1870 ] }, { "teal": 1877, "source": 587, "pc": [ - 1864 + 1871 ] }, { "teal": 1878, "source": 587, "pc": [ - 1865 + 1872 ] }, { "teal": 1879, "source": 587, "pc": [ - 1866 + 1873 ] }, { "teal": 1880, "source": 587, "pc": [ - 1867, - 1868, - 1869 + 1874, + 1875, + 1876 ] }, { "teal": 1881, "source": 588, "pc": [ - 1870, - 1871 + 1877, + 1878 ] }, { "teal": 1882, "source": 588, "pc": [ - 1872, - 1873 + 1879, + 1880 ] }, { "teal": 1883, "source": 588, "pc": [ - 1874, - 1875 + 1881, + 1882 ] }, { "teal": 1884, "source": 588, "pc": [ - 1876 + 1883 ] }, { "teal": 1885, "source": 588, "pc": [ - 1877, - 1878 + 1884, + 1885 ] }, { "teal": 1886, "source": 588, "pc": [ - 1879 + 1886 ] }, { "teal": 1887, "source": 588, "pc": [ - 1880 + 1887 ] }, { "teal": 1888, "source": 588, "pc": [ - 1881, - 1882 + 1888, + 1889 ] }, { "teal": 1889, "source": 588, "pc": [ - 1883 + 1890 ] }, { "teal": 1890, "source": 588, "pc": [ - 1884 + 1891 ] }, { "teal": 1891, "source": 587, "pc": [ - 1885 + 1892 ] }, { @@ -7985,55 +7992,55 @@ "source": 586, "errorMessage": "can only be called by owner or manager of validator", "pc": [ - 1886 + 1893 ] }, { "teal": 1900, "source": 593, "pc": [ - 1887, - 1888 + 1894, + 1895 ] }, { "teal": 1901, "source": 593, "pc": [ - 1889, - 1890 + 1896, + 1897 ] }, { "teal": 1902, "source": 593, "pc": [ - 1891, - 1892, - 1893 + 1898, + 1899, + 1900 ] }, { "teal": 1903, "source": 593, "pc": [ - 1894, - 1895, - 1896 + 1901, + 1902, + 1903 ] }, { "teal": 1904, "source": 593, "pc": [ - 1897 + 1904 ] }, { "teal": 1905, "source": 593, "pc": [ - 1898 + 1905 ] }, { @@ -8041,38 +8048,38 @@ "source": 593, "errorMessage": "transaction verification failed: {\"txn\":\"mbrPayment\",\"field\":\"amount\",\"expected\":\"this.getMbrAmounts().addPoolMbr\"}", "pc": [ - 1899 + 1906 ] }, { "teal": 1911, "source": 593, "pc": [ - 1900, - 1901 + 1907, + 1908 ] }, { "teal": 1912, "source": 593, "pc": [ - 1902, - 1903 + 1909, + 1910 ] }, { "teal": 1913, "source": 593, "pc": [ - 1904, - 1905 + 1911, + 1912 ] }, { "teal": 1914, "source": 593, "pc": [ - 1906 + 1913 ] }, { @@ -8080,57 +8087,57 @@ "source": 593, "errorMessage": "transaction verification failed: {\"txn\":\"mbrPayment\",\"field\":\"receiver\",\"expected\":\"this.app.address\"}", "pc": [ - 1907 + 1914 ] }, { "teal": 1921, "source": 595, "pc": [ - 1908 + 1915 ] }, { "teal": 1922, "source": 595, "pc": [ - 1909, - 1910 + 1916, + 1917 ] }, { "teal": 1923, "source": 595, "pc": [ - 1911 + 1918 ] }, { "teal": 1924, "source": 595, "pc": [ - 1912 + 1919 ] }, { "teal": 1925, "source": 595, "pc": [ - 1913 + 1920 ] }, { "teal": 1926, "source": 595, "pc": [ - 1914 + 1921 ] }, { "teal": 1927, "source": 595, "pc": [ - 1915 + 1922 ] }, { @@ -8138,113 +8145,113 @@ "source": 595, "errorMessage": "specified validator id isn't valid", "pc": [ - 1916 + 1923 ] }, { "teal": 1934, "source": 597, "pc": [ - 1917, - 1918 + 1924, + 1925 ] }, { "teal": 1935, "source": 597, "pc": [ - 1919, - 1920 + 1926, + 1927 ] }, { "teal": 1936, "source": 597, "pc": [ - 1921 + 1928 ] }, { "teal": 1937, "source": 597, "pc": [ - 1922, - 1923 + 1929, + 1930 ] }, { "teal": 1938, "source": 597, "pc": [ - 1924 + 1931 ] }, { "teal": 1939, "source": 597, "pc": [ - 1925 + 1932 ] }, { "teal": 1940, "source": 597, "pc": [ - 1926, - 1927 + 1933, + 1934 ] }, { "teal": 1941, "source": 597, "pc": [ - 1928 + 1935 ] }, { "teal": 1942, "source": 597, "pc": [ - 1929 + 1936 ] }, { "teal": 1943, "source": 597, "pc": [ - 1930, - 1931 + 1937, + 1938 ] }, { "teal": 1948, "source": 598, "pc": [ - 1932, - 1933 + 1939, + 1940 ] }, { "teal": 1949, "source": 29, "pc": [ - 1934 + 1941 ] }, { "teal": 1950, "source": 598, "pc": [ - 1935 + 1942 ] }, { "teal": 1951, "source": 598, "pc": [ - 1936, - 1937, - 1938 + 1943, + 1944, + 1945 ] }, { @@ -8252,2453 +8259,2409 @@ "source": 599, "errorMessage": "already at max pool size", "pc": [ - 1939 + 1946 ] }, { "teal": 1960, "source": 601, "pc": [ - 1940, - 1941 + 1947, + 1948 ] }, { "teal": 1961, "source": 601, "pc": [ - 1942 + 1949 ] }, { "teal": 1962, "source": 601, "pc": [ - 1943 + 1950 ] }, { "teal": 1963, "source": 601, "pc": [ - 1944, - 1945 + 1951, + 1952 ] }, { - "teal": 1988, + "teal": 1985, "source": 604, "pc": [ - 1946 + 1953 ] }, { - "teal": 1989, + "teal": 1986, "source": 604, "pc": [ - 1947, - 1948 + 1954, + 1955 ] }, { - "teal": 1990, + "teal": 1987, "source": 604, "pc": [ - 1949, - 1950 + 1956, + 1957 ] }, { - "teal": 1994, + "teal": 1991, "source": 605, "pc": [ - 1951 + 1958 ] }, { - "teal": 1995, + "teal": 1992, "source": 605, "pc": [ - 1952, - 1953 + 1959, + 1960 ] }, { - "teal": 2002, + "teal": 1999, "source": 607, "pc": [ - 1954, - 1955 + 1961, + 1962 ] }, { - "teal": 2003, + "teal": 2000, "source": 607, "pc": [ - 1956 + 1963 ] }, { - "teal": 2004, + "teal": 2001, "source": 607, "pc": [ - 1957, - 1958 + 1964, + 1965 ] }, { - "teal": 2005, + "teal": 2002, "source": 607, "pc": [ - 1959 + 1966 ] }, { - "teal": 2006, + "teal": 2003, "source": 607, "pc": [ - 1960, - 1961 + 1967, + 1968 ] }, { - "teal": 2007, + "teal": 2004, "source": 608, "pc": [ - 1962, - 1963 + 1969, + 1970 ] }, { - "teal": 2008, + "teal": 2005, "source": 608, "pc": [ - 1964, - 1965 + 1971, + 1972 ] }, { - "teal": 2009, + "teal": 2006, "source": 608, "pc": [ - 1966, - 1967 + 1973, + 1974 ] }, { - "teal": 2010, + "teal": 2007, "source": 608, "pc": [ - 1968 + 1975 ] }, { - "teal": 2013, + "teal": 2010, "source": 608, "errorMessage": "box value does not exist: this.stakingPoolApprovalProgram.size", "pc": [ - 1969 + 1976 ] }, { - "teal": 2014, + "teal": 2011, "source": 608, "pc": [ - 1970, - 1971 + 1977, + 1978 ] }, { - "teal": 2015, + "teal": 2012, "source": 608, "pc": [ - 1972 + 1979 ] }, { - "teal": 2016, + "teal": 2013, "source": 608, "pc": [ - 1973 + 1980 ] }, { - "teal": 2017, + "teal": 2014, "source": 608, "pc": [ - 1974, - 1975 + 1981, + 1982 ] }, { - "teal": 2021, + "teal": 2018, "source": 610, "pc": [ - 1976, - 1977, - 1978 + 1983, + 1984, + 1985 ] }, { - "teal": 2022, + "teal": 2019, "source": 610, "pc": [ - 1979, - 1980 + 1986, + 1987 ] }, { - "teal": 2026, + "teal": 2023, "source": 611, "pc": [ - 1981, - 1982 + 1988, + 1989 ] }, { - "teal": 2027, + "teal": 2024, "source": 611, "pc": [ - 1983, - 1984 + 1990, + 1991 ] }, { - "teal": 2031, + "teal": 2028, "source": 612, "pc": [ - 1985, - 1986 + 1992, + 1993 ] }, { - "teal": 2032, + "teal": 2029, "source": 612, "pc": [ - 1987, - 1988 + 1994, + 1995 ] }, { - "teal": 2036, - "source": 616, + "teal": 2033, + "source": 613, "pc": [ - 1989, - 1990 - ] - }, - { - "teal": 2037, - "source": 616, - "pc": [ - 1991 - ] - }, - { - "teal": 2040, - "source": 616, - "errorMessage": "box value does not exist: this.stakingPoolApprovalProgram.size", - "pc": [ - 1992 - ] - }, - { - "teal": 2041, - "source": 616, - "pc": [ - 1993 - ] - }, - { - "teal": 2042, - "source": 616, - "pc": [ - 1994 - ] - }, - { - "teal": 2043, - "source": 616, - "pc": [ - 1995, 1996, 1997 ] }, { - "teal": 2044, - "source": 616, + "teal": 2034, + "source": 613, "pc": [ - 1998 + 1998, + 1999 ] }, { "teal": 2045, "source": 616, "pc": [ - 1999, - 2000 - ] - }, - { - "teal": 2056, - "source": 619, - "pc": [ + 2000, 2001, 2002, 2003, 2004, - 2005, - 2006 + 2005 ] }, { - "teal": 2057, - "source": 619, + "teal": 2046, + "source": 616, "pc": [ - 2007, - 2008 + 2006, + 2007 ] }, { - "teal": 2058, - "source": 620, + "teal": 2047, + "source": 617, "pc": [ + 2008, 2009, - 2010, + 2010 + ] + }, + { + "teal": 2048, + "source": 617, + "pc": [ 2011 ] }, { - "teal": 2059, - "source": 620, + "teal": 2049, + "source": 617, "pc": [ - 2012 + 2012, + 2013 ] }, { - "teal": 2060, - "source": 620, + "teal": 2050, + "source": 618, "pc": [ - 2013, - 2014 + 2014, + 2015 ] }, { - "teal": 2061, - "source": 621, + "teal": 2051, + "source": 618, "pc": [ - 2015, 2016 ] }, { - "teal": 2062, - "source": 621, + "teal": 2052, + "source": 618, "pc": [ - 2017 + 2017, + 2018 ] }, { - "teal": 2063, - "source": 621, + "teal": 2053, + "source": 619, "pc": [ - 2018, - 2019 + 2019, + 2020 ] }, { - "teal": 2064, - "source": 622, + "teal": 2054, + "source": 619, "pc": [ - 2020, 2021 ] }, { - "teal": 2065, - "source": 622, + "teal": 2055, + "source": 619, "pc": [ - 2022 + 2022, + 2023 ] }, { - "teal": 2066, - "source": 622, + "teal": 2056, + "source": 620, "pc": [ - 2023, - 2024 + 2024, + 2025 ] }, { - "teal": 2067, - "source": 623, + "teal": 2057, + "source": 620, "pc": [ - 2025, 2026 ] }, { - "teal": 2068, - "source": 623, + "teal": 2058, + "source": 620, "pc": [ 2027 ] }, { - "teal": 2069, - "source": 623, + "teal": 2059, + "source": 620, "pc": [ - 2028 + 2028, + 2029 ] }, { - "teal": 2070, - "source": 623, + "teal": 2060, + "source": 620, "pc": [ - 2029, 2030 ] }, { - "teal": 2071, - "source": 623, + "teal": 2061, + "source": 620, "pc": [ 2031 ] }, { - "teal": 2072, - "source": 623, + "teal": 2062, + "source": 620, "pc": [ - 2032 + 2032, + 2033 ] }, { - "teal": 2073, - "source": 623, + "teal": 2063, + "source": 620, "pc": [ - 2033, 2034 ] }, { - "teal": 2074, - "source": 623, + "teal": 2064, + "source": 620, "pc": [ 2035 ] }, { - "teal": 2075, - "source": 623, + "teal": 2065, + "source": 620, "pc": [ 2036 ] }, { - "teal": 2076, - "source": 623, + "teal": 2066, + "source": 620, "pc": [ - 2037 + 2037, + 2038 ] }, { - "teal": 2077, - "source": 623, + "teal": 2069, + "source": 604, "pc": [ - 2038, 2039 ] }, { - "teal": 2080, + "teal": 2070, "source": 604, "pc": [ - 2040 + 2040, + 2041 ] }, { - "teal": 2081, + "teal": 2073, "source": 604, "pc": [ - 2041, 2042 ] }, { - "teal": 2084, - "source": 604, + "teal": 2077, + "source": 624, "pc": [ - 2043 + 2043, + 2044 ] }, { - "teal": 2088, - "source": 627, + "teal": 2078, + "source": 624, "pc": [ - 2044, - 2045 + 2045, + 2046 ] }, { - "teal": 2089, - "source": 627, + "teal": 2079, + "source": 624, "pc": [ - 2046, 2047 ] }, { - "teal": 2090, - "source": 627, + "teal": 2080, + "source": 624, "pc": [ - 2048 + 2048, + 2049, + 2050 ] }, { - "teal": 2091, - "source": 627, + "teal": 2081, + "source": 624, "pc": [ - 2049, - 2050, 2051 ] }, { - "teal": 2092, - "source": 627, + "teal": 2082, + "source": 624, "pc": [ - 2052 + 2052, + 2053 ] }, { - "teal": 2093, - "source": 627, + "teal": 2083, + "source": 624, "pc": [ - 2053, 2054 ] }, { - "teal": 2094, - "source": 627, + "teal": 2084, + "source": 624, "pc": [ 2055 ] }, { - "teal": 2095, - "source": 627, + "teal": 2085, + "source": 624, "pc": [ - 2056 + 2056, + 2057 ] }, { - "teal": 2096, - "source": 627, + "teal": 2086, + "source": 624, "pc": [ - 2057, 2058 ] }, { - "teal": 2097, + "teal": 2090, "source": 627, "pc": [ - 2059 + 2059, + 2060 ] }, { - "teal": 2101, - "source": 630, + "teal": 2091, + "source": 627, "pc": [ - 2060, - 2061 + 2061, + 2062 ] }, { - "teal": 2102, - "source": 630, + "teal": 2095, + "source": 628, "pc": [ - 2062, - 2063 + 2063, + 2064 ] }, { - "teal": 2106, - "source": 631, + "teal": 2096, + "source": 628, "pc": [ - 2064, - 2065 + 2065, + 2066 ] }, { - "teal": 2107, - "source": 631, + "teal": 2097, + "source": 628, "pc": [ - 2066, 2067 ] }, { - "teal": 2108, - "source": 631, + "teal": 2098, + "source": 628, "pc": [ 2068 ] }, { - "teal": 2109, - "source": 631, + "teal": 2099, + "source": 628, "pc": [ - 2069 + 2069, + 2070 ] }, { - "teal": 2110, - "source": 631, + "teal": 2100, + "source": 628, "pc": [ - 2070, 2071 ] }, { - "teal": 2111, - "source": 631, + "teal": 2101, + "source": 628, "pc": [ 2072 ] }, { - "teal": 2112, - "source": 631, + "teal": 2102, + "source": 628, "pc": [ 2073 ] }, { - "teal": 2113, - "source": 631, + "teal": 2103, + "source": 628, "pc": [ 2074 ] }, { - "teal": 2114, - "source": 631, + "teal": 2104, + "source": 628, "pc": [ - 2075 + 2075, + 2076 ] }, { - "teal": 2115, - "source": 631, + "teal": 2105, + "source": 628, "pc": [ - 2076, 2077 ] }, { - "teal": 2116, - "source": 631, + "teal": 2106, + "source": 628, "pc": [ 2078 ] }, { - "teal": 2117, - "source": 631, + "teal": 2107, + "source": 628, "pc": [ - 2079 + 2079, + 2080 ] }, { - "teal": 2118, - "source": 631, + "teal": 2108, + "source": 628, "pc": [ - 2080, 2081 ] }, { - "teal": 2119, - "source": 631, + "teal": 2109, + "source": 628, "pc": [ 2082 ] }, { - "teal": 2120, - "source": 631, + "teal": 2110, + "source": 628, "pc": [ - 2083 + 2083, + 2084 ] }, { - "teal": 2121, - "source": 631, + "teal": 2111, + "source": 628, "pc": [ - 2084, 2085 ] }, { - "teal": 2122, - "source": 631, + "teal": 2115, + "source": 629, "pc": [ - 2086 + 2086, + 2087 ] }, { - "teal": 2126, - "source": 632, + "teal": 2116, + "source": 629, "pc": [ - 2087, - 2088 + 2088, + 2089 ] }, { - "teal": 2127, - "source": 632, + "teal": 2117, + "source": 629, "pc": [ - 2089, - 2090 + 2090, + 2091 ] }, { - "teal": 2128, - "source": 632, + "teal": 2118, + "source": 629, "pc": [ - 2091, - 2092 + 2092, + 2093, + 2094 ] }, { - "teal": 2129, - "source": 632, + "teal": 2122, + "source": 637, "pc": [ - 2093, - 2094, - 2095 + 2095, + 2096 ] }, { - "teal": 2133, - "source": 640, + "teal": 2123, + "source": 637, "pc": [ - 2096, 2097 ] }, { - "teal": 2134, - "source": 640, + "teal": 2124, + "source": 637, "pc": [ - 2098 + 2098, + 2099 ] }, { - "teal": 2135, - "source": 640, + "teal": 2125, + "source": 637, "pc": [ - 2099, 2100 ] }, { - "teal": 2136, - "source": 640, + "teal": 2126, + "source": 637, "pc": [ 2101 ] }, { - "teal": 2137, - "source": 640, + "teal": 2127, + "source": 637, "pc": [ - 2102 + 2102, + 2103 ] }, { - "teal": 2138, - "source": 640, + "teal": 2128, + "source": 637, "pc": [ - 2103, 2104 ] }, { - "teal": 2139, - "source": 640, + "teal": 2129, + "source": 637, "pc": [ 2105 ] }, { - "teal": 2140, - "source": 640, + "teal": 2132, + "source": 584, "pc": [ - 2106 + 2106, + 2107 ] }, { - "teal": 2143, + "teal": 2135, "source": 584, "pc": [ - 2107, - 2108 + 2108, + 2109 ] }, { - "teal": 2146, + "teal": 2136, "source": 584, "pc": [ - 2109, 2110 ] }, { - "teal": 2147, - "source": 584, + "teal": 2141, + "source": 649, "pc": [ 2111 ] }, { - "teal": 2152, - "source": 652, + "teal": 2144, + "source": 649, "pc": [ - 2112 + 2112, + 2113, + 2114 ] }, { - "teal": 2155, - "source": 652, + "teal": 2145, + "source": 649, "pc": [ - 2113, - 2114, 2115 ] }, { - "teal": 2156, - "source": 652, + "teal": 2148, + "source": 649, "pc": [ - 2116 + 2116, + 2117, + 2118 ] }, { - "teal": 2159, - "source": 652, + "teal": 2149, + "source": 649, "pc": [ - 2117, - 2118, 2119 ] }, { - "teal": 2160, - "source": 652, + "teal": 2152, + "source": 649, "pc": [ - 2120 + 2120, + 2121 ] }, { - "teal": 2163, - "source": 652, + "teal": 2153, + "source": 649, "pc": [ - 2121, 2122 ] }, { - "teal": 2164, - "source": 652, + "teal": 2154, + "source": 649, "pc": [ 2123 ] }, { - "teal": 2165, - "source": 652, + "teal": 2155, + "source": 649, "pc": [ 2124 ] }, { - "teal": 2166, - "source": 652, + "teal": 2156, + "source": 649, "pc": [ - 2125 + 2125, + 2126 ] }, { - "teal": 2167, - "source": 652, + "teal": 2157, + "source": 649, "pc": [ - 2126, 2127 ] }, { - "teal": 2168, - "source": 652, + "teal": 2158, + "source": 649, "pc": [ 2128 ] }, { - "teal": 2169, - "source": 652, + "teal": 2161, + "source": 649, + "errorMessage": "argument 2 (stakedAmountPayment) for addStake must be a pay transaction", "pc": [ 2129 ] }, { - "teal": 2172, - "source": 652, - "errorMessage": "argument 2 (stakedAmountPayment) for addStake must be a pay transaction", + "teal": 2164, + "source": 649, "pc": [ - 2130 + 2130, + 2131, + 2132 ] }, { - "teal": 2175, - "source": 652, + "teal": 2165, + "source": 649, "pc": [ - 2131, - 2132, 2133 ] }, { - "teal": 2176, - "source": 652, + "teal": 2166, + "source": 649, "pc": [ 2134 ] }, { - "teal": 2177, - "source": 652, + "teal": 2167, + "source": 649, "pc": [ 2135 ] }, { - "teal": 2178, - "source": 652, + "teal": 2168, + "source": 649, "pc": [ 2136 ] }, { - "teal": 2179, - "source": 652, + "teal": 2180, + "source": 649, "pc": [ - 2137 + 2137, + 2138, + 2139 ] }, { - "teal": 2191, - "source": 652, + "teal": 2183, + "source": 649, "pc": [ - 2138, - 2139, 2140 ] }, { - "teal": 2194, - "source": 652, + "teal": 2184, + "source": 649, "pc": [ - 2141 + 2141, + 2142 ] }, { - "teal": 2195, - "source": 652, + "teal": 2188, + "source": 650, "pc": [ - 2142, 2143 ] }, { - "teal": 2199, - "source": 653, + "teal": 2189, + "source": 650, "pc": [ - 2144 + 2144, + 2145 ] }, { - "teal": 2200, - "source": 653, + "teal": 2190, + "source": 650, "pc": [ - 2145, 2146 ] }, { - "teal": 2201, - "source": 653, + "teal": 2191, + "source": 650, "pc": [ 2147 ] }, { - "teal": 2202, - "source": 653, + "teal": 2192, + "source": 650, "pc": [ 2148 ] }, { - "teal": 2203, - "source": 653, + "teal": 2193, + "source": 650, "pc": [ 2149 ] }, { - "teal": 2204, - "source": 653, + "teal": 2194, + "source": 650, "pc": [ 2150 ] }, { - "teal": 2205, - "source": 653, + "teal": 2197, + "source": 650, + "errorMessage": "specified validator id isn't valid", "pc": [ 2151 ] }, { - "teal": 2208, + "teal": 2202, "source": 653, - "errorMessage": "specified validator id isn't valid", "pc": [ - 2152 + 2152, + 2153 ] }, { - "teal": 2213, - "source": 656, + "teal": 2203, + "source": 653, "pc": [ - 2153, 2154 ] }, { - "teal": 2214, - "source": 656, + "teal": 2204, + "source": 653, "pc": [ 2155 ] }, { - "teal": 2215, - "source": 656, + "teal": 2205, + "source": 653, "pc": [ - 2156 + 2156, + 2157 ] }, { - "teal": 2216, - "source": 656, + "teal": 2206, + "source": 653, "pc": [ - 2157, 2158 ] }, { - "teal": 2217, - "source": 656, + "teal": 2207, + "source": 653, "pc": [ 2159 ] }, { - "teal": 2218, - "source": 656, + "teal": 2208, + "source": 653, "pc": [ - 2160 + 2160, + 2161 ] }, { - "teal": 2219, - "source": 656, + "teal": 2209, + "source": 653, "pc": [ - 2161, 2162 ] }, { - "teal": 2220, - "source": 656, + "teal": 2210, + "source": 653, "pc": [ 2163 ] }, { - "teal": 2221, - "source": 656, + "teal": 2211, + "source": 653, "pc": [ 2164 ] }, { - "teal": 2222, - "source": 656, + "teal": 2212, + "source": 653, "pc": [ 2165 ] }, { - "teal": 2223, - "source": 656, + "teal": 2213, + "source": 653, "pc": [ - 2166 + 2166, + 2167, + 2168 ] }, { - "teal": 2224, - "source": 656, + "teal": 2221, + "source": 655, "pc": [ - 2167, - 2168, - 2169 + 2169, + 2170 ] }, { - "teal": 2232, - "source": 658, + "teal": 2222, + "source": 655, "pc": [ - 2170, 2171 ] }, { - "teal": 2233, - "source": 658, + "teal": 2223, + "source": 655, "pc": [ 2172 ] }, { - "teal": 2234, - "source": 658, + "teal": 2224, + "source": 655, "pc": [ - 2173 + 2173, + 2174 ] }, { - "teal": 2235, - "source": 658, + "teal": 2225, + "source": 655, "pc": [ - 2174, 2175 ] }, { - "teal": 2236, - "source": 658, + "teal": 2226, + "source": 655, "pc": [ 2176 ] }, { - "teal": 2237, - "source": 658, + "teal": 2227, + "source": 655, "pc": [ - 2177 + 2177, + 2178 ] }, { - "teal": 2238, - "source": 658, + "teal": 2228, + "source": 655, "pc": [ - 2178, 2179 ] }, { - "teal": 2239, - "source": 658, + "teal": 2229, + "source": 655, "pc": [ 2180 ] }, { - "teal": 2240, - "source": 658, + "teal": 2230, + "source": 655, "pc": [ - 2181 + 2181, + 2182 ] }, { - "teal": 2241, - "source": 658, + "teal": 2231, + "source": 655, "pc": [ - 2182, 2183 ] }, { - "teal": 2242, - "source": 658, + "teal": 2234, + "source": 654, + "errorMessage": "can't stake with a validator that is past its sunsetting time", "pc": [ 2184 ] }, { - "teal": 2245, - "source": 657, - "errorMessage": "can't stake with a validator that is past its sunsetting time", + "teal": 2239, + "source": 660, "pc": [ - 2185 + 2185, + 2186 ] }, { - "teal": 2250, - "source": 663, + "teal": 2240, + "source": 660, "pc": [ - 2186, - 2187 + 2187, + 2188 ] }, { - "teal": 2251, - "source": 663, + "teal": 2248, + "source": 664, "pc": [ - 2188, - 2189 + 2189, + 2190 ] }, { - "teal": 2259, - "source": 667, + "teal": 2249, + "source": 665, "pc": [ - 2190, - 2191 + 2191, + 2192 ] }, { - "teal": 2260, - "source": 668, + "teal": 2250, + "source": 665, "pc": [ - 2192, - 2193 + 2193, + 2194 ] }, { - "teal": 2261, - "source": 668, + "teal": 2251, + "source": 665, "pc": [ - 2194, 2195 ] }, { - "teal": 2262, - "source": 668, + "teal": 2254, + "source": 665, + "errorMessage": "transaction verification failed: {\"txn\":\"stakedAmountPayment\",\"field\":\"sender\",\"expected\":\"staker\"}", "pc": [ 2196 ] }, { - "teal": 2265, - "source": 668, - "errorMessage": "transaction verification failed: {\"txn\":\"stakedAmountPayment\",\"field\":\"sender\",\"expected\":\"staker\"}", + "teal": 2257, + "source": 664, "pc": [ - 2197 + 2197, + 2198 ] }, { - "teal": 2268, - "source": 667, + "teal": 2258, + "source": 666, "pc": [ - 2198, - 2199 + 2199, + 2200 ] }, { - "teal": 2269, - "source": 669, + "teal": 2259, + "source": 666, "pc": [ - 2200, - 2201 + 2201, + 2202 ] }, { - "teal": 2270, - "source": 669, + "teal": 2260, + "source": 666, "pc": [ - 2202, 2203 ] }, { - "teal": 2271, - "source": 669, + "teal": 2263, + "source": 666, + "errorMessage": "transaction verification failed: {\"txn\":\"stakedAmountPayment\",\"field\":\"receiver\",\"expected\":\"this.app.address\"}", "pc": [ 2204 ] }, { - "teal": 2274, - "source": 669, - "errorMessage": "transaction verification failed: {\"txn\":\"stakedAmountPayment\",\"field\":\"receiver\",\"expected\":\"this.app.address\"}", + "teal": 2270, + "source": 672, "pc": [ - 2205 + 2205, + 2206 ] }, { - "teal": 2281, - "source": 675, + "teal": 2271, + "source": 672, "pc": [ - 2206, 2207 ] }, { - "teal": 2282, - "source": 675, + "teal": 2272, + "source": 672, "pc": [ 2208 ] }, { - "teal": 2283, - "source": 675, + "teal": 2273, + "source": 672, "pc": [ - 2209 + 2209, + 2210 ] }, { - "teal": 2284, - "source": 675, + "teal": 2274, + "source": 672, "pc": [ - 2210, 2211 ] }, { - "teal": 2285, - "source": 675, + "teal": 2275, + "source": 672, "pc": [ 2212 ] }, { - "teal": 2286, - "source": 675, + "teal": 2276, + "source": 672, "pc": [ - 2213 + 2213, + 2214 ] }, { - "teal": 2287, - "source": 675, + "teal": 2277, + "source": 672, "pc": [ - 2214, 2215 ] }, { - "teal": 2288, - "source": 675, + "teal": 2278, + "source": 672, "pc": [ 2216 ] }, { - "teal": 2289, - "source": 675, + "teal": 2279, + "source": 672, "pc": [ - 2217 + 2217, + 2218, + 2219 ] }, { - "teal": 2290, - "source": 675, + "teal": 2280, + "source": 672, "pc": [ - 2218, - 2219, 2220 ] }, { - "teal": 2291, - "source": 675, + "teal": 2283, + "source": 671, + "errorMessage": "total staked for all of a validators pools may not exceed hard cap", "pc": [ 2221 ] }, { - "teal": 2294, - "source": 674, - "errorMessage": "total staked for all of a validators pools may not exceed hard cap", + "teal": 2287, + "source": 678, "pc": [ - 2222 + 2222, + 2223 ] }, { - "teal": 2298, - "source": 681, + "teal": 2288, + "source": 678, "pc": [ - 2223, - 2224 + 2224, + 2225 ] }, { - "teal": 2299, - "source": 681, + "teal": 2289, + "source": 678, "pc": [ - 2225, - 2226 + 2226, + 2227, + 2228 ] }, { - "teal": 2300, - "source": 681, + "teal": 2293, + "source": 680, "pc": [ - 2227, - 2228, - 2229 + 2229, + 2230 ] }, { - "teal": 2304, - "source": 683, + "teal": 2294, + "source": 680, "pc": [ - 2230, - 2231 + 2231, + 2232 ] }, { - "teal": 2305, - "source": 683, + "teal": 2295, + "source": 680, "pc": [ - 2232, - 2233 + 2233, + 2234 ] }, { - "teal": 2306, - "source": 683, + "teal": 2299, + "source": 681, "pc": [ - 2234, 2235 ] }, { - "teal": 2310, - "source": 684, + "teal": 2300, + "source": 681, "pc": [ - 2236 + 2236, + 2237 ] }, { - "teal": 2311, - "source": 684, + "teal": 2305, + "source": 683, "pc": [ - 2237, 2238 ] }, { - "teal": 2316, - "source": 686, + "teal": 2306, + "source": 683, "pc": [ - 2239 + 2239, + 2240 ] }, { - "teal": 2317, - "source": 686, + "teal": 2307, + "source": 683, "pc": [ - 2240, 2241 ] }, { - "teal": 2318, - "source": 686, + "teal": 2308, + "source": 683, "pc": [ 2242 ] }, { - "teal": 2319, - "source": 686, + "teal": 2309, + "source": 683, "pc": [ 2243 ] }, { - "teal": 2320, - "source": 686, + "teal": 2310, + "source": 683, "pc": [ 2244 ] }, { - "teal": 2321, - "source": 686, + "teal": 2311, + "source": 683, "pc": [ 2245 ] }, { - "teal": 2322, - "source": 686, + "teal": 2312, + "source": 683, "pc": [ - 2246 + 2246, + 2247, + 2248 ] }, { - "teal": 2323, + "teal": 2317, "source": 686, "pc": [ - 2247, - 2248, - 2249 + 2249, + 2250, + 2251 ] }, { - "teal": 2328, - "source": 689, + "teal": 2318, + "source": 686, "pc": [ - 2250, - 2251, - 2252 + 2252, + 2253, + 2254 ] }, { - "teal": 2329, - "source": 689, + "teal": 2319, + "source": 686, "pc": [ - 2253, - 2254, 2255 ] }, { - "teal": 2330, - "source": 689, + "teal": 2320, + "source": 686, "pc": [ - 2256 + 2256, + 2257 ] }, { - "teal": 2331, - "source": 689, + "teal": 2324, + "source": 687, "pc": [ - 2257, - 2258 + 2258, + 2259 ] }, { - "teal": 2335, - "source": 690, + "teal": 2325, + "source": 687, "pc": [ - 2259, - 2260 + 2260, + 2261 ] }, { - "teal": 2336, - "source": 690, + "teal": 2326, + "source": 687, "pc": [ - 2261, 2262 ] }, { - "teal": 2337, - "source": 690, + "teal": 2327, + "source": 687, "pc": [ - 2263 + 2263, + 2264 ] }, { - "teal": 2338, - "source": 690, + "teal": 2331, + "source": 688, "pc": [ - 2264, 2265 ] }, { - "teal": 2342, - "source": 691, + "teal": 2332, + "source": 688, "pc": [ - 2266 + 2266, + 2267 ] }, { - "teal": 2343, - "source": 691, + "teal": 2333, + "source": 688, "pc": [ - 2267, 2268 ] }, { - "teal": 2344, - "source": 691, + "teal": 2334, + "source": 688, "pc": [ - 2269 + 2269, + 2270, + 2271 ] }, { - "teal": 2345, - "source": 691, + "teal": 2335, + "source": 688, "pc": [ - 2270, - 2271, 2272 ] }, { - "teal": 2346, - "source": 691, + "teal": 2336, + "source": 688, "pc": [ 2273 ] }, { - "teal": 2347, - "source": 691, + "teal": 2341, + "source": 692, "pc": [ - 2274 + 2274, + 2275 ] }, { - "teal": 2352, - "source": 695, + "teal": 2342, + "source": 692, "pc": [ - 2275, - 2276 + 2276, + 2277 ] }, { - "teal": 2353, - "source": 695, + "teal": 2343, + "source": 692, "pc": [ - 2277, - 2278 + 2278, + 2279 ] }, { - "teal": 2354, - "source": 695, + "teal": 2344, + "source": 692, "pc": [ - 2279, - 2280 + 2280, + 2281, + 2282 ] }, { - "teal": 2355, - "source": 695, + "teal": 2345, + "source": 692, "pc": [ - 2281, - 2282, - 2283 + 2283, + 2284 ] }, { - "teal": 2356, - "source": 695, + "teal": 2351, + "source": 694, "pc": [ - 2284, - 2285 + 2285, + 2286 ] }, { - "teal": 2362, - "source": 697, + "teal": 2352, + "source": 694, "pc": [ - 2286, - 2287 + 2287, + 2288 ] }, { - "teal": 2363, - "source": 697, + "teal": 2353, + "source": 694, "pc": [ - 2288, - 2289 + 2289, + 2290 ] }, { - "teal": 2364, - "source": 697, + "teal": 2354, + "source": 694, "pc": [ - 2290, - 2291 + 2291, + 2292 ] }, { - "teal": 2365, - "source": 697, + "teal": 2355, + "source": 694, "pc": [ - 2292, 2293 ] }, { - "teal": 2366, - "source": 697, + "teal": 2356, + "source": 694, "pc": [ - 2294 + 2294, + 2295 ] }, { - "teal": 2367, - "source": 697, + "teal": 2360, + "source": 695, "pc": [ - 2295, - 2296 + 2296, + 2297 ] }, { - "teal": 2371, - "source": 698, + "teal": 2361, + "source": 695, "pc": [ - 2297, - 2298 + 2298, + 2299 ] }, { - "teal": 2372, - "source": 698, + "teal": 2362, + "source": 695, "pc": [ - 2299, - 2300 + 2300, + 2301 ] }, { - "teal": 2373, - "source": 698, + "teal": 2363, + "source": 695, "pc": [ - 2301, - 2302 + 2302, + 2303, + 2304 ] }, { - "teal": 2374, - "source": 698, + "teal": 2364, + "source": 695, "pc": [ - 2303, - 2304, 2305 ] }, { - "teal": 2375, - "source": 698, + "teal": 2365, + "source": 695, "pc": [ - 2306 + 2306, + 2307 ] }, { - "teal": 2376, - "source": 698, + "teal": 2370, + "source": 696, "pc": [ - 2307, - 2308 + 2308, + 2309 ] }, { - "teal": 2381, - "source": 699, + "teal": 2371, + "source": 696, "pc": [ - 2309, - 2310 + 2310, + 2311 ] }, { - "teal": 2382, - "source": 699, + "teal": 2372, + "source": 696, "pc": [ - 2311, - 2312 + 2312, + 2313 ] }, { - "teal": 2383, - "source": 699, + "teal": 2373, + "source": 696, "pc": [ - 2313, - 2314 + 2314, + 2315, + 2316 ] }, { - "teal": 2384, - "source": 699, + "teal": 2374, + "source": 696, "pc": [ - 2315, - 2316, 2317 ] }, { - "teal": 2385, - "source": 699, + "teal": 2375, + "source": 696, "pc": [ 2318 ] }, { - "teal": 2386, - "source": 699, + "teal": 2376, + "source": 696, "pc": [ 2319 ] }, { - "teal": 2387, - "source": 699, - "pc": [ - 2320 - ] - }, - { - "teal": 2388, - "source": 699, + "teal": 2377, + "source": 696, "pc": [ + 2320, 2321, - 2322, - 2323 + 2322 ] }, { - "teal": 2392, - "source": 700, + "teal": 2381, + "source": 697, "errorMessage": "No pool available with free stake. Validator needs to add another pool", "pc": [ - 2324 + 2323 ] }, { - "teal": 2397, - "source": 704, + "teal": 2386, + "source": 701, "pc": [ - 2325, - 2326 + 2324, + 2325 ] }, { - "teal": 2398, - "source": 704, + "teal": 2387, + "source": 701, "pc": [ - 2327, - 2328 + 2326, + 2327 ] }, { - "teal": 2399, - "source": 704, + "teal": 2388, + "source": 701, "pc": [ - 2329, - 2330 + 2328, + 2329 ] }, { - "teal": 2400, - "source": 704, + "teal": 2389, + "source": 701, "pc": [ + 2330, 2331, - 2332, - 2333 + 2332 ] }, { - "teal": 2401, - "source": 704, + "teal": 2390, + "source": 701, "pc": [ - 2334, - 2335 + 2333, + 2334 ] }, { - "teal": 2402, - "source": 704, + "teal": 2391, + "source": 701, "pc": [ + 2335, 2336, - 2337, - 2338 + 2337 ] }, { - "teal": 2412, - "source": 712, + "teal": 2401, + "source": 709, "pc": [ - 2339, - 2340 + 2338, + 2339 ] }, { - "teal": 2413, - "source": 711, + "teal": 2402, + "source": 708, "pc": [ - 2341, - 2342 + 2340, + 2341 ] }, { - "teal": 2414, - "source": 710, + "teal": 2403, + "source": 707, "pc": [ - 2343, - 2344 + 2342, + 2343 ] }, { - "teal": 2415, - "source": 709, + "teal": 2404, + "source": 706, "pc": [ - 2345, - 2346 + 2344, + 2345 ] }, { - "teal": 2416, - "source": 709, + "teal": 2405, + "source": 706, "pc": [ - 2347, - 2348 + 2346, + 2347 ] }, { - "teal": 2417, - "source": 709, + "teal": 2406, + "source": 706, "pc": [ - 2349, - 2350 + 2348, + 2349 ] }, { - "teal": 2418, - "source": 709, + "teal": 2407, + "source": 706, "pc": [ + 2350, 2351, - 2352, - 2353 + 2352 ] }, { - "teal": 2419, - "source": 708, + "teal": 2408, + "source": 705, "pc": [ - 2354, - 2355 + 2353, + 2354 ] }, { - "teal": 2420, - "source": 707, + "teal": 2409, + "source": 704, "pc": [ + 2355, 2356, - 2357, - 2358 + 2357 ] }, { - "teal": 2424, - "source": 722, + "teal": 2413, + "source": 719, "pc": [ - 2359, - 2360 + 2358, + 2359 ] }, { - "teal": 2425, - "source": 722, + "teal": 2414, + "source": 719, "pc": [ - 2361, - 2362 + 2360, + 2361 ] }, { - "teal": 2426, - "source": 722, + "teal": 2415, + "source": 719, "pc": [ - 2363, - 2364 + 2362, + 2363 ] }, { - "teal": 2427, - "source": 722, + "teal": 2416, + "source": 719, "pc": [ + 2364, 2365, - 2366, - 2367 + 2366 + ] + }, + { + "teal": 2419, + "source": 649, + "pc": [ + 2367, + 2368 ] }, { - "teal": 2430, - "source": 652, + "teal": 2422, + "source": 649, "pc": [ - 2368, - 2369 + 2369, + 2370 ] }, { - "teal": 2433, - "source": 652, + "teal": 2423, + "source": 649, "pc": [ - 2370, 2371 ] }, { - "teal": 2434, - "source": 652, + "teal": 2428, + "source": 737, "pc": [ 2372 ] }, { - "teal": 2439, - "source": 740, + "teal": 2431, + "source": 737, "pc": [ - 2373 + 2373, + 2374, + 2375 ] }, { - "teal": 2442, - "source": 740, + "teal": 2432, + "source": 737, "pc": [ - 2374, - 2375, 2376 ] }, { - "teal": 2443, - "source": 740, + "teal": 2435, + "source": 737, "pc": [ - 2377 + 2377, + 2378, + 2379 ] }, { - "teal": 2446, - "source": 740, + "teal": 2436, + "source": 737, "pc": [ - 2378, - 2379, 2380 ] }, { - "teal": 2447, - "source": 740, + "teal": 2437, + "source": 737, "pc": [ 2381 ] }, { - "teal": 2448, - "source": 740, + "teal": 2438, + "source": 737, "pc": [ 2382 ] }, { - "teal": 2449, - "source": 740, + "teal": 2439, + "source": 737, "pc": [ 2383 ] }, { - "teal": 2450, - "source": 740, + "teal": 2457, + "source": 737, "pc": [ - 2384 + 2384, + 2385, + 2386 ] }, { - "teal": 2468, - "source": 740, + "teal": 2460, + "source": 737, "pc": [ - 2385, - 2386, 2387 ] }, { - "teal": 2471, - "source": 740, + "teal": 2461, + "source": 737, "pc": [ - 2388 + 2388, + 2389 ] }, { - "teal": 2472, - "source": 740, + "teal": 2465, + "source": 739, "pc": [ - 2389, - 2390 + 2390, + 2391 ] }, { - "teal": 2476, - "source": 742, + "teal": 2466, + "source": 739, "pc": [ - 2391, 2392 ] }, { - "teal": 2477, - "source": 742, + "teal": 2467, + "source": 739, "pc": [ 2393 ] }, { - "teal": 2478, - "source": 742, + "teal": 2468, + "source": 739, "pc": [ - 2394 + 2394, + 2395 ] }, { - "teal": 2479, - "source": 742, + "teal": 2469, + "source": 739, "pc": [ - 2395, 2396 ] }, { - "teal": 2480, - "source": 742, + "teal": 2470, + "source": 739, "pc": [ 2397 ] }, { - "teal": 2481, - "source": 742, + "teal": 2471, + "source": 739, "pc": [ - 2398 + 2398, + 2399 ] }, { - "teal": 2482, - "source": 742, + "teal": 2472, + "source": 739, "pc": [ - 2399, 2400 ] }, { - "teal": 2483, - "source": 742, + "teal": 2473, + "source": 739, "pc": [ 2401 ] }, { - "teal": 2484, - "source": 742, + "teal": 2474, + "source": 739, "pc": [ - 2402 + 2402, + 2403 ] }, { - "teal": 2485, - "source": 742, + "teal": 2478, + "source": 740, "pc": [ - 2403, - 2404 + 2404, + 2405 ] }, { - "teal": 2489, - "source": 743, + "teal": 2479, + "source": 740, "pc": [ - 2405, 2406 ] }, { - "teal": 2490, - "source": 743, + "teal": 2480, + "source": 740, "pc": [ 2407 ] }, { - "teal": 2491, - "source": 743, + "teal": 2481, + "source": 740, "pc": [ 2408 ] }, { - "teal": 2492, - "source": 743, + "teal": 2486, + "source": 742, "pc": [ - 2409 + 2409, + 2410 ] }, { - "teal": 2497, - "source": 745, + "teal": 2487, + "source": 742, "pc": [ - 2410, - 2411 + 2411, + 2412 ] }, { - "teal": 2498, - "source": 745, + "teal": 2488, + "source": 742, "pc": [ - 2412, - 2413 + 2413, + 2414 ] }, { - "teal": 2499, - "source": 745, + "teal": 2489, + "source": 742, "pc": [ - 2414, 2415 ] }, { - "teal": 2500, - "source": 745, + "teal": 2490, + "source": 742, "pc": [ 2416 ] }, { - "teal": 2501, - "source": 745, + "teal": 2491, + "source": 742, "pc": [ - 2417 + 2417, + 2418, + 2419 ] }, { - "teal": 2502, - "source": 745, + "teal": 2496, + "source": 743, "pc": [ - 2418, - 2419, - 2420 + 2420, + 2421 ] }, { - "teal": 2507, - "source": 746, + "teal": 2497, + "source": 743, "pc": [ - 2421, - 2422 + 2422, + 2423 ] }, { - "teal": 2508, - "source": 746, + "teal": 2498, + "source": 743, "pc": [ - 2423, 2424 ] }, { - "teal": 2509, - "source": 746, + "teal": 2499, + "source": 743, "pc": [ - 2425 + 2425, + 2426 ] }, { - "teal": 2510, - "source": 746, + "teal": 2500, + "source": 743, "pc": [ - 2426, 2427 ] }, { - "teal": 2511, - "source": 746, + "teal": 2501, + "source": 743, "pc": [ 2428 ] }, { - "teal": 2512, - "source": 746, + "teal": 2502, + "source": 743, "pc": [ - 2429 + 2429, + 2430 ] }, { - "teal": 2513, - "source": 746, + "teal": 2503, + "source": 743, "pc": [ - 2430, 2431 ] }, { - "teal": 2514, - "source": 746, + "teal": 2504, + "source": 743, "pc": [ - 2432 + 2432, + 2433, + 2434 ] }, { - "teal": 2515, - "source": 746, + "teal": 2509, + "source": 749, "pc": [ - 2433, - 2434, - 2435 + 2435, + 2436 ] }, { - "teal": 2520, - "source": 752, + "teal": 2510, + "source": 749, "pc": [ - 2436, - 2437 + 2437, + 2438 ] }, { - "teal": 2521, - "source": 752, + "teal": 2514, + "source": 750, "pc": [ - 2438, - 2439 + 2439, + 2440 ] }, { - "teal": 2525, - "source": 753, + "teal": 2515, + "source": 750, "pc": [ - 2440, 2441 ] }, { - "teal": 2526, - "source": 753, + "teal": 2516, + "source": 750, "pc": [ 2442 ] }, { - "teal": 2527, - "source": 753, + "teal": 2517, + "source": 750, "pc": [ - 2443 + 2443, + 2444 ] }, { - "teal": 2528, - "source": 753, + "teal": 2518, + "source": 750, "pc": [ - 2444, 2445 ] }, { - "teal": 2529, - "source": 753, + "teal": 2519, + "source": 750, "pc": [ 2446 ] }, { - "teal": 2530, - "source": 753, + "teal": 2520, + "source": 750, "pc": [ - 2447 + 2447, + 2448 ] }, { - "teal": 2531, - "source": 753, + "teal": 2521, + "source": 750, "pc": [ - 2448, 2449 ] }, { - "teal": 2532, - "source": 753, + "teal": 2522, + "source": 750, "pc": [ 2450 ] }, { - "teal": 2533, - "source": 753, + "teal": 2523, + "source": 750, "pc": [ - 2451 + 2451, + 2452 ] }, { - "teal": 2534, - "source": 753, + "teal": 2528, + "source": 751, "pc": [ - 2452, - 2453 + 2453, + 2454 ] }, { - "teal": 2539, - "source": 754, + "teal": 2529, + "source": 751, "pc": [ - 2454, 2455 ] }, { - "teal": 2540, - "source": 754, + "teal": 2530, + "source": 751, "pc": [ 2456 ] }, { - "teal": 2541, - "source": 754, - "pc": [ - 2457 - ] - }, - { - "teal": 2542, - "source": 754, + "teal": 2531, + "source": 751, "pc": [ + 2457, 2458, - 2459, - 2460 + 2459 ] }, { - "teal": 2548, - "source": 756, + "teal": 2537, + "source": 753, "pc": [ - 2461, - 2462 + 2460, + 2461 ] }, { - "teal": 2549, - "source": 756, + "teal": 2538, + "source": 753, "pc": [ + 2462, 2463, 2464, 2465, @@ -10709,3929 +10672,3947 @@ 2470, 2471, 2472, - 2473, + 2473 + ] + }, + { + "teal": 2539, + "source": 753, + "pc": [ 2474 ] }, { - "teal": 2550, - "source": 756, + "teal": 2542, + "source": 753, + "errorMessage": "global state value does not exist: AppID.fromUint64(pool1AppID).globalState('lastPayout')", "pc": [ 2475 ] }, + { + "teal": 2543, + "source": 753, + "pc": [ + 2476, + 2477 + ] + }, + { + "teal": 2544, + "source": 753, + "pc": [ + 2478 + ] + }, + { + "teal": 2545, + "source": 753, + "pc": [ + 2479, + 2480, + 2481 + ] + }, + { + "teal": 2550, + "source": 754, + "pc": [ + 2482, + 2483 + ] + }, + { + "teal": 2551, + "source": 754, + "pc": [ + 2484, + 2485 + ] + }, + { + "teal": 2552, + "source": 754, + "pc": [ + 2486 + ] + }, { "teal": 2553, - "source": 756, - "errorMessage": "global state value does not exist: AppID.fromUint64(pool1AppID).globalState('lastPayout')", + "source": 754, "pc": [ - 2476 + 2487, + 2488 ] }, { "teal": 2554, - "source": 756, + "source": 754, "pc": [ - 2477, - 2478 + 2489 ] }, { "teal": 2555, - "source": 756, + "source": 754, "pc": [ - 2479 + 2490 ] }, { "teal": 2556, - "source": 756, + "source": 754, "pc": [ - 2480, - 2481, - 2482 + 2491, + 2492 ] }, { - "teal": 2561, - "source": 757, + "teal": 2557, + "source": 754, "pc": [ - 2483, - 2484 + 2493 ] }, { - "teal": 2562, - "source": 757, + "teal": 2558, + "source": 754, "pc": [ - 2485, - 2486 + 2494, + 2495, + 2496 ] }, { "teal": 2563, - "source": 757, + "source": 756, "pc": [ - 2487 + 2497, + 2498, + 2499 ] }, { "teal": 2564, - "source": 757, + "source": 756, "pc": [ - 2488, - 2489 + 2500, + 2501 ] }, { "teal": 2565, - "source": 757, + "source": 756, "pc": [ - 2490 + 2502 ] }, { "teal": 2566, - "source": 757, + "source": 756, "pc": [ - 2491 + 2503, + 2504 ] }, { "teal": 2567, - "source": 757, + "source": 756, "pc": [ - 2492, - 2493 + 2505 ] }, { "teal": 2568, - "source": 757, + "source": 756, "pc": [ - 2494 + 2506 ] }, { "teal": 2569, - "source": 757, + "source": 756, "pc": [ - 2495, - 2496, - 2497 + 2507, + 2508 ] }, { - "teal": 2574, - "source": 759, + "teal": 2570, + "source": 756, "pc": [ - 2498, - 2499, - 2500 + 2509 ] }, { - "teal": 2575, - "source": 759, + "teal": 2571, + "source": 756, "pc": [ - 2501, - 2502 + 2510 + ] + }, + { + "teal": 2572, + "source": 756, + "pc": [ + 2511, + 2512 ] }, { "teal": 2576, - "source": 759, + "source": 757, "pc": [ - 2503 + 2513, + 2514 ] }, { "teal": 2577, - "source": 759, + "source": 757, "pc": [ - 2504, - 2505 + 2515, + 2516 ] }, { "teal": 2578, - "source": 759, + "source": 757, "pc": [ - 2506 + 2517, + 2518 ] }, { "teal": 2579, - "source": 759, + "source": 757, "pc": [ - 2507 + 2519 ] }, { "teal": 2580, - "source": 759, + "source": 757, "pc": [ - 2508, - 2509 + 2520 ] }, { "teal": 2581, - "source": 759, - "pc": [ - 2510 - ] - }, - { - "teal": 2582, - "source": 759, + "source": 757, "pc": [ - 2511 + 2521, + 2522 ] }, { - "teal": 2583, + "teal": 2586, "source": 759, "pc": [ - 2512, - 2513 + 2523, + 2524 ] }, { "teal": 2587, - "source": 760, + "source": 759, "pc": [ - 2514, - 2515 + 2525, + 2526 ] }, { "teal": 2588, - "source": 760, + "source": 759, "pc": [ - 2516, - 2517 + 2527, + 2528 ] }, { "teal": 2589, - "source": 760, + "source": 759, "pc": [ - 2518, - 2519 + 2529 ] }, { "teal": 2590, - "source": 760, + "source": 759, "pc": [ - 2520 + 2530 ] }, { "teal": 2591, - "source": 760, + "source": 759, "pc": [ - 2521 + 2531, + 2532 ] }, { "teal": 2592, - "source": 760, + "source": 759, "pc": [ - 2522, - 2523 + 2533 ] }, { - "teal": 2597, - "source": 762, + "teal": 2593, + "source": 759, "pc": [ - 2524, - 2525 + 2534, + 2535, + 2536 ] }, { "teal": 2598, - "source": 762, + "source": 760, "pc": [ - 2526, - 2527 + 2537, + 2538 ] }, { "teal": 2599, - "source": 762, + "source": 760, "pc": [ - 2528, - 2529 + 2539, + 2540 ] }, { "teal": 2600, - "source": 762, + "source": 760, "pc": [ - 2530 + 2541 ] }, { "teal": 2601, - "source": 762, + "source": 760, "pc": [ - 2531 + 2542, + 2543 ] }, { "teal": 2602, - "source": 762, + "source": 760, "pc": [ - 2532, - 2533 + 2544 ] }, { "teal": 2603, - "source": 762, + "source": 760, "pc": [ - 2534 + 2545 ] }, { "teal": 2604, - "source": 762, + "source": 760, "pc": [ - 2535, - 2536, - 2537 + 2546, + 2547 ] }, { - "teal": 2609, - "source": 763, + "teal": 2605, + "source": 760, + "pc": [ + 2548 + ] + }, + { + "teal": 2606, + "source": 760, "pc": [ - 2538, - 2539 + 2549, + 2550, + 2551 ] }, { - "teal": 2610, + "teal": 2613, "source": 763, "pc": [ - 2540, - 2541 + 2552, + 2553 ] }, { - "teal": 2611, + "teal": 2614, "source": 763, "pc": [ - 2542 + 2554, + 2555 ] }, { - "teal": 2612, + "teal": 2615, "source": 763, "pc": [ - 2543, - 2544 + 2556 ] }, { - "teal": 2613, + "teal": 2616, "source": 763, "pc": [ - 2545 + 2557 ] }, { - "teal": 2614, + "teal": 2617, "source": 763, "pc": [ - 2546 + 2558, + 2559 ] }, { - "teal": 2615, + "teal": 2618, "source": 763, "pc": [ - 2547, - 2548 + 2560 ] }, { - "teal": 2616, + "teal": 2619, "source": 763, "pc": [ - 2549 + 2561 ] }, { - "teal": 2617, + "teal": 2620, "source": 763, "pc": [ - 2550, - 2551, - 2552 + 2562, + 2563 ] }, { - "teal": 2624, - "source": 766, + "teal": 2621, + "source": 763, "pc": [ - 2553, - 2554 + 2564 ] }, { "teal": 2625, - "source": 766, + "source": 765, "pc": [ - 2555, - 2556 + 2565, + 2566 ] }, { "teal": 2626, - "source": 766, + "source": 765, "pc": [ - 2557 + 2567, + 2568 ] }, { "teal": 2627, - "source": 766, + "source": 765, "pc": [ - 2558 + 2569 ] }, { "teal": 2628, - "source": 766, + "source": 765, "pc": [ - 2559, - 2560 + 2570, + 2571 ] }, { "teal": 2629, - "source": 766, + "source": 765, "pc": [ - 2561 + 2572 ] }, { "teal": 2630, - "source": 766, + "source": 765, "pc": [ - 2562 + 2573 ] }, { "teal": 2631, - "source": 766, + "source": 765, "pc": [ - 2563, - 2564 + 2574, + 2575 ] }, { "teal": 2632, - "source": 766, + "source": 765, "pc": [ - 2565 + 2576 ] }, { - "teal": 2636, - "source": 768, + "teal": 2633, + "source": 765, "pc": [ - 2566, - 2567 + 2577 ] }, { - "teal": 2637, - "source": 768, + "teal": 2634, + "source": 765, "pc": [ - 2568, - 2569 + 2578, + 2579 ] }, { "teal": 2638, - "source": 768, + "source": 766, "pc": [ - 2570 + 2580, + 2581 ] }, { "teal": 2639, - "source": 768, + "source": 766, "pc": [ - 2571, - 2572 + 2582 ] }, { "teal": 2640, - "source": 768, + "source": 766, "pc": [ - 2573 + 2583 ] }, { "teal": 2641, - "source": 768, + "source": 766, "pc": [ - 2574 + 2584, + 2585 ] }, { "teal": 2642, - "source": 768, + "source": 766, "pc": [ - 2575, - 2576 + 2586 ] }, { "teal": 2643, - "source": 768, + "source": 766, "pc": [ - 2577 + 2587 ] }, { "teal": 2644, - "source": 768, + "source": 766, "pc": [ - 2578 + 2588, + 2589 ] }, { "teal": 2645, - "source": 768, + "source": 766, "pc": [ - 2579, - 2580 + 2590 ] }, { - "teal": 2649, - "source": 769, + "teal": 2646, + "source": 766, "pc": [ - 2581, - 2582 + 2591 ] }, { - "teal": 2650, - "source": 769, + "teal": 2647, + "source": 766, "pc": [ - 2583 + 2592, + 2593 ] }, { "teal": 2651, - "source": 769, + "source": 767, "pc": [ - 2584 + 2594 ] }, { "teal": 2652, - "source": 769, - "pc": [ - 2585, - 2586 - ] - }, - { - "teal": 2653, - "source": 769, - "pc": [ - 2587 - ] - }, - { - "teal": 2654, - "source": 769, - "pc": [ - 2588 - ] - }, - { - "teal": 2655, - "source": 769, - "pc": [ - 2589, - 2590 - ] - }, - { - "teal": 2656, - "source": 769, + "source": 767, "pc": [ - 2591 + 2595, + 2596 ] }, { "teal": 2657, - "source": 769, + "source": 767, "pc": [ - 2592 + 2597, + 2598 ] }, { "teal": 2658, - "source": 769, - "pc": [ - 2593, - 2594 - ] - }, - { - "teal": 2662, - "source": 770, - "pc": [ - 2595 - ] - }, - { - "teal": 2663, - "source": 770, + "source": 767, "pc": [ - 2596, - 2597 + 2599, + 2600 ] }, { - "teal": 2668, - "source": 770, - "pc": [ - 2598, - 2599 - ] - }, - { - "teal": 2669, - "source": 770, + "teal": 2659, + "source": 767, "pc": [ - 2600, 2601 ] }, { - "teal": 2670, - "source": 770, + "teal": 2660, + "source": 767, "pc": [ - 2602 + 2602, + 2603, + 2604 ] }, { - "teal": 2671, - "source": 770, + "teal": 2667, + "source": 773, "pc": [ - 2603, - 2604, - 2605 + 2605, + 2606 ] }, { - "teal": 2678, - "source": 776, + "teal": 2668, + "source": 773, "pc": [ - 2606, - 2607 + 2607, + 2608 ] }, { - "teal": 2679, - "source": 776, + "teal": 2669, + "source": 773, "pc": [ - 2608, - 2609 + 2609, + 2610 ] }, { - "teal": 2680, - "source": 776, + "teal": 2670, + "source": 773, "pc": [ - 2610, 2611 ] }, { - "teal": 2681, - "source": 776, + "teal": 2671, + "source": 773, "pc": [ 2612 ] }, { - "teal": 2682, - "source": 776, + "teal": 2672, + "source": 773, "pc": [ - 2613 + 2613, + 2614 ] }, { - "teal": 2683, - "source": 776, + "teal": 2673, + "source": 773, "pc": [ - 2614, 2615 ] }, { - "teal": 2684, - "source": 776, + "teal": 2674, + "source": 773, "pc": [ 2616 ] }, { - "teal": 2685, - "source": 776, + "teal": 2675, + "source": 773, "pc": [ 2617 ] }, { - "teal": 2686, - "source": 776, + "teal": 2676, + "source": 773, "pc": [ - 2618 + 2618, + 2619 ] }, { - "teal": 2687, - "source": 776, + "teal": 2677, + "source": 773, "pc": [ - 2619, 2620 ] }, { - "teal": 2688, - "source": 776, + "teal": 2678, + "source": 773, "pc": [ 2621 ] }, { - "teal": 2689, - "source": 776, + "teal": 2679, + "source": 773, "pc": [ - 2622 + 2622, + 2623 ] }, { - "teal": 2690, - "source": 776, + "teal": 2680, + "source": 773, "pc": [ - 2623, 2624 ] }, { - "teal": 2691, - "source": 776, + "teal": 2681, + "source": 773, "pc": [ 2625 ] }, { - "teal": 2692, - "source": 776, + "teal": 2682, + "source": 773, "pc": [ - 2626 + 2626, + 2627 ] }, { - "teal": 2693, - "source": 776, + "teal": 2683, + "source": 772, "pc": [ - 2627, 2628 ] }, { - "teal": 2694, - "source": 775, + "teal": 2684, + "source": 772, "pc": [ 2629 ] }, { - "teal": 2695, - "source": 775, + "teal": 2685, + "source": 774, "pc": [ - 2630 + 2630, + 2631 ] }, { - "teal": 2696, - "source": 777, + "teal": 2686, + "source": 772, "pc": [ - 2631, 2632 ] }, { - "teal": 2697, - "source": 775, + "teal": 2687, + "source": 772, "pc": [ 2633 ] }, { - "teal": 2698, - "source": 775, + "teal": 2688, + "source": 772, "pc": [ 2634 ] }, { - "teal": 2699, - "source": 775, + "teal": 2689, + "source": 772, "pc": [ 2635 ] }, { - "teal": 2700, - "source": 775, + "teal": 2690, + "source": 772, "pc": [ 2636 ] }, { - "teal": 2701, - "source": 775, + "teal": 2693, + "source": 772, + "errorMessage": "wideRatio failed", "pc": [ 2637 ] }, { - "teal": 2704, - "source": 775, - "errorMessage": "wideRatio failed", + "teal": 2694, + "source": 772, "pc": [ - 2638 + 2638, + 2639 ] }, { - "teal": 2705, - "source": 775, + "teal": 2698, + "source": 776, "pc": [ - 2639, - 2640 + 2640, + 2641 ] }, { - "teal": 2709, - "source": 779, + "teal": 2699, + "source": 776, "pc": [ - 2641, - 2642 + 2642, + 2643 ] }, { - "teal": 2710, - "source": 779, + "teal": 2700, + "source": 776, "pc": [ - 2643, 2644 ] }, { - "teal": 2711, - "source": 779, + "teal": 2701, + "source": 776, "pc": [ 2645 ] }, { - "teal": 2712, - "source": 779, + "teal": 2702, + "source": 776, "pc": [ 2646 ] }, { - "teal": 2713, - "source": 779, + "teal": 2703, + "source": 776, "pc": [ - 2647 + 2647, + 2648 ] }, { - "teal": 2714, - "source": 779, + "teal": 2704, + "source": 776, "pc": [ - 2648, 2649 ] }, { - "teal": 2715, - "source": 779, + "teal": 2705, + "source": 776, "pc": [ 2650 ] }, { - "teal": 2716, - "source": 779, + "teal": 2706, + "source": 776, "pc": [ - 2651 + 2651, + 2652 ] }, { - "teal": 2717, - "source": 779, + "teal": 2707, + "source": 776, "pc": [ - 2652, 2653 ] }, { - "teal": 2718, - "source": 779, + "teal": 2708, + "source": 776, "pc": [ 2654 ] }, { - "teal": 2719, - "source": 779, + "teal": 2709, + "source": 776, "pc": [ - 2655 + 2655, + 2656 ] }, { - "teal": 2720, - "source": 779, + "teal": 2710, + "source": 776, "pc": [ - 2656, 2657 ] }, { - "teal": 2721, - "source": 779, + "teal": 2715, + "source": 767, "pc": [ - 2658 + 2658, + 2659 ] }, { - "teal": 2726, - "source": 770, + "teal": 2716, + "source": 767, "pc": [ - 2659, 2660 ] }, { - "teal": 2727, - "source": 770, + "teal": 2717, + "source": 767, "pc": [ 2661 ] }, { - "teal": 2728, - "source": 770, + "teal": 2718, + "source": 767, "pc": [ - 2662 + 2662, + 2663 ] }, { - "teal": 2729, - "source": 770, + "teal": 2719, + "source": 767, "pc": [ - 2663, - 2664 + 2664, + 2665, + 2666 ] }, { - "teal": 2730, - "source": 770, + "teal": 2724, + "source": 778, "pc": [ - 2665, - 2666, - 2667 + 2667, + 2668 ] }, { - "teal": 2735, - "source": 781, + "teal": 2725, + "source": 778, "pc": [ - 2668, - 2669 + 2669, + 2670 ] }, { - "teal": 2736, - "source": 781, + "teal": 2726, + "source": 778, "pc": [ - 2670, 2671 ] }, { - "teal": 2737, - "source": 781, + "teal": 2727, + "source": 778, "pc": [ - 2672 + 2672, + 2673 ] }, { - "teal": 2738, - "source": 781, + "teal": 2728, + "source": 778, "pc": [ - 2673, 2674 ] }, { - "teal": 2739, - "source": 781, + "teal": 2729, + "source": 778, "pc": [ 2675 ] }, { - "teal": 2740, - "source": 781, + "teal": 2730, + "source": 778, "pc": [ - 2676 + 2676, + 2677 ] }, { - "teal": 2741, - "source": 781, + "teal": 2731, + "source": 778, "pc": [ - 2677, 2678 ] }, { - "teal": 2742, - "source": 781, + "teal": 2735, + "source": 737, "pc": [ - 2679 + 2679, + 2680 ] }, { - "teal": 2746, - "source": 740, + "teal": 2738, + "source": 737, "pc": [ - 2680, - 2681 + 2681, + 2682 ] }, { - "teal": 2749, - "source": 740, + "teal": 2739, + "source": 737, "pc": [ - 2682, 2683 ] }, { - "teal": 2750, - "source": 740, + "teal": 2744, + "source": 797, "pc": [ - 2684 + 2684, + 2685, + 2686 ] }, { - "teal": 2755, - "source": 800, + "teal": 2745, + "source": 797, "pc": [ - 2685, - 2686, 2687 ] }, { - "teal": 2756, - "source": 800, + "teal": 2748, + "source": 796, "pc": [ - 2688 + 2688, + 2689, + 2690 ] }, { - "teal": 2759, - "source": 799, + "teal": 2749, + "source": 796, "pc": [ - 2689, - 2690, 2691 ] }, { - "teal": 2760, - "source": 799, + "teal": 2752, + "source": 795, "pc": [ - 2692 + 2692, + 2693, + 2694 ] }, { - "teal": 2763, - "source": 798, + "teal": 2753, + "source": 795, "pc": [ - 2693, - 2694, 2695 ] }, { - "teal": 2764, - "source": 798, + "teal": 2756, + "source": 794, "pc": [ - 2696 + 2696, + 2697, + 2698 ] }, { - "teal": 2767, - "source": 797, + "teal": 2757, + "source": 794, "pc": [ - 2697, - 2698, 2699 ] }, { - "teal": 2768, - "source": 797, + "teal": 2760, + "source": 793, "pc": [ - 2700 + 2700, + 2701, + 2702 ] }, { - "teal": 2771, - "source": 796, + "teal": 2761, + "source": 793, "pc": [ - 2701, - 2702, 2703 ] }, { - "teal": 2772, - "source": 796, + "teal": 2762, + "source": 793, "pc": [ 2704 ] }, { - "teal": 2773, - "source": 796, + "teal": 2763, + "source": 793, "pc": [ 2705 ] }, { - "teal": 2774, - "source": 796, + "teal": 2764, + "source": 793, "pc": [ 2706 ] }, { - "teal": 2775, - "source": 796, + "teal": 2767, + "source": 793, + "errorMessage": "argument 4 (poolKey) for stakeUpdatedViaRewards must be a (uint64,uint64,uint64)", "pc": [ 2707 ] }, { - "teal": 2778, - "source": 796, - "errorMessage": "argument 4 (poolKey) for stakeUpdatedViaRewards must be a (uint64,uint64,uint64)", + "teal": 2770, + "source": 792, "pc": [ - 2708 + 2708, + 2709, + 2710 ] }, { - "teal": 2781, - "source": 795, + "teal": 2771, + "source": 792, "pc": [ - 2709, - 2710, 2711 ] }, { - "teal": 2782, - "source": 795, + "teal": 2772, + "source": 792, "pc": [ 2712 ] }, { - "teal": 2783, - "source": 795, + "teal": 2786, + "source": 792, "pc": [ - 2713 + 2713, + 2714, + 2715 ] }, { - "teal": 2797, - "source": 795, + "teal": 2790, + "source": 799, "pc": [ - 2714, - 2715, - 2716 + 2716, + 2717 ] }, { - "teal": 2801, - "source": 802, + "teal": 2791, + "source": 799, "pc": [ - 2717, - 2718 + 2718, + 2719, + 2720 ] }, { - "teal": 2802, + "teal": 2795, "source": 802, "pc": [ - 2719, - 2720, - 2721 + 2721, + 2722 ] }, { - "teal": 2806, - "source": 805, + "teal": 2796, + "source": 802, "pc": [ - 2722, - 2723 + 2723, + 2724 ] }, { - "teal": 2807, - "source": 805, + "teal": 2797, + "source": 802, "pc": [ - 2724, - 2725 + 2725, + 2726, + 2727 ] }, { - "teal": 2808, - "source": 805, + "teal": 2798, + "source": 802, "pc": [ - 2726, - 2727, 2728 ] }, { - "teal": 2809, - "source": 805, + "teal": 2799, + "source": 802, "pc": [ 2729 ] }, { - "teal": 2810, - "source": 805, + "teal": 2800, + "source": 802, "pc": [ 2730 ] }, { - "teal": 2811, - "source": 805, + "teal": 2801, + "source": 802, "pc": [ - 2731 + 2731, + 2732 ] }, { - "teal": 2812, - "source": 805, + "teal": 2802, + "source": 802, "pc": [ - 2732, 2733 ] }, { - "teal": 2813, - "source": 805, + "teal": 2803, + "source": 802, "pc": [ 2734 ] }, { - "teal": 2814, - "source": 805, + "teal": 2804, + "source": 802, "pc": [ - 2735 + 2735, + 2736 ] }, { - "teal": 2815, - "source": 805, + "teal": 2805, + "source": 802, "pc": [ - 2736, 2737 ] }, { - "teal": 2816, - "source": 805, + "teal": 2806, + "source": 802, "pc": [ - 2738 + 2738, + 2739 ] }, { - "teal": 2817, - "source": 805, + "teal": 2807, + "source": 802, "pc": [ - 2739, - 2740 + 2740, + 2741 ] }, { - "teal": 2818, - "source": 805, + "teal": 2808, + "source": 802, "pc": [ - 2741, - 2742 + 2742, + 2743, + 2744 ] }, { - "teal": 2819, - "source": 805, + "teal": 2809, + "source": 802, "pc": [ - 2743, - 2744, 2745 ] }, { - "teal": 2820, - "source": 805, + "teal": 2810, + "source": 802, "pc": [ 2746 ] }, { - "teal": 2821, - "source": 805, + "teal": 2811, + "source": 802, "pc": [ 2747 ] }, { - "teal": 2822, - "source": 805, + "teal": 2812, + "source": 802, "pc": [ - 2748 + 2748, + 2749 ] }, { - "teal": 2823, - "source": 805, + "teal": 2813, + "source": 802, "pc": [ - 2749, 2750 ] }, { - "teal": 2824, - "source": 805, + "teal": 2814, + "source": 802, "pc": [ 2751 ] }, { - "teal": 2825, - "source": 805, + "teal": 2815, + "source": 802, "pc": [ - 2752 + 2752, + 2753 ] }, { - "teal": 2826, - "source": 805, + "teal": 2816, + "source": 802, "pc": [ - 2753, 2754 ] }, { - "teal": 2827, - "source": 805, + "teal": 2817, + "source": 802, "pc": [ 2755 ] }, { - "teal": 2828, - "source": 805, + "teal": 2818, + "source": 802, "pc": [ 2756 ] }, { - "teal": 2829, - "source": 805, + "teal": 2819, + "source": 802, "pc": [ - 2757 + 2757, + 2758 ] }, { - "teal": 2830, - "source": 805, + "teal": 2820, + "source": 802, "pc": [ - 2758, - 2759 + 2759, + 2760, + 2761 ] }, { - "teal": 2831, - "source": 805, + "teal": 2821, + "source": 802, "pc": [ - 2760, - 2761, 2762 ] }, { - "teal": 2832, - "source": 805, + "teal": 2822, + "source": 802, "pc": [ 2763 ] }, { - "teal": 2833, - "source": 805, + "teal": 2823, + "source": 802, "pc": [ 2764 ] }, { - "teal": 2834, - "source": 805, + "teal": 2824, + "source": 802, "pc": [ - 2765 + 2765, + 2766 ] }, { - "teal": 2835, - "source": 805, + "teal": 2825, + "source": 802, "pc": [ - 2766, 2767 ] }, { - "teal": 2836, - "source": 805, + "teal": 2826, + "source": 802, "pc": [ 2768 ] }, { - "teal": 2837, - "source": 805, + "teal": 2827, + "source": 802, "pc": [ - 2769 + 2769, + 2770 ] }, { - "teal": 2838, - "source": 805, + "teal": 2828, + "source": 802, "pc": [ - 2770, 2771 ] }, { - "teal": 2839, - "source": 805, + "teal": 2829, + "source": 802, "pc": [ 2772 ] }, { - "teal": 2840, - "source": 805, + "teal": 2830, + "source": 802, "pc": [ 2773 ] }, { - "teal": 2841, - "source": 805, + "teal": 2831, + "source": 802, "pc": [ - 2774 + 2774, + 2775 ] }, { - "teal": 2842, - "source": 805, + "teal": 2832, + "source": 802, "pc": [ - 2775, - 2776 + 2776, + 2777, + 2778 ] }, { - "teal": 2843, - "source": 805, + "teal": 2833, + "source": 802, "pc": [ - 2777, - 2778, 2779 ] }, { - "teal": 2844, - "source": 805, + "teal": 2834, + "source": 802, "pc": [ 2780 ] }, { - "teal": 2845, - "source": 805, + "teal": 2835, + "source": 802, "pc": [ 2781 ] }, { - "teal": 2846, - "source": 805, + "teal": 2836, + "source": 802, "pc": [ - 2782 + 2782, + 2783 ] }, { - "teal": 2847, - "source": 805, + "teal": 2837, + "source": 802, "pc": [ - 2783, 2784 ] }, { - "teal": 2848, - "source": 805, + "teal": 2841, + "source": 803, "pc": [ - 2785 + 2785, + 2786 ] }, { - "teal": 2852, - "source": 806, + "teal": 2842, + "source": 803, "pc": [ - 2786, 2787 ] }, { - "teal": 2853, - "source": 806, + "teal": 2843, + "source": 803, "pc": [ 2788 ] }, { - "teal": 2854, - "source": 806, + "teal": 2844, + "source": 803, "pc": [ 2789 ] }, { - "teal": 2855, - "source": 806, + "teal": 2845, + "source": 803, "pc": [ - 2790 + 2790, + 2791 ] }, { - "teal": 2856, - "source": 806, + "teal": 2846, + "source": 803, "pc": [ - 2791, - 2792 + 2792, + 2793, + 2794 ] }, { - "teal": 2857, - "source": 806, + "teal": 2847, + "source": 803, "pc": [ - 2793, - 2794, 2795 ] }, { - "teal": 2858, - "source": 806, + "teal": 2848, + "source": 803, "pc": [ 2796 ] }, { - "teal": 2859, - "source": 806, + "teal": 2849, + "source": 803, "pc": [ 2797 ] }, { - "teal": 2860, - "source": 806, + "teal": 2850, + "source": 803, "pc": [ - 2798 + 2798, + 2799 ] }, { - "teal": 2861, - "source": 806, + "teal": 2851, + "source": 803, "pc": [ - 2799, 2800 ] }, { - "teal": 2862, - "source": 806, + "teal": 2852, + "source": 803, "pc": [ 2801 ] }, { - "teal": 2863, - "source": 806, + "teal": 2853, + "source": 803, "pc": [ - 2802 + 2802, + 2803 ] }, { - "teal": 2864, - "source": 806, + "teal": 2854, + "source": 803, "pc": [ - 2803, 2804 ] }, { - "teal": 2865, - "source": 806, + "teal": 2855, + "source": 803, "pc": [ 2805 ] }, { - "teal": 2866, - "source": 806, + "teal": 2856, + "source": 803, "pc": [ 2806 ] }, { - "teal": 2867, - "source": 806, + "teal": 2857, + "source": 803, "pc": [ - 2807 + 2807, + 2808 ] }, { - "teal": 2868, - "source": 806, + "teal": 2858, + "source": 803, "pc": [ - 2808, - 2809 + 2809, + 2810, + 2811 ] }, { - "teal": 2869, - "source": 806, + "teal": 2859, + "source": 803, "pc": [ - 2810, - 2811, 2812 ] }, { - "teal": 2870, - "source": 806, + "teal": 2860, + "source": 803, "pc": [ 2813 ] }, { - "teal": 2871, - "source": 806, + "teal": 2861, + "source": 803, "pc": [ 2814 ] }, { - "teal": 2872, - "source": 806, + "teal": 2862, + "source": 803, "pc": [ - 2815 + 2815, + 2816 ] }, { - "teal": 2873, - "source": 806, + "teal": 2863, + "source": 803, "pc": [ - 2816, 2817 ] }, { - "teal": 2874, - "source": 806, + "teal": 2867, + "source": 804, "pc": [ - 2818 + 2818, + 2819 ] }, { - "teal": 2878, - "source": 807, + "teal": 2868, + "source": 804, "pc": [ - 2819, 2820 ] }, { - "teal": 2879, - "source": 807, + "teal": 2869, + "source": 804, "pc": [ 2821 ] }, { - "teal": 2880, - "source": 807, + "teal": 2870, + "source": 804, "pc": [ 2822 ] }, { - "teal": 2881, - "source": 807, + "teal": 2871, + "source": 804, "pc": [ - 2823 + 2823, + 2824 ] }, { - "teal": 2882, - "source": 807, + "teal": 2872, + "source": 804, "pc": [ - 2824, - 2825 + 2825, + 2826, + 2827 ] }, { - "teal": 2883, - "source": 807, + "teal": 2873, + "source": 804, "pc": [ - 2826, - 2827, 2828 ] }, { - "teal": 2884, - "source": 807, + "teal": 2874, + "source": 804, "pc": [ 2829 ] }, { - "teal": 2885, - "source": 807, + "teal": 2875, + "source": 804, "pc": [ 2830 ] }, { - "teal": 2886, - "source": 807, + "teal": 2876, + "source": 804, "pc": [ - 2831 + 2831, + 2832 ] }, { - "teal": 2887, - "source": 807, + "teal": 2877, + "source": 804, "pc": [ - 2832, 2833 ] }, { - "teal": 2888, - "source": 807, + "teal": 2878, + "source": 804, "pc": [ 2834 ] }, { - "teal": 2889, - "source": 807, + "teal": 2879, + "source": 804, "pc": [ - 2835 + 2835, + 2836 ] }, { - "teal": 2890, - "source": 807, + "teal": 2880, + "source": 804, "pc": [ - 2836, 2837 ] }, { - "teal": 2891, - "source": 807, + "teal": 2881, + "source": 804, "pc": [ 2838 ] }, { - "teal": 2892, - "source": 807, + "teal": 2882, + "source": 804, "pc": [ 2839 ] }, { - "teal": 2893, - "source": 807, + "teal": 2883, + "source": 804, "pc": [ - 2840 + 2840, + 2841 ] }, { - "teal": 2894, - "source": 807, + "teal": 2884, + "source": 804, "pc": [ - 2841, - 2842 + 2842, + 2843, + 2844 ] }, { - "teal": 2895, - "source": 807, + "teal": 2885, + "source": 804, "pc": [ - 2843, - 2844, 2845 ] }, { - "teal": 2896, - "source": 807, + "teal": 2886, + "source": 804, "pc": [ 2846 ] }, { - "teal": 2897, - "source": 807, + "teal": 2887, + "source": 804, "pc": [ 2847 ] }, { - "teal": 2898, - "source": 807, + "teal": 2888, + "source": 804, "pc": [ - 2848 + 2848, + 2849 ] }, { - "teal": 2899, - "source": 807, + "teal": 2889, + "source": 804, "pc": [ - 2849, 2850 ] }, { - "teal": 2900, - "source": 807, + "teal": 2893, + "source": 806, "pc": [ - 2851 + 2851, + 2852 ] }, { - "teal": 2904, - "source": 809, + "teal": 2894, + "source": 806, "pc": [ - 2852, 2853 ] }, { - "teal": 2905, - "source": 809, + "teal": 2895, + "source": 806, "pc": [ - 2854 + 2854, + 2855 ] }, { - "teal": 2906, - "source": 809, + "teal": 2896, + "source": 806, "pc": [ - 2855, 2856 ] }, { - "teal": 2907, - "source": 809, + "teal": 2897, + "source": 806, "pc": [ - 2857 + 2857, + 2858 ] }, { - "teal": 2908, - "source": 809, + "teal": 2898, + "source": 806, "pc": [ - 2858, 2859 ] }, { - "teal": 2909, - "source": 809, + "teal": 2899, + "source": 806, "pc": [ 2860 ] }, { - "teal": 2910, + "teal": 2903, "source": 809, "pc": [ - 2861 + 2861, + 2862 ] }, { - "teal": 2914, - "source": 812, + "teal": 2904, + "source": 809, "pc": [ - 2862, - 2863 + 2863, + 2864, + 2865 ] }, { - "teal": 2915, - "source": 812, + "teal": 2905, + "source": 809, "pc": [ - 2864, - 2865, 2866 ] }, { - "teal": 2916, - "source": 812, + "teal": 2906, + "source": 809, "pc": [ - 2867 + 2867, + 2868, + 2869 ] }, { - "teal": 2917, - "source": 812, + "teal": 2907, + "source": 792, "pc": [ - 2868, - 2869, 2870 ] }, { - "teal": 2918, - "source": 795, + "teal": 2912, + "source": 839, "pc": [ - 2871 + 2871, + 2872, + 2873 ] }, { - "teal": 2923, - "source": 842, + "teal": 2913, + "source": 839, "pc": [ - 2872, - 2873, 2874 ] }, { - "teal": 2924, - "source": 842, + "teal": 2914, + "source": 839, "pc": [ 2875 ] }, { - "teal": 2925, - "source": 842, + "teal": 2915, + "source": 839, "pc": [ 2876 ] }, { - "teal": 2926, - "source": 842, + "teal": 2916, + "source": 839, "pc": [ 2877 ] }, { - "teal": 2927, - "source": 842, + "teal": 2919, + "source": 839, + "errorMessage": "argument 0 (stakerRemoved) for stakeRemoved must be a bool", "pc": [ 2878 ] }, { - "teal": 2930, - "source": 842, - "errorMessage": "argument 0 (stakerRemoved) for stakeRemoved must be a bool", + "teal": 2920, + "source": 839, "pc": [ 2879 ] }, { - "teal": 2931, - "source": 842, + "teal": 2921, + "source": 839, "pc": [ 2880 ] }, { - "teal": 2932, - "source": 842, + "teal": 2924, + "source": 838, "pc": [ - 2881 + 2881, + 2882, + 2883 ] }, { - "teal": 2935, - "source": 841, + "teal": 2925, + "source": 838, "pc": [ - 2882, - 2883, 2884 ] }, { - "teal": 2936, - "source": 841, + "teal": 2928, + "source": 837, "pc": [ - 2885 + 2885, + 2886, + 2887 ] }, { - "teal": 2939, - "source": 840, + "teal": 2929, + "source": 837, "pc": [ - 2886, - 2887, 2888 ] }, { - "teal": 2940, - "source": 840, + "teal": 2932, + "source": 836, "pc": [ - 2889 + 2889, + 2890, + 2891 ] }, { - "teal": 2943, - "source": 839, + "teal": 2933, + "source": 836, "pc": [ - 2890, - 2891, 2892 ] }, { - "teal": 2944, - "source": 839, + "teal": 2934, + "source": 836, "pc": [ 2893 ] }, { - "teal": 2945, - "source": 839, + "teal": 2935, + "source": 836, "pc": [ - 2894 + 2894, + 2895 ] }, { - "teal": 2946, - "source": 839, + "teal": 2936, + "source": 836, "pc": [ - 2895, 2896 ] }, { - "teal": 2947, - "source": 839, + "teal": 2939, + "source": 836, + "errorMessage": "argument 3 (staker) for stakeRemoved must be a address", "pc": [ 2897 ] }, { - "teal": 2950, - "source": 839, - "errorMessage": "argument 3 (staker) for stakeRemoved must be a address", + "teal": 2942, + "source": 835, "pc": [ - 2898 + 2898, + 2899, + 2900 ] }, { - "teal": 2953, - "source": 838, + "teal": 2943, + "source": 835, "pc": [ - 2899, - 2900, 2901 ] }, { - "teal": 2954, - "source": 838, + "teal": 2944, + "source": 835, "pc": [ 2902 ] }, { - "teal": 2955, - "source": 838, + "teal": 2945, + "source": 835, "pc": [ 2903 ] }, { - "teal": 2956, - "source": 838, + "teal": 2946, + "source": 835, "pc": [ 2904 ] }, { - "teal": 2957, - "source": 838, + "teal": 2949, + "source": 835, + "errorMessage": "argument 4 (poolKey) for stakeRemoved must be a (uint64,uint64,uint64)", "pc": [ 2905 ] }, { - "teal": 2960, - "source": 838, - "errorMessage": "argument 4 (poolKey) for stakeRemoved must be a (uint64,uint64,uint64)", + "teal": 2952, + "source": 834, "pc": [ - 2906 + 2906, + 2907, + 2908 ] }, { - "teal": 2963, - "source": 837, + "teal": 2953, + "source": 834, "pc": [ - 2907, - 2908, 2909 ] }, { - "teal": 2964, - "source": 837, + "teal": 2954, + "source": 834, "pc": [ 2910 ] }, { - "teal": 2965, - "source": 837, + "teal": 2969, + "source": 834, "pc": [ - 2911 + 2911, + 2912, + 2913 ] }, { - "teal": 2980, - "source": 837, + "teal": 2972, + "source": 834, "pc": [ - 2912, - 2913, 2914 ] }, { - "teal": 2983, - "source": 837, + "teal": 2973, + "source": 834, "pc": [ - 2915 + 2915, + 2916 ] }, { - "teal": 2984, - "source": 837, + "teal": 2978, + "source": 841, "pc": [ - 2916, - 2917 + 2917, + 2918 ] }, { - "teal": 2989, - "source": 844, + "teal": 2979, + "source": 841, "pc": [ - 2918, - 2919 + 2919, + 2920 ] }, { - "teal": 2990, - "source": 844, + "teal": 2980, + "source": 841, "pc": [ - 2920, 2921 ] }, { - "teal": 2991, - "source": 844, + "teal": 2981, + "source": 841, "pc": [ - 2922 + 2922, + 2923, + 2924 ] }, { - "teal": 2992, - "source": 844, + "teal": 2986, + "source": 842, "pc": [ - 2923, - 2924, 2925 ] }, { - "teal": 2997, - "source": 845, + "teal": 2987, + "source": 842, "pc": [ - 2926 + 2926, + 2927 ] }, { - "teal": 2998, - "source": 845, + "teal": 2988, + "source": 842, "pc": [ - 2927, - 2928 + 2928, + 2929 ] }, { - "teal": 2999, - "source": 845, + "teal": 2989, + "source": 842, "pc": [ - 2929, 2930 ] }, { - "teal": 3000, - "source": 845, + "teal": 2990, + "source": 842, "pc": [ - 2931 + 2931, + 2932 ] }, { - "teal": 3001, - "source": 845, + "teal": 2991, + "source": 842, "pc": [ - 2932, - 2933 + 2933, + 2934 ] }, { - "teal": 3002, - "source": 845, + "teal": 2992, + "source": 842, "pc": [ - 2934, 2935 ] }, { - "teal": 3003, - "source": 845, + "teal": 2993, + "source": 842, "pc": [ - 2936 + 2936, + 2937 ] }, { - "teal": 3004, - "source": 845, + "teal": 2994, + "source": 842, "pc": [ - 2937, - 2938 + 2938, + 2939 ] }, { - "teal": 3005, - "source": 845, + "teal": 2995, + "source": 842, "pc": [ - 2939, - 2940 + 2940, + 2941 ] }, { - "teal": 3006, - "source": 845, + "teal": 2996, + "source": 842, "pc": [ - 2941, - 2942 + 2942, + 2943 ] }, { - "teal": 3007, - "source": 845, + "teal": 2997, + "source": 842, "pc": [ - 2943, 2944 ] }, { - "teal": 3008, - "source": 845, + "teal": 3002, + "source": 844, "pc": [ - 2945 + 2945, + 2946 ] }, { - "teal": 3013, - "source": 847, + "teal": 3003, + "source": 844, "pc": [ - 2946, - 2947 + 2947, + 2948, + 2949 ] }, { - "teal": 3014, - "source": 847, + "teal": 3007, + "source": 848, "pc": [ - 2948, - 2949, - 2950 + 2950, + 2951 ] }, { - "teal": 3018, - "source": 851, + "teal": 3008, + "source": 848, "pc": [ - 2951, 2952 ] }, { - "teal": 3019, - "source": 851, + "teal": 3009, + "source": 848, "pc": [ 2953 ] }, { - "teal": 3020, - "source": 851, + "teal": 3010, + "source": 848, "pc": [ 2954 ] }, { - "teal": 3021, - "source": 851, + "teal": 3011, + "source": 848, "pc": [ - 2955 + 2955, + 2956, + 2957 ] }, { - "teal": 3022, - "source": 851, + "teal": 3012, + "source": 848, "pc": [ - 2956, - 2957, - 2958 + 2958, + 2959 ] }, { - "teal": 3023, - "source": 851, + "teal": 3013, + "source": 848, "pc": [ - 2959, 2960 ] }, { - "teal": 3024, - "source": 851, + "teal": 3014, + "source": 848, "pc": [ 2961 ] }, { - "teal": 3025, - "source": 851, + "teal": 3015, + "source": 848, "pc": [ 2962 ] }, { - "teal": 3026, - "source": 851, + "teal": 3019, + "source": 848, + "errorMessage": "should only be called if algo or reward was removed", "pc": [ 2963 ] }, { - "teal": 3030, + "teal": 3023, "source": 851, - "errorMessage": "should only be called if algo or reward was removed", "pc": [ - 2964 + 2964, + 2965 ] }, { - "teal": 3034, - "source": 854, + "teal": 3024, + "source": 851, "pc": [ - 2965, - 2966 + 2966, + 2967 ] }, { - "teal": 3035, - "source": 854, + "teal": 3025, + "source": 851, "pc": [ - 2967, - 2968 + 2968, + 2969, + 2970 ] }, { - "teal": 3036, - "source": 854, + "teal": 3026, + "source": 851, "pc": [ - 2969, - 2970, 2971 ] }, { - "teal": 3037, - "source": 854, + "teal": 3027, + "source": 851, "pc": [ 2972 ] }, { - "teal": 3038, - "source": 854, + "teal": 3028, + "source": 851, "pc": [ 2973 ] }, { - "teal": 3039, - "source": 854, + "teal": 3029, + "source": 851, "pc": [ - 2974 + 2974, + 2975 ] }, { - "teal": 3040, - "source": 854, + "teal": 3030, + "source": 851, "pc": [ - 2975, 2976 ] }, { - "teal": 3041, - "source": 854, + "teal": 3031, + "source": 851, "pc": [ 2977 ] }, { - "teal": 3042, - "source": 854, + "teal": 3032, + "source": 851, "pc": [ - 2978 + 2978, + 2979 ] }, { - "teal": 3043, - "source": 854, + "teal": 3033, + "source": 851, "pc": [ - 2979, 2980 ] }, { - "teal": 3044, - "source": 854, + "teal": 3034, + "source": 851, "pc": [ - 2981 + 2981, + 2982 ] }, { - "teal": 3045, - "source": 854, + "teal": 3035, + "source": 851, "pc": [ - 2982, - 2983 + 2983, + 2984 ] }, { - "teal": 3046, - "source": 854, + "teal": 3036, + "source": 851, "pc": [ - 2984, - 2985 + 2985, + 2986, + 2987 ] }, { - "teal": 3047, - "source": 854, + "teal": 3037, + "source": 851, "pc": [ - 2986, - 2987, 2988 ] }, { - "teal": 3048, - "source": 854, + "teal": 3038, + "source": 851, "pc": [ 2989 ] }, { - "teal": 3049, - "source": 854, + "teal": 3039, + "source": 851, "pc": [ 2990 ] }, { - "teal": 3050, - "source": 854, + "teal": 3040, + "source": 851, "pc": [ - 2991 + 2991, + 2992 ] }, { - "teal": 3051, - "source": 854, + "teal": 3041, + "source": 851, "pc": [ - 2992, 2993 ] }, { - "teal": 3052, - "source": 854, + "teal": 3042, + "source": 851, "pc": [ 2994 ] }, { - "teal": 3053, - "source": 854, + "teal": 3043, + "source": 851, "pc": [ - 2995 + 2995, + 2996 ] }, { - "teal": 3054, - "source": 854, + "teal": 3044, + "source": 851, "pc": [ - 2996, 2997 ] }, { - "teal": 3055, - "source": 854, + "teal": 3045, + "source": 851, "pc": [ 2998 ] }, { - "teal": 3056, - "source": 854, + "teal": 3046, + "source": 851, "pc": [ 2999 ] }, { - "teal": 3057, - "source": 854, + "teal": 3047, + "source": 851, "pc": [ - 3000 + 3000, + 3001 ] }, { - "teal": 3058, - "source": 854, + "teal": 3048, + "source": 851, "pc": [ - 3001, - 3002 + 3002, + 3003, + 3004 ] }, { - "teal": 3059, - "source": 854, + "teal": 3049, + "source": 851, "pc": [ - 3003, - 3004, 3005 ] }, { - "teal": 3060, - "source": 854, + "teal": 3050, + "source": 851, "pc": [ 3006 ] }, { - "teal": 3061, - "source": 854, + "teal": 3051, + "source": 851, "pc": [ 3007 ] }, { - "teal": 3062, - "source": 854, + "teal": 3052, + "source": 851, "pc": [ - 3008 + 3008, + 3009 ] }, { - "teal": 3063, - "source": 854, + "teal": 3053, + "source": 851, "pc": [ - 3009, 3010 ] }, { - "teal": 3064, - "source": 854, + "teal": 3054, + "source": 851, "pc": [ 3011 ] }, { - "teal": 3065, - "source": 854, + "teal": 3055, + "source": 851, "pc": [ - 3012 + 3012, + 3013 ] }, { - "teal": 3066, - "source": 854, + "teal": 3056, + "source": 851, "pc": [ - 3013, 3014 ] }, { - "teal": 3067, - "source": 854, + "teal": 3057, + "source": 851, "pc": [ 3015 ] }, { - "teal": 3068, - "source": 854, + "teal": 3058, + "source": 851, "pc": [ 3016 ] }, { - "teal": 3069, - "source": 854, + "teal": 3059, + "source": 851, "pc": [ - 3017 + 3017, + 3018 ] }, { - "teal": 3070, - "source": 854, + "teal": 3060, + "source": 851, "pc": [ - 3018, - 3019 + 3019, + 3020, + 3021 ] }, { - "teal": 3071, - "source": 854, + "teal": 3061, + "source": 851, "pc": [ - 3020, - 3021, 3022 ] }, { - "teal": 3072, - "source": 854, + "teal": 3062, + "source": 851, "pc": [ 3023 ] }, { - "teal": 3073, - "source": 854, + "teal": 3063, + "source": 851, "pc": [ 3024 ] }, { - "teal": 3074, - "source": 854, + "teal": 3064, + "source": 851, "pc": [ - 3025 + 3025, + 3026 ] }, { - "teal": 3075, - "source": 854, + "teal": 3065, + "source": 851, "pc": [ - 3026, 3027 ] }, { - "teal": 3076, - "source": 854, + "teal": 3069, + "source": 852, "pc": [ - 3028 + 3028, + 3029 ] }, { - "teal": 3080, - "source": 855, + "teal": 3070, + "source": 852, "pc": [ - 3029, 3030 ] }, { - "teal": 3081, - "source": 855, + "teal": 3071, + "source": 852, "pc": [ 3031 ] }, { - "teal": 3082, - "source": 855, + "teal": 3072, + "source": 852, "pc": [ 3032 ] }, { - "teal": 3083, - "source": 855, + "teal": 3073, + "source": 852, "pc": [ - 3033 + 3033, + 3034 ] }, { - "teal": 3084, - "source": 855, + "teal": 3074, + "source": 852, "pc": [ - 3034, - 3035 + 3035, + 3036, + 3037 ] }, { - "teal": 3085, - "source": 855, + "teal": 3075, + "source": 852, "pc": [ - 3036, - 3037, 3038 ] }, { - "teal": 3086, - "source": 855, + "teal": 3076, + "source": 852, "pc": [ 3039 ] }, { - "teal": 3087, - "source": 855, + "teal": 3077, + "source": 852, "pc": [ 3040 ] }, { - "teal": 3088, - "source": 855, + "teal": 3078, + "source": 852, "pc": [ - 3041 + 3041, + 3042 ] }, { - "teal": 3089, - "source": 855, + "teal": 3079, + "source": 852, "pc": [ - 3042, 3043 ] }, { - "teal": 3090, - "source": 855, + "teal": 3080, + "source": 852, "pc": [ 3044 ] }, { - "teal": 3091, - "source": 855, + "teal": 3081, + "source": 852, "pc": [ - 3045 + 3045, + 3046 ] }, { - "teal": 3092, - "source": 855, + "teal": 3082, + "source": 852, "pc": [ - 3046, 3047 ] }, { - "teal": 3093, - "source": 855, + "teal": 3083, + "source": 852, "pc": [ 3048 ] }, { - "teal": 3094, - "source": 855, + "teal": 3084, + "source": 852, "pc": [ 3049 ] }, { - "teal": 3095, - "source": 855, + "teal": 3085, + "source": 852, "pc": [ - 3050 + 3050, + 3051 ] }, { - "teal": 3096, - "source": 855, + "teal": 3086, + "source": 852, "pc": [ - 3051, - 3052 + 3052, + 3053, + 3054 ] }, { - "teal": 3097, - "source": 855, + "teal": 3087, + "source": 852, "pc": [ - 3053, - 3054, 3055 ] }, { - "teal": 3098, - "source": 855, + "teal": 3088, + "source": 852, "pc": [ 3056 ] }, { - "teal": 3099, - "source": 855, + "teal": 3089, + "source": 852, "pc": [ 3057 ] }, { - "teal": 3100, - "source": 855, + "teal": 3090, + "source": 852, "pc": [ - 3058 + 3058, + 3059 ] }, { - "teal": 3101, - "source": 855, + "teal": 3091, + "source": 852, "pc": [ - 3059, 3060 ] }, { - "teal": 3102, - "source": 855, + "teal": 3095, + "source": 853, "pc": [ - 3061 + 3061, + 3062 ] }, { - "teal": 3106, - "source": 856, + "teal": 3096, + "source": 853, "pc": [ - 3062, 3063 ] }, { - "teal": 3107, - "source": 856, + "teal": 3097, + "source": 853, "pc": [ - 3064 + 3064, + 3065 ] }, { - "teal": 3108, - "source": 856, + "teal": 3098, + "source": 853, "pc": [ - 3065, 3066 ] }, { - "teal": 3109, - "source": 856, + "teal": 3099, + "source": 853, "pc": [ - 3067 + 3067, + 3068 ] }, { - "teal": 3110, - "source": 856, + "teal": 3100, + "source": 853, "pc": [ - 3068, 3069 ] }, { - "teal": 3111, - "source": 856, + "teal": 3101, + "source": 853, "pc": [ 3070 ] }, { - "teal": 3112, - "source": 856, + "teal": 3106, + "source": 855, "pc": [ - 3071 + 3071, + 3072 ] }, { - "teal": 3117, - "source": 858, + "teal": 3107, + "source": 855, "pc": [ - 3072, 3073 ] }, { - "teal": 3118, - "source": 858, + "teal": 3108, + "source": 855, "pc": [ 3074 ] }, { - "teal": 3119, - "source": 858, + "teal": 3109, + "source": 855, "pc": [ - 3075 + 3075, + 3076, + 3077 ] }, { - "teal": 3120, - "source": 858, + "teal": 3114, + "source": 856, "pc": [ - 3076, - 3077, - 3078 + 3078, + 3079 ] }, { - "teal": 3125, - "source": 859, + "teal": 3115, + "source": 856, "pc": [ - 3079, - 3080, - 3081 + 3080 ] }, { - "teal": 3126, - "source": 859, + "teal": 3116, + "source": 856, "pc": [ - 3082 + 3081 ] }, { - "teal": 3127, - "source": 859, + "teal": 3117, + "source": 856, "pc": [ + 3082, 3083 ] }, { - "teal": 3128, - "source": 859, + "teal": 3118, + "source": 856, "pc": [ 3084, - 3085 + 3085, + 3086 ] }, { - "teal": 3129, - "source": 859, + "teal": 3119, + "source": 856, "pc": [ - 3086, - 3087, - 3088 + 3087 ] }, { - "teal": 3130, - "source": 859, + "teal": 3120, + "source": 856, "pc": [ - 3089 + 3088 ] }, { - "teal": 3131, - "source": 859, + "teal": 3121, + "source": 856, "pc": [ - 3090 + 3089 ] }, { - "teal": 3132, - "source": 859, + "teal": 3122, + "source": 856, "pc": [ + 3090, 3091 ] }, { - "teal": 3133, - "source": 859, + "teal": 3123, + "source": 856, "pc": [ - 3092, - 3093 + 3092 ] }, { - "teal": 3134, - "source": 859, + "teal": 3124, + "source": 856, "pc": [ - 3094 + 3093 ] }, { - "teal": 3135, - "source": 859, + "teal": 3125, + "source": 856, "pc": [ + 3094, 3095 ] }, { - "teal": 3136, - "source": 859, + "teal": 3129, + "source": 857, "pc": [ 3096, 3097 ] }, { - "teal": 3140, - "source": 860, + "teal": 3130, + "source": 857, "pc": [ - 3098, - 3099 + 3098 ] }, { - "teal": 3141, - "source": 860, + "teal": 3131, + "source": 857, "pc": [ - 3100 + 3099 ] }, { - "teal": 3142, - "source": 860, + "teal": 3134, + "source": 857, + "errorMessage": "rewardRemoved can't be set if validator doesn't have reward token!", "pc": [ - 3101 + 3100 ] }, { - "teal": 3145, - "source": 860, - "errorMessage": "rewardRemoved can't be set if validator doesn't have reward token!", + "teal": 3141, + "source": 859, "pc": [ + 3101, 3102 ] }, { - "teal": 3152, - "source": 862, + "teal": 3142, + "source": 859, "pc": [ - 3103, - 3104 + 3103 ] }, { - "teal": 3153, - "source": 862, + "teal": 3143, + "source": 859, "pc": [ - 3105 + 3104 ] }, { - "teal": 3154, - "source": 862, + "teal": 3144, + "source": 859, "pc": [ + 3105, 3106 ] }, { - "teal": 3155, - "source": 862, + "teal": 3145, + "source": 859, "pc": [ 3107, - 3108 + 3108, + 3109 ] }, { - "teal": 3156, - "source": 862, + "teal": 3146, + "source": 859, + "pc": [ + 3110 + ] + }, + { + "teal": 3147, + "source": 859, "pc": [ - 3109, - 3110, 3111 ] }, { - "teal": 3157, - "source": 862, + "teal": 3148, + "source": 859, "pc": [ 3112 ] }, { - "teal": 3158, - "source": 862, + "teal": 3149, + "source": 859, "pc": [ - 3113 + 3113, + 3114 ] }, { - "teal": 3159, - "source": 862, + "teal": 3150, + "source": 859, "pc": [ - 3114 + 3115 ] }, { - "teal": 3160, - "source": 862, + "teal": 3151, + "source": 859, "pc": [ - 3115, 3116 ] }, { - "teal": 3161, - "source": 862, + "teal": 3152, + "source": 859, "pc": [ - 3117 + 3117, + 3118 ] }, { - "teal": 3162, - "source": 862, + "teal": 3153, + "source": 859, "pc": [ - 3118 + 3119 ] }, { - "teal": 3163, - "source": 862, + "teal": 3156, + "source": 858, + "errorMessage": "reward being removed must be covered by hold back amount", "pc": [ - 3119, 3120 ] }, { - "teal": 3164, - "source": 862, + "teal": 3160, + "source": 864, "pc": [ - 3121 + 3121, + 3122 ] }, { - "teal": 3167, - "source": 861, - "errorMessage": "reward being removed must be covered by hold back amount", + "teal": 3161, + "source": 864, "pc": [ - 3122 + 3123 ] }, { - "teal": 3171, - "source": 867, + "teal": 3162, + "source": 864, "pc": [ - 3123, 3124 ] }, { - "teal": 3172, - "source": 867, + "teal": 3163, + "source": 864, "pc": [ 3125 ] }, { - "teal": 3173, - "source": 867, + "teal": 3164, + "source": 864, "pc": [ - 3126 + 3126, + 3127 ] }, { - "teal": 3174, - "source": 867, + "teal": 3165, + "source": 864, "pc": [ - 3127 + 3128, + 3129, + 3130 ] }, { - "teal": 3175, - "source": 867, + "teal": 3166, + "source": 864, "pc": [ - 3128, - 3129 + 3131 ] }, { - "teal": 3176, - "source": 867, + "teal": 3167, + "source": 864, "pc": [ - 3130, - 3131, 3132 ] }, { - "teal": 3177, - "source": 867, + "teal": 3168, + "source": 864, "pc": [ 3133 ] }, { - "teal": 3178, - "source": 867, + "teal": 3169, + "source": 864, "pc": [ - 3134 + 3134, + 3135 ] }, { - "teal": 3179, - "source": 867, + "teal": 3170, + "source": 864, "pc": [ - 3135 + 3136 ] }, { - "teal": 3180, - "source": 867, + "teal": 3171, + "source": 864, "pc": [ - 3136, 3137 ] }, { - "teal": 3181, - "source": 867, + "teal": 3172, + "source": 864, "pc": [ - 3138 + 3138, + 3139 ] }, { - "teal": 3182, - "source": 867, + "teal": 3173, + "source": 864, "pc": [ - 3139 + 3140 ] }, { - "teal": 3183, - "source": 867, + "teal": 3174, + "source": 864, "pc": [ - 3140, 3141 ] }, { - "teal": 3184, - "source": 867, + "teal": 3175, + "source": 864, "pc": [ 3142 ] }, { - "teal": 3185, - "source": 867, - "pc": [ - 3143 - ] - }, - { - "teal": 3186, - "source": 867, + "teal": 3176, + "source": 864, "pc": [ + 3143, 3144 ] }, { - "teal": 3187, - "source": 867, + "teal": 3177, + "source": 864, "pc": [ 3145, - 3146 + 3146, + 3147 ] }, { - "teal": 3188, - "source": 867, + "teal": 3178, + "source": 864, "pc": [ - 3147, - 3148, - 3149 + 3148 ] }, { - "teal": 3189, - "source": 867, + "teal": 3179, + "source": 864, "pc": [ - 3150 + 3149 ] }, { - "teal": 3190, - "source": 867, + "teal": 3180, + "source": 864, "pc": [ - 3151 + 3150 ] }, { - "teal": 3191, - "source": 867, + "teal": 3181, + "source": 864, "pc": [ + 3151, 3152 ] }, { - "teal": 3192, - "source": 867, + "teal": 3182, + "source": 864, "pc": [ - 3153, - 3154 + 3153 ] }, { - "teal": 3193, - "source": 867, + "teal": 3187, + "source": 869, "pc": [ + 3154, 3155 ] }, { - "teal": 3198, - "source": 872, + "teal": 3188, + "source": 869, "pc": [ 3156, - 3157 + 3157, + 3158 ] }, { - "teal": 3199, - "source": 872, + "teal": 3189, + "source": 869, "pc": [ - 3158, - 3159, - 3160 + 3159 ] }, { - "teal": 3200, - "source": 872, + "teal": 3190, + "source": 869, "pc": [ - 3161 + 3160 ] }, { - "teal": 3201, - "source": 872, + "teal": 3191, + "source": 869, "pc": [ - 3162 + 3161 ] }, { - "teal": 3202, - "source": 872, + "teal": 3192, + "source": 869, "pc": [ - 3163 + 3162, + 3163, + 3164 ] }, { - "teal": 3203, - "source": 872, + "teal": 3200, + "source": 870, "pc": [ - 3164, - 3165, - 3166 + 3165 ] }, { - "teal": 3211, - "source": 873, + "teal": 3201, + "source": 870, "pc": [ + 3166, 3167 ] }, { - "teal": 3212, - "source": 873, + "teal": 3202, + "source": 870, "pc": [ 3168, 3169 ] }, { - "teal": 3213, - "source": 873, + "teal": 3203, + "source": 870, "pc": [ 3170, 3171 ] }, { - "teal": 3214, - "source": 873, + "teal": 3204, + "source": 870, "pc": [ 3172, - 3173, + 3173 + ] + }, + { + "teal": 3208, + "source": 871, + "pc": [ 3174, - 3175, - 3176, + 3175 + ] + }, + { + "teal": 3209, + "source": 871, + "pc": [ + 3176 + ] + }, + { + "teal": 3210, + "source": 871, + "pc": [ 3177 ] }, { - "teal": 3215, - "source": 873, + "teal": 3211, + "source": 871, "pc": [ 3178, 3179 ] }, { - "teal": 3219, - "source": 874, + "teal": 3212, + "source": 871, "pc": [ 3180, - 3181 + 3181, + 3182 ] }, { - "teal": 3220, - "source": 874, + "teal": 3213, + "source": 871, "pc": [ - 3182 + 3183 ] }, { - "teal": 3221, - "source": 874, + "teal": 3214, + "source": 871, "pc": [ - 3183 + 3184 ] }, { - "teal": 3222, - "source": 874, + "teal": 3215, + "source": 871, "pc": [ - 3184, 3185 ] }, { - "teal": 3223, - "source": 874, + "teal": 3216, + "source": 871, "pc": [ 3186, - 3187, - 3188 + 3187 ] }, { - "teal": 3224, - "source": 874, + "teal": 3217, + "source": 871, "pc": [ - 3189 + 3188 ] }, { - "teal": 3225, - "source": 874, + "teal": 3218, + "source": 871, "pc": [ - 3190 + 3189 ] }, { - "teal": 3226, - "source": 874, + "teal": 3219, + "source": 871, "pc": [ + 3190, 3191 ] }, { - "teal": 3227, - "source": 874, + "teal": 3223, + "source": 872, "pc": [ 3192, 3193 ] }, { - "teal": 3228, - "source": 874, + "teal": 3224, + "source": 872, "pc": [ - 3194 + 3194, + 3195 ] }, { - "teal": 3229, - "source": 874, + "teal": 3225, + "source": 872, "pc": [ - 3195 + 3196, + 3197 ] }, { - "teal": 3230, - "source": 874, + "teal": 3226, + "source": 872, "pc": [ - 3196, - 3197 + 3198 ] }, { - "teal": 3234, - "source": 875, + "teal": 3227, + "source": 872, "pc": [ - 3198, - 3199 + 3199, + 3200 ] }, { - "teal": 3235, - "source": 875, + "teal": 3228, + "source": 872, "pc": [ - 3200, - 3201 + 3201, + 3202 ] }, { - "teal": 3236, - "source": 875, + "teal": 3229, + "source": 872, "pc": [ - 3202, 3203 ] }, { - "teal": 3237, - "source": 875, + "teal": 3230, + "source": 872, "pc": [ - 3204 + 3204, + 3205 ] }, { - "teal": 3238, - "source": 875, + "teal": 3233, + "source": 870, "pc": [ - 3205, 3206 ] }, { - "teal": 3239, - "source": 875, + "teal": 3234, + "source": 870, "pc": [ 3207, 3208 ] }, { - "teal": 3240, - "source": 875, + "teal": 3237, + "source": 870, "pc": [ 3209 ] }, { - "teal": 3241, - "source": 875, + "teal": 3240, + "source": 855, "pc": [ 3210, - 3211 - ] - }, - { - "teal": 3244, - "source": 873, - "pc": [ + 3211, 3212 ] }, { - "teal": 3245, - "source": 873, + "teal": 3248, + "source": 897, "pc": [ 3213, 3214 ] }, { - "teal": 3248, - "source": 873, + "teal": 3249, + "source": 897, "pc": [ - 3215 + 3215, + 3216, + 3217 ] }, { - "teal": 3251, - "source": 858, + "teal": 3254, + "source": 899, "pc": [ - 3216, - 3217, - 3218 + 3218, + 3219 ] }, { - "teal": 3259, - "source": 900, + "teal": 3255, + "source": 899, "pc": [ - 3219, - 3220 + 3220, + 3221 ] }, { - "teal": 3260, - "source": 900, + "teal": 3256, + "source": 899, "pc": [ - 3221, 3222, - 3223 + 3223, + 3224 ] }, { - "teal": 3265, - "source": 902, + "teal": 3257, + "source": 899, "pc": [ - 3224, 3225 ] }, { - "teal": 3266, - "source": 902, + "teal": 3258, + "source": 899, + "pc": [ + 3226 + ] + }, + { + "teal": 3259, + "source": 899, "pc": [ - 3226, 3227 ] }, { - "teal": 3267, - "source": 902, + "teal": 3260, + "source": 899, "pc": [ 3228, - 3229, + 3229 + ] + }, + { + "teal": 3261, + "source": 899, + "pc": [ 3230 ] }, { - "teal": 3268, - "source": 902, + "teal": 3262, + "source": 899, "pc": [ 3231 ] }, { - "teal": 3269, - "source": 902, + "teal": 3263, + "source": 899, "pc": [ 3232 ] }, { - "teal": 3270, - "source": 902, + "teal": 3264, + "source": 899, "pc": [ 3233 ] }, { - "teal": 3271, - "source": 902, + "teal": 3265, + "source": 899, "pc": [ 3234, 3235 ] }, { - "teal": 3272, - "source": 902, + "teal": 3266, + "source": 899, "pc": [ - 3236 + 3236, + 3237 ] }, { - "teal": 3273, - "source": 902, + "teal": 3267, + "source": 899, "pc": [ - 3237 + 3238, + 3239, + 3240 ] }, { - "teal": 3274, - "source": 902, + "teal": 3268, + "source": 899, "pc": [ - 3238 + 3241 ] }, { - "teal": 3275, - "source": 902, + "teal": 3269, + "source": 899, "pc": [ - 3239 + 3242 ] }, { - "teal": 3276, - "source": 902, + "teal": 3270, + "source": 899, "pc": [ - 3240, - 3241 + 3243 ] }, { - "teal": 3277, - "source": 902, + "teal": 3271, + "source": 899, "pc": [ - 3242, - 3243 + 3244, + 3245 ] }, { - "teal": 3278, - "source": 902, + "teal": 3272, + "source": 899, "pc": [ - 3244, - 3245, 3246 ] }, { - "teal": 3279, - "source": 902, + "teal": 3273, + "source": 899, "pc": [ 3247 ] }, { - "teal": 3280, - "source": 902, + "teal": 3274, + "source": 899, "pc": [ 3248 ] }, { - "teal": 3281, - "source": 902, + "teal": 3275, + "source": 899, "pc": [ 3249 ] }, { - "teal": 3282, - "source": 902, + "teal": 3276, + "source": 899, "pc": [ 3250, 3251 ] }, { - "teal": 3283, - "source": 902, + "teal": 3277, + "source": 899, "pc": [ 3252 ] }, { - "teal": 3284, - "source": 902, + "teal": 3278, + "source": 899, "pc": [ - 3253 + 3253, + 3254 ] }, { - "teal": 3285, - "source": 902, + "teal": 3279, + "source": 899, "pc": [ - 3254 + 3255, + 3256, + 3257 ] }, { - "teal": 3286, - "source": 902, + "teal": 3280, + "source": 899, "pc": [ - 3255 + 3258 ] }, { - "teal": 3287, - "source": 902, + "teal": 3281, + "source": 899, "pc": [ - 3256, - 3257 + 3259 ] }, { - "teal": 3288, - "source": 902, + "teal": 3282, + "source": 899, "pc": [ - 3258 + 3260 ] }, { - "teal": 3289, - "source": 902, + "teal": 3283, + "source": 899, "pc": [ - 3259, - 3260 + 3261, + 3262 ] }, { - "teal": 3290, - "source": 902, + "teal": 3284, + "source": 899, "pc": [ - 3261, - 3262, 3263 ] }, { - "teal": 3291, - "source": 902, + "teal": 3285, + "source": 899, "pc": [ 3264 ] }, { - "teal": 3292, - "source": 902, + "teal": 3286, + "source": 899, "pc": [ 3265 ] }, { - "teal": 3293, - "source": 902, + "teal": 3287, + "source": 899, "pc": [ 3266 ] }, { - "teal": 3294, - "source": 902, + "teal": 3288, + "source": 899, "pc": [ - 3267, - 3268 + 3267 ] }, { - "teal": 3295, - "source": 902, + "teal": 3289, + "source": 899, "pc": [ - 3269 + 3268, + 3269, + 3270 ] }, { - "teal": 3296, - "source": 902, - "pc": [ - 3270 - ] - }, - { - "teal": 3297, - "source": 902, + "teal": 3290, + "source": 899, "pc": [ 3271 ] }, { - "teal": 3298, - "source": 902, - "pc": [ - 3272 - ] - }, - { - "teal": 3299, - "source": 902, + "teal": 3291, + "source": 899, "pc": [ + 3272, 3273 ] }, { - "teal": 3300, - "source": 902, + "teal": 3292, + "source": 899, "pc": [ 3274, 3275, @@ -14639,40 +14620,46 @@ ] }, { - "teal": 3301, - "source": 902, + "teal": 3293, + "source": 899, "pc": [ 3277 ] }, { - "teal": 3302, - "source": 902, + "teal": 3294, + "source": 899, + "pc": [ + 3278 + ] + }, + { + "teal": 3295, + "source": 899, "pc": [ - 3278, 3279 ] }, { - "teal": 3303, - "source": 902, + "teal": 3296, + "source": 899, "pc": [ 3280, - 3281, - 3282 + 3281 ] }, { - "teal": 3304, - "source": 902, + "teal": 3297, + "source": 899, "pc": [ - 3283 + 3282 ] }, { "teal": 3305, "source": 902, "pc": [ + 3283, 3284 ] }, @@ -14680,1092 +14667,1086 @@ "teal": 3306, "source": 902, "pc": [ - 3285 + 3285, + 3286, + 3287 ] }, { "teal": 3307, "source": 902, "pc": [ - 3286, - 3287 + 3288 ] }, { "teal": 3308, "source": 902, "pc": [ - 3288 + 3289 ] }, { - "teal": 3316, - "source": 905, + "teal": 3309, + "source": 903, "pc": [ - 3289, - 3290 + 3290, + 3291 ] }, { - "teal": 3317, - "source": 905, + "teal": 3310, + "source": 903, "pc": [ - 3291, 3292, - 3293 - ] - }, - { - "teal": 3318, - "source": 905, - "pc": [ + 3293, 3294 ] }, { - "teal": 3319, - "source": 905, + "teal": 3311, + "source": 903, "pc": [ 3295 ] }, { - "teal": 3320, - "source": 906, + "teal": 3312, + "source": 903, "pc": [ - 3296, - 3297 + 3296 ] }, { - "teal": 3321, - "source": 906, + "teal": 3313, + "source": 903, "pc": [ - 3298, - 3299, - 3300 + 3297 ] }, { - "teal": 3322, - "source": 906, + "teal": 3314, + "source": 904, "pc": [ - 3301 + 3298, + 3299 ] }, { - "teal": 3323, - "source": 906, + "teal": 3315, + "source": 904, "pc": [ + 3300, + 3301, 3302 ] }, { - "teal": 3324, - "source": 906, + "teal": 3316, + "source": 904, "pc": [ 3303 ] }, { - "teal": 3325, - "source": 907, + "teal": 3317, + "source": 904, "pc": [ - 3304, - 3305 + 3304 ] }, { - "teal": 3326, - "source": 907, + "teal": 3318, + "source": 904, "pc": [ - 3306, - 3307, - 3308 + 3305 ] }, { - "teal": 3327, - "source": 907, + "teal": 3319, + "source": 901, "pc": [ - 3309 + 3306, + 3307 ] }, { - "teal": 3328, - "source": 907, + "teal": 3320, + "source": 901, "pc": [ + 3308, + 3309, 3310 ] }, { - "teal": 3329, - "source": 907, + "teal": 3321, + "source": 901, "pc": [ - 3311 + 3311, + 3312 ] }, { - "teal": 3330, - "source": 904, + "teal": 3325, + "source": 906, "pc": [ - 3312, - 3313 + 3313, + 3314 ] }, { - "teal": 3331, - "source": 904, + "teal": 3326, + "source": 906, "pc": [ - 3314, 3315, 3316 ] }, { - "teal": 3332, - "source": 904, + "teal": 3327, + "source": 906, "pc": [ 3317, 3318 ] }, { - "teal": 3336, - "source": 909, + "teal": 3328, + "source": 906, + "pc": [ + 3319 + ] + }, + { + "teal": 3329, + "source": 906, "pc": [ - 3319, 3320 ] }, { - "teal": 3337, - "source": 909, + "teal": 3330, + "source": 906, "pc": [ 3321, 3322 ] }, { - "teal": 3338, - "source": 909, + "teal": 3334, + "source": 907, "pc": [ 3323, 3324 ] }, { - "teal": 3339, - "source": 909, + "teal": 3335, + "source": 907, "pc": [ - 3325 + 3325, + 3326 ] }, { - "teal": 3340, - "source": 909, + "teal": 3336, + "source": 907, "pc": [ - 3326 + 3327, + 3328 ] }, { - "teal": 3341, - "source": 909, + "teal": 3337, + "source": 907, "pc": [ - 3327, - 3328 + 3329 ] }, { - "teal": 3345, - "source": 910, + "teal": 3338, + "source": 907, "pc": [ - 3329, 3330 ] }, { - "teal": 3346, - "source": 910, + "teal": 3339, + "source": 907, "pc": [ 3331, 3332 ] }, { - "teal": 3347, - "source": 910, + "teal": 3344, + "source": 909, "pc": [ 3333, 3334 ] }, { - "teal": 3348, - "source": 910, + "teal": 3345, + "source": 909, "pc": [ - 3335 + 3335, + 3336, + 3337 ] }, { - "teal": 3349, + "teal": 3350, "source": 910, "pc": [ - 3336 + 3338, + 3339 ] }, { - "teal": 3350, + "teal": 3351, "source": 910, "pc": [ - 3337, - 3338 + 3340 ] }, { - "teal": 3355, - "source": 912, + "teal": 3352, + "source": 910, "pc": [ - 3339, - 3340 + 3341 ] }, { - "teal": 3356, - "source": 912, + "teal": 3353, + "source": 910, "pc": [ - 3341, - 3342, - 3343 + 3342 ] }, { - "teal": 3361, - "source": 913, + "teal": 3354, + "source": 910, "pc": [ - 3344, - 3345 + 3343, + 3344 ] }, { - "teal": 3362, - "source": 913, + "teal": 3355, + "source": 910, "pc": [ - 3346 + 3345, + 3346, + 3347 ] }, { - "teal": 3363, - "source": 913, + "teal": 3356, + "source": 910, "pc": [ - 3347 + 3348 ] }, { - "teal": 3364, - "source": 913, + "teal": 3357, + "source": 910, "pc": [ - 3348 + 3349 ] }, { - "teal": 3365, - "source": 913, + "teal": 3358, + "source": 910, "pc": [ - 3349, 3350 ] }, { - "teal": 3366, - "source": 913, + "teal": 3359, + "source": 910, "pc": [ 3351, - 3352, + 3352 + ] + }, + { + "teal": 3360, + "source": 910, + "pc": [ 3353 ] }, { - "teal": 3367, - "source": 913, + "teal": 3361, + "source": 910, "pc": [ 3354 ] }, { - "teal": 3368, - "source": 913, + "teal": 3362, + "source": 910, "pc": [ 3355 ] }, { - "teal": 3369, - "source": 913, + "teal": 3363, + "source": 910, "pc": [ 3356 ] }, { - "teal": 3370, - "source": 913, + "teal": 3364, + "source": 910, "pc": [ - 3357, - 3358 + 3357 ] }, { - "teal": 3371, - "source": 913, + "teal": 3365, + "source": 910, "pc": [ - 3359 + 3358 ] }, { - "teal": 3372, - "source": 913, + "teal": 3366, + "source": 910, "pc": [ + 3359, 3360 ] }, { - "teal": 3373, - "source": 913, + "teal": 3367, + "source": 910, "pc": [ - 3361 + 3361, + 3362, + 3363 ] }, { - "teal": 3374, - "source": 913, + "teal": 3368, + "source": 910, "pc": [ - 3362 + 3364 ] }, { - "teal": 3375, - "source": 913, + "teal": 3369, + "source": 910, "pc": [ - 3363 + 3365 ] }, { - "teal": 3376, - "source": 913, + "teal": 3370, + "source": 910, "pc": [ - 3364 + 3366 ] }, { - "teal": 3377, - "source": 913, + "teal": 3371, + "source": 910, "pc": [ - 3365, - 3366 + 3367, + 3368 ] }, { - "teal": 3378, - "source": 913, + "teal": 3372, + "source": 910, "pc": [ - 3367, - 3368, 3369 ] }, { - "teal": 3379, + "teal": 3378, "source": 913, "pc": [ - 3370 + 3370, + 3371 ] }, { - "teal": 3380, + "teal": 3379, "source": 913, "pc": [ - 3371 + 3372, + 3373, + 3374 ] }, { - "teal": 3381, - "source": 913, + "teal": 3384, + "source": 914, "pc": [ - 3372 + 3375, + 3376 ] }, { - "teal": 3382, - "source": 913, + "teal": 3385, + "source": 914, "pc": [ - 3373, - 3374 + 3377 ] }, { - "teal": 3383, - "source": 913, + "teal": 3386, + "source": 914, "pc": [ - 3375 + 3378 ] }, { - "teal": 3389, - "source": 916, + "teal": 3387, + "source": 914, "pc": [ - 3376, - 3377 + 3379 ] }, { - "teal": 3390, - "source": 916, + "teal": 3388, + "source": 914, "pc": [ - 3378, - 3379, - 3380 + 3380, + 3381 ] }, { - "teal": 3395, - "source": 917, + "teal": 3389, + "source": 914, "pc": [ - 3381, 3382 ] }, { - "teal": 3396, - "source": 917, + "teal": 3390, + "source": 914, "pc": [ 3383 ] }, { - "teal": 3397, - "source": 917, + "teal": 3395, + "source": 834, "pc": [ 3384 ] }, { - "teal": 3398, - "source": 917, + "teal": 3400, + "source": 930, "pc": [ 3385 ] }, { - "teal": 3399, - "source": 917, + "teal": 3403, + "source": 933, "pc": [ 3386, - 3387 + 3387, + 3388 ] }, { - "teal": 3400, - "source": 917, + "teal": 3404, + "source": 933, "pc": [ - 3388 + 3389 ] }, { - "teal": 3401, - "source": 917, + "teal": 3407, + "source": 932, "pc": [ - 3389 + 3390, + 3391, + 3392 ] }, { - "teal": 3406, - "source": 837, + "teal": 3408, + "source": 932, "pc": [ - 3390 + 3393 ] }, { - "teal": 3411, - "source": 933, + "teal": 3409, + "source": 932, "pc": [ - 3391 + 3394 ] }, { - "teal": 3414, - "source": 936, + "teal": 3410, + "source": 932, "pc": [ - 3392, - 3393, - 3394 + 3395, + 3396 ] }, { - "teal": 3415, - "source": 936, + "teal": 3411, + "source": 932, "pc": [ - 3395 + 3397 ] }, { - "teal": 3418, - "source": 935, + "teal": 3414, + "source": 932, + "errorMessage": "argument 1 (staker) for findPoolForStaker must be a address", "pc": [ - 3396, - 3397, 3398 ] }, { - "teal": 3419, - "source": 935, + "teal": 3417, + "source": 931, "pc": [ - 3399 + 3399, + 3400, + 3401 ] }, { - "teal": 3420, - "source": 935, + "teal": 3418, + "source": 931, "pc": [ - 3400 + 3402 ] }, { "teal": 3421, - "source": 935, + "source": 930, "pc": [ - 3401, - 3402 + 3403, + 3404, + 3405 ] }, { "teal": 3422, - "source": 935, - "pc": [ - 3403 - ] - }, - { - "teal": 3425, - "source": 935, - "errorMessage": "argument 1 (staker) for findPoolForStaker must be a address", + "source": 930, "pc": [ - 3404 + 3406 ] }, { - "teal": 3428, - "source": 934, + "teal": 3423, + "source": 930, "pc": [ - 3405, - 3406, 3407 ] }, { - "teal": 3429, - "source": 934, + "teal": 3424, + "source": 930, "pc": [ 3408 ] }, { - "teal": 3432, - "source": 933, + "teal": 3425, + "source": 930, "pc": [ - 3409, - 3410, - 3411 + 3409 ] }, { - "teal": 3433, - "source": 933, + "teal": 3439, + "source": 930, "pc": [ + 3410, + 3411, 3412 ] }, { - "teal": 3434, - "source": 933, + "teal": 3442, + "source": 930, "pc": [ 3413 ] }, { - "teal": 3435, - "source": 933, + "teal": 3443, + "source": 930, "pc": [ - 3414 + 3414, + 3415 ] }, { - "teal": 3436, - "source": 933, + "teal": 3447, + "source": 935, "pc": [ - 3415 + 3416 ] }, { - "teal": 3450, - "source": 933, + "teal": 3448, + "source": 935, "pc": [ - 3416, 3417, 3418 ] }, { - "teal": 3453, - "source": 933, + "teal": 3452, + "source": 936, "pc": [ 3419 ] }, { - "teal": 3454, - "source": 933, + "teal": 3453, + "source": 936, "pc": [ 3420, 3421 ] }, { - "teal": 3458, - "source": 938, + "teal": 3457, + "source": 944, "pc": [ - 3422 + 3422, + 3423 ] }, { - "teal": 3459, - "source": 938, + "teal": 3458, + "source": 944, "pc": [ - 3423, - 3424 + 3424, + 3425, + 3426 ] }, { - "teal": 3463, - "source": 939, + "teal": 3459, + "source": 944, "pc": [ - 3425 + 3427, + 3428 ] }, { "teal": 3464, - "source": 939, + "source": 947, "pc": [ - 3426, - 3427 + 3429 ] }, { - "teal": 3468, + "teal": 3465, "source": 947, "pc": [ - 3428, - 3429 + 3430, + 3431 ] }, { - "teal": 3469, + "teal": 3466, "source": 947, "pc": [ - 3430, - 3431, 3432 ] }, { - "teal": 3470, + "teal": 3467, "source": 947, "pc": [ - 3433, - 3434 + 3433 ] }, { - "teal": 3475, - "source": 950, + "teal": 3468, + "source": 947, "pc": [ - 3435 + 3434 ] }, { - "teal": 3476, - "source": 950, + "teal": 3469, + "source": 947, "pc": [ - 3436, - 3437 + 3435 ] }, { - "teal": 3477, - "source": 950, + "teal": 3470, + "source": 947, "pc": [ + 3436, + 3437, 3438 ] }, { - "teal": 3478, - "source": 950, + "teal": 3475, + "source": 948, "pc": [ 3439 ] }, { - "teal": 3479, - "source": 950, + "teal": 3476, + "source": 948, "pc": [ - 3440 + 3440, + 3441 ] }, { - "teal": 3480, - "source": 950, + "teal": 3477, + "source": 948, "pc": [ - 3441 + 3442 ] }, { - "teal": 3481, - "source": 950, + "teal": 3478, + "source": 948, "pc": [ - 3442, - 3443, - 3444 + 3443 ] }, { - "teal": 3486, - "source": 951, + "teal": 3481, + "source": 948, + "errorMessage": "box value does not exist: this.stakerPoolSet(staker).value", "pc": [ - 3445 + 3444 ] }, { - "teal": 3487, - "source": 951, + "teal": 3482, + "source": 948, "pc": [ - 3446, - 3447 + 3445, + 3446 ] }, { - "teal": 3488, - "source": 951, + "teal": 3486, + "source": 949, "pc": [ + 3447, 3448 ] }, { - "teal": 3489, - "source": 951, + "teal": 3487, + "source": 949, "pc": [ 3449 ] }, { - "teal": 3492, - "source": 951, - "errorMessage": "box value does not exist: this.stakerPoolSet(staker).value", + "teal": 3488, + "source": 949, "pc": [ 3450 ] }, { - "teal": 3493, - "source": 951, + "teal": 3489, + "source": 949, "pc": [ - 3451, - 3452 + 3451 ] }, { - "teal": 3497, - "source": 952, + "teal": 3493, + "source": 950, "pc": [ - 3453, - 3454 + 3452 ] }, { - "teal": 3498, - "source": 952, + "teal": 3494, + "source": 950, "pc": [ - 3455 + 3453, + 3454 ] }, { "teal": 3499, - "source": 952, + "source": 950, "pc": [ + 3455, 3456 ] }, { "teal": 3500, - "source": 952, - "pc": [ - 3457 - ] - }, - { - "teal": 3504, - "source": 953, + "source": 950, "pc": [ + 3457, 3458 ] }, { - "teal": 3505, - "source": 953, + "teal": 3501, + "source": 950, "pc": [ - 3459, - 3460 + 3459 ] }, { - "teal": 3510, - "source": 953, + "teal": 3502, + "source": 950, "pc": [ + 3460, 3461, 3462 ] }, { - "teal": 3511, - "source": 953, + "teal": 3507, + "source": 951, "pc": [ 3463, 3464 ] }, { - "teal": 3512, - "source": 953, + "teal": 3508, + "source": 951, "pc": [ - 3465 + 3465, + 3466 ] }, { - "teal": 3513, - "source": 953, + "teal": 3509, + "source": 951, "pc": [ - 3466, - 3467, - 3468 + 3467 ] }, { - "teal": 3518, - "source": 954, + "teal": 3510, + "source": 951, "pc": [ + 3468, 3469, 3470 ] }, { - "teal": 3519, - "source": 954, + "teal": 3515, + "source": 952, "pc": [ - 3471, - 3472 + 3471 ] }, { - "teal": 3520, - "source": 954, + "teal": 3516, + "source": 952, "pc": [ + 3472, 3473 ] }, { - "teal": 3521, - "source": 954, + "teal": 3517, + "source": 952, "pc": [ 3474, - 3475, - 3476 + 3475 ] }, { - "teal": 3526, - "source": 955, + "teal": 3518, + "source": 952, "pc": [ - 3477 + 3476 ] }, { - "teal": 3527, - "source": 955, + "teal": 3519, + "source": 952, "pc": [ - 3478, - 3479 + 3477, + 3478 ] }, { - "teal": 3528, - "source": 955, + "teal": 3520, + "source": 952, "pc": [ - 3480, - 3481 + 3479, + 3480 ] }, { - "teal": 3529, - "source": 955, + "teal": 3521, + "source": 952, "pc": [ - 3482 + 3481 ] }, { - "teal": 3530, - "source": 955, + "teal": 3522, + "source": 952, "pc": [ - 3483, - 3484 + 3482, + 3483 ] }, { - "teal": 3531, - "source": 955, + "teal": 3523, + "source": 952, "pc": [ - 3485, - 3486 + 3484, + 3485 ] }, { - "teal": 3532, - "source": 955, + "teal": 3524, + "source": 952, "pc": [ + 3486, 3487 ] }, { - "teal": 3533, - "source": 955, + "teal": 3525, + "source": 952, "pc": [ 3488, 3489 ] }, { - "teal": 3534, - "source": 955, + "teal": 3526, + "source": 952, "pc": [ - 3490, - 3491 + 3490 ] }, { - "teal": 3535, - "source": 955, + "teal": 3532, + "source": 954, "pc": [ - 3492, - 3493 + 3491, + 3492 ] }, { - "teal": 3536, - "source": 955, + "teal": 3533, + "source": 954, "pc": [ - 3494, - 3495 + 3493, + 3494 ] }, { - "teal": 3537, - "source": 955, + "teal": 3534, + "source": 954, "pc": [ - 3496 + 3495 ] }, { - "teal": 3543, - "source": 957, + "teal": 3535, + "source": 954, "pc": [ - 3497, - 3498 + 3496 ] }, { - "teal": 3544, - "source": 957, + "teal": 3536, + "source": 954, "pc": [ - 3499, - 3500 + 3497 ] }, { - "teal": 3545, - "source": 957, + "teal": 3537, + "source": 954, "pc": [ - 3501 + 3498 ] }, { - "teal": 3546, - "source": 957, + "teal": 3538, + "source": 954, "pc": [ - 3502 + 3499 ] }, { - "teal": 3547, - "source": 957, + "teal": 3539, + "source": 954, "pc": [ - 3503 + 3500 ] }, { - "teal": 3548, - "source": 957, + "teal": 3540, + "source": 954, "pc": [ - 3504 + 3501 ] }, { - "teal": 3549, - "source": 957, + "teal": 3541, + "source": 954, "pc": [ - 3505 + 3502 ] }, { - "teal": 3550, - "source": 957, + "teal": 3542, + "source": 954, "pc": [ - 3506 + 3503 ] }, { - "teal": 3551, - "source": 957, + "teal": 3543, + "source": 954, "pc": [ - 3507 + 3504, + 3505, + 3506 ] }, { - "teal": 3552, - "source": 957, + "teal": 3546, + "source": 955, "pc": [ - 3508 + 3507, + 3508, + 3509 ] }, { - "teal": 3553, + "teal": 3551, "source": 957, "pc": [ - 3509 + 3510 ] }, { - "teal": 3554, + "teal": 3552, "source": 957, "pc": [ - 3510, 3511, 3512 ] @@ -15775,865 +15756,865 @@ "source": 958, "pc": [ 3513, - 3514, - 3515 + 3514 ] }, { - "teal": 3562, - "source": 960, + "teal": 3558, + "source": 958, "pc": [ + 3515, 3516 ] }, { - "teal": 3563, - "source": 960, + "teal": 3559, + "source": 958, "pc": [ - 3517, - 3518 + 3517 ] }, { - "teal": 3568, - "source": 961, + "teal": 3560, + "source": 958, "pc": [ - 3519, - 3520 + 3518 ] }, { - "teal": 3569, - "source": 961, + "teal": 3561, + "source": 958, "pc": [ - 3521, - 3522 + 3519 ] }, { - "teal": 3570, - "source": 961, + "teal": 3562, + "source": 958, "pc": [ - 3523 + 3520 ] }, { - "teal": 3571, - "source": 961, + "teal": 3563, + "source": 958, "pc": [ - 3524 + 3521 ] }, { - "teal": 3572, - "source": 961, + "teal": 3564, + "source": 958, "pc": [ - 3525 + 3522 ] }, { - "teal": 3573, - "source": 961, + "teal": 3565, + "source": 958, "pc": [ - 3526 + 3523 ] }, { - "teal": 3574, - "source": 961, + "teal": 3566, + "source": 958, "pc": [ - 3527 + 3524, + 3525 ] }, { - "teal": 3575, - "source": 961, + "teal": 3567, + "source": 958, "pc": [ - 3528 + 3526 ] }, { - "teal": 3576, - "source": 961, + "teal": 3568, + "source": 958, "pc": [ + 3527, + 3528, 3529 ] }, { - "teal": 3577, - "source": 961, + "teal": 3573, + "source": 960, "pc": [ - 3530, - 3531 + 3530 ] }, { - "teal": 3578, - "source": 961, + "teal": 3574, + "source": 960, "pc": [ + 3531, 3532 ] }, { - "teal": 3579, - "source": 961, + "teal": 3581, + "source": 962, "pc": [ 3533, - 3534, - 3535 + 3534 ] }, { - "teal": 3584, - "source": 963, + "teal": 3582, + "source": 962, "pc": [ + 3535, 3536 ] }, { - "teal": 3585, - "source": 963, + "teal": 3583, + "source": 962, "pc": [ 3537, 3538 ] }, { - "teal": 3592, - "source": 965, + "teal": 3584, + "source": 962, + "pc": [ + 3539 + ] + }, + { + "teal": 3585, + "source": 962, "pc": [ - 3539, 3540 ] }, { - "teal": 3593, - "source": 965, + "teal": 3586, + "source": 962, + "pc": [ + 3541 + ] + }, + { + "teal": 3587, + "source": 962, "pc": [ - 3541, 3542 ] }, { - "teal": 3594, - "source": 965, + "teal": 3588, + "source": 962, "pc": [ - 3543, - 3544 + 3543 ] }, { - "teal": 3595, - "source": 965, + "teal": 3589, + "source": 962, "pc": [ - 3545 + 3544 ] }, { - "teal": 3596, - "source": 965, + "teal": 3590, + "source": 962, "pc": [ - 3546 + 3545 ] }, { - "teal": 3597, - "source": 965, + "teal": 3591, + "source": 962, "pc": [ - 3547 + 3546 ] }, { - "teal": 3598, - "source": 965, + "teal": 3592, + "source": 962, "pc": [ - 3548 + 3547 ] }, { - "teal": 3599, - "source": 965, + "teal": 3593, + "source": 962, "pc": [ + 3548, 3549 ] }, { - "teal": 3600, - "source": 965, + "teal": 3594, + "source": 962, "pc": [ 3550 ] }, { - "teal": 3601, - "source": 965, + "teal": 3595, + "source": 962, "pc": [ 3551 ] }, { - "teal": 3602, - "source": 965, + "teal": 3596, + "source": 962, "pc": [ - 3552 + 3552, + 3553 ] }, { - "teal": 3603, - "source": 965, + "teal": 3597, + "source": 962, "pc": [ - 3553 + 3554 ] }, { - "teal": 3604, - "source": 965, + "teal": 3598, + "source": 962, "pc": [ - 3554, 3555 ] }, { - "teal": 3605, - "source": 965, + "teal": 3599, + "source": 962, "pc": [ 3556 ] }, { - "teal": 3606, - "source": 965, + "teal": 3600, + "source": 962, "pc": [ - 3557 + 3557, + 3558 ] }, { - "teal": 3607, - "source": 965, + "teal": 3601, + "source": 962, "pc": [ - 3558, 3559 ] }, { - "teal": 3608, - "source": 965, + "teal": 3602, + "source": 962, "pc": [ 3560 ] }, { - "teal": 3609, - "source": 965, - "pc": [ - 3561 - ] - }, - { - "teal": 3610, - "source": 965, + "teal": 3603, + "source": 962, "pc": [ + 3561, 3562 ] }, { - "teal": 3611, - "source": 965, + "teal": 3604, + "source": 962, "pc": [ - 3563, - 3564 + 3563 ] }, { - "teal": 3612, - "source": 965, + "teal": 3605, + "source": 962, "pc": [ - 3565 + 3564 ] }, { - "teal": 3613, - "source": 965, + "teal": 3606, + "source": 963, "pc": [ + 3565, 3566 ] }, { - "teal": 3614, - "source": 965, + "teal": 3607, + "source": 962, "pc": [ - 3567, - 3568 + 3567 ] }, { - "teal": 3615, - "source": 965, + "teal": 3608, + "source": 964, "pc": [ + 3568, 3569 ] }, { - "teal": 3616, - "source": 965, + "teal": 3609, + "source": 963, "pc": [ 3570 ] }, { - "teal": 3617, - "source": 966, + "teal": 3610, + "source": 961, "pc": [ 3571, - 3572 + 3572, + 3573 ] }, { - "teal": 3618, - "source": 965, + "teal": 3615, + "source": 966, "pc": [ - 3573 + 3574, + 3575 ] }, { - "teal": 3619, - "source": 967, + "teal": 3616, + "source": 966, "pc": [ - 3574, - 3575 + 3576, + 3577 ] }, { - "teal": 3620, + "teal": 3617, "source": 966, "pc": [ - 3576 + 3578 ] }, { - "teal": 3621, - "source": 964, + "teal": 3618, + "source": 966, "pc": [ - 3577, - 3578, 3579 ] }, { - "teal": 3626, - "source": 969, + "teal": 3619, + "source": 966, "pc": [ - 3580, - 3581 + 3580 ] }, { - "teal": 3627, - "source": 969, + "teal": 3620, + "source": 966, "pc": [ - 3582, - 3583 + 3581 ] }, { - "teal": 3628, - "source": 969, + "teal": 3621, + "source": 966, "pc": [ - 3584 + 3582, + 3583 ] }, { - "teal": 3629, - "source": 969, + "teal": 3622, + "source": 966, "pc": [ - 3585 + 3584 ] }, { - "teal": 3630, - "source": 969, + "teal": 3623, + "source": 966, "pc": [ + 3585, 3586 ] }, { - "teal": 3631, - "source": 969, + "teal": 3624, + "source": 966, "pc": [ 3587 ] }, { - "teal": 3632, - "source": 969, + "teal": 3625, + "source": 966, "pc": [ - 3588, - 3589 + 3588 ] }, { - "teal": 3633, - "source": 969, + "teal": 3626, + "source": 966, "pc": [ + 3589, 3590 ] }, { - "teal": 3634, - "source": 969, - "pc": [ - 3591, - 3592 - ] - }, - { - "teal": 3635, - "source": 969, + "teal": 3627, + "source": 966, "pc": [ - 3593 + 3591 ] }, { - "teal": 3636, - "source": 969, + "teal": 3628, + "source": 966, "pc": [ - 3594 + 3592 ] }, { - "teal": 3637, - "source": 969, + "teal": 3629, + "source": 966, "pc": [ - 3595, - 3596 + 3593, + 3594, + 3595 ] }, { "teal": 3638, - "source": 969, + "source": 950, "pc": [ + 3596, 3597 ] }, { "teal": 3639, - "source": 969, + "source": 950, "pc": [ 3598 ] }, { "teal": 3640, - "source": 969, + "source": 950, + "pc": [ + 3599 + ] + }, + { + "teal": 3641, + "source": 950, "pc": [ - 3599, 3600, 3601 ] }, { - "teal": 3649, - "source": 953, + "teal": 3642, + "source": 950, "pc": [ 3602, - 3603 + 3603, + 3604 ] }, { - "teal": 3650, - "source": 953, + "teal": 3652, + "source": 974, "pc": [ - 3604 + 3605, + 3606 ] }, { - "teal": 3651, - "source": 953, + "teal": 3653, + "source": 974, "pc": [ - 3605 + 3607, + 3608 ] }, { - "teal": 3652, - "source": 953, + "teal": 3654, + "source": 974, "pc": [ - 3606, - 3607 + 3609 ] }, { - "teal": 3653, - "source": 953, + "teal": 3655, + "source": 974, "pc": [ - 3608, - 3609, 3610 ] }, { - "teal": 3663, - "source": 977, + "teal": 3656, + "source": 974, "pc": [ 3611, 3612 ] }, { - "teal": 3664, - "source": 977, + "teal": 3657, + "source": 974, "pc": [ - 3613, - 3614 + 3613 ] }, { - "teal": 3665, - "source": 977, + "teal": 3658, + "source": 974, "pc": [ - 3615 + 3614 ] }, { - "teal": 3666, - "source": 977, + "teal": 3659, + "source": 974, "pc": [ + 3615, 3616 ] }, { - "teal": 3667, - "source": 977, + "teal": 3660, + "source": 974, + "pc": [ + 3617 + ] + }, + { + "teal": 3661, + "source": 974, "pc": [ - 3617, 3618 ] }, { - "teal": 3668, - "source": 977, + "teal": 3662, + "source": 974, "pc": [ 3619 ] }, { - "teal": 3669, - "source": 977, + "teal": 3665, + "source": 973, + "errorMessage": "must stake at least the minimum for this pool", "pc": [ 3620 ] }, { - "teal": 3670, - "source": 977, + "teal": 3669, + "source": 979, "pc": [ 3621, 3622 ] }, { - "teal": 3671, - "source": 977, - "pc": [ - 3623 - ] - }, - { - "teal": 3672, - "source": 977, + "teal": 3670, + "source": 979, "pc": [ + 3623, 3624 ] }, { - "teal": 3673, - "source": 977, + "teal": 3671, + "source": 979, "pc": [ 3625 ] }, { - "teal": 3676, - "source": 976, - "errorMessage": "must stake at least the minimum for this pool", + "teal": 3672, + "source": 979, "pc": [ - 3626 + 3626, + 3627 ] }, { - "teal": 3680, - "source": 982, + "teal": 3673, + "source": 979, "pc": [ - 3627, 3628 ] }, { - "teal": 3681, - "source": 982, + "teal": 3674, + "source": 979, "pc": [ - 3629, - 3630 + 3629 ] }, { - "teal": 3682, - "source": 982, + "teal": 3675, + "source": 979, "pc": [ + 3630, 3631 ] }, { - "teal": 3683, - "source": 982, + "teal": 3676, + "source": 979, "pc": [ - 3632, - 3633 + 3632 ] }, { - "teal": 3684, - "source": 982, + "teal": 3677, + "source": 979, "pc": [ + 3633, 3634 ] }, { - "teal": 3685, - "source": 982, + "teal": 3681, + "source": 980, "pc": [ - 3635 + 3635, + 3636 ] }, { - "teal": 3686, - "source": 982, + "teal": 3682, + "source": 980, "pc": [ - 3636, - 3637 + 3637, + 3638 ] }, { - "teal": 3687, - "source": 982, + "teal": 3683, + "source": 980, "pc": [ - 3638 + 3639 ] }, { - "teal": 3688, - "source": 982, + "teal": 3684, + "source": 980, "pc": [ - 3639, - 3640 + 3640, + 3641 ] }, { - "teal": 3692, - "source": 983, + "teal": 3685, + "source": 980, "pc": [ - 3641, 3642 ] }, { - "teal": 3693, - "source": 983, + "teal": 3686, + "source": 980, "pc": [ - 3643, - 3644 + 3643 ] }, { - "teal": 3694, - "source": 983, + "teal": 3687, + "source": 980, "pc": [ + 3644, 3645 ] }, { - "teal": 3695, - "source": 983, + "teal": 3688, + "source": 980, "pc": [ - 3646, - 3647 + 3646 ] }, { - "teal": 3696, - "source": 983, + "teal": 3689, + "source": 980, "pc": [ - 3648 + 3647 ] }, { - "teal": 3697, - "source": 983, + "teal": 3690, + "source": 980, "pc": [ + 3648, 3649 ] }, { - "teal": 3698, - "source": 983, + "teal": 3694, + "source": 981, "pc": [ - 3650, - 3651 + 3650 ] }, { - "teal": 3699, - "source": 983, + "teal": 3695, + "source": 981, "pc": [ + 3651, 3652 ] }, { "teal": 3700, - "source": 983, + "source": 981, "pc": [ - 3653 + 3653, + 3654 ] }, { "teal": 3701, - "source": 983, - "pc": [ - 3654, - 3655 - ] - }, - { - "teal": 3705, - "source": 984, + "source": 981, "pc": [ + 3655, 3656 ] }, { - "teal": 3706, - "source": 984, + "teal": 3702, + "source": 981, "pc": [ - 3657, - 3658 + 3657 ] }, { - "teal": 3711, - "source": 984, + "teal": 3703, + "source": 981, "pc": [ + 3658, 3659, 3660 ] }, { - "teal": 3712, - "source": 984, + "teal": 3708, + "source": 982, "pc": [ 3661, 3662 ] }, { - "teal": 3713, - "source": 984, + "teal": 3709, + "source": 982, "pc": [ - 3663 + 3663, + 3664 ] }, { - "teal": 3714, - "source": 984, + "teal": 3710, + "source": 982, "pc": [ - 3664, 3665, 3666 ] }, { - "teal": 3719, - "source": 985, + "teal": 3711, + "source": 982, "pc": [ - 3667, - 3668 + 3667 ] }, { - "teal": 3720, - "source": 985, + "teal": 3712, + "source": 982, + "pc": [ + 3668, + 3669 + ] + }, + { + "teal": 3713, + "source": 982, "pc": [ - 3669, 3670 ] }, { - "teal": 3721, - "source": 985, + "teal": 3714, + "source": 982, + "pc": [ + 3671 + ] + }, + { + "teal": 3715, + "source": 982, "pc": [ - 3671, 3672 ] }, { - "teal": 3722, - "source": 985, + "teal": 3716, + "source": 982, "pc": [ 3673 ] }, { - "teal": 3723, - "source": 985, + "teal": 3717, + "source": 982, "pc": [ 3674, 3675 ] }, { - "teal": 3724, - "source": 985, + "teal": 3718, + "source": 982, "pc": [ 3676 ] }, { - "teal": 3725, - "source": 985, - "pc": [ - 3677 - ] - }, - { - "teal": 3726, - "source": 985, + "teal": 3719, + "source": 982, "pc": [ + 3677, 3678 ] }, { - "teal": 3727, - "source": 985, + "teal": 3720, + "source": 982, "pc": [ 3679 ] }, { - "teal": 3728, - "source": 985, + "teal": 3721, + "source": 982, "pc": [ 3680, - 3681 - ] - }, - { - "teal": 3729, - "source": 985, - "pc": [ + 3681, 3682 ] }, { "teal": 3730, - "source": 985, + "source": 984, "pc": [ 3683, 3684 @@ -16641,482 +16622,488 @@ }, { "teal": 3731, - "source": 985, + "source": 984, "pc": [ 3685 ] }, { "teal": 3732, - "source": 985, + "source": 984, "pc": [ 3686, - 3687, + 3687 + ] + }, + { + "teal": 3733, + "source": 984, + "pc": [ 3688 ] }, { - "teal": 3741, - "source": 987, + "teal": 3734, + "source": 984, + "pc": [ + 3689 + ] + }, + { + "teal": 3735, + "source": 984, "pc": [ - 3689, 3690 ] }, { - "teal": 3742, - "source": 987, + "teal": 3736, + "source": 984, "pc": [ 3691 ] }, { - "teal": 3743, - "source": 987, + "teal": 3737, + "source": 984, "pc": [ 3692, 3693 ] }, { - "teal": 3744, - "source": 987, + "teal": 3738, + "source": 984, "pc": [ - 3694 + 3694, + 3695 ] }, { - "teal": 3745, - "source": 987, + "teal": 3739, + "source": 984, "pc": [ - 3695 + 3696, + 3697 ] }, { - "teal": 3746, - "source": 987, + "teal": 3740, + "source": 984, "pc": [ - 3696 + 3698 ] }, { - "teal": 3747, - "source": 987, + "teal": 3741, + "source": 984, "pc": [ - 3697 + 3699 ] }, { - "teal": 3748, - "source": 987, + "teal": 3742, + "source": 984, "pc": [ - 3698, - 3699 + 3700 ] }, { - "teal": 3749, - "source": 987, + "teal": 3743, + "source": 984, "pc": [ - 3700, 3701 ] }, { - "teal": 3750, - "source": 987, + "teal": 3744, + "source": 984, "pc": [ - 3702, - 3703 + 3702 ] }, { - "teal": 3751, - "source": 987, + "teal": 3745, + "source": 984, "pc": [ - 3704 + 3703 ] }, { - "teal": 3752, - "source": 987, + "teal": 3746, + "source": 984, "pc": [ - 3705 + 3704 ] }, { - "teal": 3753, - "source": 987, + "teal": 3747, + "source": 984, "pc": [ - 3706 + 3705 ] }, { - "teal": 3754, - "source": 987, + "teal": 3748, + "source": 985, "pc": [ + 3706, 3707 ] }, { - "teal": 3755, - "source": 987, + "teal": 3749, + "source": 985, "pc": [ 3708 ] }, { - "teal": 3756, - "source": 987, + "teal": 3750, + "source": 985, "pc": [ - 3709 + 3709, + 3710 ] }, { - "teal": 3757, - "source": 987, + "teal": 3751, + "source": 985, "pc": [ - 3710 + 3711 ] }, { - "teal": 3758, - "source": 987, + "teal": 3752, + "source": 986, "pc": [ - 3711 + 3712 ] }, { - "teal": 3759, - "source": 988, + "teal": 3753, + "source": 986, "pc": [ - 3712, - 3713 + 3713, + 3714 ] }, { - "teal": 3760, - "source": 988, + "teal": 3754, + "source": 986, "pc": [ - 3714 + 3715 ] }, { - "teal": 3761, - "source": 988, + "teal": 3755, + "source": 983, "pc": [ - 3715, 3716 ] }, { - "teal": 3762, - "source": 988, + "teal": 3756, + "source": 983, "pc": [ - 3717 + 3717, + 3718, + 3719 ] }, { "teal": 3763, - "source": 989, + "source": 981, "pc": [ - 3718 + 3720, + 3721 ] }, { "teal": 3764, - "source": 989, + "source": 981, "pc": [ - 3719, - 3720 + 3722 ] }, { "teal": 3765, - "source": 989, + "source": 981, "pc": [ - 3721 + 3723 ] }, { "teal": 3766, - "source": 986, + "source": 981, "pc": [ - 3722 - ] - }, - { - "teal": 3767, - "source": 986, - "pc": [ - 3723, 3724, 3725 ] }, { - "teal": 3774, - "source": 984, + "teal": 3767, + "source": 981, "pc": [ 3726, - 3727 + 3727, + 3728 ] }, { - "teal": 3775, - "source": 984, + "teal": 3772, + "source": 991, "pc": [ - 3728 + 3729, + 3730 ] }, { - "teal": 3776, - "source": 984, + "teal": 3773, + "source": 991, "pc": [ - 3729 + 3731 ] }, { - "teal": 3777, - "source": 984, + "teal": 3774, + "source": 991, "pc": [ - 3730, - 3731 + 3732, + 3733 ] }, { - "teal": 3778, - "source": 984, + "teal": 3775, + "source": 991, "pc": [ - 3732, - 3733, 3734 ] }, { - "teal": 3783, - "source": 994, + "teal": 3776, + "source": 991, "pc": [ 3735, 3736 ] }, { - "teal": 3784, - "source": 994, + "teal": 3777, + "source": 991, "pc": [ 3737 ] }, { - "teal": 3785, - "source": 994, + "teal": 3778, + "source": 991, "pc": [ 3738, 3739 ] }, { - "teal": 3786, - "source": 994, + "teal": 3779, + "source": 991, "pc": [ 3740 ] }, { - "teal": 3787, - "source": 994, + "teal": 3780, + "source": 991, "pc": [ 3741, 3742 ] }, { - "teal": 3788, - "source": 994, + "teal": 3781, + "source": 991, "pc": [ 3743 ] }, { - "teal": 3789, - "source": 994, + "teal": 3782, + "source": 991, "pc": [ - 3744, - 3745 + 3744 ] }, { - "teal": 3790, - "source": 994, + "teal": 3783, + "source": 991, "pc": [ + 3745, 3746 ] }, { - "teal": 3791, - "source": 994, + "teal": 3784, + "source": 991, "pc": [ - 3747, - 3748 + 3747 ] }, { - "teal": 3792, - "source": 994, + "teal": 3785, + "source": 991, "pc": [ - 3749 + 3748 ] }, { - "teal": 3793, - "source": 994, + "teal": 3789, + "source": 930, "pc": [ + 3749, 3750 ] }, { - "teal": 3794, - "source": 994, + "teal": 3792, + "source": 930, "pc": [ 3751, 3752 ] }, { - "teal": 3795, - "source": 994, + "teal": 3793, + "source": 930, "pc": [ 3753 ] }, { - "teal": 3796, - "source": 994, - "pc": [ - 3754 - ] - }, - { - "teal": 3800, - "source": 933, + "teal": 3798, + "source": 1005, "pc": [ + 3754, 3755, 3756 ] }, { - "teal": 3803, - "source": 933, + "teal": 3799, + "source": 1005, "pc": [ - 3757, - 3758 + 3757 ] }, { - "teal": 3804, - "source": 933, + "teal": 3802, + "source": 1005, "pc": [ - 3759 + 3758, + 3759, + 3760 ] }, { - "teal": 3809, + "teal": 3803, "source": 1005, "pc": [ - 3760, - 3761, - 3762 + 3761 ] }, { - "teal": 3810, + "teal": 3806, "source": 1005, "pc": [ - 3763 + 3762, + 3763, + 3764 ] }, { - "teal": 3813, + "teal": 3807, "source": 1005, "pc": [ - 3764, - 3765, - 3766 + 3765 ] }, { - "teal": 3814, + "teal": 3810, "source": 1005, "pc": [ - 3767 + 3766, + 3767, + 3768 ] }, { - "teal": 3817, + "teal": 3811, "source": 1005, "pc": [ - 3768, - 3769, - 3770 + 3769 ] }, { - "teal": 3818, + "teal": 3812, "source": 1005, "pc": [ - 3771 + 3770 ] }, { - "teal": 3821, + "teal": 3826, "source": 1005, "pc": [ + 3771, 3772, - 3773, - 3774 + 3773 ] }, { - "teal": 3822, + "teal": 3829, "source": 1005, "pc": [ - 3775 + 3774 ] }, { - "teal": 3823, + "teal": 3830, "source": 1005, "pc": [ + 3775, 3776 ] }, { - "teal": 3834, - "source": 1005, + "teal": 3838, + "source": 1008, "pc": [ 3777, - 3778, + 3778 + ] + }, + { + "teal": 3839, + "source": 1008, + "pc": [ 3779 ] }, { - "teal": 3837, - "source": 1005, + "teal": 3840, + "source": 1008, "pc": [ - 3780 + 3780, + 3781 ] }, { - "teal": 3838, - "source": 1005, + "teal": 3841, + "source": 1008, "pc": [ - 3781, 3782 ] }, { - "teal": 3846, + "teal": 3842, "source": 1008, "pc": [ 3783, @@ -17124,316 +17111,316 @@ ] }, { - "teal": 3847, + "teal": 3843, "source": 1008, "pc": [ 3785 ] }, { - "teal": 3848, + "teal": 3844, "source": 1008, "pc": [ - 3786, - 3787 + 3786 ] }, { - "teal": 3849, + "teal": 3845, "source": 1008, "pc": [ + 3787, 3788 ] }, { - "teal": 3850, + "teal": 3846, "source": 1008, "pc": [ - 3789, - 3790 + 3789 ] }, { - "teal": 3851, + "teal": 3847, "source": 1008, "pc": [ - 3791 + 3790 ] }, { - "teal": 3852, + "teal": 3848, "source": 1008, "pc": [ - 3792 + 3791 ] }, { - "teal": 3853, + "teal": 3849, "source": 1008, "pc": [ + 3792, 3793, 3794 ] }, { - "teal": 3854, - "source": 1008, - "pc": [ - 3795 - ] - }, - { - "teal": 3855, - "source": 1008, + "teal": 3850, + "source": 1009, "pc": [ + 3795, 3796 ] }, { - "teal": 3856, - "source": 1008, + "teal": 3851, + "source": 1009, "pc": [ - 3797 + 3797, + 3798 ] }, { - "teal": 3857, - "source": 1008, + "teal": 3852, + "source": 1009, "pc": [ - 3798, 3799, 3800 ] }, { - "teal": 3858, + "teal": 3853, "source": 1009, "pc": [ - 3801, - 3802 + 3801 ] }, { - "teal": 3859, + "teal": 3854, + "source": 1009, + "pc": [ + 3802, + 3803 + ] + }, + { + "teal": 3855, "source": 1009, "pc": [ - 3803, 3804 ] }, { - "teal": 3860, + "teal": 3856, "source": 1009, "pc": [ - 3805, - 3806 + 3805 ] }, { - "teal": 3861, + "teal": 3857, "source": 1009, "pc": [ + 3806, 3807 ] }, { - "teal": 3862, + "teal": 3858, "source": 1009, "pc": [ - 3808, - 3809 + 3808 ] }, { - "teal": 3863, + "teal": 3859, "source": 1009, + "pc": [ + 3809 + ] + }, + { + "teal": 3860, + "source": 1008, "pc": [ 3810 ] }, { "teal": 3864, - "source": 1009, + "source": 1007, + "errorMessage": "can only be called by owner or manager of validator", "pc": [ 3811 ] }, { - "teal": 3865, - "source": 1009, + "teal": 3868, + "source": 1013, "pc": [ 3812, 3813 ] }, { - "teal": 3866, - "source": 1009, - "pc": [ - 3814 - ] - }, - { - "teal": 3867, - "source": 1009, + "teal": 3869, + "source": 1013, "pc": [ + 3814, 3815 ] }, { - "teal": 3868, - "source": 1008, + "teal": 3870, + "source": 1013, "pc": [ 3816 ] }, { - "teal": 3872, - "source": 1007, - "errorMessage": "can only be called by owner or manager of validator", + "teal": 3871, + "source": 1013, "pc": [ - 3817 + 3817, + 3818 ] }, { - "teal": 3876, + "teal": 3872, "source": 1013, "pc": [ - 3818, 3819 ] }, { - "teal": 3877, + "teal": 3873, "source": 1013, "pc": [ - 3820, - 3821 + 3820 ] }, { - "teal": 3878, + "teal": 3874, "source": 1013, "pc": [ + 3821, 3822 ] }, { - "teal": 3879, + "teal": 3875, "source": 1013, "pc": [ - 3823, - 3824 + 3823 ] }, { - "teal": 3880, + "teal": 3876, "source": 1013, "pc": [ + 3824, 3825 ] }, { - "teal": 3881, - "source": 1013, + "teal": 3880, + "source": 1014, "pc": [ - 3826 + 3826, + 3827 ] }, { - "teal": 3882, - "source": 1013, + "teal": 3881, + "source": 1014, "pc": [ - 3827, 3828 ] }, { - "teal": 3883, - "source": 1013, + "teal": 3882, + "source": 1014, "pc": [ 3829 ] }, { - "teal": 3884, - "source": 1013, + "teal": 3883, + "source": 1014, "pc": [ - 3830, - 3831 + 3830 ] }, { - "teal": 3888, + "teal": 3884, "source": 1014, "pc": [ + 3831, 3832, 3833 ] }, { - "teal": 3889, + "teal": 3885, "source": 1014, "pc": [ - 3834 + 3834, + 3835 ] }, { - "teal": 3890, + "teal": 3886, "source": 1014, "pc": [ - 3835 + 3836 ] }, { - "teal": 3891, + "teal": 3887, "source": 1014, "pc": [ - 3836 + 3837 ] }, { - "teal": 3892, + "teal": 3888, "source": 1014, "pc": [ - 3837, - 3838, - 3839 + 3838 ] }, { - "teal": 3893, + "teal": 3892, "source": 1014, + "errorMessage": "node number out of allowable range", "pc": [ - 3840, - 3841 + 3839 ] }, { - "teal": 3894, - "source": 1014, + "teal": 3896, + "source": 1016, "pc": [ - 3842 + 3840 ] }, { - "teal": 3895, - "source": 1014, + "teal": 3897, + "source": 1016, "pc": [ - 3843 + 3841, + 3842 ] }, { - "teal": 3896, - "source": 1014, + "teal": 3902, + "source": 1016, "pc": [ + 3843, 3844 ] }, { - "teal": 3900, - "source": 1014, - "errorMessage": "node number out of allowable range", + "teal": 3903, + "source": 1016, "pc": [ 3845 ] @@ -17450,589 +17437,590 @@ "source": 1016, "pc": [ 3847, - 3848 + 3848, + 3849 ] }, { - "teal": 3910, - "source": 1016, + "teal": 3909, + "source": 1017, "pc": [ - 3849, 3850 ] }, { - "teal": 3911, - "source": 1016, - "pc": [ - 3851 - ] - }, - { - "teal": 3912, - "source": 1016, + "teal": 3910, + "source": 1017, "pc": [ + 3851, 3852 ] }, { - "teal": 3913, - "source": 1016, + "teal": 3915, + "source": 1017, "pc": [ 3853, - 3854, - 3855 + 3854 ] }, { - "teal": 3917, + "teal": 3916, "source": 1017, "pc": [ + 3855, 3856 ] }, { - "teal": 3918, + "teal": 3917, "source": 1017, "pc": [ - 3857, - 3858 + 3857 ] }, { - "teal": 3923, + "teal": 3918, "source": 1017, "pc": [ + 3858, 3859, 3860 ] }, { - "teal": 3924, - "source": 1017, + "teal": 3923, + "source": 1018, "pc": [ 3861, 3862 ] }, { - "teal": 3925, - "source": 1017, + "teal": 3924, + "source": 1018, "pc": [ 3863 ] }, { - "teal": 3926, - "source": 1017, + "teal": 3925, + "source": 1018, "pc": [ 3864, - 3865, + 3865 + ] + }, + { + "teal": 3926, + "source": 1018, + "pc": [ 3866 ] }, { - "teal": 3931, + "teal": 3927, + "source": 1018, + "pc": [ + 3867 + ] + }, + { + "teal": 3928, "source": 1018, "pc": [ - 3867, 3868 ] }, { - "teal": 3932, + "teal": 3929, "source": 1018, "pc": [ 3869 ] }, { - "teal": 3933, + "teal": 3930, "source": 1018, "pc": [ - 3870, - 3871 + 3870 ] }, { - "teal": 3934, + "teal": 3931, "source": 1018, "pc": [ + 3871, 3872 ] }, { - "teal": 3935, + "teal": 3932, "source": 1018, "pc": [ 3873 ] }, { - "teal": 3936, + "teal": 3933, "source": 1018, "pc": [ 3874 ] }, { - "teal": 3937, + "teal": 3934, "source": 1018, "pc": [ 3875 ] }, { - "teal": 3938, + "teal": 3935, "source": 1018, "pc": [ 3876 ] }, { - "teal": 3939, + "teal": 3936, "source": 1018, "pc": [ - 3877, - 3878 + 3877 ] }, { - "teal": 3940, + "teal": 3937, "source": 1018, "pc": [ - 3879 + 3878 ] }, { - "teal": 3941, + "teal": 3938, "source": 1018, "pc": [ + 3879, 3880 ] }, { - "teal": 3942, + "teal": 3939, "source": 1018, "pc": [ 3881 ] }, { - "teal": 3943, - "source": 1018, - "pc": [ - 3882 - ] - }, - { - "teal": 3944, + "teal": 3940, "source": 1018, "pc": [ - 3883 + 3882, + 3883, + 3884 ] }, { "teal": 3945, - "source": 1018, + "source": 1019, "pc": [ - 3884 + 3885, + 3886 ] }, { "teal": 3946, - "source": 1018, + "source": 1019, "pc": [ - 3885, - 3886 + 3887 ] }, { "teal": 3947, - "source": 1018, + "source": 1019, "pc": [ - 3887 + 3888 ] }, { "teal": 3948, - "source": 1018, + "source": 1019, "pc": [ - 3888, 3889, 3890 ] }, { - "teal": 3953, + "teal": 3949, "source": 1019, "pc": [ - 3891, - 3892 + 3891 ] }, { - "teal": 3954, + "teal": 3952, "source": 1019, + "errorMessage": "can't move to same node", "pc": [ - 3893 + 3892 ] }, { - "teal": 3955, - "source": 1019, + "teal": 3956, + "source": 1021, "pc": [ + 3893, 3894 ] }, { - "teal": 3956, - "source": 1019, + "teal": 3957, + "source": 1021, "pc": [ 3895, 3896 ] }, { - "teal": 3957, - "source": 1019, + "teal": 3958, + "source": 1021, "pc": [ 3897 ] }, { - "teal": 3960, - "source": 1019, - "errorMessage": "can't move to same node", + "teal": 3959, + "source": 1021, "pc": [ 3898 ] }, { - "teal": 3964, + "teal": 3960, + "source": 1021, + "pc": [ + 3899 + ] + }, + { + "teal": 3961, "source": 1021, "pc": [ - 3899, 3900 ] }, { - "teal": 3965, + "teal": 3962, "source": 1021, "pc": [ - 3901, - 3902 + 3901 ] }, { - "teal": 3966, + "teal": 3963, "source": 1021, "pc": [ + 3902, 3903 ] }, { - "teal": 3967, + "teal": 3964, "source": 1021, "pc": [ 3904 ] }, { - "teal": 3968, + "teal": 3965, "source": 1021, "pc": [ 3905 ] }, { - "teal": 3969, + "teal": 3966, "source": 1021, "pc": [ 3906 ] }, { - "teal": 3970, + "teal": 3967, "source": 1021, "pc": [ - 3907 + 3907, + 3908 ] }, { - "teal": 3971, + "teal": 3968, "source": 1021, "pc": [ - 3908, 3909 ] }, { - "teal": 3972, - "source": 1021, - "pc": [ - 3910 - ] - }, - { - "teal": 3973, + "teal": 3969, "source": 1021, "pc": [ + 3910, 3911 ] }, { - "teal": 3974, + "teal": 3970, "source": 1021, "pc": [ 3912 ] }, { - "teal": 3975, + "teal": 3971, "source": 1021, "pc": [ - 3913, - 3914 + 3913 ] }, { - "teal": 3976, + "teal": 3972, "source": 1021, "pc": [ + 3914, 3915 ] }, { - "teal": 3977, + "teal": 3973, "source": 1021, "pc": [ - 3916, - 3917 + 3916 ] }, { - "teal": 3978, - "source": 1021, + "teal": 3979, + "source": 1024, "pc": [ - 3918 + 3917 ] }, { - "teal": 3979, - "source": 1021, + "teal": 3980, + "source": 1024, "pc": [ + 3918, 3919 ] }, { - "teal": 3980, - "source": 1021, + "teal": 3981, + "source": 1024, "pc": [ 3920, 3921 ] }, { - "teal": 3981, - "source": 1021, + "teal": 3982, + "source": 1024, "pc": [ - 3922 + 3922, + 3923, + 3924, + 3925, + 3926, + 3927 ] }, { - "teal": 3987, + "teal": 3983, "source": 1024, "pc": [ - 3923 + 3928, + 3929 ] }, { - "teal": 3988, - "source": 1024, + "teal": 3987, + "source": 1025, "pc": [ - 3924, - 3925 + 3930, + 3931 ] }, { - "teal": 3989, - "source": 1024, + "teal": 3988, + "source": 1025, "pc": [ - 3926, - 3927 + 3932, + 3933 ] }, { - "teal": 3990, + "teal": 3991, "source": 1024, "pc": [ - 3928, - 3929, - 3930, - 3931, - 3932, - 3933 + 3934 ] }, { - "teal": 3991, + "teal": 3992, "source": 1024, "pc": [ - 3934, - 3935 + 3935, + 3936 ] }, { "teal": 3995, - "source": 1025, + "source": 1024, "pc": [ - 3936, 3937 ] }, { - "teal": 3996, - "source": 1025, + "teal": 3999, + "source": 1029, "pc": [ 3938, 3939 ] }, - { - "teal": 3999, - "source": 1024, - "pc": [ - 3940 - ] - }, { "teal": 4000, - "source": 1024, + "source": 1029, "pc": [ - 3941, - 3942 + 3940, + 3941 ] }, { - "teal": 4003, - "source": 1024, + "teal": 4001, + "source": 1029, "pc": [ + 3942, 3943 ] }, { - "teal": 4007, + "teal": 4002, "source": 1029, "pc": [ 3944, - 3945 + 3945, + 3946 ] }, { - "teal": 4008, - "source": 1029, + "teal": 4006, + "source": 1030, "pc": [ - 3946, 3947 ] }, { - "teal": 4009, - "source": 1029, + "teal": 4013, + "source": 1017, "pc": [ 3948, 3949 ] }, { - "teal": 4010, - "source": 1029, + "teal": 4014, + "source": 1017, "pc": [ - 3950, - 3951, - 3952 + 3950 ] }, { - "teal": 4014, - "source": 1030, + "teal": 4015, + "source": 1017, "pc": [ - 3953 + 3951 ] }, { - "teal": 4021, + "teal": 4016, "source": 1017, "pc": [ - 3954, - 3955 + 3952, + 3953 ] }, { - "teal": 4022, + "teal": 4017, "source": 1017, "pc": [ + 3954, + 3955, 3956 ] }, { - "teal": 4023, - "source": 1017, + "teal": 4024, + "source": 1016, "pc": [ - 3957 + 3957, + 3958 ] }, { - "teal": 4024, - "source": 1017, + "teal": 4025, + "source": 1016, "pc": [ - 3958, 3959 ] }, { - "teal": 4025, - "source": 1017, + "teal": 4026, + "source": 1016, "pc": [ - 3960, - 3961, - 3962 + 3960 ] }, { - "teal": 4032, + "teal": 4027, "source": 1016, "pc": [ - 3963, - 3964 + 3961, + 3962 ] }, { - "teal": 4033, + "teal": 4028, "source": 1016, "pc": [ + 3963, + 3964, 3965 ] }, { - "teal": 4034, - "source": 1016, + "teal": 4032, + "source": 1034, + "errorMessage": "couldn't find pool app id in nodes to move", "pc": [ 3966 ] }, { - "teal": 4035, - "source": 1016, + "teal": 4033, + "source": 1005, + "pc": [ + 3967 + ] + }, + { + "teal": 4038, + "source": 1048, "pc": [ - 3967, 3968 ] }, { - "teal": 4036, - "source": 1016, + "teal": 4041, + "source": 1048, "pc": [ 3969, 3970, @@ -18040,719 +18028,771 @@ ] }, { - "teal": 4040, - "source": 1034, - "errorMessage": "couldn't find pool app id in nodes to move", + "teal": 4042, + "source": 1048, "pc": [ 3972 ] }, { - "teal": 4041, - "source": 1005, + "teal": 4043, + "source": 1048, "pc": [ 3973 ] }, { - "teal": 4052, - "source": 1131, + "teal": 4044, + "source": 1048, "pc": [ 3974, - 3975, - 3976 + 3975 ] }, { - "teal": 4056, - "source": 1132, + "teal": 4045, + "source": 1048, "pc": [ - 3977 + 3976 ] }, { - "teal": 4057, - "source": 1132, + "teal": 4048, + "source": 1048, + "errorMessage": "argument 0 (receiver) for emptyTokenRewards must be a address", "pc": [ - 3978, - 3979 + 3977 ] }, { - "teal": 4058, - "source": 1132, + "teal": 4051, + "source": 1048, "pc": [ - 3980, - 3981, - 3982 + 3978, + 3979, + 3980 ] }, { - "teal": 4059, - "source": 1132, + "teal": 4052, + "source": 1048, "pc": [ - 3983 + 3981 ] }, { - "teal": 4060, - "source": 1132, + "teal": 4055, + "source": 1048, "pc": [ + 3982, + 3983, 3984 ] }, { - "teal": 4061, - "source": 1132, + "teal": 4056, + "source": 1048, "pc": [ 3985 ] }, { - "teal": 4062, - "source": 1132, + "teal": 4057, + "source": 1048, "pc": [ 3986 ] }, { - "teal": 4063, - "source": 1132, + "teal": 4058, + "source": 1048, "pc": [ 3987 ] }, { - "teal": 4064, - "source": 1132, + "teal": 4059, + "source": 1048, "pc": [ 3988 ] }, { - "teal": 4067, - "source": 1132, - "errorMessage": "the specified validator id isn't valid", + "teal": 4060, + "source": 1048, "pc": [ 3989 ] }, { - "teal": 4071, - "source": 1133, + "teal": 4074, + "source": 1048, "pc": [ 3990, - 3991 + 3991, + 3992 ] }, { - "teal": 4072, - "source": 1133, + "teal": 4077, + "source": 1048, "pc": [ - 3992, - 3993, - 3994 + 3993 ] }, { - "teal": 4073, - "source": 1133, + "teal": 4078, + "source": 1048, "pc": [ + 3994, 3995 ] }, { - "teal": 4074, - "source": 29, - "pc": [ - 3996 - ] - }, - { - "teal": 4075, - "source": 1133, + "teal": 4085, + "source": 1050, "pc": [ + 3996, 3997 ] }, { - "teal": 4078, - "source": 1133, - "errorMessage": "pool id not in valid range", + "teal": 4086, + "source": 1050, "pc": [ 3998 ] }, { - "teal": 4085, - "source": 1135, + "teal": 4087, + "source": 1050, "pc": [ 3999, 4000 ] }, { - "teal": 4086, - "source": 1135, + "teal": 4088, + "source": 1050, + "pc": [ + 4001 + ] + }, + { + "teal": 4089, + "source": 1050, "pc": [ - 4001, 4002, 4003 ] }, { - "teal": 4087, - "source": 1135, + "teal": 4090, + "source": 1050, "pc": [ 4004 ] }, { - "teal": 4088, - "source": 1135, + "teal": 4091, + "source": 1050, "pc": [ 4005 ] }, { - "teal": 4089, - "source": 1135, + "teal": 4092, + "source": 1050, "pc": [ - 4006 + 4006, + 4007 ] }, { - "teal": 4090, - "source": 1135, + "teal": 4093, + "source": 1050, "pc": [ - 4007 + 4008 ] }, { - "teal": 4091, - "source": 1135, + "teal": 4094, + "source": 1050, + "pc": [ + 4009 + ] + }, + { + "teal": 4097, + "source": 1049, + "errorMessage": "can only be called by validator owner", "pc": [ - 4008, - 4009, 4010 ] }, { - "teal": 4092, - "source": 1135, + "teal": 4101, + "source": 1053, "pc": [ 4011, 4012 ] }, { - "teal": 4093, - "source": 1135, + "teal": 4102, + "source": 1053, "pc": [ - 4013, - 4014, - 4015 + 4013 ] }, { - "teal": 4094, - "source": 1135, + "teal": 4103, + "source": 1053, "pc": [ + 4014 + ] + }, + { + "teal": 4104, + "source": 1053, + "pc": [ + 4015, 4016 ] }, { - "teal": 4095, - "source": 1135, + "teal": 4105, + "source": 1053, + "pc": [ + 4017 + ] + }, + { + "teal": 4106, + "source": 1053, "pc": [ - 4017, 4018 ] }, { - "teal": 4096, - "source": 1135, + "teal": 4107, + "source": 1053, "pc": [ 4019, 4020 ] }, { - "teal": 4097, - "source": 1135, + "teal": 4108, + "source": 1053, "pc": [ 4021 ] }, { - "teal": 4098, - "source": 1135, + "teal": 4109, + "source": 1053, + "pc": [ + 4022 + ] + }, + { + "teal": 4110, + "source": 1053, "pc": [ - 4022, - 4023 + 4023, + 4024 ] }, { - "teal": 4099, - "source": 1135, + "teal": 4114, + "source": 1054, "pc": [ - 4024, 4025, 4026 ] }, { - "teal": 4100, - "source": 1135, + "teal": 4115, + "source": 1054, "pc": [ 4027 ] }, { - "teal": 4101, - "source": 1135, + "teal": 4116, + "source": 1054, "pc": [ 4028 ] }, { - "teal": 4102, - "source": 1135, + "teal": 4117, + "source": 1054, "pc": [ - 4029 + 4029, + 4030 ] }, { - "teal": 4103, - "source": 1135, + "teal": 4118, + "source": 1054, "pc": [ - 4030, 4031 ] }, { - "teal": 4104, - "source": 1135, + "teal": 4119, + "source": 1054, "pc": [ 4032 ] }, { - "teal": 4105, - "source": 1135, - "pc": [ - 4033 - ] - }, - { - "teal": 4106, - "source": 1135, + "teal": 4120, + "source": 1054, "pc": [ + 4033, 4034 ] }, { - "teal": 4107, - "source": 1135, + "teal": 4121, + "source": 1054, "pc": [ 4035 ] }, { - "teal": 4111, - "source": 1134, - "errorMessage": "pool id outside of range of pools created for this validator", + "teal": 4122, + "source": 1054, "pc": [ 4036 ] }, { - "teal": 4118, - "source": 1141, + "teal": 4123, + "source": 1054, "pc": [ 4037, 4038 ] }, { - "teal": 4119, - "source": 1141, + "teal": 4127, + "source": 1055, "pc": [ 4039, - 4040, + 4040 + ] + }, + { + "teal": 4128, + "source": 1055, + "pc": [ 4041 ] }, { - "teal": 4120, - "source": 1141, + "teal": 4129, + "source": 1055, "pc": [ 4042 ] }, { - "teal": 4121, - "source": 1141, + "teal": 4132, + "source": 1055, + "errorMessage": "this validator doesn't have a reward token defined", "pc": [ - 4043, - 4044 + 4043 ] }, { - "teal": 4122, - "source": 1141, + "teal": 4136, + "source": 1056, "pc": [ - 4045, - 4046 + 4044, + 4045 ] }, { - "teal": 4123, - "source": 1141, + "teal": 4137, + "source": 1056, "pc": [ - 4047, - 4048, - 4049 + 4046 ] }, { - "teal": 4124, - "source": 1141, + "teal": 4138, + "source": 1056, "pc": [ - 4050 + 4047 ] }, { - "teal": 4125, - "source": 1141, + "teal": 4139, + "source": 1056, "pc": [ - 4051 + 4048, + 4049 ] }, { - "teal": 4126, - "source": 1141, + "teal": 4140, + "source": 1056, "pc": [ - 4052 + 4050 ] }, { - "teal": 4127, - "source": 1141, + "teal": 4141, + "source": 1056, "pc": [ - 4053, - 4054 + 4051 ] }, { - "teal": 4128, - "source": 1141, + "teal": 4142, + "source": 1056, "pc": [ - 4055 + 4052, + 4053 ] }, { - "teal": 4129, - "source": 1141, + "teal": 4143, + "source": 1056, "pc": [ - 4056 + 4054 ] }, { - "teal": 4130, - "source": 1141, + "teal": 4144, + "source": 1056, "pc": [ - 4057 + 4055 ] }, { - "teal": 4131, - "source": 1141, + "teal": 4145, + "source": 1056, "pc": [ - 4058 + 4056, + 4057 ] }, { - "teal": 4132, - "source": 1141, + "teal": 4150, + "source": 1059, "pc": [ + 4058, 4059 ] }, { - "teal": 4133, - "source": 1141, + "teal": 4151, + "source": 1059, "pc": [ - 4060 + 4060, + 4061 ] }, { - "teal": 4134, - "source": 1141, + "teal": 4152, + "source": 1059, "pc": [ - 4061, 4062 ] }, { - "teal": 4135, - "source": 1141, + "teal": 4153, + "source": 1059, "pc": [ 4063, - 4064, - 4065 + 4064 ] }, { - "teal": 4136, - "source": 1141, + "teal": 4154, + "source": 1059, "pc": [ + 4065, 4066 ] }, { - "teal": 4137, - "source": 1141, + "teal": 4155, + "source": 1059, "pc": [ 4067 ] }, { - "teal": 4138, - "source": 1141, + "teal": 4156, + "source": 1059, "pc": [ - 4068 + 4068, + 4069 ] }, { - "teal": 4139, - "source": 1141, + "teal": 4157, + "source": 1059, "pc": [ - 4069, 4070 ] }, { - "teal": 4140, - "source": 1141, - "pc": [ - 4071 - ] - }, - { - "teal": 4141, - "source": 1141, + "teal": 4158, + "source": 1058, "pc": [ + 4071, 4072 ] }, { - "teal": 4142, - "source": 1141, + "teal": 4165, + "source": 1062, "pc": [ 4073 ] }, { - "teal": 4145, - "source": 1140, - "errorMessage": "The passed in app id doesn't match the passed in ids", + "teal": 4166, + "source": 1062, "pc": [ - 4074 + 4074, + 4075 ] }, { - "teal": 4149, - "source": 1145, + "teal": 4167, + "source": 1062, "pc": [ - 4075, - 4076 + 4076, + 4077 ] }, { - "teal": 4150, - "source": 1145, + "teal": 4168, + "source": 1062, "pc": [ - 4077, - 4078 + 4078, + 4079 ] }, { - "teal": 4151, - "source": 1145, + "teal": 4169, + "source": 1062, "pc": [ - 4079, 4080, 4081 ] }, { - "teal": 4152, - "source": 1145, - "pc": [ - 4082 - ] - }, - { - "teal": 4153, - "source": 1145, + "teal": 4173, + "source": 1063, "pc": [ - 4083, - 4084 + 4082, + 4083 ] }, { - "teal": 4154, - "source": 1145, + "teal": 4174, + "source": 1063, "pc": [ + 4084, 4085 ] }, { - "teal": 4155, - "source": 1145, - "pc": [ - 4086 - ] - }, - { - "teal": 4156, - "source": 1145, + "teal": 4178, + "source": 1064, "pc": [ + 4086, 4087 ] }, { - "teal": 4160, - "source": 1147, + "teal": 4179, + "source": 1064, "pc": [ 4088, 4089 ] }, { - "teal": 4161, - "source": 1147, + "teal": 4180, + "source": 1064, "pc": [ 4090, - 4091, + 4091 + ] + }, + { + "teal": 4181, + "source": 1064, + "pc": [ 4092 ] }, { - "teal": 4162, - "source": 1147, + "teal": 4182, + "source": 1064, "pc": [ - 4093 + 4093, + 4094 ] }, { - "teal": 4163, - "source": 1147, + "teal": 4183, + "source": 1064, "pc": [ - 4094, - 4095 + 4095, + 4096 ] }, { - "teal": 4164, - "source": 1147, + "teal": 4184, + "source": 1064, "pc": [ - 4096, - 4097, - 4098 + 4097 ] }, { - "teal": 4165, - "source": 1147, + "teal": 4185, + "source": 1064, "pc": [ + 4098, 4099 ] }, { - "teal": 4166, - "source": 1147, + "teal": 4188, + "source": 1062, + "pc": [ + 4100 + ] + }, + { + "teal": 4189, + "source": 1062, "pc": [ - 4100, 4101, - 4102, - 4103, + 4102 + ] + }, + { + "teal": 4192, + "source": 1062, + "pc": [ + 4103 + ] + }, + { + "teal": 4199, + "source": 1067, + "pc": [ 4104, - 4105, + 4105 + ] + }, + { + "teal": 4200, + "source": 1067, + "pc": [ 4106, - 4107, - 4108, + 4107 + ] + }, + { + "teal": 4201, + "source": 1067, + "pc": [ + 4108 + ] + }, + { + "teal": 4202, + "source": 1067, + "pc": [ 4109, - 4110, + 4110 + ] + }, + { + "teal": 4203, + "source": 1067, + "pc": [ 4111, 4112 ] }, { - "teal": 4167, - "source": 1147, + "teal": 4204, + "source": 1067, "pc": [ 4113 ] }, { - "teal": 4170, - "source": 1147, - "errorMessage": "global state value does not exist: AppID.fromUint64(poolKey.poolAppId).globalState('validatorId')", + "teal": 4205, + "source": 1067, "pc": [ - 4114 + 4114, + 4115 ] }, { - "teal": 4171, - "source": 1147, + "teal": 4206, + "source": 1067, "pc": [ - 4115 + 4116 ] }, { - "teal": 4172, - "source": 1147, + "teal": 4209, + "source": 1066, + "errorMessage": "balance of remaining reward tokens should match the held back amount", "pc": [ - 4116 + 4117 ] }, { - "teal": 4176, - "source": 1148, + "teal": 4213, + "source": 1070, "pc": [ - 4117, - 4118 + 4118, + 4119 ] }, { - "teal": 4177, - "source": 1148, + "teal": 4216, + "source": 1048, "pc": [ - 4119, 4120, 4121 ] }, { - "teal": 4178, - "source": 1148, + "teal": 4219, + "source": 1048, "pc": [ - 4122 + 4122, + 4123 ] }, { - "teal": 4179, - "source": 1148, + "teal": 4220, + "source": 1048, "pc": [ - 4123, 4124 ] }, { - "teal": 4180, - "source": 1148, + "teal": 4231, + "source": 1167, "pc": [ 4125, 4126, @@ -18760,930 +18800,901 @@ ] }, { - "teal": 4181, - "source": 1148, + "teal": 4235, + "source": 1168, "pc": [ 4128 ] }, { - "teal": 4182, - "source": 1148, + "teal": 4236, + "source": 1168, "pc": [ 4129, - 4130, + 4130 + ] + }, + { + "teal": 4237, + "source": 1168, + "pc": [ 4131, 4132, - 4133, - 4134, - 4135, + 4133 + ] + }, + { + "teal": 4238, + "source": 1168, + "pc": [ + 4134 + ] + }, + { + "teal": 4239, + "source": 1168, + "pc": [ + 4135 + ] + }, + { + "teal": 4240, + "source": 1168, + "pc": [ 4136 ] }, { - "teal": 4183, - "source": 1148, + "teal": 4241, + "source": 1168, "pc": [ 4137 ] }, { - "teal": 4186, - "source": 1148, - "errorMessage": "global state value does not exist: AppID.fromUint64(poolKey.poolAppId).globalState('poolId')", + "teal": 4242, + "source": 1168, "pc": [ 4138 ] }, { - "teal": 4187, - "source": 1148, + "teal": 4243, + "source": 1168, "pc": [ 4139 ] }, { - "teal": 4188, - "source": 1148, + "teal": 4246, + "source": 1168, + "errorMessage": "the specified validator id isn't valid", "pc": [ 4140 ] }, { - "teal": 4189, - "source": 1131, + "teal": 4250, + "source": 1169, "pc": [ - 4141 + 4141, + 4142 ] }, { - "teal": 4198, - "source": 1157, + "teal": 4251, + "source": 1169, "pc": [ - 4142, 4143, - 4144 - ] - }, - { - "teal": 4201, - "source": 1157, - "pc": [ + 4144, 4145 ] }, { - "teal": 4202, - "source": 1157, + "teal": 4252, + "source": 1169, "pc": [ 4146 ] }, { - "teal": 4206, - "source": 1158, + "teal": 4253, + "source": 29, "pc": [ 4147 ] }, { - "teal": 4207, - "source": 1158, + "teal": 4254, + "source": 1169, "pc": [ - 4148, - 4149 + 4148 ] }, { - "teal": 4208, - "source": 1158, + "teal": 4257, + "source": 1169, + "errorMessage": "pool id not in valid range", "pc": [ - 4150 + 4149 ] }, { - "teal": 4209, - "source": 1158, + "teal": 4264, + "source": 1171, "pc": [ + 4150, 4151 ] }, { - "teal": 4210, - "source": 1158, + "teal": 4265, + "source": 1171, "pc": [ 4152, - 4153 + 4153, + 4154 ] }, { - "teal": 4215, - "source": 1159, + "teal": 4266, + "source": 1171, "pc": [ - 4154, 4155 ] }, { - "teal": 4216, - "source": 1159, + "teal": 4267, + "source": 1171, "pc": [ 4156 ] }, { - "teal": 4217, - "source": 1158, + "teal": 4268, + "source": 1171, "pc": [ 4157 ] }, { - "teal": 4218, - "source": 1158, - "pc": [ - 4158, - 4159 - ] - }, - { - "teal": 4219, - "source": 1158, + "teal": 4269, + "source": 1171, "pc": [ - 4160 + 4158 ] }, { - "teal": 4220, - "source": 1158, + "teal": 4270, + "source": 1171, "pc": [ + 4159, + 4160, 4161 ] }, { - "teal": 4221, - "source": 1158, + "teal": 4271, + "source": 1171, "pc": [ 4162, 4163 ] }, { - "teal": 4222, - "source": 1158, - "pc": [ - 4164 - ] - }, - { - "teal": 4223, - "source": 1159, - "pc": [ - 4165 - ] - }, - { - "teal": 4224, - "source": 1159, + "teal": 4272, + "source": 1171, "pc": [ + 4164, + 4165, 4166 ] }, { - "teal": 4225, - "source": 1159, + "teal": 4273, + "source": 1171, "pc": [ 4167 ] }, { - "teal": 4226, - "source": 1159, + "teal": 4274, + "source": 1171, "pc": [ 4168, - 4169, - 4170 + 4169 ] }, { - "teal": 4231, - "source": 1162, + "teal": 4275, + "source": 1171, "pc": [ - 4171, - 4172 + 4170, + 4171 ] }, { - "teal": 4232, - "source": 1162, + "teal": 4276, + "source": 1171, "pc": [ - 4173 + 4172 ] }, { - "teal": 4233, - "source": 1158, + "teal": 4277, + "source": 1171, "pc": [ + 4173, 4174 ] }, { - "teal": 4234, - "source": 1158, + "teal": 4278, + "source": 1171, "pc": [ 4175, - 4176 + 4176, + 4177 ] }, { - "teal": 4235, - "source": 1158, + "teal": 4279, + "source": 1171, "pc": [ - 4177 + 4178 ] }, { - "teal": 4236, - "source": 1158, + "teal": 4280, + "source": 1171, "pc": [ - 4178 + 4179 ] }, { - "teal": 4237, - "source": 1158, + "teal": 4281, + "source": 1171, "pc": [ - 4179, 4180 ] }, { - "teal": 4238, - "source": 1158, + "teal": 4282, + "source": 1171, "pc": [ - 4181 + 4181, + 4182 ] }, { - "teal": 4239, - "source": 1162, + "teal": 4283, + "source": 1171, "pc": [ - 4182 + 4183 ] }, { - "teal": 4240, - "source": 1162, + "teal": 4284, + "source": 1171, "pc": [ - 4183, 4184 ] }, { - "teal": 4241, - "source": 1162, + "teal": 4285, + "source": 1171, "pc": [ 4185 ] }, { - "teal": 4244, - "source": 1162, - "errorMessage": "global state value does not exist: AppID.fromUint64(validatorConfig.nfdForInfo).globalState('i.owner.a')", + "teal": 4286, + "source": 1171, "pc": [ 4186 ] }, { - "teal": 4245, - "source": 1162, + "teal": 4290, + "source": 1170, + "errorMessage": "pool id outside of range of pools created for this validator", "pc": [ - 4187, - 4188 + 4187 ] }, { - "teal": 4250, - "source": 1164, + "teal": 4297, + "source": 1177, "pc": [ + 4188, 4189 ] }, { - "teal": 4251, - "source": 1164, + "teal": 4298, + "source": 1177, "pc": [ 4190, - 4191 + 4191, + 4192 ] }, { - "teal": 4252, - "source": 1158, + "teal": 4299, + "source": 1177, "pc": [ - 4192 + 4193 ] }, { - "teal": 4253, - "source": 1158, + "teal": 4300, + "source": 1177, "pc": [ - 4193, - 4194 + 4194, + 4195 ] }, { - "teal": 4254, - "source": 1158, + "teal": 4301, + "source": 1177, "pc": [ - 4195 + 4196, + 4197 ] }, { - "teal": 4255, - "source": 1158, + "teal": 4302, + "source": 1177, "pc": [ - 4196 + 4198, + 4199, + 4200 ] }, { - "teal": 4256, - "source": 1158, + "teal": 4303, + "source": 1177, "pc": [ - 4197, - 4198 + 4201 ] }, { - "teal": 4257, - "source": 1158, + "teal": 4304, + "source": 1177, "pc": [ - 4199 + 4202 ] }, { - "teal": 4258, - "source": 1164, + "teal": 4305, + "source": 1177, "pc": [ - 4200, - 4201 + 4203 ] }, { - "teal": 4259, - "source": 1164, + "teal": 4306, + "source": 1177, "pc": [ - 4202 + 4204, + 4205 ] }, { - "teal": 4260, - "source": 1164, + "teal": 4307, + "source": 1177, "pc": [ - 4203 + 4206 ] }, { - "teal": 4261, - "source": 1164, + "teal": 4308, + "source": 1177, "pc": [ - 4204, - 4205, - 4206 + 4207 ] }, { - "teal": 4262, - "source": 1164, + "teal": 4309, + "source": 1177, "pc": [ - 4207, 4208 ] }, { - "teal": 4263, - "source": 1164, + "teal": 4310, + "source": 1177, "pc": [ - 4209, - 4210 + 4209 ] }, { - "teal": 4264, - "source": 1158, + "teal": 4311, + "source": 1177, "pc": [ - 4211 + 4210 ] }, { - "teal": 4265, - "source": 1158, + "teal": 4312, + "source": 1177, "pc": [ - 4212, - 4213 + 4211 ] }, { - "teal": 4266, - "source": 1158, + "teal": 4313, + "source": 1177, "pc": [ - 4214 + 4212, + 4213 ] }, { - "teal": 4267, - "source": 1158, + "teal": 4314, + "source": 1177, "pc": [ - 4215 + 4214, + 4215, + 4216 ] }, { - "teal": 4268, - "source": 1158, + "teal": 4315, + "source": 1177, "pc": [ - 4216, 4217 ] }, { - "teal": 4269, - "source": 1158, + "teal": 4316, + "source": 1177, "pc": [ 4218 ] }, { - "teal": 4270, - "source": 1164, + "teal": 4317, + "source": 1177, "pc": [ - 4219, - 4220 + 4219 ] }, { - "teal": 4271, - "source": 1164, + "teal": 4318, + "source": 1177, "pc": [ + 4220, 4221 ] }, { - "teal": 4272, - "source": 1164, + "teal": 4319, + "source": 1177, "pc": [ 4222 ] }, { - "teal": 4275, - "source": 1164, + "teal": 4320, + "source": 1177, "pc": [ - 4223, - 4224, - 4225 + 4223 ] }, { - "teal": 4280, - "source": 1166, + "teal": 4321, + "source": 1177, "pc": [ - 4226, - 4227 + 4224 ] }, { - "teal": 4281, - "source": 1166, + "teal": 4324, + "source": 1176, + "errorMessage": "The passed in app id doesn't match the passed in ids", "pc": [ - 4228, - 4229 + 4225 ] }, { - "teal": 4282, - "source": 1166, + "teal": 4328, + "source": 1181, "pc": [ - 4230 + 4226, + 4227 ] }, { - "teal": 4283, - "source": 1166, + "teal": 4329, + "source": 1181, + "pc": [ + 4228, + 4229 + ] + }, + { + "teal": 4330, + "source": 1181, "pc": [ + 4230, 4231, 4232 ] }, { - "teal": 4284, - "source": 1166, + "teal": 4331, + "source": 1181, "pc": [ 4233 ] }, { - "teal": 4285, - "source": 1166, + "teal": 4332, + "source": 1181, "pc": [ - 4234 + 4234, + 4235 ] }, { - "teal": 4286, - "source": 1166, + "teal": 4333, + "source": 1181, "pc": [ - 4235, 4236 ] }, { - "teal": 4287, - "source": 1166, + "teal": 4334, + "source": 1181, "pc": [ 4237 ] }, { - "teal": 4292, - "source": 1157, + "teal": 4335, + "source": 1181, "pc": [ 4238 ] }, { - "teal": 4296, - "source": 1171, + "teal": 4339, + "source": 1183, "pc": [ 4239, - 4240, - 4241 + 4240 ] }, { - "teal": 4303, - "source": 1174, + "teal": 4340, + "source": 1183, "pc": [ + 4241, 4242, 4243 ] }, { - "teal": 4304, - "source": 1174, - "pc": [ - 4244, - 4245, - 4246 - ] - }, - { - "teal": 4305, - "source": 1174, + "teal": 4341, + "source": 1183, "pc": [ - 4247 + 4244 ] }, { - "teal": 4306, - "source": 1174, + "teal": 4342, + "source": 1183, "pc": [ - 4248 + 4245, + 4246 ] }, { - "teal": 4307, - "source": 1174, + "teal": 4343, + "source": 1183, "pc": [ + 4247, + 4248, 4249 ] }, { - "teal": 4308, - "source": 1174, + "teal": 4344, + "source": 1183, "pc": [ 4250 ] }, { - "teal": 4309, - "source": 1174, + "teal": 4345, + "source": 1183, "pc": [ 4251, 4252, - 4253 - ] - }, - { - "teal": 4310, - "source": 1174, - "pc": [ + 4253, 4254, - 4255 - ] - }, - { - "teal": 4311, - "source": 1174, - "pc": [ + 4255, 4256, 4257, - 4258 - ] - }, - { - "teal": 4312, - "source": 1174, - "pc": [ - 4259 - ] - }, - { - "teal": 4313, - "source": 1174, - "pc": [ + 4258, + 4259, 4260, - 4261 - ] - }, - { - "teal": 4314, - "source": 1174, - "pc": [ - 4262 - ] - }, - { - "teal": 4315, - "source": 1174, - "pc": [ + 4261, + 4262, 4263 ] }, { - "teal": 4319, - "source": 1173, - "errorMessage": "gating type not valid", + "teal": 4346, + "source": 1183, "pc": [ 4264 ] }, { - "teal": 4326, - "source": 1178, + "teal": 4349, + "source": 1183, + "errorMessage": "global state value does not exist: AppID.fromUint64(poolKey.poolAppId).globalState('validatorId')", "pc": [ - 4265, - 4266 + 4265 ] }, { - "teal": 4327, - "source": 1178, + "teal": 4350, + "source": 1183, "pc": [ - 4267, - 4268, - 4269 + 4266 ] }, { - "teal": 4328, - "source": 1178, + "teal": 4351, + "source": 1183, "pc": [ - 4270 + 4267 ] }, { - "teal": 4329, - "source": 1178, + "teal": 4355, + "source": 1184, "pc": [ - 4271 + 4268, + 4269 ] }, { - "teal": 4330, - "source": 1178, + "teal": 4356, + "source": 1184, "pc": [ + 4270, + 4271, 4272 ] }, { - "teal": 4331, - "source": 1178, + "teal": 4357, + "source": 1184, "pc": [ 4273 ] }, { - "teal": 4332, - "source": 1178, + "teal": 4358, + "source": 1184, "pc": [ 4274, - 4275, - 4276 + 4275 ] }, { - "teal": 4333, - "source": 1178, + "teal": 4359, + "source": 1184, "pc": [ + 4276, 4277, 4278 ] }, { - "teal": 4334, - "source": 1178, + "teal": 4360, + "source": 1184, "pc": [ - 4279, - 4280, - 4281 + 4279 ] }, { - "teal": 4335, - "source": 1178, + "teal": 4361, + "source": 1184, "pc": [ - 4282 + 4280, + 4281, + 4282, + 4283, + 4284, + 4285, + 4286, + 4287 ] }, { - "teal": 4336, - "source": 1178, + "teal": 4362, + "source": 1184, "pc": [ - 4283, - 4284 + 4288 ] }, { - "teal": 4337, - "source": 1178, + "teal": 4365, + "source": 1184, + "errorMessage": "global state value does not exist: AppID.fromUint64(poolKey.poolAppId).globalState('poolId')", "pc": [ - 4285 + 4289 ] }, { - "teal": 4338, - "source": 1178, + "teal": 4366, + "source": 1184, "pc": [ - 4286 + 4290 ] }, { - "teal": 4342, - "source": 1177, - "errorMessage": "epoch length not in allowable range", + "teal": 4367, + "source": 1184, "pc": [ - 4287 + 4291 ] }, { - "teal": 4349, - "source": 1182, + "teal": 4368, + "source": 1167, "pc": [ - 4288, - 4289 + 4292 ] }, { - "teal": 4350, - "source": 1182, + "teal": 4377, + "source": 1193, "pc": [ - 4290, - 4291, - 4292 + 4293, + 4294, + 4295 ] }, { - "teal": 4351, - "source": 1182, + "teal": 4380, + "source": 1193, "pc": [ - 4293 + 4296 ] }, { - "teal": 4352, - "source": 1182, + "teal": 4381, + "source": 1193, "pc": [ - 4294 + 4297 ] }, { - "teal": 4353, - "source": 1182, + "teal": 4385, + "source": 1194, "pc": [ - 4295 + 4298 ] }, { - "teal": 4354, - "source": 1182, + "teal": 4386, + "source": 1194, "pc": [ - 4296 + 4299, + 4300 ] }, { - "teal": 4355, - "source": 1182, + "teal": 4387, + "source": 1194, "pc": [ - 4297, - 4298, - 4299 + 4301 ] }, { - "teal": 4356, - "source": 1182, + "teal": 4388, + "source": 1194, "pc": [ - 4300, - 4301 + 4302 ] }, { - "teal": 4357, - "source": 1182, + "teal": 4389, + "source": 1194, "pc": [ - 4302, 4303, 4304 ] }, { - "teal": 4358, - "source": 1182, + "teal": 4394, + "source": 1195, "pc": [ - 4305 + 4305, + 4306 ] }, { - "teal": 4359, - "source": 1182, + "teal": 4395, + "source": 1195, "pc": [ - 4306, 4307 ] }, { - "teal": 4360, - "source": 1182, + "teal": 4396, + "source": 1194, "pc": [ 4308 ] }, { - "teal": 4361, - "source": 1182, + "teal": 4397, + "source": 1194, "pc": [ - 4309 + 4309, + 4310 ] }, { - "teal": 4365, - "source": 1181, - "errorMessage": "commission percentage not valid", + "teal": 4398, + "source": 1194, "pc": [ - 4310 + 4311 ] }, { - "teal": 4370, - "source": 1185, + "teal": 4399, + "source": 1194, "pc": [ - 4311, 4312 ] }, { - "teal": 4371, - "source": 1185, + "teal": 4400, + "source": 1194, "pc": [ 4313, - 4314, + 4314 + ] + }, + { + "teal": 4401, + "source": 1194, + "pc": [ 4315 ] }, { - "teal": 4372, - "source": 1185, + "teal": 4402, + "source": 1195, "pc": [ 4316 ] }, { - "teal": 4373, - "source": 1185, + "teal": 4403, + "source": 1195, "pc": [ 4317 ] }, { - "teal": 4374, - "source": 1185, + "teal": 4404, + "source": 1195, "pc": [ 4318 ] }, { - "teal": 4375, - "source": 1185, + "teal": 4405, + "source": 1195, "pc": [ 4319, 4320, @@ -19691,157 +19702,186 @@ ] }, { - "teal": 4383, - "source": 1187, + "teal": 4410, + "source": 1198, "pc": [ 4322, 4323 ] }, { - "teal": 4384, - "source": 1187, + "teal": 4411, + "source": 1198, "pc": [ - 4324, - 4325, - 4326 + 4324 ] }, { - "teal": 4385, - "source": 1187, + "teal": 4412, + "source": 1194, + "pc": [ + 4325 + ] + }, + { + "teal": 4413, + "source": 1194, + "pc": [ + 4326, + 4327 + ] + }, + { + "teal": 4414, + "source": 1194, "pc": [ - 4327, 4328 ] }, { - "teal": 4386, - "source": 1187, + "teal": 4415, + "source": 1194, "pc": [ 4329 ] }, { - "teal": 4389, - "source": 1186, - "errorMessage": "validatorCommissionAddress must be set if percent to validator is not 0", + "teal": 4416, + "source": 1194, "pc": [ - 4330 + 4330, + 4331 ] }, { - "teal": 4394, - "source": 1191, + "teal": 4417, + "source": 1194, "pc": [ - 4331, 4332 ] }, { - "teal": 4395, - "source": 1191, + "teal": 4418, + "source": 1198, + "pc": [ + 4333 + ] + }, + { + "teal": 4419, + "source": 1198, "pc": [ - 4333, 4334, 4335 ] }, { - "teal": 4396, - "source": 1191, + "teal": 4420, + "source": 1198, "pc": [ 4336 ] }, { - "teal": 4397, - "source": 1191, + "teal": 4423, + "source": 1198, + "errorMessage": "global state value does not exist: AppID.fromUint64(validatorConfig.nfdForInfo).globalState('i.owner.a')", "pc": [ - 4337, - 4338 + 4337 ] }, { - "teal": 4398, - "source": 1191, + "teal": 4424, + "source": 1198, "pc": [ + 4338, 4339 ] }, { - "teal": 4401, - "source": 1191, - "errorMessage": "staking pool must have minimum entry of 1 algo", + "teal": 4429, + "source": 1200, "pc": [ 4340 ] }, { - "teal": 4408, - "source": 1194, + "teal": 4430, + "source": 1200, "pc": [ 4341, 4342 ] }, { - "teal": 4409, + "teal": 4431, + "source": 1194, + "pc": [ + 4343 + ] + }, + { + "teal": 4432, "source": 1194, "pc": [ - 4343, 4344, 4345 ] }, { - "teal": 4410, + "teal": 4433, "source": 1194, "pc": [ 4346 ] }, { - "teal": 4411, + "teal": 4434, "source": 1194, "pc": [ 4347 ] }, { - "teal": 4412, + "teal": 4435, "source": 1194, "pc": [ - 4348 + 4348, + 4349 ] }, { - "teal": 4413, + "teal": 4436, "source": 1194, "pc": [ - 4349 + 4350 ] }, { - "teal": 4414, - "source": 1194, + "teal": 4437, + "source": 1200, "pc": [ - 4350, 4351, 4352 ] }, { - "teal": 4415, - "source": 1194, + "teal": 4438, + "source": 1200, + "pc": [ + 4353 + ] + }, + { + "teal": 4439, + "source": 1200, "pc": [ - 4353, 4354 ] }, { - "teal": 4416, - "source": 1194, + "teal": 4440, + "source": 1200, "pc": [ 4355, 4356, @@ -19849,2522 +19889,2471 @@ ] }, { - "teal": 4417, - "source": 1194, + "teal": 4441, + "source": 1200, "pc": [ - 4358 + 4358, + 4359 ] }, { - "teal": 4418, - "source": 1194, + "teal": 4442, + "source": 1200, "pc": [ - 4359, - 4360 + 4360, + 4361 ] }, { - "teal": 4419, + "teal": 4443, "source": 1194, "pc": [ - 4361 + 4362 ] }, { - "teal": 4420, + "teal": 4444, "source": 1194, "pc": [ - 4362 + 4363, + 4364 ] }, { - "teal": 4424, - "source": 1193, - "errorMessage": "number of pools per node exceeds allowed number", + "teal": 4445, + "source": 1194, "pc": [ - 4363 + 4365 ] }, { - "teal": 4429, - "source": 1197, + "teal": 4446, + "source": 1194, "pc": [ - 4364, - 4365 + 4366 ] }, { - "teal": 4430, - "source": 1197, + "teal": 4447, + "source": 1194, "pc": [ - 4366, 4367, 4368 ] }, { - "teal": 4431, - "source": 1197, + "teal": 4448, + "source": 1194, "pc": [ 4369 ] }, { - "teal": 4432, - "source": 1197, + "teal": 4449, + "source": 1200, "pc": [ - 4370 + 4370, + 4371 ] }, { - "teal": 4433, - "source": 1197, + "teal": 4450, + "source": 1200, "pc": [ - 4371 + 4372 ] }, { - "teal": 4434, - "source": 1197, + "teal": 4451, + "source": 1200, "pc": [ - 4372, - 4373, - 4374 + 4373 ] }, { - "teal": 4439, - "source": 1198, + "teal": 4454, + "source": 1200, "pc": [ + 4374, 4375, 4376 ] }, { - "teal": 4440, - "source": 1198, + "teal": 4459, + "source": 1202, "pc": [ 4377, - 4378, - 4379 + 4378 ] }, { - "teal": 4441, - "source": 1198, + "teal": 4460, + "source": 1202, "pc": [ + 4379, 4380 ] }, { - "teal": 4442, - "source": 1198, + "teal": 4461, + "source": 1202, "pc": [ - 4381, - 4382 + 4381 ] }, { - "teal": 4443, - "source": 1198, + "teal": 4462, + "source": 1202, "pc": [ + 4382, 4383 ] }, { - "teal": 4446, - "source": 1198, - "errorMessage": "sunsettingOn must be later than now if set", + "teal": 4463, + "source": 1202, "pc": [ 4384 ] }, { - "teal": 4449, - "source": 1171, + "teal": 4464, + "source": 1202, "pc": [ 4385 ] }, { - "teal": 4463, - "source": 1213, + "teal": 4465, + "source": 1202, "pc": [ 4386, - 4387, - 4388 + 4387 ] }, { "teal": 4466, - "source": 1213, + "source": 1202, + "pc": [ + 4388 + ] + }, + { + "teal": 4471, + "source": 1193, "pc": [ 4389 ] }, { - "teal": 4467, - "source": 1213, + "teal": 4475, + "source": 1207, "pc": [ 4390, - 4391 + 4391, + 4392 ] }, { - "teal": 4471, - "source": 1220, + "teal": 4482, + "source": 1210, "pc": [ - 4392, - 4393 + 4393, + 4394 ] }, { - "teal": 4472, - "source": 1220, + "teal": 4483, + "source": 1210, "pc": [ - 4394, - 4395 + 4395, + 4396, + 4397 ] }, { - "teal": 4473, - "source": 1220, + "teal": 4484, + "source": 1210, "pc": [ - 4396, - 4397, 4398 ] }, { - "teal": 4474, - "source": 1220, + "teal": 4485, + "source": 1210, "pc": [ 4399 ] }, { - "teal": 4475, - "source": 1220, + "teal": 4486, + "source": 1210, "pc": [ 4400 ] }, { - "teal": 4476, - "source": 1220, + "teal": 4487, + "source": 1210, "pc": [ 4401 ] }, { - "teal": 4477, - "source": 1220, + "teal": 4488, + "source": 1210, "pc": [ 4402, - 4403 - ] - }, - { - "teal": 4478, - "source": 1220, - "pc": [ + 4403, 4404 ] }, { - "teal": 4479, - "source": 1220, - "pc": [ - 4405 - ] - }, - { - "teal": 4480, - "source": 1220, + "teal": 4489, + "source": 1210, "pc": [ + 4405, 4406 ] }, { - "teal": 4481, - "source": 1220, + "teal": 4490, + "source": 1210, "pc": [ - 4407 + 4407, + 4408, + 4409 ] }, { - "teal": 4482, - "source": 1220, + "teal": 4491, + "source": 1210, "pc": [ - 4408 + 4410 ] }, { - "teal": 4483, - "source": 1220, + "teal": 4492, + "source": 1210, "pc": [ - 4409 + 4411, + 4412 ] }, { - "teal": 4484, - "source": 1220, + "teal": 4493, + "source": 1210, "pc": [ - 4410, - 4411 + 4413 ] }, { - "teal": 4485, - "source": 1220, + "teal": 4494, + "source": 1210, "pc": [ - 4412, - 4413, 4414 ] }, { - "teal": 4486, - "source": 1220, + "teal": 4498, + "source": 1209, + "errorMessage": "gating type not valid", "pc": [ 4415 ] }, { - "teal": 4487, - "source": 1220, - "pc": [ - 4416 - ] - }, - { - "teal": 4488, - "source": 1220, + "teal": 4505, + "source": 1214, "pc": [ + 4416, 4417 ] }, { - "teal": 4489, - "source": 1220, + "teal": 4506, + "source": 1214, "pc": [ 4418, - 4419 - ] - }, - { - "teal": 4490, - "source": 1220, - "pc": [ + 4419, 4420 ] }, { - "teal": 4491, - "source": 1220, + "teal": 4507, + "source": 1214, "pc": [ 4421 ] }, { - "teal": 4492, - "source": 1220, + "teal": 4508, + "source": 1214, "pc": [ - 4422, - 4423 + 4422 ] }, { - "teal": 4505, - "source": 1229, + "teal": 4509, + "source": 1214, "pc": [ - 4424 + 4423 ] }, { - "teal": 4506, - "source": 1229, + "teal": 4510, + "source": 1214, "pc": [ - 4425 + 4424 ] }, { - "teal": 4507, - "source": 1229, + "teal": 4511, + "source": 1214, "pc": [ + 4425, 4426, 4427 ] }, { - "teal": 4511, - "source": 1229, + "teal": 4512, + "source": 1214, "pc": [ 4428, 4429 ] }, { - "teal": 4512, - "source": 1229, + "teal": 4513, + "source": 1214, "pc": [ 4430, - 4431 + 4431, + 4432 ] }, { - "teal": 4513, - "source": 1229, + "teal": 4514, + "source": 1214, "pc": [ - 4432, 4433 ] }, { - "teal": 4514, - "source": 1229, + "teal": 4515, + "source": 1214, "pc": [ - 4434 + 4434, + 4435 ] }, { - "teal": 4515, - "source": 1229, + "teal": 4516, + "source": 1214, "pc": [ - 4435, 4436 ] }, { - "teal": 4519, - "source": 1229, + "teal": 4517, + "source": 1214, "pc": [ - 4437, - 4438 + 4437 ] }, { - "teal": 4520, - "source": 1229, + "teal": 4521, + "source": 1213, + "errorMessage": "epoch length not in allowable range", "pc": [ - 4439, - 4440 + 4438 ] }, { - "teal": 4521, - "source": 1229, + "teal": 4528, + "source": 1218, "pc": [ - 4441 + 4439, + 4440 ] }, { - "teal": 4522, - "source": 1229, + "teal": 4529, + "source": 1218, "pc": [ + 4441, 4442, 4443 ] }, { - "teal": 4525, - "source": 1229, + "teal": 4530, + "source": 1218, "pc": [ 4444 ] }, { - "teal": 4526, - "source": 1229, + "teal": 4531, + "source": 1218, + "pc": [ + 4445 + ] + }, + { + "teal": 4532, + "source": 1218, "pc": [ - 4445, 4446 ] }, { - "teal": 4527, - "source": 1224, + "teal": 4533, + "source": 1218, "pc": [ 4447 ] }, { - "teal": 4528, - "source": 1224, + "teal": 4534, + "source": 1218, "pc": [ 4448, - 4449 + 4449, + 4450 ] }, { - "teal": 4529, - "source": 1224, + "teal": 4535, + "source": 1218, "pc": [ - 4450, - 4451 + 4451, + 4452 ] }, { - "teal": 4530, - "source": 1224, + "teal": 4536, + "source": 1218, "pc": [ - 4452, 4453, 4454, - 4455, - 4456, - 4457 + 4455 ] }, { - "teal": 4531, - "source": 1224, + "teal": 4537, + "source": 1218, "pc": [ - 4458, - 4459 + 4456 ] }, { - "teal": 4535, - "source": 1225, + "teal": 4538, + "source": 1218, "pc": [ - 4460, - 4461 + 4457, + 4458 ] }, { - "teal": 4536, - "source": 1225, + "teal": 4539, + "source": 1218, "pc": [ - 4462, - 4463 + 4459 ] }, { - "teal": 4546, - "source": 1231, + "teal": 4540, + "source": 1218, "pc": [ - 4464, - 4465 + 4460 ] }, { - "teal": 4547, - "source": 1231, + "teal": 4544, + "source": 1217, + "errorMessage": "commission percentage not valid", "pc": [ - 4466, - 4467 + 4461 ] }, { - "teal": 4548, - "source": 1231, + "teal": 4549, + "source": 1221, "pc": [ - 4468, - 4469 + 4462, + 4463 + ] + }, + { + "teal": 4550, + "source": 1221, + "pc": [ + 4464, + 4465, + 4466 ] }, { "teal": 4551, - "source": 1224, + "source": 1221, "pc": [ - 4470 + 4467 ] }, { "teal": 4552, - "source": 1224, + "source": 1221, "pc": [ - 4471, - 4472 + 4468 ] }, { - "teal": 4555, - "source": 1224, + "teal": 4553, + "source": 1221, "pc": [ - 4473 + 4469 ] }, { - "teal": 4556, - "source": 1224, + "teal": 4554, + "source": 1221, "pc": [ - 4474, - 4475 + 4470, + 4471, + 4472 ] }, { - "teal": 4557, - "source": 1224, + "teal": 4562, + "source": 1223, "pc": [ - 4476 + 4473, + 4474 ] }, { - "teal": 4558, - "source": 1224, + "teal": 4563, + "source": 1223, "pc": [ + 4475, + 4476, 4477 ] }, { - "teal": 4559, - "source": 1224, + "teal": 4564, + "source": 1223, "pc": [ 4478, 4479 ] }, { - "teal": 4560, - "source": 1224, + "teal": 4565, + "source": 1223, + "pc": [ + 4480 + ] + }, + { + "teal": 4568, + "source": 1222, + "errorMessage": "validatorCommissionAddress must be set if percent to validator is not 0", "pc": [ - 4480, - 4481, - 4482 + 4481 ] }, { - "teal": 4561, - "source": 1224, + "teal": 4573, + "source": 1227, "pc": [ + 4482, 4483 ] }, { - "teal": 4566, - "source": 1234, + "teal": 4574, + "source": 1227, "pc": [ 4484, - 4485 + 4485, + 4486 ] }, { - "teal": 4567, - "source": 1234, + "teal": 4575, + "source": 1227, "pc": [ - 4486, - 4487, - 4488 + 4487 ] }, { - "teal": 4568, - "source": 1234, + "teal": 4576, + "source": 1227, "pc": [ + 4488, 4489 ] }, { - "teal": 4569, - "source": 1234, + "teal": 4577, + "source": 1227, "pc": [ - 4490, - 4491, - 4492 + 4490 ] }, { - "teal": 4574, - "source": 1235, + "teal": 4580, + "source": 1227, + "errorMessage": "staking pool must have minimum entry of 1 algo", + "pc": [ + 4491 + ] + }, + { + "teal": 4587, + "source": 1230, "pc": [ + 4492, 4493 ] }, { - "teal": 4575, - "source": 1235, + "teal": 4588, + "source": 1230, "pc": [ 4494, - 4495 + 4495, + 4496 ] }, { - "teal": 4576, - "source": 1235, + "teal": 4589, + "source": 1230, "pc": [ - 4496, 4497 ] }, { - "teal": 4577, - "source": 1235, + "teal": 4590, + "source": 1230, "pc": [ 4498 ] }, { - "teal": 4578, - "source": 1235, + "teal": 4591, + "source": 1230, "pc": [ - 4499, - 4500 + 4499 ] }, { - "teal": 4579, - "source": 1235, + "teal": 4592, + "source": 1230, "pc": [ - 4501, - 4502 + 4500 ] }, { - "teal": 4580, - "source": 1235, + "teal": 4593, + "source": 1230, "pc": [ + 4501, + 4502, 4503 ] }, { - "teal": 4581, - "source": 1235, + "teal": 4594, + "source": 1230, "pc": [ 4504, 4505 ] }, { - "teal": 4582, - "source": 1235, + "teal": 4595, + "source": 1230, "pc": [ 4506, - 4507 + 4507, + 4508 ] }, { - "teal": 4583, - "source": 1235, + "teal": 4596, + "source": 1230, "pc": [ - 4508, 4509 ] }, { - "teal": 4584, - "source": 1235, + "teal": 4597, + "source": 1230, "pc": [ 4510, 4511 ] }, { - "teal": 4585, - "source": 1235, + "teal": 4598, + "source": 1230, "pc": [ 4512 ] }, { - "teal": 4590, - "source": 1239, + "teal": 4599, + "source": 1230, + "pc": [ + 4513 + ] + }, + { + "teal": 4603, + "source": 1229, + "errorMessage": "number of pools per node exceeds allowed number", "pc": [ - 4513, 4514 ] }, { - "teal": 4591, - "source": 1239, + "teal": 4608, + "source": 1233, "pc": [ 4515, 4516 ] }, { - "teal": 4592, - "source": 1239, + "teal": 4609, + "source": 1233, "pc": [ - 4517 + 4517, + 4518, + 4519 ] }, { - "teal": 4595, - "source": 1239, - "errorMessage": "global state value does not exist: AppID.fromUint64(poolAppId).globalState('numStakers')", + "teal": 4610, + "source": 1233, "pc": [ - 4518 + 4520 ] }, { - "teal": 4596, - "source": 1239, + "teal": 4611, + "source": 1233, "pc": [ - 4519, - 4520 + 4521 ] }, { - "teal": 4600, - "source": 1240, + "teal": 4612, + "source": 1233, "pc": [ - 4521, 4522 ] }, { - "teal": 4601, - "source": 1240, + "teal": 4613, + "source": 1233, "pc": [ 4523, - 4524 + 4524, + 4525 ] }, { - "teal": 4602, - "source": 1240, + "teal": 4618, + "source": 1234, "pc": [ - 4525 + 4526, + 4527 ] }, { - "teal": 4605, - "source": 1240, - "errorMessage": "global state value does not exist: AppID.fromUint64(poolAppId).globalState('staked')", + "teal": 4619, + "source": 1234, "pc": [ - 4526 + 4528, + 4529, + 4530 ] }, { - "teal": 4606, - "source": 1240, + "teal": 4620, + "source": 1234, "pc": [ - 4527, - 4528 + 4531 ] }, { - "teal": 4610, - "source": 1241, + "teal": 4621, + "source": 1234, "pc": [ - 4529, - 4530 + 4532, + 4533 ] }, { - "teal": 4611, - "source": 1241, + "teal": 4622, + "source": 1234, "pc": [ - 4531, - 4532 + 4534 ] }, { - "teal": 4612, - "source": 1241, + "teal": 4625, + "source": 1234, + "errorMessage": "sunsettingOn must be later than now if set", "pc": [ - 4533, - 4534, 4535 ] }, { - "teal": 4613, - "source": 1241, + "teal": 4628, + "source": 1207, "pc": [ 4536 ] }, { - "teal": 4614, - "source": 1241, + "teal": 4642, + "source": 1249, "pc": [ - 4537 + 4537, + 4538, + 4539 ] }, { - "teal": 4615, - "source": 1241, - "pc": [ - 4538 - ] - }, - { - "teal": 4616, - "source": 1241, + "teal": 4645, + "source": 1249, "pc": [ - 4539, 4540 ] }, { - "teal": 4617, - "source": 1241, + "teal": 4646, + "source": 1249, "pc": [ - 4541 + 4541, + 4542 ] }, { - "teal": 4618, - "source": 1241, + "teal": 4650, + "source": 1256, "pc": [ - 4542 + 4543, + 4544 ] }, { - "teal": 4619, - "source": 1241, + "teal": 4651, + "source": 1256, "pc": [ - 4543 + 4545, + 4546 ] }, { - "teal": 4620, - "source": 1241, + "teal": 4652, + "source": 1256, "pc": [ - 4544 + 4547, + 4548, + 4549 ] }, { - "teal": 4621, - "source": 1241, + "teal": 4653, + "source": 1256, "pc": [ - 4545, - 4546 + 4550 ] }, { - "teal": 4622, - "source": 1241, + "teal": 4654, + "source": 1256, "pc": [ - 4547 + 4551 ] }, { - "teal": 4623, - "source": 1241, + "teal": 4655, + "source": 1256, "pc": [ - 4548, - 4549, - 4550 + 4552 ] }, { - "teal": 4624, - "source": 1241, + "teal": 4656, + "source": 1256, "pc": [ - 4551 + 4553, + 4554 ] }, { - "teal": 4625, - "source": 1241, + "teal": 4657, + "source": 1256, "pc": [ - 4552, - 4553 + 4555 ] }, { - "teal": 4626, - "source": 1241, + "teal": 4658, + "source": 1256, "pc": [ - 4554, - 4555, 4556 ] }, { - "teal": 4627, - "source": 1241, + "teal": 4659, + "source": 1256, "pc": [ 4557 ] }, { - "teal": 4628, - "source": 1241, + "teal": 4660, + "source": 1256, "pc": [ 4558 ] }, { - "teal": 4629, - "source": 1241, + "teal": 4661, + "source": 1256, "pc": [ 4559 ] }, { - "teal": 4630, - "source": 1241, + "teal": 4662, + "source": 1256, "pc": [ - 4560, - 4561 + 4560 ] }, { - "teal": 4631, - "source": 1241, + "teal": 4663, + "source": 1256, "pc": [ + 4561, 4562 ] }, { - "teal": 4635, - "source": 1242, + "teal": 4664, + "source": 1256, "pc": [ 4563, - 4564 + 4564, + 4565 ] }, { - "teal": 4636, - "source": 1242, + "teal": 4665, + "source": 1256, "pc": [ - 4565, 4566 ] }, { - "teal": 4637, - "source": 1242, + "teal": 4666, + "source": 1256, + "pc": [ + 4567 + ] + }, + { + "teal": 4667, + "source": 1256, "pc": [ - 4567, - 4568, - 4569 + 4568 ] }, { - "teal": 4638, - "source": 1242, + "teal": 4668, + "source": 1256, "pc": [ + 4569, 4570 ] }, { - "teal": 4639, - "source": 1242, + "teal": 4669, + "source": 1256, "pc": [ 4571 ] }, { - "teal": 4640, - "source": 1242, + "teal": 4670, + "source": 1256, "pc": [ 4572 ] }, { - "teal": 4641, - "source": 1242, + "teal": 4671, + "source": 1256, "pc": [ 4573, 4574 ] }, { - "teal": 4642, - "source": 1242, + "teal": 4684, + "source": 1265, "pc": [ 4575 ] }, { - "teal": 4643, - "source": 1242, + "teal": 4685, + "source": 1265, "pc": [ 4576 ] }, { - "teal": 4644, - "source": 1242, + "teal": 4686, + "source": 1265, "pc": [ 4577, 4578 ] }, { - "teal": 4645, - "source": 1242, - "pc": [ - 4579 - ] - }, - { - "teal": 4646, - "source": 1242, + "teal": 4690, + "source": 1265, "pc": [ - 4580, - 4581 + 4579, + 4580 ] }, { - "teal": 4647, - "source": 1242, + "teal": 4691, + "source": 1265, "pc": [ + 4581, 4582 ] }, { - "teal": 4648, - "source": 1242, + "teal": 4692, + "source": 1265, "pc": [ - 4583 + 4583, + 4584 ] }, { - "teal": 4649, - "source": 1242, + "teal": 4693, + "source": 1265, "pc": [ - 4584, 4585 ] }, { - "teal": 4650, - "source": 1242, + "teal": 4694, + "source": 1265, "pc": [ 4586, - 4587, - 4588 + 4587 ] }, { - "teal": 4651, - "source": 1242, + "teal": 4698, + "source": 1265, "pc": [ + 4588, 4589 ] }, { - "teal": 4652, - "source": 1242, - "pc": [ - 4590 - ] - }, - { - "teal": 4653, - "source": 1242, + "teal": 4699, + "source": 1265, "pc": [ + 4590, 4591 ] }, { - "teal": 4654, - "source": 1242, + "teal": 4700, + "source": 1265, "pc": [ - 4592, - 4593 + 4592 ] }, { - "teal": 4655, - "source": 1242, + "teal": 4701, + "source": 1265, "pc": [ + 4593, 4594 ] }, { - "teal": 4660, - "source": 1245, - "pc": [ - 4595, - 4596 - ] - }, - { - "teal": 4661, - "source": 1245, + "teal": 4704, + "source": 1265, "pc": [ - 4597, - 4598, - 4599 + 4595 ] }, { - "teal": 4666, - "source": 1246, + "teal": 4705, + "source": 1265, "pc": [ - 4600, - 4601 + 4596, + 4597 ] }, { - "teal": 4667, - "source": 1246, + "teal": 4706, + "source": 1260, "pc": [ - 4602 + 4598 ] }, { - "teal": 4668, - "source": 1246, + "teal": 4707, + "source": 1260, "pc": [ - 4603 + 4599, + 4600 ] }, { - "teal": 4669, - "source": 1246, + "teal": 4708, + "source": 1260, "pc": [ - 4604 + 4601, + 4602 ] }, { - "teal": 4670, - "source": 1246, + "teal": 4709, + "source": 1260, "pc": [ + 4603, + 4604, 4605, - 4606 - ] - }, - { - "teal": 4671, - "source": 1246, - "pc": [ + 4606, 4607, - 4608, - 4609 + 4608 ] }, { - "teal": 4672, - "source": 1246, + "teal": 4710, + "source": 1260, "pc": [ + 4609, 4610 ] }, { - "teal": 4673, - "source": 1246, - "pc": [ - 4611 - ] - }, - { - "teal": 4674, - "source": 1246, + "teal": 4714, + "source": 1261, "pc": [ + 4611, 4612 ] }, { - "teal": 4675, - "source": 1246, + "teal": 4715, + "source": 1261, "pc": [ 4613, 4614 ] }, { - "teal": 4676, - "source": 1246, - "pc": [ - 4615 - ] - }, - { - "teal": 4677, - "source": 1246, + "teal": 4725, + "source": 1267, "pc": [ + 4615, 4616 ] }, { - "teal": 4678, - "source": 1246, - "pc": [ - 4617 - ] - }, - { - "teal": 4679, - "source": 1246, + "teal": 4726, + "source": 1267, "pc": [ + 4617, 4618 ] }, { - "teal": 4680, - "source": 1246, + "teal": 4727, + "source": 1267, "pc": [ - 4619 + 4619, + 4620 ] }, { - "teal": 4681, - "source": 1246, + "teal": 4730, + "source": 1260, "pc": [ - 4620 + 4621 ] }, { - "teal": 4682, - "source": 1246, + "teal": 4731, + "source": 1260, "pc": [ - 4621, - 4622 + 4622, + 4623 ] }, { - "teal": 4683, - "source": 1246, + "teal": 4734, + "source": 1260, "pc": [ - 4623, - 4624, - 4625 + 4624 ] }, { - "teal": 4684, - "source": 1246, + "teal": 4735, + "source": 1260, "pc": [ + 4625, 4626 ] }, { - "teal": 4685, - "source": 1246, + "teal": 4736, + "source": 1260, "pc": [ 4627 ] }, { - "teal": 4686, - "source": 1246, + "teal": 4737, + "source": 1260, "pc": [ 4628 ] }, { - "teal": 4687, - "source": 1246, + "teal": 4738, + "source": 1260, "pc": [ 4629, 4630 ] }, { - "teal": 4688, - "source": 1246, + "teal": 4739, + "source": 1260, "pc": [ - 4631 + 4631, + 4632, + 4633 ] }, { - "teal": 4694, - "source": 1248, + "teal": 4740, + "source": 1260, "pc": [ - 4632, - 4633 + 4634 ] }, { - "teal": 4695, - "source": 1248, + "teal": 4745, + "source": 1270, "pc": [ - 4634, 4635, 4636 ] }, { - "teal": 4700, - "source": 1249, + "teal": 4746, + "source": 1270, "pc": [ 4637, - 4638 - ] - }, - { - "teal": 4701, - "source": 1249, - "pc": [ + 4638, 4639 ] }, { - "teal": 4702, - "source": 1249, + "teal": 4747, + "source": 1270, "pc": [ 4640 ] }, { - "teal": 4703, - "source": 1249, - "pc": [ - 4641 - ] - }, - { - "teal": 4704, - "source": 1249, + "teal": 4748, + "source": 1270, "pc": [ + 4641, 4642, 4643 ] }, { - "teal": 4705, - "source": 1249, + "teal": 4753, + "source": 1271, "pc": [ 4644 ] }, { - "teal": 4706, - "source": 1249, - "pc": [ - 4645 - ] - }, - { - "teal": 4711, - "source": 1251, + "teal": 4754, + "source": 1271, "pc": [ - 4646, - 4647 + 4645, + 4646 ] }, { - "teal": 4712, - "source": 1251, + "teal": 4755, + "source": 1271, "pc": [ + 4647, 4648 ] }, { - "teal": 4713, - "source": 1251, + "teal": 4756, + "source": 1271, "pc": [ 4649 ] }, { - "teal": 4714, - "source": 1251, + "teal": 4757, + "source": 1271, "pc": [ - 4650 + 4650, + 4651 ] }, { - "teal": 4715, - "source": 1251, + "teal": 4758, + "source": 1271, "pc": [ - 4651, - 4652 + 4652, + 4653 ] }, { - "teal": 4716, - "source": 1251, + "teal": 4759, + "source": 1271, "pc": [ - 4653, - 4654, - 4655 + 4654 ] }, { - "teal": 4717, - "source": 1251, + "teal": 4760, + "source": 1271, "pc": [ + 4655, 4656 ] }, { - "teal": 4718, - "source": 1251, - "pc": [ - 4657 - ] - }, - { - "teal": 4719, - "source": 1251, + "teal": 4761, + "source": 1271, "pc": [ + 4657, 4658 ] }, { - "teal": 4720, - "source": 1251, + "teal": 4762, + "source": 1271, "pc": [ 4659, 4660 ] }, { - "teal": 4721, - "source": 1251, + "teal": 4763, + "source": 1271, "pc": [ - 4661 + 4661, + 4662 ] }, { - "teal": 4722, - "source": 1251, + "teal": 4764, + "source": 1271, "pc": [ - 4662 + 4663 ] }, { - "teal": 4723, - "source": 1251, + "teal": 4769, + "source": 1275, "pc": [ - 4663, - 4664 + 4664, + 4665 ] }, { - "teal": 4724, - "source": 1251, + "teal": 4770, + "source": 1275, "pc": [ - 4665, - 4666 + 4666, + 4667 ] }, { - "teal": 4725, - "source": 1251, + "teal": 4771, + "source": 1275, "pc": [ - 4667, 4668 ] }, { - "teal": 4726, - "source": 1251, + "teal": 4774, + "source": 1275, + "errorMessage": "global state value does not exist: AppID.fromUint64(poolAppId).globalState('numStakers')", "pc": [ 4669 ] }, { - "teal": 4727, - "source": 1251, - "pc": [ - 4670 - ] - }, - { - "teal": 4728, - "source": 1251, + "teal": 4775, + "source": 1275, "pc": [ + 4670, 4671 ] }, { - "teal": 4729, - "source": 1251, + "teal": 4779, + "source": 1276, "pc": [ - 4672 + 4672, + 4673 ] }, { - "teal": 4730, - "source": 1251, + "teal": 4780, + "source": 1276, "pc": [ - 4673, - 4674 + 4674, + 4675 ] }, { - "teal": 4731, - "source": 1251, + "teal": 4781, + "source": 1276, "pc": [ - 4675, - 4676, - 4677 + 4676 ] }, { - "teal": 4732, - "source": 1251, + "teal": 4784, + "source": 1276, + "errorMessage": "global state value does not exist: AppID.fromUint64(poolAppId).globalState('staked')", "pc": [ - 4678 + 4677 ] }, { - "teal": 4733, - "source": 1251, + "teal": 4785, + "source": 1276, "pc": [ + 4678, 4679 ] }, { - "teal": 4734, - "source": 1251, + "teal": 4789, + "source": 1277, "pc": [ - 4680 + 4680, + 4681 ] }, { - "teal": 4735, - "source": 1251, + "teal": 4790, + "source": 1277, "pc": [ - 4681, - 4682 + 4682, + 4683 ] }, { - "teal": 4736, - "source": 1251, + "teal": 4791, + "source": 1277, "pc": [ - 4683 + 4684, + 4685, + 4686 ] }, { - "teal": 4740, - "source": 1252, + "teal": 4792, + "source": 1277, "pc": [ - 4684, - 4685 + 4687 ] }, { - "teal": 4741, - "source": 1252, + "teal": 4793, + "source": 1277, "pc": [ - 4686 + 4688 ] }, { - "teal": 4742, - "source": 1252, + "teal": 4794, + "source": 1277, "pc": [ - 4687, - 4688 + 4689 ] }, { - "teal": 4743, - "source": 1252, + "teal": 4795, + "source": 1277, "pc": [ - 4689, - 4690 + 4690, + 4691 ] }, { - "teal": 4744, - "source": 1252, + "teal": 4796, + "source": 1277, "pc": [ - 4691, 4692 ] }, { - "teal": 4745, - "source": 1252, + "teal": 4797, + "source": 1277, "pc": [ 4693 ] }, { - "teal": 4746, - "source": 1252, + "teal": 4798, + "source": 1277, "pc": [ 4694 ] }, { - "teal": 4747, - "source": 1252, + "teal": 4799, + "source": 1277, "pc": [ - 4695, - 4696 + 4695 ] }, { - "teal": 4748, - "source": 1252, + "teal": 4800, + "source": 1277, "pc": [ + 4696, 4697 ] }, { - "teal": 4749, - "source": 1252, + "teal": 4801, + "source": 1277, "pc": [ 4698 ] }, { - "teal": 4750, - "source": 1213, - "pc": [ - 4699 - ] - }, - { - "teal": 4754, - "source": 1255, + "teal": 4802, + "source": 1277, "pc": [ + 4699, 4700, - 4701, - 4702 + 4701 ] }, { - "teal": 4757, - "source": 1255, + "teal": 4803, + "source": 1277, "pc": [ - 4703 + 4702 ] }, { - "teal": 4758, - "source": 1255, + "teal": 4804, + "source": 1277, "pc": [ - 4704, - 4705 + 4703, + 4704 ] }, { - "teal": 4762, - "source": 1256, + "teal": 4805, + "source": 1277, "pc": [ - 4706 + 4705, + 4706, + 4707 ] }, { - "teal": 4763, - "source": 1256, + "teal": 4806, + "source": 1277, "pc": [ - 4707, 4708 ] }, { - "teal": 4764, - "source": 1256, + "teal": 4807, + "source": 1277, "pc": [ 4709 ] }, { - "teal": 4765, - "source": 1256, + "teal": 4808, + "source": 1277, "pc": [ 4710 ] }, { - "teal": 4766, - "source": 1256, - "pc": [ - 4711 - ] - }, - { - "teal": 4767, - "source": 1256, + "teal": 4809, + "source": 1277, "pc": [ + 4711, 4712 ] }, { - "teal": 4768, - "source": 1256, + "teal": 4810, + "source": 1277, "pc": [ 4713 ] }, { - "teal": 4772, - "source": 1258, - "pc": [ - 4714 - ] - }, - { - "teal": 4773, - "source": 1258, + "teal": 4814, + "source": 1278, "pc": [ - 4715, - 4716 + 4714, + 4715 ] }, { - "teal": 4774, - "source": 1258, + "teal": 4815, + "source": 1278, "pc": [ + 4716, 4717 ] }, { - "teal": 4775, - "source": 1258, + "teal": 4816, + "source": 1278, "pc": [ - 4718 + 4718, + 4719, + 4720 ] }, { - "teal": 4778, - "source": 1258, - "errorMessage": "box value does not exist: this.stakerPoolSet(staker).value", + "teal": 4817, + "source": 1278, "pc": [ - 4719 + 4721 ] }, { - "teal": 4779, - "source": 1258, + "teal": 4818, + "source": 1278, "pc": [ - 4720, - 4721 + 4722 ] }, { - "teal": 4783, - "source": 1259, + "teal": 4819, + "source": 1278, "pc": [ - 4722 + 4723 ] }, { - "teal": 4784, - "source": 1259, + "teal": 4820, + "source": 1278, "pc": [ - 4723, - 4724 + 4724, + 4725 ] }, { - "teal": 4788, - "source": 1260, + "teal": 4821, + "source": 1278, "pc": [ - 4725 + 4726 ] }, { - "teal": 4789, - "source": 1260, + "teal": 4822, + "source": 1278, "pc": [ - 4726, 4727 ] }, { - "teal": 4794, - "source": 1260, + "teal": 4823, + "source": 1278, "pc": [ 4728, 4729 ] }, { - "teal": 4795, - "source": 1260, + "teal": 4824, + "source": 1278, "pc": [ - 4730, - 4731 + 4730 ] }, { - "teal": 4796, - "source": 1260, + "teal": 4825, + "source": 1278, "pc": [ + 4731, 4732 ] }, { - "teal": 4797, - "source": 1260, + "teal": 4826, + "source": 1278, "pc": [ - 4733, - 4734, - 4735 + 4733 ] }, { - "teal": 4802, - "source": 1261, + "teal": 4827, + "source": 1278, "pc": [ - 4736, - 4737 + 4734 ] }, { - "teal": 4803, - "source": 1261, + "teal": 4828, + "source": 1278, + "pc": [ + 4735, + 4736 + ] + }, + { + "teal": 4829, + "source": 1278, "pc": [ + 4737, 4738, 4739 ] }, { - "teal": 4804, - "source": 1261, + "teal": 4830, + "source": 1278, "pc": [ 4740 ] }, { - "teal": 4805, - "source": 1261, + "teal": 4831, + "source": 1278, "pc": [ 4741 ] }, { - "teal": 4806, - "source": 1261, + "teal": 4832, + "source": 1278, "pc": [ 4742 ] }, { - "teal": 4807, - "source": 1261, + "teal": 4833, + "source": 1278, "pc": [ - 4743 + 4743, + 4744 ] }, { - "teal": 4808, - "source": 1261, + "teal": 4834, + "source": 1278, "pc": [ - 4744, 4745 ] }, { - "teal": 4809, - "source": 1261, + "teal": 4839, + "source": 1281, "pc": [ - 4746 + 4746, + 4747 ] }, { - "teal": 4810, - "source": 1261, + "teal": 4840, + "source": 1281, "pc": [ - 4747, 4748, - 4749 - ] - }, - { - "teal": 4815, - "source": 1263, - "pc": [ + 4749, 4750 ] }, { - "teal": 4821, - "source": 1265, + "teal": 4845, + "source": 1282, "pc": [ 4751, 4752 ] }, { - "teal": 4822, - "source": 1265, + "teal": 4846, + "source": 1282, "pc": [ 4753 ] }, { - "teal": 4823, - "source": 1265, + "teal": 4847, + "source": 1282, "pc": [ 4754 ] }, { - "teal": 4824, - "source": 1265, + "teal": 4848, + "source": 1282, "pc": [ 4755 ] }, { - "teal": 4825, - "source": 1265, + "teal": 4849, + "source": 1282, "pc": [ 4756, - 4757, - 4758 + 4757 ] }, { - "teal": 4826, - "source": 1265, + "teal": 4850, + "source": 1282, "pc": [ + 4758, 4759, 4760 ] }, { - "teal": 4827, - "source": 1265, + "teal": 4851, + "source": 1282, "pc": [ - 4761, - 4762 + 4761 ] }, { - "teal": 4828, - "source": 1265, + "teal": 4852, + "source": 1282, "pc": [ - 4763 + 4762 ] }, { - "teal": 4829, - "source": 1265, + "teal": 4853, + "source": 1282, "pc": [ - 4764 + 4763 ] }, { - "teal": 4830, - "source": 1265, + "teal": 4854, + "source": 1282, "pc": [ + 4764, 4765 ] }, { - "teal": 4831, - "source": 1265, + "teal": 4855, + "source": 1282, "pc": [ 4766 ] }, { - "teal": 4832, - "source": 1265, + "teal": 4856, + "source": 1282, "pc": [ 4767 ] }, { - "teal": 4833, - "source": 1265, + "teal": 4857, + "source": 1282, "pc": [ 4768 ] }, { - "teal": 4834, - "source": 1265, + "teal": 4858, + "source": 1282, "pc": [ 4769 ] }, { - "teal": 4835, - "source": 1265, + "teal": 4859, + "source": 1282, "pc": [ 4770 ] }, { - "teal": 4836, - "source": 1265, + "teal": 4860, + "source": 1282, "pc": [ 4771 ] }, { - "teal": 4837, - "source": 1265, + "teal": 4861, + "source": 1282, "pc": [ - 4772 + 4772, + 4773 ] }, { - "teal": 4840, - "source": 1265, + "teal": 4862, + "source": 1282, "pc": [ - 4773, 4774, - 4775 + 4775, + 4776 ] }, { - "teal": 4845, - "source": 1266, + "teal": 4863, + "source": 1282, "pc": [ - 4776, 4777 ] }, { - "teal": 4846, - "source": 1266, + "teal": 4864, + "source": 1282, "pc": [ 4778 ] }, { - "teal": 4847, - "source": 1266, + "teal": 4865, + "source": 1282, "pc": [ 4779 ] }, { - "teal": 4848, - "source": 1266, + "teal": 4866, + "source": 1282, "pc": [ 4780, 4781 ] }, { - "teal": 4855, - "source": 1260, + "teal": 4867, + "source": 1282, "pc": [ - 4782, - 4783 + 4782 ] }, { - "teal": 4856, - "source": 1260, + "teal": 4873, + "source": 1284, "pc": [ + 4783, 4784 ] }, { - "teal": 4857, - "source": 1260, + "teal": 4874, + "source": 1284, "pc": [ - 4785 + 4785, + 4786, + 4787 ] }, { - "teal": 4858, - "source": 1260, + "teal": 4879, + "source": 1285, "pc": [ - 4786, - 4787 + 4788, + 4789 ] }, { - "teal": 4859, - "source": 1260, + "teal": 4880, + "source": 1285, "pc": [ - 4788, - 4789, 4790 ] }, { - "teal": 4865, - "source": 1269, + "teal": 4881, + "source": 1285, "pc": [ - 4791, - 4792 + 4791 ] }, { - "teal": 4866, - "source": 1269, + "teal": 4882, + "source": 1285, "pc": [ - 4793 + 4792 ] }, { - "teal": 4867, - "source": 1269, + "teal": 4883, + "source": 1285, "pc": [ + 4793, 4794 ] }, { - "teal": 4868, - "source": 1269, + "teal": 4884, + "source": 1285, "pc": [ - 4795, - 4796, - 4797 + 4795 ] }, { - "teal": 4872, - "source": 1270, - "errorMessage": "No empty slot available in the staker pool set", + "teal": 4885, + "source": 1285, "pc": [ - 4798 + 4796 ] }, { - "teal": 4877, - "source": 1272, + "teal": 4890, + "source": 1287, "pc": [ - 4799, - 4800 + 4797, + 4798 ] }, { - "teal": 4878, - "source": 1272, + "teal": 4891, + "source": 1287, "pc": [ - 4801 + 4799 ] }, { - "teal": 4879, - "source": 1272, + "teal": 4892, + "source": 1287, "pc": [ - 4802 + 4800 ] }, { - "teal": 4880, - "source": 1272, + "teal": 4893, + "source": 1287, "pc": [ - 4803 + 4801 ] }, { - "teal": 4881, - "source": 1272, + "teal": 4894, + "source": 1287, "pc": [ - 4804 + 4802, + 4803 ] }, { - "teal": 4882, - "source": 1272, + "teal": 4895, + "source": 1287, "pc": [ + 4804, 4805, 4806 ] }, { - "teal": 4883, - "source": 1272, + "teal": 4896, + "source": 1287, "pc": [ 4807 ] }, { - "teal": 4884, - "source": 1272, + "teal": 4897, + "source": 1287, + "pc": [ + 4808 + ] + }, + { + "teal": 4898, + "source": 1287, "pc": [ - 4808, 4809 ] }, { - "teal": 4885, - "source": 1272, + "teal": 4899, + "source": 1287, "pc": [ - 4810 + 4810, + 4811 ] }, { - "teal": 4886, - "source": 1272, + "teal": 4900, + "source": 1287, "pc": [ - 4811, 4812 ] }, { - "teal": 4887, - "source": 1272, + "teal": 4901, + "source": 1287, "pc": [ 4813 ] }, { - "teal": 4888, - "source": 1255, + "teal": 4902, + "source": 1287, "pc": [ - 4814 + 4814, + 4815 ] }, { - "teal": 4899, - "source": 1283, + "teal": 4903, + "source": 1287, "pc": [ - 4815, 4816, 4817 ] }, { - "teal": 4902, - "source": 1283, + "teal": 4904, + "source": 1287, "pc": [ - 4818 + 4818, + 4819 ] }, { - "teal": 4903, - "source": 1283, + "teal": 4905, + "source": 1287, "pc": [ - 4819, 4820 ] }, { - "teal": 4907, - "source": 1285, + "teal": 4906, + "source": 1287, "pc": [ 4821 ] }, { - "teal": 4908, - "source": 1285, + "teal": 4907, + "source": 1287, "pc": [ - 4822, - 4823 + 4822 ] }, { - "teal": 4912, - "source": 1286, + "teal": 4908, + "source": 1287, "pc": [ - 4824 + 4823 ] }, { - "teal": 4913, - "source": 1286, + "teal": 4909, + "source": 1287, "pc": [ - 4825, - 4826 + 4824, + 4825 ] }, { - "teal": 4917, + "teal": 4910, "source": 1287, "pc": [ - 4827 + 4826, + 4827, + 4828 ] }, { - "teal": 4918, + "teal": 4911, "source": 1287, "pc": [ - 4828, 4829 ] }, { - "teal": 4922, - "source": 1289, + "teal": 4912, + "source": 1287, "pc": [ 4830 ] }, { - "teal": 4923, - "source": 1289, + "teal": 4913, + "source": 1287, "pc": [ - 4831, - 4832 + 4831 ] }, { - "teal": 4924, - "source": 1289, + "teal": 4914, + "source": 1287, "pc": [ + 4832, 4833 ] }, { - "teal": 4925, - "source": 1289, + "teal": 4915, + "source": 1287, "pc": [ 4834 ] }, { - "teal": 4928, - "source": 1289, - "errorMessage": "box value does not exist: this.stakerPoolSet(staker).value", + "teal": 4919, + "source": 1288, "pc": [ - 4835 + 4835, + 4836 ] }, { - "teal": 4929, - "source": 1289, + "teal": 4920, + "source": 1288, "pc": [ - 4836, 4837 ] }, { - "teal": 4933, - "source": 1290, + "teal": 4921, + "source": 1288, "pc": [ - 4838 + 4838, + 4839 ] }, { - "teal": 4934, - "source": 1290, + "teal": 4922, + "source": 1288, "pc": [ - 4839, - 4840 + 4840, + 4841 ] }, { - "teal": 4939, - "source": 1290, + "teal": 4923, + "source": 1288, "pc": [ - 4841, - 4842 + 4842, + 4843 ] }, { - "teal": 4940, - "source": 1290, + "teal": 4924, + "source": 1288, "pc": [ - 4843, 4844 ] }, { - "teal": 4941, - "source": 1290, + "teal": 4925, + "source": 1288, "pc": [ 4845 ] }, { - "teal": 4942, - "source": 1290, + "teal": 4926, + "source": 1288, "pc": [ 4846, - 4847, + 4847 + ] + }, + { + "teal": 4927, + "source": 1288, + "pc": [ 4848 ] }, { - "teal": 4947, - "source": 1291, + "teal": 4928, + "source": 1288, "pc": [ - 4849, - 4850 + 4849 ] }, { - "teal": 4948, - "source": 1291, + "teal": 4929, + "source": 1249, "pc": [ - 4851, - 4852 + 4850 ] }, { - "teal": 4949, + "teal": 4933, "source": 1291, "pc": [ + 4851, + 4852, 4853 ] }, { - "teal": 4950, + "teal": 4936, "source": 1291, "pc": [ 4854 ] }, { - "teal": 4951, + "teal": 4937, "source": 1291, "pc": [ - 4855 + 4855, + 4856 ] }, { - "teal": 4952, - "source": 1291, + "teal": 4941, + "source": 1292, "pc": [ - 4856 + 4857 ] }, { - "teal": 4953, - "source": 1291, + "teal": 4942, + "source": 1292, "pc": [ - 4857 + 4858, + 4859 ] }, { - "teal": 4954, - "source": 1291, + "teal": 4943, + "source": 1292, "pc": [ - 4858 + 4860 ] }, { - "teal": 4955, - "source": 1291, + "teal": 4944, + "source": 1292, "pc": [ - 4859 + 4861 ] }, { - "teal": 4956, - "source": 1291, + "teal": 4945, + "source": 1292, "pc": [ - 4860 + 4862 ] }, { - "teal": 4957, - "source": 1291, + "teal": 4946, + "source": 1292, "pc": [ - 4861 + 4863 ] }, { - "teal": 4958, - "source": 1291, + "teal": 4947, + "source": 1292, "pc": [ - 4862, - 4863, 4864 ] }, { - "teal": 4961, - "source": 1292, + "teal": 4951, + "source": 1294, + "pc": [ + 4865 + ] + }, + { + "teal": 4952, + "source": 1294, "pc": [ - 4865, 4866, 4867 ] }, { - "teal": 4966, + "teal": 4953, + "source": 1294, + "pc": [ + 4868 + ] + }, + { + "teal": 4954, "source": 1294, "pc": [ - 4868, 4869 ] }, { - "teal": 4967, + "teal": 4957, "source": 1294, + "errorMessage": "box value does not exist: this.stakerPoolSet(staker).value", "pc": [ 4870 ] }, { - "teal": 4968, + "teal": 4958, "source": 1294, "pc": [ - 4871 + 4871, + 4872 ] }, { - "teal": 4969, - "source": 1294, + "teal": 4962, + "source": 1295, "pc": [ - 4872, 4873 ] }, { - "teal": 4974, + "teal": 4963, "source": 1295, "pc": [ 4874, @@ -22372,1633 +22361,1616 @@ ] }, { - "teal": 4975, - "source": 1295, + "teal": 4967, + "source": 1296, "pc": [ - 4876, - 4877 + 4876 ] }, { - "teal": 4976, - "source": 1295, + "teal": 4968, + "source": 1296, "pc": [ + 4877, 4878 ] }, { - "teal": 4977, - "source": 1295, + "teal": 4973, + "source": 1296, "pc": [ - 4879 + 4879, + 4880 ] }, { - "teal": 4978, - "source": 1295, + "teal": 4974, + "source": 1296, "pc": [ - 4880 + 4881, + 4882 ] }, { - "teal": 4979, - "source": 1295, + "teal": 4975, + "source": 1296, "pc": [ - 4881 + 4883 ] }, { - "teal": 4980, - "source": 1295, + "teal": 4976, + "source": 1296, "pc": [ - 4882 + 4884, + 4885, + 4886 ] }, { "teal": 4981, - "source": 1295, + "source": 1297, "pc": [ - 4883 + 4887, + 4888 ] }, { "teal": 4982, - "source": 1295, + "source": 1297, "pc": [ - 4884 + 4889, + 4890 ] }, { "teal": 4983, - "source": 1295, + "source": 1297, "pc": [ - 4885, - 4886 + 4891 ] }, { "teal": 4984, - "source": 1295, + "source": 1297, "pc": [ - 4887, - 4888, - 4889 + 4892 ] }, { "teal": 4985, - "source": 1295, + "source": 1297, "pc": [ - 4890 + 4893 ] }, { "teal": 4986, - "source": 1295, - "pc": [ - 4891 - ] - }, - { - "teal": 4987, - "source": 1295, + "source": 1297, "pc": [ - 4892, - 4893, 4894 ] }, { - "teal": 4993, - "source": 1296, + "teal": 4987, + "source": 1297, "pc": [ 4895, 4896 ] }, { - "teal": 4994, - "source": 1296, - "pc": [ - 4897, - 4898 - ] - }, - { - "teal": 4995, - "source": 1296, + "teal": 4988, + "source": 1297, "pc": [ - 4899 + 4897 ] }, { - "teal": 4996, - "source": 1296, + "teal": 4989, + "source": 1297, "pc": [ + 4898, + 4899, 4900 ] }, { - "teal": 4997, - "source": 1296, + "teal": 4994, + "source": 1299, "pc": [ 4901 ] }, { - "teal": 4998, - "source": 1296, + "teal": 5000, + "source": 1301, "pc": [ - 4902 + 4902, + 4903 ] }, { - "teal": 4999, - "source": 1296, + "teal": 5001, + "source": 1301, "pc": [ - 4903, 4904 ] }, { - "teal": 5000, - "source": 1296, + "teal": 5002, + "source": 1301, "pc": [ 4905 ] }, { - "teal": 5001, - "source": 1296, + "teal": 5003, + "source": 1301, "pc": [ - 4906, - 4907, - 4908 + 4906 ] }, { - "teal": 5006, - "source": 1297, + "teal": 5004, + "source": 1301, "pc": [ + 4907, + 4908, 4909 ] }, { - "teal": 5007, - "source": 1297, + "teal": 5005, + "source": 1301, "pc": [ 4910, 4911 ] }, { - "teal": 5011, - "source": 1299, + "teal": 5006, + "source": 1301, "pc": [ 4912, 4913 ] }, { - "teal": 5012, - "source": 1299, + "teal": 5007, + "source": 1301, "pc": [ 4914 ] }, { - "teal": 5013, - "source": 1299, + "teal": 5008, + "source": 1301, "pc": [ 4915 ] }, { - "teal": 5014, - "source": 1299, + "teal": 5009, + "source": 1301, "pc": [ - 4916, - 4917, - 4918, - 4919, - 4920, - 4921, - 4922, - 4923, - 4924, - 4925, - 4926, - 4927, - 4928, - 4929, - 4930, - 4931, - 4932, - 4933, - 4934, - 4935, - 4936, - 4937, - 4938, - 4939, - 4940, - 4941 + 4916 ] }, { - "teal": 5015, - "source": 1299, + "teal": 5010, + "source": 1301, "pc": [ - 4942 + 4917 ] }, { - "teal": 5016, - "source": 1299, + "teal": 5011, + "source": 1301, "pc": [ - 4943, - 4944 + 4918 ] }, { - "teal": 5017, - "source": 1299, + "teal": 5012, + "source": 1301, "pc": [ - 4945 + 4919 ] }, { - "teal": 5018, - "source": 1299, + "teal": 5013, + "source": 1301, "pc": [ - 4946, - 4947 + 4920 ] }, { - "teal": 5019, - "source": 1299, + "teal": 5014, + "source": 1301, "pc": [ - 4948 + 4921 ] }, { - "teal": 5020, - "source": 1296, + "teal": 5015, + "source": 1301, "pc": [ - 4949, - 4950, - 4951 + 4922 ] }, { - "teal": 5025, + "teal": 5016, "source": 1301, "pc": [ - 4952, - 4953 + 4923 ] }, { - "teal": 5026, + "teal": 5019, "source": 1301, "pc": [ - 4954 + 4924, + 4925, + 4926 ] }, { - "teal": 5027, - "source": 1301, + "teal": 5024, + "source": 1302, "pc": [ - 4955 + 4927, + 4928 ] }, { - "teal": 5028, - "source": 1301, + "teal": 5025, + "source": 1302, "pc": [ - 4956, - 4957 + 4929 ] }, { - "teal": 5037, - "source": 1290, + "teal": 5026, + "source": 1302, "pc": [ - 4958, - 4959 + 4930 ] }, { - "teal": 5038, - "source": 1290, + "teal": 5027, + "source": 1302, "pc": [ - 4960 + 4931, + 4932 ] }, { - "teal": 5039, - "source": 1290, + "teal": 5034, + "source": 1296, "pc": [ - 4961 + 4933, + 4934 ] }, { - "teal": 5040, - "source": 1290, + "teal": 5035, + "source": 1296, "pc": [ - 4962, - 4963 + 4935 ] }, { - "teal": 5041, - "source": 1290, + "teal": 5036, + "source": 1296, "pc": [ - 4964, - 4965, - 4966 + 4936 ] }, { - "teal": 5047, - "source": 1305, - "pc": [ - 4967, - 4968 + "teal": 5037, + "source": 1296, + "pc": [ + 4937, + 4938 + ] + }, + { + "teal": 5038, + "source": 1296, + "pc": [ + 4939, + 4940, + 4941 ] }, { - "teal": 5048, + "teal": 5044, "source": 1305, "pc": [ - 4969 + 4942, + 4943 ] }, { - "teal": 5049, + "teal": 5045, "source": 1305, "pc": [ - 4970, - 4971, - 4972 + 4944 + ] + }, + { + "teal": 5046, + "source": 1305, + "pc": [ + 4945 + ] + }, + { + "teal": 5047, + "source": 1305, + "pc": [ + 4946, + 4947, + 4948 ] }, { - "teal": 5053, + "teal": 5051, "source": 1306, - "errorMessage": "No matching slot found when told to remove a pool from the stakers set", + "errorMessage": "No empty slot available in the staker pool set", + "pc": [ + 4949 + ] + }, + { + "teal": 5056, + "source": 1308, + "pc": [ + 4950, + 4951 + ] + }, + { + "teal": 5057, + "source": 1308, "pc": [ - 4973 + 4952 ] }, { "teal": 5058, - "source": 1309, + "source": 1308, "pc": [ - 4974, - 4975 + 4953 ] }, { "teal": 5059, - "source": 1309, + "source": 1308, "pc": [ - 4976 + 4954 ] }, { "teal": 5060, - "source": 1309, + "source": 1308, "pc": [ - 4977, - 4978 + 4955 ] }, { "teal": 5061, - "source": 1309, + "source": 1308, "pc": [ - 4979 + 4956, + 4957 ] }, { "teal": 5062, - "source": 1309, + "source": 1308, "pc": [ - 4980 + 4958 ] }, { "teal": 5063, - "source": 1309, + "source": 1308, "pc": [ - 4981 + 4959, + 4960 ] }, { "teal": 5064, - "source": 1309, + "source": 1308, "pc": [ - 4982 + 4961 ] }, { "teal": 5065, - "source": 1309, + "source": 1308, "pc": [ - 4983, - 4984 + 4962, + 4963 ] }, { "teal": 5066, - "source": 1309, + "source": 1308, "pc": [ - 4985 + 4964 ] }, { "teal": 5067, - "source": 1309, + "source": 1291, "pc": [ - 4986 + 4965 ] }, { - "teal": 5068, - "source": 1309, + "teal": 5078, + "source": 1319, "pc": [ - 4987 + 4966, + 4967, + 4968 ] }, { - "teal": 5071, - "source": 1283, + "teal": 5081, + "source": 1319, "pc": [ - 4988, - 4989 + 4969 ] }, { - "teal": 5074, - "source": 1283, + "teal": 5082, + "source": 1319, "pc": [ - 4990, - 4991 + 4970, + 4971 ] }, { - "teal": 5075, - "source": 1283, + "teal": 5086, + "source": 1321, "pc": [ - 4992 + 4972 ] }, { - "teal": 5079, - "source": 1312, + "teal": 5087, + "source": 1321, "pc": [ - 4993, - 4994, - 4995 + 4973, + 4974 ] }, { - "teal": 5082, - "source": 1312, + "teal": 5091, + "source": 1322, "pc": [ - 4996 + 4975 ] }, { - "teal": 5083, - "source": 1312, + "teal": 5092, + "source": 1322, "pc": [ - 4997, - 4998 + 4976, + 4977 ] }, { - "teal": 5087, - "source": 1313, + "teal": 5096, + "source": 1323, "pc": [ - 4999, - 5000 + 4978 ] }, { - "teal": 5088, - "source": 1313, + "teal": 5097, + "source": 1323, "pc": [ - 5001, - 5002 + 4979, + 4980 ] }, { - "teal": 5089, - "source": 1313, + "teal": 5101, + "source": 1325, "pc": [ - 5003 + 4981 ] }, { - "teal": 5090, - "source": 1313, + "teal": 5102, + "source": 1325, "pc": [ - 5004, - 5005 + 4982, + 4983 ] }, { - "teal": 5091, - "source": 1313, + "teal": 5103, + "source": 1325, "pc": [ - 5006 + 4984 ] }, { - "teal": 5092, - "source": 1313, + "teal": 5104, + "source": 1325, "pc": [ - 5007 + 4985 ] }, { - "teal": 5093, - "source": 1313, + "teal": 5107, + "source": 1325, + "errorMessage": "box value does not exist: this.stakerPoolSet(staker).value", "pc": [ - 5008, - 5009 + 4986 ] }, { - "teal": 5094, - "source": 1313, + "teal": 5108, + "source": 1325, "pc": [ - 5010 + 4987, + 4988 ] }, { - "teal": 5095, - "source": 1313, + "teal": 5112, + "source": 1326, "pc": [ - 5011, - 5012 + 4989 ] }, { - "teal": 5099, - "source": 1314, + "teal": 5113, + "source": 1326, "pc": [ - 5013, - 5014, - 5015 + 4990, + 4991 ] }, { - "teal": 5100, - "source": 1314, + "teal": 5118, + "source": 1326, "pc": [ - 5016 + 4992, + 4993 ] }, { - "teal": 5101, - "source": 1314, + "teal": 5119, + "source": 1326, "pc": [ - 5017 + 4994, + 4995 ] }, { - "teal": 5102, - "source": 1314, + "teal": 5120, + "source": 1326, "pc": [ - 5018, - 5019 + 4996 ] }, { - "teal": 5103, - "source": 1314, + "teal": 5121, + "source": 1326, "pc": [ - 5020 + 4997, + 4998, + 4999 ] }, { - "teal": 5104, - "source": 1314, + "teal": 5126, + "source": 1327, "pc": [ - 5021 + 5000, + 5001 ] }, { - "teal": 5105, - "source": 1314, + "teal": 5127, + "source": 1327, "pc": [ - 5022, - 5023 + 5002, + 5003 ] }, { - "teal": 5106, - "source": 1314, + "teal": 5128, + "source": 1327, "pc": [ - 5024 + 5004 ] }, { - "teal": 5107, - "source": 1314, + "teal": 5129, + "source": 1327, "pc": [ - 5025 + 5005 ] }, { - "teal": 5108, - "source": 1314, + "teal": 5130, + "source": 1327, "pc": [ - 5026, - 5027 + 5006 ] }, { - "teal": 5112, - "source": 1316, + "teal": 5131, + "source": 1327, "pc": [ - 5028, - 5029 + 5007 ] }, { - "teal": 5113, - "source": 1316, + "teal": 5132, + "source": 1327, "pc": [ - 5030 + 5008 ] }, { - "teal": 5114, - "source": 1316, + "teal": 5133, + "source": 1327, "pc": [ - 5031 + 5009 ] }, { - "teal": 5115, - "source": 1316, + "teal": 5134, + "source": 1327, "pc": [ - 5032 + 5010 ] }, { - "teal": 5116, - "source": 1316, + "teal": 5135, + "source": 1327, "pc": [ - 5033, - 5034, - 5035 + 5011 ] }, { - "teal": 5117, - "source": 1316, + "teal": 5136, + "source": 1327, "pc": [ - 5036, - 5037 + 5012 ] }, { - "teal": 5118, - "source": 1316, + "teal": 5137, + "source": 1327, "pc": [ - 5038 + 5013, + 5014, + 5015 ] }, { - "teal": 5119, - "source": 1316, + "teal": 5140, + "source": 1328, "pc": [ - 5039 + 5016, + 5017, + 5018 ] }, { - "teal": 5120, - "source": 1316, + "teal": 5145, + "source": 1330, "pc": [ - 5040 + 5019, + 5020 ] }, { - "teal": 5124, - "source": 1316, - "errorMessage": "node number not in valid range", + "teal": 5146, + "source": 1330, "pc": [ - 5041 + 5021 ] }, { - "teal": 5128, - "source": 1318, + "teal": 5147, + "source": 1330, "pc": [ - 5042 + 5022 ] }, { - "teal": 5129, - "source": 1318, + "teal": 5148, + "source": 1330, "pc": [ - 5043, - 5044 + 5023, + 5024 ] }, { - "teal": 5134, - "source": 1318, + "teal": 5153, + "source": 1331, "pc": [ - 5045, - 5046 + 5025, + 5026 ] }, { - "teal": 5135, - "source": 1318, + "teal": 5154, + "source": 1331, "pc": [ - 5047, - 5048 + 5027, + 5028 ] }, { - "teal": 5136, - "source": 1318, + "teal": 5155, + "source": 1331, "pc": [ - 5049 + 5029 ] }, { - "teal": 5137, - "source": 1318, + "teal": 5156, + "source": 1331, "pc": [ - 5050, - 5051, - 5052 + 5030 ] }, { - "teal": 5142, - "source": 1319, + "teal": 5157, + "source": 1331, "pc": [ - 5053, - 5054 + 5031 ] }, { - "teal": 5143, - "source": 1319, + "teal": 5158, + "source": 1331, "pc": [ - 5055 + 5032 ] }, { - "teal": 5144, - "source": 1319, + "teal": 5159, + "source": 1331, "pc": [ - 5056, - 5057 + 5033 ] }, { - "teal": 5145, - "source": 1319, + "teal": 5160, + "source": 1331, "pc": [ - 5058 + 5034 ] }, { - "teal": 5146, - "source": 1319, + "teal": 5161, + "source": 1331, "pc": [ - 5059 + 5035 ] }, { - "teal": 5147, - "source": 1319, + "teal": 5162, + "source": 1331, "pc": [ - 5060 + 5036, + 5037 ] }, { - "teal": 5148, - "source": 1319, + "teal": 5163, + "source": 1331, "pc": [ - 5061 + 5038, + 5039, + 5040 ] }, { - "teal": 5149, - "source": 1319, + "teal": 5164, + "source": 1331, "pc": [ - 5062 + 5041 ] }, { - "teal": 5150, - "source": 1319, + "teal": 5165, + "source": 1331, "pc": [ - 5063 + 5042 ] }, { - "teal": 5151, - "source": 1319, + "teal": 5166, + "source": 1331, "pc": [ - 5064 + 5043, + 5044, + 5045 ] }, { - "teal": 5152, - "source": 1319, + "teal": 5172, + "source": 1332, "pc": [ - 5065, - 5066 + 5046, + 5047 ] }, { - "teal": 5153, - "source": 1319, + "teal": 5173, + "source": 1332, "pc": [ - 5067 + 5048, + 5049 ] }, { - "teal": 5154, - "source": 1319, + "teal": 5174, + "source": 1332, "pc": [ - 5068 + 5050 ] }, { - "teal": 5155, - "source": 1319, + "teal": 5175, + "source": 1332, "pc": [ - 5069 + 5051 ] }, { - "teal": 5156, - "source": 1319, + "teal": 5176, + "source": 1332, "pc": [ - 5070 + 5052 ] }, { - "teal": 5157, - "source": 1319, + "teal": 5177, + "source": 1332, "pc": [ - 5071 + 5053 ] }, { - "teal": 5158, - "source": 1319, + "teal": 5178, + "source": 1332, "pc": [ - 5072 + 5054, + 5055 ] }, { - "teal": 5159, - "source": 1319, + "teal": 5179, + "source": 1332, "pc": [ - 5073 + 5056 ] }, { - "teal": 5160, - "source": 1319, - "pc": [ - 5074 - ] - }, - { - "teal": 5161, - "source": 1319, - "pc": [ - 5075, - 5076, - 5077 - ] - }, - { - "teal": 5166, - "source": 1321, - "pc": [ - 5078, - 5079 - ] - }, - { - "teal": 5167, - "source": 1321, - "pc": [ - 5080, - 5081 - ] - }, - { - "teal": 5168, - "source": 1321, - "pc": [ - 5082 - ] - }, - { - "teal": 5169, - "source": 1321, + "teal": 5180, + "source": 1332, "pc": [ - 5083 + 5057, + 5058, + 5059 ] }, { - "teal": 5170, - "source": 1321, + "teal": 5185, + "source": 1333, "pc": [ - 5084 + 5060 ] }, { - "teal": 5171, - "source": 1321, + "teal": 5186, + "source": 1333, "pc": [ - 5085 + 5061, + 5062 ] }, { - "teal": 5172, - "source": 1321, + "teal": 5190, + "source": 1335, "pc": [ - 5086 + 5063, + 5064 ] }, { - "teal": 5173, - "source": 1321, + "teal": 5191, + "source": 1335, "pc": [ - 5087 + 5065 ] }, { - "teal": 5174, - "source": 1321, + "teal": 5192, + "source": 1335, "pc": [ - 5088 + 5066 ] }, { - "teal": 5175, - "source": 1321, + "teal": 5193, + "source": 1335, "pc": [ + 5067, + 5068, + 5069, + 5070, + 5071, + 5072, + 5073, + 5074, + 5075, + 5076, + 5077, + 5078, + 5079, + 5080, + 5081, + 5082, + 5083, + 5084, + 5085, + 5086, + 5087, + 5088, 5089, - 5090 - ] - }, - { - "teal": 5176, - "source": 1321, - "pc": [ - 5091 - ] - }, - { - "teal": 5177, - "source": 1321, - "pc": [ + 5090, + 5091, 5092 ] }, { - "teal": 5178, - "source": 1321, + "teal": 5194, + "source": 1335, "pc": [ 5093 ] }, { - "teal": 5179, - "source": 1321, + "teal": 5195, + "source": 1335, "pc": [ 5094, 5095 ] }, { - "teal": 5180, - "source": 1321, + "teal": 5196, + "source": 1335, "pc": [ 5096 ] }, { - "teal": 5181, - "source": 1321, + "teal": 5197, + "source": 1335, "pc": [ - 5097 + 5097, + 5098 ] }, { - "teal": 5182, - "source": 1321, + "teal": 5198, + "source": 1335, "pc": [ - 5098, 5099 ] }, { - "teal": 5183, - "source": 1321, - "pc": [ - 5100 - ] - }, - { - "teal": 5184, - "source": 1321, - "pc": [ - 5101 - ] - }, - { - "teal": 5185, - "source": 1321, + "teal": 5199, + "source": 1332, "pc": [ - 5102, - 5103 + 5100, + 5101, + 5102 ] }, { - "teal": 5186, - "source": 1321, + "teal": 5204, + "source": 1337, "pc": [ + 5103, 5104 ] }, { - "teal": 5190, - "source": 1322, + "teal": 5205, + "source": 1337, "pc": [ 5105 ] }, { - "teal": 5197, - "source": 1318, + "teal": 5206, + "source": 1337, "pc": [ - 5106, - 5107 + 5106 ] }, { - "teal": 5198, - "source": 1318, + "teal": 5207, + "source": 1337, "pc": [ + 5107, 5108 ] }, { - "teal": 5199, - "source": 1318, + "teal": 5216, + "source": 1326, "pc": [ - 5109 + 5109, + 5110 ] }, { - "teal": 5200, - "source": 1318, + "teal": 5217, + "source": 1326, "pc": [ - 5110, 5111 ] }, { - "teal": 5201, - "source": 1318, + "teal": 5218, + "source": 1326, "pc": [ - 5112, - 5113, - 5114 + 5112 ] }, { - "teal": 5205, - "source": 1325, - "errorMessage": "no available space in specified node for this pool", + "teal": 5219, + "source": 1326, "pc": [ - 5115 + 5113, + 5114 ] }, { - "teal": 5206, - "source": 1312, + "teal": 5220, + "source": 1326, "pc": [ - 5116 + 5115, + 5116, + 5117 ] }, { - "teal": 5216, - "source": 1335, + "teal": 5226, + "source": 1341, "pc": [ - 5117, 5118, 5119 ] }, { - "teal": 5219, - "source": 1335, + "teal": 5227, + "source": 1341, "pc": [ 5120 ] }, { - "teal": 5220, - "source": 1335, + "teal": 5228, + "source": 1341, "pc": [ 5121, - 5122 + 5122, + 5123 ] }, { - "teal": 5224, - "source": 1336, + "teal": 5232, + "source": 1342, + "errorMessage": "No matching slot found when told to remove a pool from the stakers set", "pc": [ - 5123, 5124 ] }, { - "teal": 5225, - "source": 1336, + "teal": 5237, + "source": 1345, "pc": [ - 5125 + 5125, + 5126 ] }, { - "teal": 5226, - "source": 1336, + "teal": 5238, + "source": 1345, "pc": [ - 5126 + 5127 ] }, { - "teal": 5227, - "source": 1336, + "teal": 5239, + "source": 1345, "pc": [ - 5127, - 5128 + 5128, + 5129 ] }, { - "teal": 5228, - "source": 1336, + "teal": 5240, + "source": 1345, "pc": [ - 5129 + 5130 ] }, { - "teal": 5229, - "source": 1336, + "teal": 5241, + "source": 1345, "pc": [ - 5130 + 5131 ] }, { - "teal": 5230, - "source": 1336, + "teal": 5242, + "source": 1345, "pc": [ - 5131, 5132 ] }, { - "teal": 5231, - "source": 1336, + "teal": 5243, + "source": 1345, "pc": [ 5133 ] }, { - "teal": 5232, - "source": 1336, + "teal": 5244, + "source": 1345, "pc": [ - 5134 + 5134, + 5135 ] }, { - "teal": 5233, - "source": 1336, + "teal": 5245, + "source": 1345, "pc": [ - 5135, 5136 ] }, { - "teal": 5238, - "source": 1337, + "teal": 5246, + "source": 1345, "pc": [ - 5137, - 5138 + 5137 ] }, { - "teal": 5239, - "source": 1337, + "teal": 5247, + "source": 1345, "pc": [ - 5139 + 5138 ] }, { - "teal": 5240, - "source": 1337, + "teal": 5250, + "source": 1319, "pc": [ + 5139, 5140 ] }, { - "teal": 5241, - "source": 1337, + "teal": 5253, + "source": 1319, "pc": [ 5141, - 5142, - 5143 + 5142 ] }, { - "teal": 5246, - "source": 1338, + "teal": 5254, + "source": 1319, "pc": [ - 5144 + 5143 ] }, { - "teal": 5251, - "source": 1340, + "teal": 5258, + "source": 1348, "pc": [ + 5144, 5145, 5146 ] }, { - "teal": 5252, - "source": 1340, + "teal": 5261, + "source": 1348, "pc": [ - 5147, - 5148 + 5147 ] }, { - "teal": 5256, - "source": 1341, + "teal": 5262, + "source": 1348, "pc": [ + 5148, 5149 ] }, { - "teal": 5257, - "source": 1341, + "teal": 5266, + "source": 1349, "pc": [ 5150, 5151 ] }, { - "teal": 5258, - "source": 1341, + "teal": 5267, + "source": 1349, "pc": [ - 5152 + 5152, + 5153 ] }, { - "teal": 5259, - "source": 1341, + "teal": 5268, + "source": 1349, "pc": [ - 5153, 5154 ] }, { - "teal": 5260, - "source": 1341, + "teal": 5269, + "source": 1349, "pc": [ - 5155 + 5155, + 5156 ] }, { - "teal": 5261, - "source": 1341, + "teal": 5270, + "source": 1349, "pc": [ - 5156 + 5157 ] }, { - "teal": 5262, - "source": 1341, + "teal": 5271, + "source": 1349, "pc": [ - 5157, 5158 ] }, { - "teal": 5263, - "source": 1341, + "teal": 5272, + "source": 1349, "pc": [ - 5159 + 5159, + 5160 ] }, { - "teal": 5264, - "source": 1341, + "teal": 5273, + "source": 1349, "pc": [ - 5160, 5161 ] }, { - "teal": 5271, - "source": 1345, + "teal": 5274, + "source": 1349, "pc": [ 5162, 5163 ] }, { - "teal": 5272, - "source": 1345, + "teal": 5278, + "source": 1350, "pc": [ - 5164 + 5164, + 5165, + 5166 ] }, { - "teal": 5273, - "source": 1345, + "teal": 5279, + "source": 1350, "pc": [ - 5165 + 5167 ] }, { - "teal": 5274, - "source": 1345, + "teal": 5280, + "source": 1350, "pc": [ - 5166 + 5168 ] }, { - "teal": 5275, - "source": 1345, + "teal": 5281, + "source": 1350, "pc": [ - 5167, - 5168, - 5169 + 5169, + 5170 ] }, { - "teal": 5276, - "source": 1346, + "teal": 5282, + "source": 1350, "pc": [ - 5170, 5171 ] }, { - "teal": 5277, - "source": 1346, + "teal": 5283, + "source": 1350, "pc": [ - 5172, - 5173 + 5172 ] }, { - "teal": 5278, - "source": 1346, + "teal": 5284, + "source": 1350, "pc": [ + 5173, 5174 ] }, { - "teal": 5279, - "source": 1345, + "teal": 5285, + "source": 1350, "pc": [ 5175 ] }, { - "teal": 5282, - "source": 1346, + "teal": 5286, + "source": 1350, "pc": [ 5176 ] }, { - "teal": 5283, - "source": 1346, + "teal": 5287, + "source": 1350, "pc": [ 5177, - 5178, - 5179 + 5178 ] }, { - "teal": 5284, - "source": 1347, + "teal": 5291, + "source": 1352, "pc": [ - 5180, - 5181 + 5179, + 5180 ] }, { - "teal": 5285, - "source": 1347, + "teal": 5292, + "source": 1352, "pc": [ - 5182, - 5183 + 5181 ] }, { - "teal": 5286, - "source": 1347, + "teal": 5293, + "source": 1352, "pc": [ - 5184 + 5182 ] }, { - "teal": 5287, - "source": 1346, + "teal": 5294, + "source": 1352, "pc": [ - 5185 + 5183 ] }, { - "teal": 5290, - "source": 1344, - "pc": [ - 5186, + "teal": 5295, + "source": 1352, + "pc": [ + 5184, + 5185, + 5186 + ] + }, + { + "teal": 5296, + "source": 1352, + "pc": [ 5187, 5188 ] }, { - "teal": 5295, - "source": 1349, + "teal": 5297, + "source": 1352, + "pc": [ + 5189 + ] + }, + { + "teal": 5298, + "source": 1352, "pc": [ - 5189, 5190 ] }, { - "teal": 5296, - "source": 1349, + "teal": 5299, + "source": 1352, "pc": [ 5191 ] }, { - "teal": 5297, - "source": 1349, + "teal": 5303, + "source": 1352, + "errorMessage": "node number not in valid range", "pc": [ 5192 ] }, { - "teal": 5298, - "source": 1349, + "teal": 5307, + "source": 1354, "pc": [ 5193 ] }, { - "teal": 5302, - "source": 1350, + "teal": 5308, + "source": 1354, "pc": [ 5194, 5195 ] }, { - "teal": 5303, - "source": 1350, - "pc": [ - 5196 - ] - }, - { - "teal": 5304, - "source": 1350, + "teal": 5313, + "source": 1354, "pc": [ + 5196, 5197 ] }, { - "teal": 5305, - "source": 1350, + "teal": 5314, + "source": 1354, "pc": [ 5198, 5199 ] }, { - "teal": 5306, - "source": 1350, + "teal": 5315, + "source": 1354, "pc": [ 5200 ] }, { - "teal": 5307, - "source": 1350, - "pc": [ - 5201 - ] - }, - { - "teal": 5308, - "source": 1350, + "teal": 5316, + "source": 1354, "pc": [ + 5201, 5202, 5203 ] }, { - "teal": 5309, - "source": 1350, + "teal": 5321, + "source": 1355, "pc": [ - 5204 + 5204, + 5205 ] }, { - "teal": 5310, - "source": 1350, + "teal": 5322, + "source": 1355, "pc": [ - 5205 + 5206 ] }, { - "teal": 5311, - "source": 1350, + "teal": 5323, + "source": 1355, "pc": [ - 5206, - 5207 + 5207, + 5208 ] }, { - "teal": 5316, - "source": 1351, + "teal": 5324, + "source": 1355, "pc": [ - 5208, 5209 ] }, { - "teal": 5317, - "source": 1351, + "teal": 5325, + "source": 1355, "pc": [ 5210 ] }, { - "teal": 5318, - "source": 1351, + "teal": 5326, + "source": 1355, "pc": [ 5211 ] }, { - "teal": 5319, - "source": 1351, + "teal": 5327, + "source": 1355, + "pc": [ + 5212 + ] + }, + { + "teal": 5328, + "source": 1355, + "pc": [ + 5213 + ] + }, + { + "teal": 5329, + "source": 1355, "pc": [ - 5212, - 5213, 5214 ] }, { - "teal": 5324, - "source": 1352, + "teal": 5330, + "source": 1355, "pc": [ 5215 ] }, { - "teal": 5325, - "source": 1352, + "teal": 5331, + "source": 1355, "pc": [ 5216, 5217 ] }, + { + "teal": 5332, + "source": 1355, + "pc": [ + 5218 + ] + }, { "teal": 5333, "source": 1355, "pc": [ - 5218, 5219 ] }, @@ -24006,331 +23978,390 @@ "teal": 5334, "source": 1355, "pc": [ - 5220, - 5221 + 5220 ] }, { "teal": 5335, "source": 1355, "pc": [ - 5222, - 5223 + 5221 ] }, { "teal": 5336, "source": 1355, "pc": [ - 5224 + 5222 ] }, { "teal": 5337, "source": 1355, "pc": [ - 5225, - 5226 + 5223 ] }, { "teal": 5338, "source": 1355, "pc": [ - 5227 + 5224 ] }, { - "teal": 5341, - "source": 1354, - "errorMessage": "must have required minimum balance of validator defined token to add stake", + "teal": 5339, + "source": 1355, + "pc": [ + 5225 + ] + }, + { + "teal": 5340, + "source": 1355, "pc": [ + 5226, + 5227, 5228 ] }, { - "teal": 5347, - "source": 1359, + "teal": 5345, + "source": 1357, "pc": [ 5229, 5230 ] }, + { + "teal": 5346, + "source": 1357, + "pc": [ + 5231, + 5232 + ] + }, + { + "teal": 5347, + "source": 1357, + "pc": [ + 5233 + ] + }, { "teal": 5348, - "source": 1359, + "source": 1357, "pc": [ - 5231 + 5234 ] }, { "teal": 5349, - "source": 1359, + "source": 1357, "pc": [ - 5232 + 5235 ] }, { "teal": 5350, - "source": 1359, + "source": 1357, "pc": [ - 5233, - 5234, - 5235 + 5236 ] }, { - "teal": 5358, - "source": 1361, + "teal": 5351, + "source": 1357, "pc": [ - 5236, 5237 ] }, { - "teal": 5359, - "source": 1361, + "teal": 5352, + "source": 1357, + "pc": [ + 5238 + ] + }, + { + "teal": 5353, + "source": 1357, "pc": [ - 5238, 5239 ] }, { - "teal": 5360, - "source": 1361, + "teal": 5354, + "source": 1357, "pc": [ - 5240 + 5240, + 5241 ] }, { - "teal": 5361, - "source": 1361, + "teal": 5355, + "source": 1357, "pc": [ - 5241, 5242 ] }, { - "teal": 5362, - "source": 1361, + "teal": 5356, + "source": 1357, "pc": [ - 5243, - 5244, - 5245 + 5243 ] }, { - "teal": 5363, - "source": 1361, + "teal": 5357, + "source": 1357, "pc": [ + 5244 + ] + }, + { + "teal": 5358, + "source": 1357, + "pc": [ + 5245, 5246 ] }, { - "teal": 5366, - "source": 1360, - "errorMessage": "specified asset must be created by creator that the validator defined as a requirement to stake", + "teal": 5359, + "source": 1357, "pc": [ 5247 ] }, { - "teal": 5372, - "source": 1365, + "teal": 5360, + "source": 1357, + "pc": [ + 5248 + ] + }, + { + "teal": 5361, + "source": 1357, "pc": [ - 5248, - 5249 + 5249, + 5250 ] }, { - "teal": 5373, - "source": 1365, + "teal": 5362, + "source": 1357, "pc": [ - 5250, 5251 ] }, { - "teal": 5374, - "source": 1365, + "teal": 5363, + "source": 1357, "pc": [ 5252 ] }, { - "teal": 5375, - "source": 1365, + "teal": 5364, + "source": 1357, "pc": [ 5253, - 5254, + 5254 + ] + }, + { + "teal": 5365, + "source": 1357, + "pc": [ 5255 ] }, { - "teal": 5380, - "source": 1366, + "teal": 5369, + "source": 1358, "pc": [ - 5256, - 5257 + 5256 ] }, { - "teal": 5381, - "source": 1366, + "teal": 5376, + "source": 1354, "pc": [ + 5257, 5258 ] }, { - "teal": 5382, - "source": 1366, + "teal": 5377, + "source": 1354, "pc": [ 5259 ] }, { - "teal": 5383, - "source": 1366, + "teal": 5378, + "source": 1354, "pc": [ 5260 ] }, { - "teal": 5387, - "source": 1367, + "teal": 5379, + "source": 1354, "pc": [ - 5261 + 5261, + 5262 ] }, { - "teal": 5388, - "source": 1367, + "teal": 5380, + "source": 1354, "pc": [ - 5262, - 5263 + 5263, + 5264, + 5265 ] }, { - "teal": 5392, - "source": 1368, + "teal": 5384, + "source": 1361, + "errorMessage": "no available space in specified node for this pool", "pc": [ - 5264, - 5265 + 5266 ] }, { - "teal": 5393, - "source": 1368, + "teal": 5385, + "source": 1348, "pc": [ - 5266, - 5267, - 5268 + 5267 ] }, { - "teal": 5394, - "source": 1368, + "teal": 5395, + "source": 1371, "pc": [ - 5269 + 5268, + 5269, + 5270 ] }, { - "teal": 5395, - "source": 1368, + "teal": 5398, + "source": 1371, "pc": [ - 5270, 5271 ] }, { - "teal": 5396, - "source": 1368, + "teal": 5399, + "source": 1371, "pc": [ 5272, - 5273, - 5274 + 5273 ] }, { - "teal": 5397, - "source": 1368, + "teal": 5403, + "source": 1372, "pc": [ + 5274, 5275 ] }, { - "teal": 5398, - "source": 1368, + "teal": 5404, + "source": 1372, + "pc": [ + 5276 + ] + }, + { + "teal": 5405, + "source": 1372, "pc": [ - 5276, 5277 ] }, { - "teal": 5399, - "source": 1368, + "teal": 5406, + "source": 1372, "pc": [ - 5278 + 5278, + 5279 ] }, { - "teal": 5400, - "source": 1368, + "teal": 5407, + "source": 1372, "pc": [ - 5279, 5280 ] }, { - "teal": 5406, - "source": 1369, + "teal": 5408, + "source": 1372, "pc": [ - 5281, - 5282 + 5281 ] }, { - "teal": 5407, - "source": 1369, + "teal": 5409, + "source": 1372, + "pc": [ + 5282, + 5283 + ] + }, + { + "teal": 5410, + "source": 1372, "pc": [ - 5283, 5284 ] }, { - "teal": 5408, - "source": 1369, + "teal": 5411, + "source": 1372, "pc": [ 5285 ] }, { - "teal": 5409, - "source": 1369, + "teal": 5412, + "source": 1372, "pc": [ 5286, - 5287, - 5288 + 5287 ] }, { - "teal": 5414, - "source": 1370, + "teal": 5417, + "source": 1373, "pc": [ + 5288, 5289 ] }, { - "teal": 5415, - "source": 1370, + "teal": 5418, + "source": 1373, + "pc": [ + 5290 + ] + }, + { + "teal": 5419, + "source": 1373, "pc": [ - 5290, 5291 ] }, { - "teal": 5416, - "source": 1371, + "teal": 5420, + "source": 1373, "pc": [ 5292, 5293, @@ -24338,162 +24369,173 @@ ] }, { - "teal": 5422, - "source": 1368, + "teal": 5425, + "source": 1374, "pc": [ - 5295, - 5296 + 5295 ] }, { - "teal": 5423, - "source": 1368, + "teal": 5430, + "source": 1376, "pc": [ + 5296, 5297 ] }, { - "teal": 5424, - "source": 1368, + "teal": 5431, + "source": 1376, "pc": [ - 5298 + 5298, + 5299 ] }, { - "teal": 5425, - "source": 1368, + "teal": 5435, + "source": 1377, "pc": [ - 5299 + 5300 ] }, { - "teal": 5426, - "source": 1368, + "teal": 5436, + "source": 1377, "pc": [ - 5300, - 5301 + 5301, + 5302 ] }, { - "teal": 5427, - "source": 1368, + "teal": 5437, + "source": 1377, "pc": [ - 5302 + 5303 ] }, { - "teal": 5428, - "source": 1368, + "teal": 5438, + "source": 1377, "pc": [ - 5303, 5304, 5305 ] }, { - "teal": 5429, - "source": 1368, + "teal": 5439, + "source": 1377, + "pc": [ + 5306 + ] + }, + { + "teal": 5440, + "source": 1377, "pc": [ - 5306, 5307 ] }, { - "teal": 5430, - "source": 1368, + "teal": 5441, + "source": 1377, "pc": [ 5308, 5309 ] }, { - "teal": 5431, - "source": 1368, + "teal": 5442, + "source": 1377, "pc": [ - 5310, - 5311 + 5310 ] }, { - "teal": 5432, - "source": 1368, + "teal": 5443, + "source": 1377, "pc": [ + 5311, 5312 ] }, { - "teal": 5433, - "source": 1368, + "teal": 5450, + "source": 1381, "pc": [ - 5313 + 5313, + 5314 ] }, { - "teal": 5434, - "source": 1368, + "teal": 5451, + "source": 1381, "pc": [ - 5314 + 5315 ] }, { - "teal": 5435, - "source": 1368, + "teal": 5452, + "source": 1381, "pc": [ - 5315, 5316 ] }, { - "teal": 5436, - "source": 1368, + "teal": 5453, + "source": 1381, "pc": [ - 5317, - 5318, - 5319 + 5317 ] }, { - "teal": 5441, - "source": 1374, + "teal": 5454, + "source": 1381, "pc": [ - 5320, - 5321 + 5318, + 5319, + 5320 ] }, { - "teal": 5444, - "source": 1374, - "errorMessage": "specified asset must be identical to the asset id defined as a requirement to stake", + "teal": 5455, + "source": 1382, "pc": [ + 5321, 5322 ] }, { - "teal": 5450, - "source": 1376, + "teal": 5456, + "source": 1382, "pc": [ 5323, 5324 ] }, { - "teal": 5451, - "source": 1376, + "teal": 5457, + "source": 1382, + "pc": [ + 5325 + ] + }, + { + "teal": 5458, + "source": 1381, "pc": [ - 5325, 5326 ] }, { - "teal": 5452, - "source": 1376, + "teal": 5461, + "source": 1382, "pc": [ 5327 ] }, { - "teal": 5453, - "source": 1376, + "teal": 5462, + "source": 1382, "pc": [ 5328, 5329, @@ -24501,421 +24543,506 @@ ] }, { - "teal": 5461, - "source": 1380, + "teal": 5463, + "source": 1383, "pc": [ 5331, 5332 ] }, { - "teal": 5462, - "source": 1380, + "teal": 5464, + "source": 1383, "pc": [ 5333, 5334 ] }, { - "teal": 5463, - "source": 1380, + "teal": 5465, + "source": 1383, "pc": [ 5335 ] }, { - "teal": 5464, - "source": 1380, + "teal": 5466, + "source": 1382, "pc": [ - 5336, - 5337 + 5336 ] }, { - "teal": 5465, + "teal": 5469, "source": 1380, "pc": [ + 5337, 5338, - 5339, - 5340 + 5339 ] }, { - "teal": 5466, - "source": 1380, + "teal": 5474, + "source": 1385, "pc": [ + 5340, 5341 ] }, { - "teal": 5467, - "source": 1380, + "teal": 5475, + "source": 1385, + "pc": [ + 5342 + ] + }, + { + "teal": 5476, + "source": 1385, + "pc": [ + 5343 + ] + }, + { + "teal": 5477, + "source": 1385, "pc": [ - 5342, - 5343, 5344 ] }, { - "teal": 5470, - "source": 1379, - "errorMessage": "specified asset must be created by creator that is one of the linked addresses in an nfd", + "teal": 5481, + "source": 1386, "pc": [ - 5345 + 5345, + 5346 ] }, { - "teal": 5476, - "source": 1384, + "teal": 5482, + "source": 1386, "pc": [ - 5346, 5347 ] }, { - "teal": 5477, - "source": 1384, + "teal": 5483, + "source": 1386, "pc": [ - 5348, - 5349 + 5348 ] }, { - "teal": 5478, - "source": 1384, + "teal": 5484, + "source": 1386, "pc": [ + 5349, 5350 ] }, { - "teal": 5479, - "source": 1384, + "teal": 5485, + "source": 1386, "pc": [ - 5351, - 5352, - 5353 + 5351 ] }, { - "teal": 5484, + "teal": 5486, "source": 1386, "pc": [ - 5354, - 5355 + 5352 ] }, { - "teal": 5485, + "teal": 5487, + "source": 1386, + "pc": [ + 5353, + 5354 + ] + }, + { + "teal": 5488, "source": 1386, "pc": [ - 5356, - 5357 + 5355 ] }, { "teal": 5489, - "source": 1387, + "source": 1386, "pc": [ - 5358, - 5359 + 5356 ] }, { "teal": 5490, + "source": 1386, + "pc": [ + 5357, + 5358 + ] + }, + { + "teal": 5495, "source": 1387, "pc": [ - 5360, - 5361, - 5362 + 5359, + 5360 ] }, { - "teal": 5493, + "teal": 5496, "source": 1387, - "errorMessage": "provided NFD must be valid", "pc": [ - 5363 + 5361 ] }, { - "teal": 5501, - "source": 1391, + "teal": 5497, + "source": 1387, + "pc": [ + 5362 + ] + }, + { + "teal": 5498, + "source": 1387, "pc": [ + 5363, 5364, 5365 ] }, { - "teal": 5502, - "source": 1391, + "teal": 5503, + "source": 1388, "pc": [ - 5366, - 5367 + 5366 ] }, { - "teal": 5503, - "source": 1391, + "teal": 5504, + "source": 1388, "pc": [ + 5367, 5368 ] }, { - "teal": 5506, + "teal": 5512, "source": 1391, - "errorMessage": "global state value does not exist: AppID.fromUint64(userOfferedNFDAppID).globalState('i.owner.a')", "pc": [ - 5369 + 5369, + 5370 ] }, { - "teal": 5507, - "source": 1392, + "teal": 5513, + "source": 1391, "pc": [ - 5370, - 5371 + 5371, + 5372 ] }, { - "teal": 5508, + "teal": 5514, "source": 1391, "pc": [ - 5372 + 5373, + 5374 ] }, { - "teal": 5509, - "source": 1392, + "teal": 5515, + "source": 1391, "pc": [ - 5373 + 5375 ] }, { - "teal": 5510, - "source": 1392, + "teal": 5516, + "source": 1391, "pc": [ - 5374, - 5375, - 5376 + 5376, + 5377 ] }, { - "teal": 5511, - "source": 1392, + "teal": 5517, + "source": 1391, "pc": [ - 5377, 5378 ] }, { - "teal": 5512, - "source": 1392, + "teal": 5520, + "source": 1390, + "errorMessage": "must have required minimum balance of validator defined token to add stake", "pc": [ - 5379, - 5380 + 5379 ] }, { - "teal": 5513, - "source": 1392, + "teal": 5526, + "source": 1395, "pc": [ - 5381, - 5382, - 5383 + 5380, + 5381 ] }, { - "teal": 5514, - "source": 1392, + "teal": 5527, + "source": 1395, "pc": [ - 5384 + 5382 ] }, { - "teal": 5518, - "source": 1390, - "errorMessage": "provided nfd for entry isn't owned or linked to the staker", + "teal": 5528, + "source": 1395, "pc": [ - 5385 + 5383 ] }, { - "teal": 5526, - "source": 1398, + "teal": 5529, + "source": 1395, "pc": [ - 5386, - 5387 + 5384, + 5385, + 5386 ] }, { - "teal": 5527, - "source": 1398, + "teal": 5537, + "source": 1397, + "pc": [ + 5387, + 5388 + ] + }, + { + "teal": 5538, + "source": 1397, "pc": [ - 5388, 5389, - 5390, - 5391, + 5390 + ] + }, + { + "teal": 5539, + "source": 1397, + "pc": [ + 5391 + ] + }, + { + "teal": 5540, + "source": 1397, + "pc": [ 5392, - 5393, + 5393 + ] + }, + { + "teal": 5541, + "source": 1397, + "pc": [ 5394, 5395, - 5396, - 5397, - 5398, + 5396 + ] + }, + { + "teal": 5542, + "source": 1397, + "pc": [ + 5397 + ] + }, + { + "teal": 5545, + "source": 1396, + "errorMessage": "specified asset must be created by creator that the validator defined as a requirement to stake", + "pc": [ + 5398 + ] + }, + { + "teal": 5551, + "source": 1401, + "pc": [ 5399, - 5400, - 5401, - 5402 + 5400 ] }, { - "teal": 5528, - "source": 1398, + "teal": 5552, + "source": 1401, "pc": [ - 5403 + 5401, + 5402 ] }, { - "teal": 5531, - "source": 1398, - "errorMessage": "global state value does not exist: AppID.fromUint64(userOfferedNFDAppID).globalState('i.parentAppID')", + "teal": 5553, + "source": 1401, "pc": [ - 5404 + 5403 ] }, { - "teal": 5532, - "source": 1399, + "teal": 5554, + "source": 1401, "pc": [ + 5404, 5405, 5406 ] }, { - "teal": 5533, - "source": 1399, + "teal": 5559, + "source": 1402, "pc": [ 5407, - 5408, + 5408 + ] + }, + { + "teal": 5560, + "source": 1402, + "pc": [ 5409 ] }, { - "teal": 5534, - "source": 1399, + "teal": 5561, + "source": 1402, "pc": [ 5410 ] }, { - "teal": 5535, - "source": 1398, + "teal": 5562, + "source": 1402, "pc": [ 5411 ] }, { - "teal": 5538, - "source": 1397, - "errorMessage": "specified nfd must be a segment of the nfd the validator specified as a requirement", + "teal": 5566, + "source": 1403, "pc": [ 5412 ] }, { - "teal": 5541, - "source": 1335, + "teal": 5567, + "source": 1403, "pc": [ - 5413 + 5413, + 5414 ] }, { - "teal": 5553, - "source": 1414, + "teal": 5571, + "source": 1404, "pc": [ - 5414, 5415, 5416 ] }, { - "teal": 5556, - "source": 1414, + "teal": 5572, + "source": 1404, "pc": [ - 5417 + 5417, + 5418, + 5419 ] }, { - "teal": 5560, - "source": 1416, + "teal": 5573, + "source": 1404, "pc": [ - 5418, - 5419 + 5420 ] }, { - "teal": 5561, - "source": 1416, + "teal": 5574, + "source": 1404, "pc": [ - 5420, 5421, - 5422, + 5422 + ] + }, + { + "teal": 5575, + "source": 1404, + "pc": [ 5423, 5424, - 5425, - 5426, - 5427 + 5425 ] }, { - "teal": 5562, - "source": 1416, + "teal": 5576, + "source": 1404, + "pc": [ + 5426 + ] + }, + { + "teal": 5577, + "source": 1404, "pc": [ + 5427, 5428 ] }, { - "teal": 5565, - "source": 1416, - "errorMessage": "global state value does not exist: AppID.fromUint64(nfdAppID).globalState('i.name')", + "teal": 5578, + "source": 1404, "pc": [ 5429 ] }, { - "teal": 5566, - "source": 1416, + "teal": 5579, + "source": 1404, "pc": [ 5430, 5431 ] }, { - "teal": 5574, - "source": 1418, + "teal": 5585, + "source": 1405, "pc": [ - 5432 + 5432, + 5433 ] }, { - "teal": 5575, - "source": 1418, + "teal": 5586, + "source": 1405, "pc": [ - 5433, - 5434 + 5434, + 5435 ] }, { - "teal": 5576, - "source": 1418, + "teal": 5587, + "source": 1405, "pc": [ - 5435, 5436 ] }, { - "teal": 5580, - "source": 1419, + "teal": 5588, + "source": 1405, "pc": [ 5437, 5438, @@ -24923,838 +25050,832 @@ ] }, { - "teal": 5581, - "source": 1419, + "teal": 5593, + "source": 1406, "pc": [ - 5440, - 5441 + 5440 ] }, { - "teal": 5585, - "source": 1420, + "teal": 5594, + "source": 1406, "pc": [ - 5442, - 5443 + 5441, + 5442 ] }, { - "teal": 5586, - "source": 1420, + "teal": 5595, + "source": 1407, "pc": [ + 5443, 5444, 5445 ] }, { - "teal": 5587, - "source": 1420, + "teal": 5601, + "source": 1404, "pc": [ 5446, 5447 ] }, { - "teal": 5588, - "source": 1420, + "teal": 5602, + "source": 1404, + "pc": [ + 5448 + ] + }, + { + "teal": 5603, + "source": 1404, "pc": [ - 5448, 5449 ] }, { - "teal": 5589, - "source": 1420, + "teal": 5604, + "source": 1404, "pc": [ - 5450, - 5451 + 5450 ] }, { - "teal": 5590, - "source": 1420, + "teal": 5605, + "source": 1404, "pc": [ + 5451, 5452 ] }, { - "teal": 5591, - "source": 1420, + "teal": 5606, + "source": 1404, "pc": [ - 5453, - 5454 + 5453 ] }, { - "teal": 5595, - "source": 1421, + "teal": 5607, + "source": 1404, "pc": [ + 5454, 5455, 5456 ] }, { - "teal": 5596, - "source": 1421, + "teal": 5608, + "source": 1404, "pc": [ 5457, 5458 ] }, { - "teal": 5599, - "source": 1418, + "teal": 5609, + "source": 1404, "pc": [ - 5459 + 5459, + 5460 ] }, { - "teal": 5600, - "source": 1418, + "teal": 5610, + "source": 1404, "pc": [ - 5460, - 5461 + 5461, + 5462 ] }, { - "teal": 5603, - "source": 1418, + "teal": 5611, + "source": 1404, "pc": [ - 5462 + 5463 ] }, { - "teal": 5607, - "source": 1423, + "teal": 5612, + "source": 1404, "pc": [ - 5463, 5464 ] }, { - "teal": 5608, - "source": 1423, + "teal": 5613, + "source": 1404, "pc": [ 5465 ] }, { - "teal": 5609, - "source": 1423, - "pc": [ - 5466 - ] - }, - { - "teal": 5610, - "source": 1423, + "teal": 5614, + "source": 1404, "pc": [ + 5466, 5467 ] }, { - "teal": 5613, - "source": 1414, + "teal": 5615, + "source": 1404, "pc": [ 5468, - 5469 - ] - }, - { - "teal": 5614, - "source": 1414, - "pc": [ + 5469, 5470 ] }, { - "teal": 5625, - "source": 1434, + "teal": 5620, + "source": 1410, "pc": [ 5471, - 5472, - 5473 + 5472 ] }, { - "teal": 5628, - "source": 1434, + "teal": 5623, + "source": 1410, + "errorMessage": "specified asset must be identical to the asset id defined as a requirement to stake", "pc": [ - 5474 + 5473 ] }, { "teal": 5629, - "source": 1434, + "source": 1412, "pc": [ - 5475, - 5476 + 5474, + 5475 ] }, { - "teal": 5636, - "source": 1435, + "teal": 5630, + "source": 1412, "pc": [ + 5476, 5477 ] }, { - "teal": 5637, - "source": 1435, + "teal": 5631, + "source": 1412, "pc": [ - 5478, - 5479 + 5478 ] }, { - "teal": 5638, - "source": 1435, + "teal": 5632, + "source": 1412, "pc": [ + 5479, 5480, 5481 ] }, { - "teal": 5642, - "source": 1436, + "teal": 5640, + "source": 1416, "pc": [ 5482, 5483 ] }, { - "teal": 5643, - "source": 1436, + "teal": 5641, + "source": 1416, "pc": [ 5484, 5485 ] }, { - "teal": 5647, - "source": 1437, + "teal": 5642, + "source": 1416, "pc": [ - 5486, - 5487, - 5488, - 5489, - 5490, - 5491, - 5492, - 5493, - 5494, - 5495, - 5496, - 5497, - 5498, - 5499, - 5500 + 5486 ] }, { - "teal": 5648, - "source": 1437, + "teal": 5643, + "source": 1416, "pc": [ - 5501, - 5502 + 5487, + 5488 ] }, { - "teal": 5649, - "source": 1437, + "teal": 5644, + "source": 1416, "pc": [ - 5503, - 5504, - 5505, - 5506, - 5507, - 5508, - 5509, - 5510, - 5511, - 5512, - 5513, - 5514, - 5515, - 5516, - 5517 + 5489, + 5490, + 5491 ] }, { - "teal": 5650, - "source": 1437, + "teal": 5645, + "source": 1416, "pc": [ - 5518, - 5519 + 5492 ] }, { - "teal": 5653, - "source": 1435, + "teal": 5646, + "source": 1416, "pc": [ - 5520 + 5493, + 5494, + 5495 ] }, { - "teal": 5654, - "source": 1435, + "teal": 5649, + "source": 1415, + "errorMessage": "specified asset must be created by creator that is one of the linked addresses in an nfd", "pc": [ - 5521, - 5522 + 5496 ] }, { - "teal": 5657, - "source": 1435, + "teal": 5655, + "source": 1420, "pc": [ - 5523 + 5497, + 5498 ] }, { - "teal": 5661, - "source": 1439, + "teal": 5656, + "source": 1420, "pc": [ - 5524, - 5525 + 5499, + 5500 ] }, { - "teal": 5662, - "source": 1439, + "teal": 5657, + "source": 1420, "pc": [ - 5526, - 5527 + 5501 ] }, { - "teal": 5666, - "source": 1440, + "teal": 5658, + "source": 1420, "pc": [ - 5528 + 5502, + 5503, + 5504 ] }, { - "teal": 5667, - "source": 1440, + "teal": 5663, + "source": 1422, "pc": [ - 5529, - 5530 + 5505, + 5506 ] }, { - "teal": 5672, - "source": 1440, + "teal": 5664, + "source": 1422, "pc": [ - 5531, - 5532 + 5507, + 5508 ] }, { - "teal": 5673, - "source": 1440, + "teal": 5668, + "source": 1423, "pc": [ - 5533, - 5534 + 5509, + 5510 + ] + }, + { + "teal": 5669, + "source": 1423, + "pc": [ + 5511, + 5512, + 5513 ] }, { - "teal": 5674, - "source": 1440, + "teal": 5672, + "source": 1423, + "errorMessage": "provided NFD must be valid", "pc": [ - 5535 + 5514 ] }, { - "teal": 5675, - "source": 1440, + "teal": 5680, + "source": 1427, "pc": [ - 5536 + 5515, + 5516 ] }, { - "teal": 5676, - "source": 1440, + "teal": 5681, + "source": 1427, "pc": [ - 5537, - 5538, - 5539 + 5517, + 5518 ] }, { - "teal": 5680, - "source": 1441, + "teal": 5682, + "source": 1427, "pc": [ - 5540, - 5541 + 5519 ] }, { - "teal": 5681, - "source": 1441, + "teal": 5685, + "source": 1427, + "errorMessage": "global state value does not exist: AppID.fromUint64(userOfferedNFDAppID).globalState('i.owner.a')", "pc": [ - 5542, - 5543 + 5520 ] }, { - "teal": 5682, - "source": 1441, + "teal": 5686, + "source": 1428, "pc": [ - 5544, - 5545 + 5521, + 5522 ] }, { - "teal": 5683, - "source": 1441, + "teal": 5687, + "source": 1427, "pc": [ - 5546 + 5523 ] }, { - "teal": 5684, - "source": 1441, + "teal": 5688, + "source": 1428, "pc": [ - 5547, - 5548 + 5524 ] }, { "teal": 5689, - "source": 1442, + "source": 1428, "pc": [ - 5549, - 5550 + 5525, + 5526, + 5527 ] }, { "teal": 5690, - "source": 1442, + "source": 1428, "pc": [ - 5551, - 5552 + 5528, + 5529 ] }, { "teal": 5691, - "source": 1442, + "source": 1428, "pc": [ - 5553 + 5530, + 5531 ] }, { "teal": 5692, - "source": 1442, + "source": 1428, "pc": [ - 5554 + 5532, + 5533, + 5534 ] }, { "teal": 5693, - "source": 1442, + "source": 1428, "pc": [ - 5555, - 5556, - 5557 + 5535 ] }, { - "teal": 5694, - "source": 1442, + "teal": 5697, + "source": 1426, + "errorMessage": "provided nfd for entry isn't owned or linked to the staker", "pc": [ - 5558, - 5559 + 5536 ] }, { - "teal": 5695, - "source": 1442, + "teal": 5705, + "source": 1434, "pc": [ - 5560, - 5561 + 5537, + 5538 ] }, { - "teal": 5696, - "source": 1442, + "teal": 5706, + "source": 1434, "pc": [ - 5562 + 5539, + 5540, + 5541, + 5542, + 5543, + 5544, + 5545, + 5546, + 5547, + 5548, + 5549, + 5550, + 5551, + 5552, + 5553 ] }, { - "teal": 5697, - "source": 1442, + "teal": 5707, + "source": 1434, "pc": [ - 5563 + 5554 ] }, { - "teal": 5700, - "source": 1442, + "teal": 5710, + "source": 1434, + "errorMessage": "global state value does not exist: AppID.fromUint64(userOfferedNFDAppID).globalState('i.parentAppID')", "pc": [ - 5564, - 5565, - 5566 + 5555 ] }, { - "teal": 5705, - "source": 1443, + "teal": 5711, + "source": 1435, "pc": [ - 5567 + 5556, + 5557 ] }, { - "teal": 5706, - "source": 1443, + "teal": 5712, + "source": 1435, "pc": [ - 5568, - 5569, - 5570 + 5558, + 5559, + 5560 ] }, { "teal": 5713, - "source": 1440, + "source": 1435, "pc": [ - 5571, - 5572 + 5561 ] }, { "teal": 5714, - "source": 1440, + "source": 1434, "pc": [ - 5573, - 5574 + 5562 ] }, { - "teal": 5715, - "source": 1440, + "teal": 5717, + "source": 1433, + "errorMessage": "specified nfd must be a segment of the nfd the validator specified as a requirement", "pc": [ - 5575 + 5563 ] }, { - "teal": 5716, - "source": 1440, + "teal": 5720, + "source": 1371, "pc": [ - 5576, - 5577 + 5564 ] }, { - "teal": 5717, - "source": 1440, + "teal": 5732, + "source": 1450, "pc": [ - 5578, - 5579, - 5580 + 5565, + 5566, + 5567 ] }, { - "teal": 5722, - "source": 1446, + "teal": 5735, + "source": 1450, "pc": [ - 5581 + 5568 ] }, { - "teal": 5726, - "source": 1434, + "teal": 5739, + "source": 1452, "pc": [ - 5582, - 5583 + 5569, + 5570 ] }, { - "teal": 5729, - "source": 1434, + "teal": 5740, + "source": 1452, "pc": [ - 5584, - 5585 + 5571, + 5572, + 5573, + 5574, + 5575, + 5576, + 5577, + 5578 ] }, { - "teal": 5730, - "source": 1434, + "teal": 5741, + "source": 1452, + "pc": [ + 5579 + ] + }, + { + "teal": 5744, + "source": 1452, + "errorMessage": "global state value does not exist: AppID.fromUint64(nfdAppID).globalState('i.name')", + "pc": [ + 5580 + ] + }, + { + "teal": 5745, + "source": 1452, "pc": [ - 5586 + 5581, + 5582 ] }, { - "teal": 5738, + "teal": 5753, "source": 1454, "pc": [ - 5587, - 5588, - 5589 + 5583 ] }, { - "teal": 5741, + "teal": 5754, "source": 1454, "pc": [ - 5590 + 5584, + 5585 ] }, { - "teal": 5745, - "source": 1455, + "teal": 5755, + "source": 1454, "pc": [ - 5591, - 5592, - 5593 + 5586, + 5587 ] }, { - "teal": 5746, + "teal": 5759, "source": 1455, "pc": [ - 5594, - 5595 + 5588, + 5589, + 5590 ] }, { - "teal": 5750, - "source": 1457, + "teal": 5760, + "source": 1455, "pc": [ - 5596, - 5597 + 5591, + 5592 ] }, { - "teal": 5751, - "source": 1457, + "teal": 5764, + "source": 1456, "pc": [ - 5598, - 5599 + 5593, + 5594 ] }, { - "teal": 5752, - "source": 1457, + "teal": 5765, + "source": 1456, "pc": [ - 5600 + 5595, + 5596 ] }, { - "teal": 5753, - "source": 1457, + "teal": 5766, + "source": 1456, "pc": [ - 5601 + 5597, + 5598 ] }, { - "teal": 5754, - "source": 1457, + "teal": 5767, + "source": 1456, "pc": [ - 5602, - 5603 + 5599, + 5600 ] }, { - "teal": 5755, - "source": 1457, + "teal": 5768, + "source": 1456, "pc": [ - 5604 + 5601, + 5602 ] }, { - "teal": 5756, - "source": 1457, + "teal": 5769, + "source": 1456, "pc": [ - 5605 + 5603 ] }, { - "teal": 5757, - "source": 1457, + "teal": 5770, + "source": 1456, "pc": [ - 5606 + 5604, + 5605 ] }, { - "teal": 5758, + "teal": 5774, "source": 1457, "pc": [ + 5606, 5607 ] }, { - "teal": 5759, + "teal": 5775, "source": 1457, "pc": [ - 5608 + 5608, + 5609 ] }, { - "teal": 5762, - "source": 1457, - "errorMessage": "wideRatio failed", + "teal": 5778, + "source": 1454, "pc": [ - 5609 + 5610 ] }, { - "teal": 5765, + "teal": 5779, "source": 1454, "pc": [ - 5610, - 5611 + 5611, + 5612 ] }, { - "teal": 5766, + "teal": 5782, "source": 1454, "pc": [ - 5612 + 5613 ] }, { - "teal": 5773, - "source": 1464, + "teal": 5786, + "source": 1459, "pc": [ - 5613, 5614, 5615 ] }, { - "teal": 5776, - "source": 1464, + "teal": 5787, + "source": 1459, "pc": [ 5616 ] }, { - "teal": 5780, - "source": 1465, + "teal": 5788, + "source": 1459, "pc": [ - 5617, - 5618, - 5619 + 5617 ] }, { - "teal": 5781, - "source": 1465, + "teal": 5789, + "source": 1459, "pc": [ - 5620, - 5621 + 5618 ] }, { - "teal": 5785, - "source": 1467, + "teal": 5792, + "source": 1450, "pc": [ - 5622, - 5623 + 5619, + 5620 ] }, { - "teal": 5786, - "source": 1467, + "teal": 5793, + "source": 1450, "pc": [ - 5624, - 5625, - 5626 + 5621 ] }, { - "teal": 5787, - "source": 1467, + "teal": 5804, + "source": 1470, "pc": [ - 5627 + 5622, + 5623, + 5624 ] }, { - "teal": 5788, - "source": 1467, + "teal": 5807, + "source": 1470, "pc": [ - 5628 + 5625 ] }, { - "teal": 5789, - "source": 1467, + "teal": 5808, + "source": 1470, "pc": [ - 5629, - 5630 + 5626, + 5627 ] }, { - "teal": 5790, - "source": 1467, + "teal": 5815, + "source": 1471, "pc": [ - 5631 + 5628 ] }, { - "teal": 5791, - "source": 1467, + "teal": 5816, + "source": 1471, "pc": [ - 5632 + 5629, + 5630 ] }, { - "teal": 5792, - "source": 1467, + "teal": 5817, + "source": 1471, "pc": [ - 5633 + 5631, + 5632 ] }, { - "teal": 5793, - "source": 1467, + "teal": 5821, + "source": 1472, "pc": [ + 5633, 5634 ] }, { - "teal": 5794, - "source": 1467, - "pc": [ - 5635 - ] - }, - { - "teal": 5797, - "source": 1467, - "errorMessage": "wideRatio failed", + "teal": 5822, + "source": 1472, "pc": [ + 5635, 5636 ] }, { - "teal": 5800, - "source": 1464, - "pc": [ - 5637, - 5638 - ] - }, - { - "teal": 5801, - "source": 1464, - "pc": [ - 5639 - ] - }, - { - "teal": 5807, + "teal": 5826, "source": 1473, "pc": [ + 5637, + 5638, + 5639, 5640, 5641, - 5642 - ] - }, - { - "teal": 5811, - "source": 1475, - "pc": [ + 5642, 5643, 5644, 5645, @@ -25762,29 +25883,23 @@ 5647, 5648, 5649, - 5650 - ] - }, - { - "teal": 5812, - "source": 1473, - "pc": [ + 5650, 5651 ] }, { - "teal": 5816, - "source": 1478, + "teal": 5827, + "source": 1473, "pc": [ 5652, - 5653, - 5654 + 5653 ] }, { - "teal": 5820, - "source": 1480, + "teal": 5828, + "source": 1473, "pc": [ + 5654, 5655, 5656, 5657, @@ -25793,464 +25908,465 @@ 5660, 5661, 5662, - 5663 + 5663, + 5664, + 5665, + 5666, + 5667, + 5668 ] }, { - "teal": 5821, - "source": 1478, - "pc": [ - 5664 - ] - }, - { - "teal": 5825, - "source": 1483, - "pc": [ - 5665, - 5666, - 5667 - ] - }, - { - "teal": 5828, - "source": 1483, + "teal": 5829, + "source": 1473, "pc": [ - 5668 + 5669, + 5670 ] }, { "teal": 5832, - "source": 1492, + "source": 1471, "pc": [ - 5669, - 5670 + 5671 ] }, { "teal": 5833, - "source": 1492, + "source": 1471, "pc": [ - 5671, - 5672 + 5672, + 5673 ] }, { - "teal": 5837, - "source": 1493, + "teal": 5836, + "source": 1471, "pc": [ - 5673, 5674 ] }, { - "teal": 5838, - "source": 1493, + "teal": 5840, + "source": 1475, "pc": [ 5675, 5676 ] }, { - "teal": 5839, - "source": 1493, + "teal": 5841, + "source": 1475, "pc": [ 5677, 5678 ] }, { - "teal": 5840, - "source": 1493, + "teal": 5845, + "source": 1476, "pc": [ 5679 ] }, { - "teal": 5841, - "source": 1493, + "teal": 5846, + "source": 1476, "pc": [ - 5680 + 5680, + 5681 ] }, { - "teal": 5842, - "source": 1493, + "teal": 5851, + "source": 1476, "pc": [ - 5681, - 5682 + 5682, + 5683 ] }, { - "teal": 5846, - "source": 1494, + "teal": 5852, + "source": 1476, "pc": [ - 5683, - 5684 + 5684, + 5685 ] }, { - "teal": 5847, - "source": 1494, + "teal": 5853, + "source": 1476, "pc": [ - 5685, 5686 ] }, { - "teal": 5848, - "source": 1494, - "pc": [ - 5687, - 5688 - ] - }, - { - "teal": 5849, - "source": 1494, + "teal": 5854, + "source": 1476, "pc": [ - 5689 + 5687 ] }, { - "teal": 5850, - "source": 1494, + "teal": 5855, + "source": 1476, "pc": [ + 5688, + 5689, 5690 ] }, { - "teal": 5851, - "source": 1494, + "teal": 5859, + "source": 1477, "pc": [ 5691, 5692 ] }, { - "teal": 5855, - "source": 1495, + "teal": 5860, + "source": 1477, "pc": [ 5693, 5694 ] }, { - "teal": 5856, - "source": 1495, + "teal": 5861, + "source": 1477, "pc": [ 5695, 5696 ] }, { - "teal": 5857, - "source": 1495, + "teal": 5862, + "source": 1477, "pc": [ - 5697, - 5698 + 5697 ] }, { - "teal": 5858, - "source": 1495, + "teal": 5863, + "source": 1477, "pc": [ + 5698, 5699 ] }, { - "teal": 5859, - "source": 1495, + "teal": 5868, + "source": 1478, "pc": [ - 5700 + 5700, + 5701 ] }, { - "teal": 5860, - "source": 1495, + "teal": 5869, + "source": 1478, "pc": [ - 5701, - 5702 + 5702, + 5703 ] }, { - "teal": 5864, - "source": 1496, + "teal": 5870, + "source": 1478, "pc": [ - 5703, 5704 ] }, { - "teal": 5865, - "source": 1496, + "teal": 5871, + "source": 1478, "pc": [ - 5705, - 5706 + 5705 ] }, { - "teal": 5866, - "source": 1496, + "teal": 5872, + "source": 1478, "pc": [ + 5706, 5707, 5708 ] }, { - "teal": 5867, - "source": 1496, - "pc": [ - 5709 - ] - }, - { - "teal": 5868, - "source": 1496, + "teal": 5873, + "source": 1478, "pc": [ + 5709, 5710 ] }, { - "teal": 5869, - "source": 1496, + "teal": 5874, + "source": 1478, "pc": [ 5711, 5712 ] }, { - "teal": 5873, - "source": 1497, + "teal": 5875, + "source": 1478, "pc": [ - 5713, - 5714 + 5713 ] }, { - "teal": 5874, - "source": 1497, + "teal": 5876, + "source": 1478, "pc": [ - 5715, - 5716 + 5714 ] }, { - "teal": 5875, - "source": 1497, + "teal": 5879, + "source": 1478, "pc": [ - 5717, - 5718 + 5715, + 5716, + 5717 ] }, { - "teal": 5876, - "source": 1497, + "teal": 5884, + "source": 1479, "pc": [ - 5719 + 5718 ] }, { - "teal": 5877, - "source": 1497, + "teal": 5885, + "source": 1479, "pc": [ - 5720 + 5719, + 5720, + 5721 ] }, { - "teal": 5878, - "source": 1497, + "teal": 5892, + "source": 1476, "pc": [ - 5721, - 5722 + 5722, + 5723 ] }, { - "teal": 5882, - "source": 1498, + "teal": 5893, + "source": 1476, "pc": [ - 5723, - 5724 + 5724, + 5725 ] }, { - "teal": 5883, - "source": 1498, + "teal": 5894, + "source": 1476, "pc": [ - 5725, 5726 ] }, { - "teal": 5884, - "source": 1498, + "teal": 5895, + "source": 1476, "pc": [ 5727, 5728 ] }, { - "teal": 5885, - "source": 1498, - "pc": [ - 5729 - ] - }, - { - "teal": 5886, - "source": 1498, + "teal": 5896, + "source": 1476, "pc": [ - 5730 + 5729, + 5730, + 5731 ] }, { - "teal": 5887, - "source": 1498, + "teal": 5901, + "source": 1482, "pc": [ - 5731, 5732 ] }, { - "teal": 5891, - "source": 1499, + "teal": 5905, + "source": 1470, "pc": [ 5733, 5734 ] }, { - "teal": 5892, - "source": 1499, + "teal": 5908, + "source": 1470, "pc": [ 5735, 5736 ] }, { - "teal": 5893, - "source": 1499, - "pc": [ - 5737, - 5738 - ] - }, - { - "teal": 5894, - "source": 1499, + "teal": 5909, + "source": 1470, "pc": [ - 5739 + 5737 ] }, { - "teal": 5895, - "source": 1499, + "teal": 5917, + "source": 1490, "pc": [ + 5738, + 5739, 5740 ] }, { - "teal": 5896, - "source": 1499, + "teal": 5920, + "source": 1490, "pc": [ - 5741, - 5742 + 5741 ] }, { - "teal": 5900, - "source": 1500, + "teal": 5924, + "source": 1491, "pc": [ + 5742, 5743, 5744 ] }, { - "teal": 5903, - "source": 1483, + "teal": 5925, + "source": 1491, "pc": [ 5745, 5746 ] }, { - "teal": 5904, - "source": 1483, + "teal": 5929, + "source": 1493, "pc": [ - 5747 + 5747, + 5748 ] }, { - "teal": 5908, - "source": 1503, + "teal": 5930, + "source": 1493, "pc": [ - 5748, 5749, 5750 ] }, { - "teal": 5912, - "source": 1507, + "teal": 5931, + "source": 1493, + "pc": [ + 5751 + ] + }, + { + "teal": 5932, + "source": 1493, + "pc": [ + 5752 + ] + }, + { + "teal": 5933, + "source": 1493, "pc": [ - 5751, - 5752, - 5753 + 5753, + 5754 ] }, { - "teal": 5913, - "source": 1507, + "teal": 5934, + "source": 1493, "pc": [ - 5754, 5755 ] }, { - "teal": 5914, - "source": 1507, + "teal": 5935, + "source": 1493, + "pc": [ + 5756 + ] + }, + { + "teal": 5936, + "source": 1493, + "pc": [ + 5757 + ] + }, + { + "teal": 5937, + "source": 1493, "pc": [ - 5756, - 5757, 5758 ] }, { - "teal": 5915, - "source": 1507, + "teal": 5938, + "source": 1493, "pc": [ 5759 ] }, { - "teal": 5916, - "source": 1507, + "teal": 5941, + "source": 1493, + "errorMessage": "wideRatio failed", "pc": [ 5760 ] }, { - "teal": 5917, - "source": 1503, + "teal": 5944, + "source": 1490, "pc": [ - 5761 + 5761, + 5762 ] }, { - "teal": 5920, - "source": 165, + "teal": 5945, + "source": 1490, + "pc": [ + 5763 + ] + }, + { + "teal": 5952, + "source": 1500, "pc": [ - 5762, - 5763, 5764, 5765, - 5766, + 5766 + ] + }, + { + "teal": 5955, + "source": 1500, + "pc": [ 5767 ] }, { - "teal": 5921, - "source": 165, + "teal": 5959, + "source": 1501, "pc": [ 5768, 5769, @@ -26258,317 +26374,629 @@ ] }, { - "teal": 5922, - "source": 165, + "teal": 5960, + "source": 1501, "pc": [ 5771, - 5772, + 5772 + ] + }, + { + "teal": 5964, + "source": 1503, + "pc": [ 5773, 5774 ] }, { - "teal": 5925, - "source": 165, - "errorMessage": "this contract does not implement the given ABI method for create NoOp", + "teal": 5965, + "source": 1503, "pc": [ - 5775 + 5775, + 5776, + 5777 ] }, { - "teal": 5928, - "source": 165, + "teal": 5966, + "source": 1503, + "pc": [ + 5778 + ] + }, + { + "teal": 5967, + "source": 1503, + "pc": [ + 5779 + ] + }, + { + "teal": 5968, + "source": 1503, "pc": [ - 5776, - 5777, - 5778, - 5779, 5780, 5781 ] }, { - "teal": 5929, - "source": 165, + "teal": 5969, + "source": 1503, + "pc": [ + 5782 + ] + }, + { + "teal": 5970, + "source": 1503, + "pc": [ + 5783 + ] + }, + { + "teal": 5971, + "source": 1503, + "pc": [ + 5784 + ] + }, + { + "teal": 5972, + "source": 1503, + "pc": [ + 5785 + ] + }, + { + "teal": 5973, + "source": 1503, + "pc": [ + 5786 + ] + }, + { + "teal": 5976, + "source": 1503, + "errorMessage": "wideRatio failed", "pc": [ - 5782, - 5783, - 5784, - 5785, - 5786, 5787 ] }, { - "teal": 5930, - "source": 165, + "teal": 5979, + "source": 1500, "pc": [ 5788, - 5789, - 5790, + 5789 + ] + }, + { + "teal": 5980, + "source": 1500, + "pc": [ + 5790 + ] + }, + { + "teal": 5986, + "source": 1509, + "pc": [ 5791, 5792, 5793 ] }, { - "teal": 5931, - "source": 165, + "teal": 5990, + "source": 1511, "pc": [ 5794, 5795, 5796, 5797, 5798, - 5799 + 5799, + 5800, + 5801 ] }, { - "teal": 5932, - "source": 165, + "teal": 5991, + "source": 1509, + "pc": [ + 5802 + ] + }, + { + "teal": 5995, + "source": 1514, "pc": [ - 5800, - 5801, - 5802, 5803, 5804, 5805 ] }, { - "teal": 5933, - "source": 165, + "teal": 5999, + "source": 1516, "pc": [ 5806, 5807, 5808, 5809, 5810, - 5811 + 5811, + 5812, + 5813, + 5814 ] }, { - "teal": 5934, - "source": 165, + "teal": 6000, + "source": 1514, "pc": [ - 5812, - 5813, - 5814, - 5815, - 5816, - 5817 + 5815 ] }, { - "teal": 5935, - "source": 165, + "teal": 6004, + "source": 1519, + "pc": [ + 5816, + 5817, + 5818 + ] + }, + { + "teal": 6007, + "source": 1519, + "pc": [ + 5819 + ] + }, + { + "teal": 6011, + "source": 1528, "pc": [ - 5818, - 5819, 5820, - 5821, + 5821 + ] + }, + { + "teal": 6012, + "source": 1528, + "pc": [ 5822, 5823 ] }, { - "teal": 5936, - "source": 165, + "teal": 6016, + "source": 1529, "pc": [ 5824, - 5825, + 5825 + ] + }, + { + "teal": 6017, + "source": 1529, + "pc": [ 5826, - 5827, + 5827 + ] + }, + { + "teal": 6018, + "source": 1529, + "pc": [ 5828, 5829 ] }, { - "teal": 5937, - "source": 165, + "teal": 6019, + "source": 1529, + "pc": [ + 5830 + ] + }, + { + "teal": 6020, + "source": 1529, + "pc": [ + 5831 + ] + }, + { + "teal": 6021, + "source": 1529, "pc": [ - 5830, - 5831, 5832, - 5833, + 5833 + ] + }, + { + "teal": 6025, + "source": 1530, + "pc": [ 5834, 5835 ] }, { - "teal": 5938, - "source": 165, + "teal": 6026, + "source": 1530, "pc": [ 5836, - 5837, + 5837 + ] + }, + { + "teal": 6027, + "source": 1530, + "pc": [ 5838, - 5839, - 5840, + 5839 + ] + }, + { + "teal": 6028, + "source": 1530, + "pc": [ + 5840 + ] + }, + { + "teal": 6029, + "source": 1530, + "pc": [ 5841 ] }, { - "teal": 5939, - "source": 165, + "teal": 6030, + "source": 1530, "pc": [ 5842, - 5843, + 5843 + ] + }, + { + "teal": 6034, + "source": 1531, + "pc": [ 5844, - 5845, + 5845 + ] + }, + { + "teal": 6035, + "source": 1531, + "pc": [ 5846, 5847 ] }, { - "teal": 5940, - "source": 165, + "teal": 6036, + "source": 1531, "pc": [ 5848, - 5849, - 5850, - 5851, + 5849 + ] + }, + { + "teal": 6037, + "source": 1531, + "pc": [ + 5850 + ] + }, + { + "teal": 6038, + "source": 1531, + "pc": [ + 5851 + ] + }, + { + "teal": 6039, + "source": 1531, + "pc": [ 5852, 5853 ] }, { - "teal": 5941, - "source": 165, + "teal": 6043, + "source": 1532, "pc": [ 5854, - 5855, + 5855 + ] + }, + { + "teal": 6044, + "source": 1532, + "pc": [ 5856, - 5857, + 5857 + ] + }, + { + "teal": 6045, + "source": 1532, + "pc": [ 5858, 5859 ] }, { - "teal": 5942, - "source": 165, + "teal": 6046, + "source": 1532, + "pc": [ + 5860 + ] + }, + { + "teal": 6047, + "source": 1532, + "pc": [ + 5861 + ] + }, + { + "teal": 6048, + "source": 1532, "pc": [ - 5860, - 5861, 5862, - 5863, + 5863 + ] + }, + { + "teal": 6052, + "source": 1533, + "pc": [ 5864, 5865 ] }, { - "teal": 5943, - "source": 165, + "teal": 6053, + "source": 1533, "pc": [ 5866, - 5867, + 5867 + ] + }, + { + "teal": 6054, + "source": 1533, + "pc": [ 5868, - 5869, - 5870, + 5869 + ] + }, + { + "teal": 6055, + "source": 1533, + "pc": [ + 5870 + ] + }, + { + "teal": 6056, + "source": 1533, + "pc": [ 5871 ] }, { - "teal": 5944, - "source": 165, + "teal": 6057, + "source": 1533, "pc": [ 5872, - 5873, + 5873 + ] + }, + { + "teal": 6061, + "source": 1534, + "pc": [ 5874, - 5875, + 5875 + ] + }, + { + "teal": 6062, + "source": 1534, + "pc": [ 5876, 5877 ] }, { - "teal": 5945, - "source": 165, + "teal": 6063, + "source": 1534, "pc": [ 5878, - 5879, - 5880, - 5881, + 5879 + ] + }, + { + "teal": 6064, + "source": 1534, + "pc": [ + 5880 + ] + }, + { + "teal": 6065, + "source": 1534, + "pc": [ + 5881 + ] + }, + { + "teal": 6066, + "source": 1534, + "pc": [ 5882, 5883 ] }, { - "teal": 5946, - "source": 165, + "teal": 6070, + "source": 1535, "pc": [ 5884, - 5885, + 5885 + ] + }, + { + "teal": 6071, + "source": 1535, + "pc": [ 5886, - 5887, + 5887 + ] + }, + { + "teal": 6072, + "source": 1535, + "pc": [ 5888, 5889 ] }, { - "teal": 5947, - "source": 165, + "teal": 6073, + "source": 1535, + "pc": [ + 5890 + ] + }, + { + "teal": 6074, + "source": 1535, + "pc": [ + 5891 + ] + }, + { + "teal": 6075, + "source": 1535, "pc": [ - 5890, - 5891, 5892, - 5893, + 5893 + ] + }, + { + "teal": 6079, + "source": 1536, + "pc": [ 5894, 5895 ] }, { - "teal": 5948, - "source": 165, + "teal": 6082, + "source": 1519, "pc": [ 5896, - 5897, - 5898, + 5897 + ] + }, + { + "teal": 6083, + "source": 1519, + "pc": [ + 5898 + ] + }, + { + "teal": 6087, + "source": 1539, + "pc": [ 5899, 5900, 5901 ] }, { - "teal": 5949, - "source": 165, + "teal": 6091, + "source": 1543, "pc": [ 5902, 5903, - 5904, + 5904 + ] + }, + { + "teal": 6092, + "source": 1543, + "pc": [ 5905, - 5906, - 5907 + 5906 ] }, { - "teal": 5950, - "source": 165, + "teal": 6093, + "source": 1543, "pc": [ + 5907, 5908, - 5909, - 5910, - 5911, - 5912, - 5913 + 5909 ] }, { - "teal": 5951, + "teal": 6094, + "source": 1543, + "pc": [ + 5910 + ] + }, + { + "teal": 6095, + "source": 1543, + "pc": [ + 5911 + ] + }, + { + "teal": 6096, + "source": 1539, + "pc": [ + 5912 + ] + }, + { + "teal": 6099, "source": 165, "pc": [ + 5913, 5914, 5915, 5916, 5917, - 5918, - 5919 + 5918 ] }, { - "teal": 5952, + "teal": 6100, "source": 165, "pc": [ + 5919, 5920, - 5921, + 5921 + ] + }, + { + "teal": 6101, + "source": 165, + "pc": [ 5922, 5923, 5924, @@ -26576,215 +27004,537 @@ ] }, { - "teal": 5953, + "teal": 6104, + "source": 165, + "errorMessage": "this contract does not implement the given ABI method for create NoOp", + "pc": [ + 5926 + ] + }, + { + "teal": 6107, "source": 165, "pc": [ - 5926, 5927, 5928, 5929, 5930, - 5931 + 5931, + 5932 ] }, { - "teal": 5954, + "teal": 6108, "source": 165, "pc": [ - 5932, 5933, 5934, 5935, 5936, - 5937 + 5937, + 5938 ] }, { - "teal": 5955, + "teal": 6109, "source": 165, "pc": [ - 5938, 5939, 5940, 5941, 5942, - 5943 + 5943, + 5944 ] }, { - "teal": 5956, + "teal": 6110, "source": 165, "pc": [ - 5944, 5945, 5946, 5947, 5948, - 5949 + 5949, + 5950 ] }, { - "teal": 5957, + "teal": 6111, "source": 165, "pc": [ - 5950, 5951, 5952, 5953, 5954, - 5955 + 5955, + 5956 ] }, { - "teal": 5958, + "teal": 6112, "source": 165, "pc": [ - 5956, 5957, 5958, 5959, 5960, - 5961 + 5961, + 5962 ] }, { - "teal": 5959, + "teal": 6113, "source": 165, "pc": [ - 5962, 5963, 5964, 5965, 5966, - 5967 + 5967, + 5968 ] }, { - "teal": 5960, + "teal": 6114, "source": 165, "pc": [ - 5968, 5969, - 5970 + 5970, + 5971, + 5972, + 5973, + 5974 ] }, { - "teal": 5961, + "teal": 6115, "source": 165, "pc": [ - 5971, - 5972, - 5973, - 5974, 5975, 5976, 5977, 5978, 5979, - 5980, + 5980 + ] + }, + { + "teal": 6116, + "source": 165, + "pc": [ 5981, 5982, 5983, 5984, 5985, - 5986, + 5986 + ] + }, + { + "teal": 6117, + "source": 165, + "pc": [ 5987, 5988, 5989, 5990, 5991, - 5992, + 5992 + ] + }, + { + "teal": 6118, + "source": 165, + "pc": [ 5993, 5994, 5995, 5996, 5997, - 5998, + 5998 + ] + }, + { + "teal": 6119, + "source": 165, + "pc": [ 5999, 6000, 6001, 6002, 6003, - 6004, + 6004 + ] + }, + { + "teal": 6120, + "source": 165, + "pc": [ 6005, 6006, 6007, 6008, 6009, - 6010, + 6010 + ] + }, + { + "teal": 6121, + "source": 165, + "pc": [ 6011, 6012, 6013, 6014, 6015, - 6016, + 6016 + ] + }, + { + "teal": 6122, + "source": 165, + "pc": [ 6017, 6018, 6019, 6020, 6021, - 6022, + 6022 + ] + }, + { + "teal": 6123, + "source": 165, + "pc": [ 6023, 6024, 6025, 6026, 6027, - 6028, - 6029, - 6030, - 6031, - 6032, - 6033, - 6034, - 6035, - 6036 + 6028 ] }, { - "teal": 5964, + "teal": 6124, "source": 165, - "errorMessage": "this contract does not implement the given ABI method for call NoOp", "pc": [ - 6037 + 6029, + 6030, + 6031, + 6032, + 6033, + 6034 ] }, { - "teal": 5967, + "teal": 6125, "source": 165, "pc": [ + 6035, + 6036, + 6037, 6038, 6039, - 6040, - 6041, - 6042, - 6043 + 6040 ] }, { - "teal": 5968, + "teal": 6126, "source": 165, "pc": [ + 6041, + 6042, + 6043, 6044, 6045, 6046 ] }, { - "teal": 5969, + "teal": 6127, "source": 165, "pc": [ 6047, 6048, 6049, - 6050 + 6050, + 6051, + 6052 ] }, { - "teal": 5972, + "teal": 6128, + "source": 165, + "pc": [ + 6053, + 6054, + 6055, + 6056, + 6057, + 6058 + ] + }, + { + "teal": 6129, + "source": 165, + "pc": [ + 6059, + 6060, + 6061, + 6062, + 6063, + 6064 + ] + }, + { + "teal": 6130, + "source": 165, + "pc": [ + 6065, + 6066, + 6067, + 6068, + 6069, + 6070 + ] + }, + { + "teal": 6131, + "source": 165, + "pc": [ + 6071, + 6072, + 6073, + 6074, + 6075, + 6076 + ] + }, + { + "teal": 6132, + "source": 165, + "pc": [ + 6077, + 6078, + 6079, + 6080, + 6081, + 6082 + ] + }, + { + "teal": 6133, + "source": 165, + "pc": [ + 6083, + 6084, + 6085, + 6086, + 6087, + 6088 + ] + }, + { + "teal": 6134, + "source": 165, + "pc": [ + 6089, + 6090, + 6091, + 6092, + 6093, + 6094 + ] + }, + { + "teal": 6135, + "source": 165, + "pc": [ + 6095, + 6096, + 6097, + 6098, + 6099, + 6100 + ] + }, + { + "teal": 6136, + "source": 165, + "pc": [ + 6101, + 6102, + 6103, + 6104, + 6105, + 6106 + ] + }, + { + "teal": 6137, + "source": 165, + "pc": [ + 6107, + 6108, + 6109, + 6110, + 6111, + 6112 + ] + }, + { + "teal": 6138, + "source": 165, + "pc": [ + 6113, + 6114, + 6115, + 6116, + 6117, + 6118 + ] + }, + { + "teal": 6139, + "source": 165, + "pc": [ + 6119, + 6120, + 6121, + 6122, + 6123, + 6124 + ] + }, + { + "teal": 6140, + "source": 165, + "pc": [ + 6125, + 6126, + 6127 + ] + }, + { + "teal": 6141, + "source": 165, + "pc": [ + 6128, + 6129, + 6130, + 6131, + 6132, + 6133, + 6134, + 6135, + 6136, + 6137, + 6138, + 6139, + 6140, + 6141, + 6142, + 6143, + 6144, + 6145, + 6146, + 6147, + 6148, + 6149, + 6150, + 6151, + 6152, + 6153, + 6154, + 6155, + 6156, + 6157, + 6158, + 6159, + 6160, + 6161, + 6162, + 6163, + 6164, + 6165, + 6166, + 6167, + 6168, + 6169, + 6170, + 6171, + 6172, + 6173, + 6174, + 6175, + 6176, + 6177, + 6178, + 6179, + 6180, + 6181, + 6182, + 6183, + 6184, + 6185, + 6186, + 6187, + 6188, + 6189, + 6190, + 6191, + 6192, + 6193, + 6194, + 6195 + ] + }, + { + "teal": 6144, + "source": 165, + "errorMessage": "this contract does not implement the given ABI method for call NoOp", + "pc": [ + 6196 + ] + }, + { + "teal": 6147, + "source": 165, + "pc": [ + 6197, + 6198, + 6199, + 6200, + 6201, + 6202 + ] + }, + { + "teal": 6148, + "source": 165, + "pc": [ + 6203, + 6204, + 6205 + ] + }, + { + "teal": 6149, + "source": 165, + "pc": [ + 6206, + 6207, + 6208, + 6209 + ] + }, + { + "teal": 6152, "source": 165, "errorMessage": "this contract does not implement the given ABI method for call UpdateApplication", "pc": [ - 6051 + 6210 ] } ] \ No newline at end of file diff --git a/contracts/contracts/clients/StakingPoolClient.ts b/contracts/contracts/clients/StakingPoolClient.ts index 8fbf59b4..86f46071 100644 --- a/contracts/contracts/clients/StakingPoolClient.ts +++ b/contracts/contracts/clients/StakingPoolClient.ts @@ -191,7 +191,7 @@ export const APP_SPEC: AppSpec = { } }, "source": { - "approval": "I3ByYWdtYSB2ZXJzaW9uIDEwCgovLyBUaGlzIFRFQUwgd2FzIGdlbmVyYXRlZCBieSBURUFMU2NyaXB0IHYwLjkyLjAKLy8gaHR0cHM6Ly9naXRodWIuY29tL2FsZ29yYW5kZm91bmRhdGlvbi9URUFMU2NyaXB0CgovLyBUaGlzIGNvbnRyYWN0IGlzIGNvbXBsaWFudCB3aXRoIGFuZC9vciBpbXBsZW1lbnRzIHRoZSBmb2xsb3dpbmcgQVJDczogWyBBUkM0IF0KCi8vIFRoZSBmb2xsb3dpbmcgdGVuIGxpbmVzIG9mIFRFQUwgaGFuZGxlIGluaXRpYWwgcHJvZ3JhbSBmbG93Ci8vIFRoaXMgcGF0dGVybiBpcyB1c2VkIHRvIG1ha2UgaXQgZWFzeSBmb3IgYW55b25lIHRvIHBhcnNlIH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3VidHJhY3RBbW91bnQgb3ZlcmZsb3dlZCAxMjggYml0cwoJYXNzZXJ0CglieXRlIDB4RkZGRkZGRkZGRkZGRkZGRkZGRkZGRkZGRkZGRkZGRkYKCWImCglkdXAKCWxlbgoJZHVwCglpbnQgMTYKCS0KCXN3YXAKCXN1YnN0cmluZzMKCWFwcF9nbG9iYWxfcHV0CgoJLy8gY29udHJhY3RzL3N0YWtpbmdQb29sLmFsZ28udHM6MzY0CgkvLyBzZW5kTWV0aG9kQ2FsbDx0eXBlb2YgVmFsaWRhdG9yUmVnaXN0cnkucHJvdG90eXBlLnN0YWtlUmVtb3ZlZD4oewoJLy8gICAgICAgICAgICAgICAgICAgICBhcHBsaWNhdGlvbklEOiBBcHBJRC5mcm9tVWludDY0KHRoaXMuY3JlYXRpbmdWYWxpZGF0b3JDb250cmFjdEFwcElkLnZhbHVlKSwKCS8vICAgICAgICAgICAgICAgICAgICAgbWV0aG9kQXJnczogWwoJLy8gICAgICAgICAgICAgICAgICAgICAgICAgeyBpZDogdGhpcy52YWxpZGF0b3JJZC52YWx1ZSwgcG9vbElkOiB0aGlzLnBvb2xJZC52YWx1ZSwgcG9vbEFwcElkOiB0aGlzLmFwcC5pZCB9LAoJLy8gICAgICAgICAgICAgICAgICAgICAgICAgc3Rha2VyLAoJLy8gICAgICAgICAgICAgICAgICAgICAgICAgYW1vdW50VG9VbnN0YWtlLAoJLy8gICAgICAgICAgICAgICAgICAgICAgICAgYW1vdW50UmV3YXJkVG9rZW5SZW1vdmVkLAoJLy8gICAgICAgICAgICAgICAgICAgICAgICAgc3Rha2VyUmVtb3ZlZCwKCS8vICAgICAgICAgICAgICAgICAgICAgXSwKCS8vICAgICAgICAgICAgICAgICB9KQoJaXR4bl9iZWdpbgoJaW50IGFwcGwKCWl0eG5fZmllbGQgVHlwZUVudW0KCW1ldGhvZCAic3Rha2VSZW1vdmVkKCh1aW50NjQsdWludDY0LHVpbnQ2NCksYWRkcmVzcyx1aW50NjQsdWludDY0LGJv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ha2VyLAoJLy8gICAgICAgICAgICAgICAgICAgICAgICAgYW1vdW50VG9VbnN0YWtlLAoJLy8gICAgICAgICAgICAgICAgICAgICAgICAgYW1vdW50UmV3YXJkVG9rZW5SZW1vdmVkLAoJLy8gICAgICAgICAgICAgICAgICAgICAgICAgc3Rha2VyUmVtb3ZlZCwKCS8vICAgICAgICAgICAgICAgICAgICAgXSwKCS8vICAgICAgICAgICAgICAgICB9KQoJaXR4bl9iZWdpbgoJaW50IGFwcGwKCWl0eG5fZmllbGQgVHlwZUVudW0KCW1ldGhvZCAic3Rha2VSZW1vdmVkKCh1aW50NjQsdWludDY0LHVpbnQ2NCksYWRkcmVzcyx1aW50NjQsdWludDY0LGJvb2wpdm9pZCIKCWl0eG5fZmllbGQgQXBwbGljYXRpb25BcmdzCgoJLy8gY29udHJhY3RzL3N0YWtpbmdQb29sLmFsZ28udHM6MzY1CgkvLyBhcHBsaWNhdGlvbklEOiBBcHBJRC5mcm9tVWludDY0KHRoaXMuY3JlYXRpbmdWYWxpZGF0b3JDb250cmFjdEFwcElkLnZhbHVlKQoJYnl0ZSAweDYzNzI2NTYxNzQ2ZjcyNDE3MDcwIC8vICJjcmVhdG9yQXBwIgoJYXBwX2dsb2JhbF9nZXQKCWl0eG5fZmllbGQgQXBwbGljYXRpb25JRAoKCS8vIGNvbnRyYWN0cy9zdGFraW5nUG9vbC5hbGdvLnRzOjM2NgoJLy8gbWV0aG9kQXJnczogWwoJLy8gICAgICAgICAgICAgICAgICAgICAgICAgeyBpZDogdGhpcy52YWxpZGF0b3JJZC52YWx1ZSwgcG9vbElkOiB0aGlzLnBvb2xJZC52YWx1ZSwgcG9vbEFwcElkOiB0aGlzLmFwcC5pZCB9LAoJLy8gICAgICAgICAgICAgICAgICAgICAgICAgc3Rha2VyLAoJLy8gICAgICAgICAgICAgICAgICAgICAgICAgYW1vdW50VG9VbnN0YWtlLAoJLy8gICAgICAgICAgICAgICAgICAgICAgICAgYW1vdW50UmV3YXJkVG9rZW5S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V9nYXMgKmFiaV9yb3V0ZV9pbml0U3RvcmFnZSAqYWJpX3JvdXRlX2FkZFN0YWtlICphYmlfcm91dGVfcmVtb3ZlU3Rha2UgKmFiaV9yb3V0ZV9jbGFpbVRva2VucyAqYWJpX3JvdXRlX2dldFN0YWtlckluZm8gKmFiaV9yb3V0ZV9wYXlUb2tlblJld2FyZCAqYWJpX3JvdXRlX3VwZGF0ZUFsZ29kVmVyICphYmlfcm91dGVfZXBvY2hCYWxhbmNlVXBkYXRlICphYmlfcm91dGVfZ29PbmxpbmUgKmFiaV9yb3V0ZV9nb09mZmxpbmUgKmFiaV9yb3V0ZV9saW5rVG9ORkQgKmFiaV9yb3V0ZV9wcm94aWVkU2V0VG9rZW5QYXlvdXRSYXRpbwoKCS8vIHRoaXMgY29udHJhY3QgZG9lcyBub3QgaW1wbGVtZW50IHRoZSBnaXZlbiBBQkkgbWV0aG9kIGZvciBjYWxsIE5vT3AKCWVycgoKKmNhbGxfVXBkYXRlQXBwbGljYXRpb246CgltZXRob2QgInVwZGF0ZUFwcGxpY2F0aW9uKCl2b2lkIgoJdHhuYSBBcHBsaWNhdGlvbkFyZ3MgMAoJbWF0Y2ggKmFiaV9yb3V0ZV91cGRhdGVBcHBsaWNhdGlvbgoKCS8vIHRoaXMgY29udHJhY3QgZG9lcyBub3QgaW1wbGVtZW50IHRoZSBnaXZlbiBBQkkgbWV0aG9kIGZvciBjYWxsIFVwZGF0ZUFwcGxpY2F0aW9uCgllcnI=", "clear": "I3ByYWdtYSB2ZXJzaW9uIDEw" }, "contract": { @@ -320,7 +320,7 @@ export const APP_SPEC: AppSpec = { }, { "name": "payTokenReward", - "desc": "[Internal protocol method] Remove a specified amount of 'community token' rewards for a staker.This can ONLY be called by our validator and only if we're pool 1 - with the token.", + "desc": "[Internal protocol method] Remove a specified amount of 'community token' rewards for a staker.This can ONLY be called by our validator and only if we're pool 1 - with the token.Note: this can also be called by validator as part of OWNER wanting to send the reward tokenssomewhere else (ie if they're sunsetting their validator and need the reward tokens back).It's up to the validator to ensure that the balance in rewardTokenHeldBack is honored.", "args": [ { "name": "staker", @@ -933,7 +933,7 @@ export abstract class StakingPoolCallFactory { /** * Constructs a no op call for the payTokenReward(address,uint64,uint64)void ABI method * - * [Internal protocol method] Remove a specified amount of 'community token' rewards for a staker.This can ONLY be called by our validator and only if we're pool 1 - with the token. + * [Internal protocol method] Remove a specified amount of 'community token' rewards for a staker.This can ONLY be called by our validator and only if we're pool 1 - with the token.Note: this can also be called by validator as part of OWNER wanting to send the reward tokenssomewhere else (ie if they're sunsetting their validator and need the reward tokens back).It's up to the validator to ensure that the balance in rewardTokenHeldBack is honored. * * @param args Any args for the contract call * @param params Any additional parameters for the call @@ -1241,7 +1241,7 @@ export class StakingPoolClient { /** * Calls the payTokenReward(address,uint64,uint64)void ABI method. * - * [Internal protocol method] Remove a specified amount of 'community token' rewards for a staker.This can ONLY be called by our validator and only if we're pool 1 - with the token. + * [Internal protocol method] Remove a specified amount of 'community token' rewards for a staker.This can ONLY be called by our validator and only if we're pool 1 - with the token.Note: this can also be called by validator as part of OWNER wanting to send the reward tokenssomewhere else (ie if they're sunsetting their validator and need the reward tokens back).It's up to the validator to ensure that the balance in rewardTokenHeldBack is honored. * * @param args The arguments for the contract call * @param params Any additional parameters for the call @@ -1605,7 +1605,7 @@ export type StakingPoolComposer = { /** * Calls the payTokenReward(address,uint64,uint64)void ABI method. * - * [Internal protocol method] Remove a specified amount of 'community token' rewards for a staker.This can ONLY be called by our validator and only if we're pool 1 - with the token. + * [Internal protocol method] Remove a specified amount of 'community token' rewards for a staker.This can ONLY be called by our validator and only if we're pool 1 - with the token.Note: this can also be called by validator as part of OWNER wanting to send the reward tokenssomewhere else (ie if they're sunsetting their validator and need the reward tokens back).It's up to the validator to ensure that the balance in rewardTokenHeldBack is honored. * * @param args The arguments for the contract call * @param params Any additional parameters for the call diff --git a/contracts/contracts/clients/ValidatorRegistryClient.ts b/contracts/contracts/clients/ValidatorRegistryClient.ts index 330dc28f..07d5c7c1 100644 --- a/contracts/contracts/clients/ValidatorRegistryClient.ts +++ b/contracts/contracts/clients/ValidatorRegistryClient.ts @@ -199,6 +199,11 @@ export const APP_SPEC: AppSpec = { "call_config": { "no_op": "CALL" } + }, + "emptyTokenRewards(uint64,address)uint64": { + "call_config": { + "no_op": "CALL" + } } }, "bare_call_config": { @@ -246,7 +251,7 @@ export const APP_SPEC: AppSpec = { } }, "source": { - "approval": "I3ByYWdtYSB2ZXJzaW9uIDEwCgovLyBUaGlzIFRFQUwgd2FzIGdlbmVyYXRlZCBieSBURUFMU2NyaXB0IHYwLjkyLjAKLy8gaHR0cHM6Ly9naXRodWIuY29tL2FsZ29yYW5kZm91bmRhdGlvbi9URUFMU2NyaXB0CgovLyBUaGlzIGNvbnRyYWN0IGlzIGNvbXBsaWFudCB3aXRoIGFuZC9vciBpbXBsZW1lbnRzIHRoZSBmb2xsb3dpbmcgQVJDczogWyBBUkM0IF0KCi8vIFRoZSBmb2xsb3dpbmcgdGVuIGxpbmVzIG9mIFRFQUwgaGFuZGxlIGluaXRpYWwgcHJvZ3JhbSBmbG93Ci8vIFRoaXMgcGF0dGVybiBpcyB1c2VkIHRvIG1ha2UgaXQgZWFzeSBmb3IgYW55b25lIHRvIHBhcnNlIHRoZSBzdGFydCBvZiB0aGUgcHJvZ3JhbSBhbmQgZGV0ZXJtaW5lIGlmIGEgc3BlY2lmaWMgYWN0aW9uIGlzIGFsbG93ZWQKLy8gSGVyZSwgYWN0aW9uIHJlZmVycyB0byB0aGUgT25Db21wbGV0ZSBpbiBjb21iaW5hdGlvbiB3aXRoIHdoZXRoZXIgdGhlIGFwcCBpcyBiZWluZyBjcmVhdGVkIG9yIGNhbGxlZAovLyBFdmVyeSBwb3NzaWJsZSBhY3Rpb24gZm9yIHRoaXMgY29udHJhY3QgaXMgcmVwcmVzZW50ZWQgaW4gdGhlIHN3aXRjaCBzdGF0ZW1lbnQKLy8gSWYgdGhlIGFjdGlvbiBpcyBub3QgaW1wbGV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VlZHMgdG8gYWRkIHRvIGZpcnN0IHN0YWtpbmcgcGF5bWVudCAoc3RheXMgdy8gdmFsaWRhdG9yKQovLyBdCmdldE1ickFtb3VudHM6Cglwcm90byAwIDEKCgkvLyBjb250cmFjdHMvdmFsaWRhdG9yUmVnaXN0cnkuYWxnby50czoyNDMKCS8vIHJldHVybiB7CgkvLyAgICAgICAgICAgICBhZGRWYWxpZGF0b3JNYnI6IHRoaXMuY29zdEZvckJveFN0b3JhZ2UoMSAvKiB2IHByZWZpeCAqLyArIGxlbjxWYWxpZGF0b3JJZFR5cGU+KCkgKyBsZW48VmFsaWRhdG9ySW5mbz4oKSksCgkvLyAgICAgICAgICAgICBhZGRQb29sTWJyOiB0aGlzLm1pbkJhbGFuY2VGb3JBY2NvdW50KAoJLy8gICAgICAgICAgICAgICAgIDEsCgkvLyAgICAgICAgICAgICAgICAgLy8gd2UgY291bGQgY2FsY3VsYXRlIHRoaXMgZGlyZWN0bHkgYnkgcmVmZXJlbmNpbmcgdGhlIHNpemUgb2Ygc3Rha2luZ1Bvb2xBcHByb3ZhbFByb2dyYW0gYnV0IGl0IHdvdWxkCgkvLyAgICAgICAgICAgICAgICAgLy8gbWVhbiBvdXIgY2FsbGVycyB3b3VsZCBoYXZlIHRvIHJlZmVyZW5jZSB0aGUgYm94IEFORCBidXkgdXAgaS9vIC0gc28ganVzdCBnbyBtYXggb24gZXh0cmEgcGFnZXMKCS8vICAgICAgICAgICAgICAgICAzLAoJLy8gICAgICAgICAgICAgICAgIDAsCgkvLyAgICAgICAgICAgICAgICAgMCwKCS8vICAgICAgICAgICAgICAgICAwLAoJLy8gICAgICAgICAgICAgICAgIFN0YWtpbmdQb29sLnNjaGVtYS5nbG9iYWwubnVtVWludCwKCS8vICAgICAgICAgICAgICAgICBTdGFraW5nUG9vbC5zY2hlbWEuZ2xvYmFsLm51bUJ5dGVTbGljZSwKCS8vICAgICAgICAgICAgICksCgkvLyAgICAgICAgICAgICBwb29sSW5pdE1icjoKCS8v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FsaWRhdG9yUmVnaXN0cnkuYWxnby50czoyNDMKCS8vIHJldHVybiB7CgkvLyAgICAgICAgICAgICBhZGRWYWxpZGF0b3JNYnI6IHRoaXMuY29zdEZvckJveFN0b3JhZ2UoMSAvKiB2IHByZWZpeCAqLyArIGxlbjxWYWxpZGF0b3JJZFR5cGU+KCkgKyBsZW48VmFsaWRhdG9ySW5mbz4oKSksCgkvLyAgICAgICAgICAgICBhZGRQb29sTWJyOiB0aGlzLm1pbkJhbGFuY2VGb3JBY2NvdW50KAoJLy8gICAgICAgICAgICAgICAgIDEsCgkvLyAgICAgICAgICAgICAgICAgLy8gd2UgY291bGQgY2FsY3VsYXRlIHRoaXMgZGlyZWN0bHkgYnkgcmVmZXJlbmNpbmcgdGhlIHNpemUgb2Ygc3Rha2luZ1Bvb2xBcHByb3ZhbFByb2dyYW0gYnV0IGl0IHdvdWxkCgkvLyAgICAgICAgICAgICAgICAgLy8gbWVhbiBvdXIgY2FsbGVycyB3b3VsZCBoYXZlIHRvIHJlZmVyZW5jZSB0aGUgYm94IEFORCBidXkgdXAgaS9vIC0gc28ganVzdCBnbyBtYXggb24gZXh0cmEgcGFnZXMKCS8vICAgICAgICAgICAgICAgICAzLAoJLy8gICAgICAgICAgICAgICAgIDAsCgkvLyAgICAgICAgICAgICAgICAgMCwKCS8vICAgICAgICAgICAgICAgICAwLAoJLy8gICAgICAgICAgICAgICAgIFN0YWtpbmdQb29sLnNjaGVtYS5nbG9iYWwubnVtVWludCwKCS8vICAgICAgICAgICAgICAgICBTdGFraW5nUG9vbC5zY2hlbWEuZ2xvYmFsLm51bUJ5dGVTbGljZSwKCS8vICAgICAgICAgICAgICksCgkvLyAgICAgICAgICAgICBwb29sSW5pdE1icjoKCS8vICAgICAgICAgICAgICAgICBBTEdPUkFORF9BQ0NPVU5UX01JTl9CQUxBTkNFICsKCS8vICAgICAgICAgICAgICAgICB0aGlzLmNvc3RGb3JCb3hTdG9yYWdlKDcgLyogJ3N0YWtlcnMnIG5h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dXRSYXRpbyAqYWJpX3JvdXRlX3N0YWtlVXBkYXRlZFZpYVJld2FyZHMgKmFiaV9yb3V0ZV9zdGFrZVJlbW92ZWQgKmFiaV9yb3V0ZV9maW5kUG9vbEZvclN0YWtlciAqYWJpX3JvdXRlX21vdmVQb29sVG9Ob2RlICphYmlfcm91dGVfZW1wdHlUb2tlblJld2FyZHMKCgkvLyB0aGlzIGNvbnRyYWN0IGRvZXMgbm90IGltcGxlbWVudCB0aGUgZ2l2ZW4gQUJJIG1ldGhvZCBmb3IgY2FsbCBOb09wCgllcnIKCipjYWxsX1VwZGF0ZUFwcGxpY2F0aW9uOgoJbWV0aG9kICJ1cGRhdGVBcHBsaWNhdGlvbigpdm9pZCIKCXR4bmEgQXBwbGljYXRpb25BcmdzIDAKCW1hdGNoICphYmlfcm91dGVfdXBkYXRlQXBwbGljYXRpb24KCgkvLyB0aGlzIGNvbnRyYWN0IGRvZXMgbm90IGltcGxlbWVudCB0aGUgZ2l2ZW4gQUJJIG1ldGhvZCBmb3IgY2FsbCBVcGRhdGVBcHBsaWNhdGlvbgoJZXJy", "clear": "I3ByYWdtYSB2ZXJzaW9uIDEw" }, "contract": { @@ -786,11 +791,12 @@ export const APP_SPEC: AppSpec = { }, { "name": "movePoolToNode", - "desc": "Find the specified pool (in any node number) and move it to the specified node.The pool account is forced offline if moved so prior node will still run for 320 rounds butnew key goes online on new node soon after (320 rounds after it goes online)No-op if success, asserts if not found or can't move (no space in target)[ ONLY OWNER OR MANAGER CAN CHANGE ]Only callable by owner or manager", + "desc": "Find the specified pool (in any node number) and move it to the specified node.The pool account is forced offline if moved so prior node will still run for 320 rounds butnew key goes online on new node soon after (320 rounds after it goes online)No-op if success, asserts if not found or can't move (no space in target)[ ONLY OWNER OR MANAGER CAN CHANGE ]", "args": [ { "name": "validatorId", - "type": "uint64" + "type": "uint64", + "desc": "The id of the validator." }, { "name": "poolAppId", @@ -804,6 +810,26 @@ export const APP_SPEC: AppSpec = { "returns": { "type": "void" } + }, + { + "name": "emptyTokenRewards", + "desc": "Sends the reward tokens held in pool 1 to specified receiver.This is intended to be used by the owner when they want to get reward tokens 'back' which they sent tothe first pool (likely because validator is sunsetting. Any tokens currently 'reserved' for stakers to claim willNOT be sent as they must be held back for stakers to later claim.[ ONLY OWNER CAN CALL]", + "args": [ + { + "name": "validatorId", + "type": "uint64", + "desc": "The id of the validator." + }, + { + "name": "receiver", + "type": "address", + "desc": "the account to send the tokens to (must already be opted-in to the reward token)" + } + ], + "returns": { + "type": "uint64", + "desc": "{uint64}the amount of reward token sent" + } } ] } @@ -1247,6 +1273,9 @@ export type ValidatorRegistry = { }> & Record<'movePoolToNode(uint64,uint64,uint64)void' | 'movePoolToNode', { argsObj: { + /** + * The id of the validator. + */ validatorId: bigint | number poolAppId: bigint | number nodeNum: bigint | number @@ -1254,6 +1283,23 @@ export type ValidatorRegistry = { argsTuple: [validatorId: bigint | number, poolAppId: bigint | number, nodeNum: bigint | number] returns: void }> + & Record<'emptyTokenRewards(uint64,address)uint64' | 'emptyTokenRewards', { + argsObj: { + /** + * The id of the validator. + */ + validatorId: bigint | number + /** + * the account to send the tokens to (must already be opted-in to the reward token) + */ + receiver: string + } + argsTuple: [validatorId: bigint | number, receiver: string] + /** + * {uint64}the amount of reward token sent + */ + returns: bigint + }> /** * Defines the shape of the global and local state of the application. */ @@ -1851,7 +1897,7 @@ export abstract class ValidatorRegistryCallFactory { /** * Constructs a no op call for the movePoolToNode(uint64,uint64,uint64)void ABI method * - * Find the specified pool (in any node number) and move it to the specified node.The pool account is forced offline if moved so prior node will still run for 320 rounds butnew key goes online on new node soon after (320 rounds after it goes online)No-op if success, asserts if not found or can't move (no space in target)[ ONLY OWNER OR MANAGER CAN CHANGE ]Only callable by owner or manager + * Find the specified pool (in any node number) and move it to the specified node.The pool account is forced offline if moved so prior node will still run for 320 rounds butnew key goes online on new node soon after (320 rounds after it goes online)No-op if success, asserts if not found or can't move (no space in target)[ ONLY OWNER OR MANAGER CAN CHANGE ] * * @param args Any args for the contract call * @param params Any additional parameters for the call @@ -1864,6 +1910,22 @@ export abstract class ValidatorRegistryCallFactory { ...params, } } + /** + * Constructs a no op call for the emptyTokenRewards(uint64,address)uint64 ABI method + * + * Sends the reward tokens held in pool 1 to specified receiver.This is intended to be used by the owner when they want to get reward tokens 'back' which they sent tothe first pool (likely because validator is sunsetting. Any tokens currently 'reserved' for stakers to claim willNOT be sent as they must be held back for stakers to later claim.[ ONLY OWNER CAN CALL] + * + * @param args Any args for the contract call + * @param params Any additional parameters for the call + * @returns A TypedCallParams object for the call + */ + static emptyTokenRewards(args: MethodArgs<'emptyTokenRewards(uint64,address)uint64'>, params: AppClientCallCoreParams & CoreAppCallArgs) { + return { + method: 'emptyTokenRewards(uint64,address)uint64' as const, + methodArgs: Array.isArray(args) ? args : [args.validatorId, args.receiver], + ...params, + } + } } /** @@ -2370,7 +2432,7 @@ export class ValidatorRegistryClient { /** * Calls the movePoolToNode(uint64,uint64,uint64)void ABI method. * - * Find the specified pool (in any node number) and move it to the specified node.The pool account is forced offline if moved so prior node will still run for 320 rounds butnew key goes online on new node soon after (320 rounds after it goes online)No-op if success, asserts if not found or can't move (no space in target)[ ONLY OWNER OR MANAGER CAN CHANGE ]Only callable by owner or manager + * Find the specified pool (in any node number) and move it to the specified node.The pool account is forced offline if moved so prior node will still run for 320 rounds butnew key goes online on new node soon after (320 rounds after it goes online)No-op if success, asserts if not found or can't move (no space in target)[ ONLY OWNER OR MANAGER CAN CHANGE ] * * @param args The arguments for the contract call * @param params Any additional parameters for the call @@ -2380,6 +2442,19 @@ export class ValidatorRegistryClient { return this.call(ValidatorRegistryCallFactory.movePoolToNode(args, params)) } + /** + * Calls the emptyTokenRewards(uint64,address)uint64 ABI method. + * + * Sends the reward tokens held in pool 1 to specified receiver.This is intended to be used by the owner when they want to get reward tokens 'back' which they sent tothe first pool (likely because validator is sunsetting. Any tokens currently 'reserved' for stakers to claim willNOT be sent as they must be held back for stakers to later claim.[ ONLY OWNER CAN CALL] + * + * @param args The arguments for the contract call + * @param params Any additional parameters for the call + * @returns The result of the call: {uint64}the amount of reward token sent + */ + public emptyTokenRewards(args: MethodArgs<'emptyTokenRewards(uint64,address)uint64'>, params: AppClientCallCoreParams & CoreAppCallArgs = {}) { + return this.call(ValidatorRegistryCallFactory.emptyTokenRewards(args, params)) + } + /** * Extracts a binary state value out of an AppState dictionary * @@ -2611,6 +2686,11 @@ export class ValidatorRegistryClient { resultMappers.push(undefined) return this }, + emptyTokenRewards(args: MethodArgs<'emptyTokenRewards(uint64,address)uint64'>, params?: AppClientComposeCallCoreParams & CoreAppCallArgs) { + promiseChain = promiseChain.then(() => client.emptyTokenRewards(args, {...params, sendParams: {...params?.sendParams, skipSending: true, atc}})) + resultMappers.push(undefined) + return this + }, get update() { const $this = this return { @@ -2978,7 +3058,7 @@ export type ValidatorRegistryComposer = { /** * Calls the movePoolToNode(uint64,uint64,uint64)void ABI method. * - * Find the specified pool (in any node number) and move it to the specified node.The pool account is forced offline if moved so prior node will still run for 320 rounds butnew key goes online on new node soon after (320 rounds after it goes online)No-op if success, asserts if not found or can't move (no space in target)[ ONLY OWNER OR MANAGER CAN CHANGE ]Only callable by owner or manager + * Find the specified pool (in any node number) and move it to the specified node.The pool account is forced offline if moved so prior node will still run for 320 rounds butnew key goes online on new node soon after (320 rounds after it goes online)No-op if success, asserts if not found or can't move (no space in target)[ ONLY OWNER OR MANAGER CAN CHANGE ] * * @param args The arguments for the contract call * @param params Any additional parameters for the call @@ -2986,6 +3066,17 @@ export type ValidatorRegistryComposer = { */ movePoolToNode(args: MethodArgs<'movePoolToNode(uint64,uint64,uint64)void'>, params?: AppClientComposeCallCoreParams & CoreAppCallArgs): ValidatorRegistryComposer<[...TReturns, MethodReturn<'movePoolToNode(uint64,uint64,uint64)void'>]> + /** + * Calls the emptyTokenRewards(uint64,address)uint64 ABI method. + * + * Sends the reward tokens held in pool 1 to specified receiver.This is intended to be used by the owner when they want to get reward tokens 'back' which they sent tothe first pool (likely because validator is sunsetting. Any tokens currently 'reserved' for stakers to claim willNOT be sent as they must be held back for stakers to later claim.[ ONLY OWNER CAN CALL] + * + * @param args The arguments for the contract call + * @param params Any additional parameters for the call + * @returns The typed transaction composer so you can fluently chain multiple calls or call execute to execute all queued up transactions + */ + emptyTokenRewards(args: MethodArgs<'emptyTokenRewards(uint64,address)uint64'>, params?: AppClientComposeCallCoreParams & CoreAppCallArgs): ValidatorRegistryComposer<[...TReturns, MethodReturn<'emptyTokenRewards(uint64,address)uint64'>]> + /** * Gets available update methods */ diff --git a/contracts/contracts/stakingPool.algo.ts b/contracts/contracts/stakingPool.algo.ts index ba5aac65..3ec839ae 100644 --- a/contracts/contracts/stakingPool.algo.ts +++ b/contracts/contracts/stakingPool.algo.ts @@ -467,6 +467,9 @@ export class StakingPool extends Contract { /** * [Internal protocol method] Remove a specified amount of 'community token' rewards for a staker. * This can ONLY be called by our validator and only if we're pool 1 - with the token. + * Note: this can also be called by validator as part of OWNER wanting to send the reward tokens + * somewhere else (ie if they're sunsetting their validator and need the reward tokens back). + * It's up to the validator to ensure that the balance in rewardTokenHeldBack is honored. * @param staker - the staker account to send rewards to * @param rewardToken - id of reward token (to avoid re-entrancy in calling validator back to get id) * @param amountToSend - amount to send the staker (there is significant trust here(!) - also why only validator can call us @@ -475,7 +478,7 @@ export class StakingPool extends Contract { // account calling us has to be our creating validator contract assert( this.txn.sender === AppID.fromUint64(this.creatingValidatorContractAppId.value).address, - 'stake can only be added via the validator contract', + 'this can only be called via the validator contract', ) assert(this.poolId.value === 1, 'must be pool 1 in order to be called to pay out token rewards') assert(rewardToken !== 0, 'can only claim token rewards from validator that has them') @@ -669,13 +672,13 @@ export class StakingPool extends Contract { // --- if (validatorCommissionPaidOut > 0) { // Just to make sure the manager account (which triggers the epochBalanceUpdate calls!) doesn't - // run out of funds - we'll take up to 1 ALGO off our commission to keep it running. + // run out of funds - we'll take up to 2.1 ALGO off our commission to keep it running. let managerTopOff = 0 if ( validatorConfig.manager !== validatorConfig.validatorCommissionAddress && - validatorConfig.manager.balance - validatorConfig.manager.minBalance < 1_000_000 + validatorConfig.manager.balance - validatorConfig.manager.minBalance < 2_100_000 ) { - managerTopOff = validatorCommissionPaidOut < 1_000_000 ? validatorCommissionPaidOut : 1_000_000 + managerTopOff = validatorCommissionPaidOut < 2_100_000 ? validatorCommissionPaidOut : 2_100_000 sendPayment({ amount: managerTopOff, receiver: validatorConfig.manager, @@ -955,7 +958,7 @@ export class StakingPool extends Contract { private getFeeSink(): Address { return this.feeSinkAddr - // will be like: txn FirstValid; int 1; -; block BlkFeeSink + // TODO will be like: txn FirstValid; int 1; -; block BlkFeeSink // once available in AVM } diff --git a/contracts/contracts/validatorRegistry.algo.ts b/contracts/contracts/validatorRegistry.algo.ts index b282d125..e95c6753 100644 --- a/contracts/contracts/validatorRegistry.algo.ts +++ b/contracts/contracts/validatorRegistry.algo.ts @@ -610,10 +610,7 @@ export class ValidatorRegistry extends Contract { clearStateProgram: StakingPool.clearProgram(), globalNumUint: StakingPool.schema.global.numUint, globalNumByteSlice: StakingPool.schema.global.numByteSlice, - // first page is included, we need 'extra' 2k pages, so normally we'd do - // size+2047/2048 to handle integer math rounding but instead we can just subtract 1 - // to get equivalent (ignoring the first 2048) - extraProgramPages: (this.stakingPoolApprovalProgram.size - 1) / 2048, + extraProgramPages: 3, applicationArgs: [ // creatingContractID, validatorId, poolId, minEntryStake method('createApplication(uint64,uint64,uint64,uint64)void'), @@ -1000,7 +997,10 @@ export class ValidatorRegistry extends Contract { * new key goes online on new node soon after (320 rounds after it goes online) * No-op if success, asserts if not found or can't move (no space in target) * [ ONLY OWNER OR MANAGER CAN CHANGE ] - * Only callable by owner or manager + * + * @param {ValidatorIdType} validatorId - The id of the validator. + * @param {uint64} poolAppId + * @param {uint64} nodeNum */ movePoolToNode(validatorId: ValidatorIdType, poolAppId: uint64, nodeNum: uint64): void { // Must be called by the owner or manager of the validator. @@ -1034,6 +1034,42 @@ export class ValidatorRegistry extends Contract { throw Error("couldn't find pool app id in nodes to move") } + /** + * Sends the reward tokens held in pool 1 to specified receiver. + * This is intended to be used by the owner when they want to get reward tokens 'back' which they sent to + * the first pool (likely because validator is sunsetting. Any tokens currently 'reserved' for stakers to claim will + * NOT be sent as they must be held back for stakers to later claim. + * [ ONLY OWNER CAN CALL] + * + * @param {ValidatorIdType} validatorId - The id of the validator. + * @param {Address} receiver - the account to send the tokens to (must already be opted-in to the reward token) + * @returns {uint64} the amount of reward token sent + */ + emptyTokenRewards(validatorId: ValidatorIdType, receiver: Address): uint64 { + assert( + this.txn.sender === this.validatorList(validatorId).value.config.owner, + 'can only be called by validator owner', + ) + const rewardTokenId = this.validatorList(validatorId).value.config.rewardTokenId + const rewardTokenHeldBack = this.validatorList(validatorId).value.state.rewardTokenHeldBack + assert(rewardTokenId !== 0, "this validator doesn't have a reward token defined") + const poolOneAppId = AppID.fromUint64(this.validatorList(validatorId).value.pools[0].poolAppId) + // get reward token balance in pool 1 (excluding the hold back amount) + const tokenRewardBal = + poolOneAppId.address.assetBalance(AssetID.fromUint64(rewardTokenId)) - rewardTokenHeldBack + + // call pool 1 to send the token (minus the amount reserved) to the receiver + sendMethodCall({ + applicationID: poolOneAppId, + methodArgs: [receiver, rewardTokenId, tokenRewardBal], + }) + assert( + poolOneAppId.address.assetBalance(AssetID.fromUint64(rewardTokenId)) === rewardTokenHeldBack, + 'balance of remaining reward tokens should match the held back amount', + ) + return tokenRewardBal + } + // ====== // EVENTS - logged for notable changes // ====== diff --git a/contracts/package.json b/contracts/package.json index c2395c6b..09301c18 100644 --- a/contracts/package.json +++ b/contracts/package.json @@ -1,6 +1,6 @@ { "name": "reti-contracts", - "version": "0.8.14", + "version": "0.8.15", "license": "MIT", "scripts": { "generate-client": "algokit generate client contracts/artifacts/ --language typescript --output contracts/clients/{contract_name}Client.ts && ./update_contract_artifacts.sh``", @@ -16,7 +16,7 @@ "prettier:fix": "npx prettier --write ." }, "dependencies": { - "@algorandfoundation/algokit-utils": "6.0.5-beta.1", + "@algorandfoundation/algokit-utils": "6.0.5", "algosdk": "2.7.0" }, "devDependencies": { diff --git a/nodemgr/internal/lib/reti/artifacts/contracts/StakingPool.arc32.json b/nodemgr/internal/lib/reti/artifacts/contracts/StakingPool.arc32.json index 0b2d0b52..2538fe99 100644 --- a/nodemgr/internal/lib/reti/artifacts/contracts/StakingPool.arc32.json +++ b/nodemgr/internal/lib/reti/artifacts/contracts/StakingPool.arc32.json @@ -161,7 +161,7 @@ } }, "source": { - "approval": "I3ByYWdtYSB2ZXJzaW9uIDEwCgovLyBUaGlzIFRFQUwgd2FzIGdlbmVyYXRlZCBieSBURUFMU2NyaXB0IHYwLjkyLjAKLy8gaHR0cHM6Ly9naXRodWIuY29tL2FsZ29yYW5kZm91bmRhdGlvbi9URUFMU2NyaXB0CgovLyBUaGlzIGNvbnRyYWN0IGlzIGNvbXBsaWFudCB3aXRoIGFuZC9vciBpbXBsZW1lbnRzIHRoZSBmb2xsb3dpbmcgQVJDczogWyBBUkM0IF0KCi8vIFRoZSBmb2xsb3dpbmcgdGVuIGxpbmVzIG9mIFRFQUwgaGFuZGxlIGluaXRpYWwgcHJvZ3JhbSBmbG93Ci8vIFRoaXMgcGF0dGVybiBpcyB1c2VkIHRvIG1ha2UgaXQgZWFzeSBmb3IgYW55b25lIHRvIHBhcnNlIHRoZSBzdGFydCBvZiB0aGUgcHJvZ3JhbSBhbmQgZGV0ZXJtaW5lIGlmIGEgc3BlY2lmaWMgYWN0aW9uIGlzIGFsbG93ZWQKLy8gSGVyZSwgYWN0aW9uIHJlZmVycyB0byB0aGUgT25Db21wbGV0ZSBpbiBjb21iaW5hdGlvbiB3aXRoIHdoZXRoZXIgdGhlIGFwcCBpcyBiZWluZyBjcmVhdGVkIG9yIGNhbGxlZAovLyBFdmVyeSBwb3NzaWJsZSBhY3Rpb24gZm9yIHRoaXMgY29udHJhY3QgaXMgcmVwcmVzZW50ZWQgaW4gdGhlIHN3aXRjaCBzdGF0ZW1lbnQKLy8gSWYgd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W50NjQsdWludDY0KQoJYnl0ZSAweDczNzQ2MTZiNjU3MjczIC8vICJzdGFrZXJzIgoJY292ZXIgMgoJYm94X3JlcGxhY2UKCgkvLyBjb250cmFjdHMvc3Rha2luZ1Bvb2wuYWxnby50czo0MzEKCS8vIHNlbmRNZXRob2RDYWxsPHR5cGVvZiBWYWxpZGF0b3JSZWdpc3RyeS5wcm90b3R5cGUuc3Rha2VSZW1vdmVkPih7CgkvLyAgICAgICAgICAgICAgICAgICAgIGFwcGxpY2F0aW9uSUQ6IEFwcElELmZyb21VaW50NjQodGhpcy5jcmVhdGluZ1ZhbGlkYXRvckNvbnRyYWN0QXBwSWQudmFsdWUpLAoJLy8gICAgICAgICAgICAgICAgICAgICBtZXRob2RBcmdzOiBbCgkvLyAgICAgICAgICAgICAgICAgICAgICAgICB7IGlkOiB0aGlzLnZhbGlkYXRvcklkLnZhbHVlLCBwb29sSWQ6IHRoaXMucG9vbElkLnZhbHVlLCBwb29sQXBwSWQ6IHRoaXMuYXBwLmlkIH0sCgkvLyAgICAgICAgICAgICAgICAgICAgICAgICBzdGFrZXIsCgkvLyAgICAgICAgICAgICAgICAgICAgICAgICAwLCAvLyBubyBhbGdvIHJlbW92ZWQKCS8vICAgICAgICAgICAgICAgICAgICAgICAgIGFtb3VudFJld2FyZFRva2VuUmVtb3ZlZCwKCS8vICAgICAgICAgICAgICAgICAgICAgICAgIGZhbHNlLCAvLyBzdGFrZXIgaXNuJ3QgYmVpbmcgcmVtb3ZlZC4KCS8vICAgICAgICAgICAgICAgICAgICAgXSwKCS8vICAgICAgICAgICAgICAgICB9KQoJaXR4bl9iZWdpbgoJaW50IGFwcGwKCWl0eG5fZmllbGQgVHlwZUVudW0KCW1ldGhvZCAic3Rha2VSZW1vdmVkKCh1aW50NjQsdWludDY0LHVpbnQ2NCksYWRkcmVzcyx1aW50NjQsdWludDY0LGJvb2wpdm9pZCIKCWl0eG5fZmllbGQgQXBwbGljYXRpb25BcmdzCgoJLy8gY29udHJhY3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9yb3V0ZV9wcm94aWVkU2V0VG9rZW5QYXlvdXRSYXRpbwoKCS8vIHRoaXMgY29udHJhY3QgZG9lcyBub3QgaW1wbGVtZW50IHRoZSBnaXZlbiBBQkkgbWV0aG9kIGZvciBjYWxsIE5vT3AKCWVycgoKKmNhbGxfVXBkYXRlQXBwbGljYXRpb246CgltZXRob2QgInVwZGF0ZUFwcGxpY2F0aW9uKCl2b2lkIgoJdHhuYSBBcHBsaWNhdGlvbkFyZ3MgMAoJbWF0Y2ggKmFiaV9yb3V0ZV91cGRhdGVBcHBsaWNhdGlvbgoKCS8vIHRoaXMgY29udHJhY3QgZG9lcyBub3QgaW1wbGVtZW50IHRoZSBnaXZlbiBBQkkgbWV0aG9kIGZvciBjYWxsIFVwZGF0ZUFwcGxpY2F0aW9uCgllcnI=", "clear": "I3ByYWdtYSB2ZXJzaW9uIDEw" }, "contract": { @@ -290,7 +290,7 @@ }, { "name": "payTokenReward", - "desc": "[Internal protocol method] Remove a specified amount of 'community token' rewards for a staker.This can ONLY be called by our validator and only if we're pool 1 - with the token.", + "desc": "[Internal protocol method] Remove a specified amount of 'community token' rewards for a staker.This can ONLY be called by our validator and only if we're pool 1 - with the token.Note: this can also be called by validator as part of OWNER wanting to send the reward tokenssomewhere else (ie if they're sunsetting their validator and need the reward tokens back).It's up to the validator to ensure that the balance in rewardTokenHeldBack is honored.", "args": [ { "name": "staker", diff --git a/nodemgr/internal/lib/reti/artifacts/contracts/ValidatorRegistry.arc32.json b/nodemgr/internal/lib/reti/artifacts/contracts/ValidatorRegistry.arc32.json index 3f17e12f..e28cc005 100644 --- a/nodemgr/internal/lib/reti/artifacts/contracts/ValidatorRegistry.arc32.json +++ b/nodemgr/internal/lib/reti/artifacts/contracts/ValidatorRegistry.arc32.json @@ -169,6 +169,11 @@ "call_config": { "no_op": "CALL" } + }, + "emptyTokenRewards(uint64,address)uint64": { + "call_config": { + "no_op": "CALL" + } } }, "bare_call_config": { @@ -216,7 +221,7 @@ } }, "source": { -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RoaXMuY29zdEZvckJveFN0b3JhZ2UoMSAvKiB2IHByZWZpeCAqLyArIGxlbjxWYWxpZGF0b3JJZFR5cGU+KCkgKyBsZW48VmFsaWRhdG9ySW5mbz4oKSksCgkvLyAgICAgICAgICAgICBhZGRQb29sTWJyOiB0aGlzLm1pbkJhbGFuY2VGb3JBY2NvdW50KAoJLy8gICAgICAgICAgICAgICAgIDEsCgkvLyAgICAgICAgICAgICAgICAgLy8gd2UgY291bGQgY2FsY3VsYXRlIHRoaXMgZGlyZWN0bHkgYnkgcmVmZXJlbmNpbmcgdGhlIHNpemUgb2Ygc3Rha2luZ1Bvb2xBcHByb3ZhbFByb2dyYW0gYnV0IGl0IHdvdWxkCgkvLyAgICAgICAgICAgICAgICAgLy8gbWVhbiBvdXIgY2FsbGVycyB3b3VsZCBoYXZlIHRvIHJlZmVyZW5jZSB0aGUgYm94IEFORCBidXkgdXAgaS9vIC0gc28ganVzdCBnbyBtYXggb24gZXh0cmEgcGFnZXMKCS8vICAgICAgICAgICAgICAgICAzLAoJLy8gICAgICAgICAgICAgICAgIDAsCgkvLyAgICAgICAgICAgICAgICAgMCwKCS8vICAgICAgICAgICAgICAgICAwLAoJLy8gICAgICAgICAgICAgICAgIFN0YWtpbmdQb29sLnNjaGVtYS5nbG9iYWwubnVtVWludCwKCS8vICAgICAgICAgICAgICAgICBTdGFraW5nUG9vbC5zY2hlbWEuZ2xvYmFsLm51bUJ5dGVTbGljZSwKCS8vICAgICAgICAgICAgICksCgkvLyAgICAgICAgICAgICBwb29sSW5pdE1icjoKCS8vICAgICAgICAgICAgICAgICBBTEdPUkFORF9BQ0NPVU5UX01JTl9CQUxBTkNFICsKCS8vICAgICAgICAgICAgICAgICB0aGlzLmNvc3RGb3JCb3hTdG9yYWdlKDcgLyogJ3N0YWtlcnMnIG5hbWUgKi8gKyBsZW48U3Rha2VkSW5mbz4oKSAqIE1BWF9TVEFLRVJTX1BFUl9QT09MKSwKCS8vICAgICAgICAgICAgIGFkZFN0Y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BhZGRQb29sTWJyOiB0aGlzLm1pbkJhbGFuY2VGb3JBY2NvdW50KAoJLy8gICAgICAgICAgICAgICAgIDEsCgkvLyAgICAgICAgICAgICAgICAgLy8gd2UgY291bGQgY2FsY3VsYXRlIHRoaXMgZGlyZWN0bHkgYnkgcmVmZXJlbmNpbmcgdGhlIHNpemUgb2Ygc3Rha2luZ1Bvb2xBcHByb3ZhbFByb2dyYW0gYnV0IGl0IHdvdWxkCgkvLyAgICAgICAgICAgICAgICAgLy8gbWVhbiBvdXIgY2FsbGVycyB3b3VsZCBoYXZlIHRvIHJlZmVyZW5jZSB0aGUgYm94IEFORCBidXkgdXAgaS9vIC0gc28ganVzdCBnbyBtYXggb24gZXh0cmEgcGFnZXMKCS8vICAgICAgICAgICAgICAgICAzLAoJLy8gICAgICAgICAgICAgICAgIDAsCgkvLyAgICAgICAgICAgICAgICAgMCwKCS8vICAgICAgICAgICAgICAgICAwLAoJLy8gICAgICAgICAgICAgICAgIFN0YWtpbmdQb29sLnNjaGVtYS5nbG9iYWwubnVtVWludCwKCS8vICAgICAgICAgICAgICAgICBTdGFraW5nUG9vbC5zY2hlbWEuZ2xvYmFsLm51bUJ5dGVTbGljZSwKCS8vICAgICAgICAgICAgICksCgkvLyAgICAgICAgICAgICBwb29sSW5pdE1icjoKCS8vICAgICAgICAgICAgICAgICBBTEdPUkFORF9BQ0NPVU5UX01JTl9CQUxBTkNFICsKCS8vICAgICAgICAgICAgICAgICB0aGlzLmNvc3RGb3JCb3hTdG9yYWdlKDcgLyogJ3N0YWtlcnMnIG5hbWUgKi8gKyBsZW48U3Rha2VkSW5mbz4oKSAqIE1BWF9TVEFLRVJTX1BFUl9QT09MKSwKCS8vICAgICAgICAgICAgIGFkZFN0YWtlck1icjoKCS8vICAgICAgICAgICAgICAgICAvLyBob3cgbXVjaCB0byBjaGFyZ2UgZm9yIGZpcnN0IHRpbWUgYSBzdGFrZXIgYWRkcyBzdGFrZSAtIHNpbmNlIHdlIGFkZCBhIHRy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XMgbm90IGltcGxlbWVudCB0aGUgZ2l2ZW4gQUJJIG1ldGhvZCBmb3IgY2FsbCBOb09wCgllcnIKCipjYWxsX1VwZGF0ZUFwcGxpY2F0aW9uOgoJbWV0aG9kICJ1cGRhdGVBcHBsaWNhdGlvbigpdm9pZCIKCXR4bmEgQXBwbGljYXRpb25BcmdzIDAKCW1hdGNoICphYmlfcm91dGVfdXBkYXRlQXBwbGljYXRpb24KCgkvLyB0aGlzIGNvbnRyYWN0IGRvZXMgbm90IGltcGxlbWVudCB0aGUgZ2l2ZW4gQUJJIG1ldGhvZCBmb3IgY2FsbCBVcGRhdGVBcHBsaWNhdGlvbgoJZXJy", "clear": "I3ByYWdtYSB2ZXJzaW9uIDEw" }, "contract": { @@ -756,11 +761,12 @@ }, { "name": "movePoolToNode", - "desc": "Find the specified pool (in any node number) and move it to the specified node.The pool account is forced offline if moved so prior node will still run for 320 rounds butnew key goes online on new node soon after (320 rounds after it goes online)No-op if success, asserts if not found or can't move (no space in target)[ ONLY OWNER OR MANAGER CAN CHANGE ]Only callable by owner or manager", + "desc": "Find the specified pool (in any node number) and move it to the specified node.The pool account is forced offline if moved so prior node will still run for 320 rounds butnew key goes online on new node soon after (320 rounds after it goes online)No-op if success, asserts if not found or can't move (no space in target)[ ONLY OWNER OR MANAGER CAN CHANGE ]", "args": [ { "name": "validatorId", - "type": "uint64" + "type": "uint64", + "desc": "The id of the validator." }, { "name": "poolAppId", @@ -774,6 +780,26 @@ "returns": { "type": "void" } + }, + { + "name": "emptyTokenRewards", + "desc": "Sends the reward tokens held in pool 1 to specified receiver.This is intended to be used by the owner when they want to get reward tokens 'back' which they sent tothe first pool (likely because validator is sunsetting. Any tokens currently 'reserved' for stakers to claim willNOT be sent as they must be held back for stakers to later claim.[ ONLY OWNER CAN CALL]", + "args": [ + { + "name": "validatorId", + "type": "uint64", + "desc": "The id of the validator." + }, + { + "name": "receiver", + "type": "address", + "desc": "the account to send the tokens to (must already be opted-in to the reward token)" + } + ], + "returns": { + "type": "uint64", + "desc": "{uint64}the amount of reward token sent" + } } ] } diff --git a/nodemgr/internal/lib/reti/reti.go b/nodemgr/internal/lib/reti/reti.go index ac1c8f5a..90a6de68 100644 --- a/nodemgr/internal/lib/reti/reti.go +++ b/nodemgr/internal/lib/reti/reti.go @@ -105,6 +105,13 @@ func (r *Reti) LoadState(ctx context.Context) error { // Now load all the data from the chain for our validator, etc. if r.ValidatorId != 0 { + numValidators, err := r.GetNumValidators() + if err != nil { + return fmt.Errorf("unable to GetNumValidators: %w", err) + } + if r.ValidatorId > numValidators { + return fmt.Errorf("validator id:%d is invalid, maximum is %d", r.ValidatorId, numValidators) + } config, err := r.GetValidatorConfig(r.ValidatorId) if err != nil { return fmt.Errorf("unable to GetValidatorConfig: %w", err) diff --git a/nodemgr/internal/lib/reti/validator.go b/nodemgr/internal/lib/reti/validator.go index 799460aa..900c1098 100644 --- a/nodemgr/internal/lib/reti/validator.go +++ b/nodemgr/internal/lib/reti/validator.go @@ -990,7 +990,10 @@ func (r *Reti) CheckAndInitStakingPoolStorage(poolKey *ValidatorPoolKey) error { return err } - managerAddr, _ := types.DecodeAddress(r.Info().Config.Manager) + var ( + foreignAssets []uint64 + managerAddr, _ = types.DecodeAddress(r.Info().Config.Manager) + ) mbrs, err := r.getMbrAmounts(managerAddr) if err != nil { @@ -999,6 +1002,7 @@ func (r *Reti) CheckAndInitStakingPoolStorage(poolKey *ValidatorPoolKey) error { poolInitMbr := mbrs.PoolInitMbr if r.Info().Config.RewardTokenId != 0 && poolKey.PoolId == 1 { poolInitMbr += 100_000 // cover MBR of reward token asset + foreignAssets = append(foreignAssets, r.Info().Config.RewardTokenId) } // Now we have to pay MBR into the staking pool itself (!) and tell it to initialize itself @@ -1025,6 +1029,7 @@ func (r *Reti) CheckAndInitStakingPoolStorage(poolKey *ValidatorPoolKey) error { {AppID: 0, Name: nil}, // extra i/o }, ForeignApps: []uint64{r.RetiAppId}, + ForeignAssets: foreignAssets, SuggestedParams: params, OnComplete: types.NoOpOC, Sender: managerAddr, @@ -1255,6 +1260,7 @@ func (r *Reti) RemoveStake(poolKey ValidatorPoolKey, signer types.Address, stake err = atc.AddMethodCall(transaction.AddMethodCallParams{ AppID: poolKey.PoolAppId, Method: gasMethod, + ForeignAccounts: []string{staker.String()}, // account MUST be referenced in same txn w/ foreign asset ForeignAssets: extraAssets, ForeignApps: extraApps, SuggestedParams: params, @@ -1325,6 +1331,68 @@ func (r *Reti) RemoveStake(poolKey ValidatorPoolKey, signer types.Address, stake return nil } +func (r *Reti) EmptyTokenRewards(id uint64, signer types.Address, receiver types.Address) error { + var err error + + params, err := r.algoClient.SuggestedParams().Do(context.Background()) + if err != nil { + return err + } + + extraApps := []uint64{} + extraAssets := []uint64{} + + config, err := r.GetValidatorConfig(id) + if err != nil { + return fmt.Errorf("get validator config err:%w", err) + } + pools, err := r.GetValidatorPools(id) + if err != nil { + return fmt.Errorf("unable to GetValidatorPools: %w", err) + } + + if config.RewardTokenId != 0 { + extraAssets = append(extraAssets, config.RewardTokenId) + // If not pool 1 then we need to add reference for pool 1, so it can be called to update the pool token payout ratio + extraApps = append(extraApps, pools[0].PoolAppId) + } + atc := transaction.AtomicTransactionComposer{} + emptyTokenRewards, _ := r.validatorContract.GetMethodByName("emptyTokenRewards") + + err = atc.AddMethodCall(transaction.AddMethodCallParams{ + AppID: r.RetiAppId, + Method: emptyTokenRewards, + MethodArgs: []any{ + id, + receiver, + }, + ForeignApps: extraApps, + ForeignAssets: extraAssets, + BoxReferences: []types.AppBoxReference{ + {AppID: r.RetiAppId, Name: GetValidatorListBoxName(id)}, + {AppID: r.RetiAppId, Name: nil}, // extra i/o + {AppID: 0, Name: nil}, // extra i/o + {AppID: 0, Name: nil}, // extra i/o + {AppID: 0, Name: nil}, // extra i/o + {AppID: 0, Name: nil}, // extra i/o + }, + + SuggestedParams: params, + OnComplete: types.NoOpOC, + Sender: signer, + Signer: algo.SignWithAccountForATC(r.signer, signer.String()), + }) + if err != nil { + return fmt.Errorf("ATC error in composing emptyTokenRewards err:%w", err) + } + + _, err = atc.Execute(r.algoClient, context.Background(), 4) + if err != nil { + return err + } + return nil +} + type MbrAmounts struct { AddValidatorMbr uint64 AddPoolMbr uint64 diff --git a/nodemgr/poolcmds.go b/nodemgr/poolcmds.go index 1c508f94..1db547f0 100644 --- a/nodemgr/poolcmds.go +++ b/nodemgr/poolcmds.go @@ -47,10 +47,9 @@ func GetPoolCmdOpts() *cli.Command { }, }, { - Name: "ledger", - Aliases: []string{"l"}, - Usage: "List detailed ledger for a specific pool", - Action: PoolLedger, + Name: "ledger", + Usage: "List detailed ledger for a specific pool", + Action: PoolLedger, Flags: []cli.Flag{ &cli.UintFlag{ Name: "pool", diff --git a/nodemgr/validatorcmds.go b/nodemgr/validatorcmds.go index 2da3ae79..e23bb081 100644 --- a/nodemgr/validatorcmds.go +++ b/nodemgr/validatorcmds.go @@ -85,14 +85,26 @@ func GetValidatorCmdOpts() *cli.Command { Action: DisplayStakerData, }, { - Name: "dumpAllStakers", - Usage: "Display info about the validator's current state from the chain", - Action: DumpAllStakers, + Name: "exportAllStakers", + Usage: "Exports info about ALL stakers to a .csv file", + Action: exportAllStakers, }, { Name: "refundStakers", Usage: "Remove all stakers from all pools, sending them all their stake (may cost a lot in fees!)", - Action: RefundAllStakers, + Action: refundAllStakers, + }, + { + Name: "emptyTokenRewards", + Usage: "Return available token rewards in pool 1 to specified account. Typicaly used when sunsetting validator", + Flags: []cli.Flag{ + &cli.StringFlag{ + Name: "account", + Usage: "The address to send the excess reward tokens to", + Required: true, + }, + }, + Action: emptyTokenRewards, }, }, } @@ -290,7 +302,7 @@ func DisplayStakerData(ctx context.Context, command *cli.Command) error { return nil } -func DumpAllStakers(ctx context.Context, command *cli.Command) error { +func exportAllStakers(ctx context.Context, command *cli.Command) error { if App.retiClient.RetiAppId == 0 { return fmt.Errorf("validator not configured") } @@ -346,7 +358,7 @@ func DumpAllStakers(ctx context.Context, command *cli.Command) error { return os.WriteFile("stakers.csv", []byte(csvData), 0644) } -func RefundAllStakers(ctx context.Context, command *cli.Command) error { +func refundAllStakers(ctx context.Context, command *cli.Command) error { signer, err := App.signer.FindFirstSigner([]string{App.retiClient.Info().Config.Owner, App.retiClient.Info().Config.Manager}) if err != nil { return fmt.Errorf("neither owner or manager address for your validator has local keys present") @@ -398,6 +410,26 @@ func RefundAllStakers(ctx context.Context, command *cli.Command) error { return nil } +func emptyTokenRewards(ctx context.Context, command *cli.Command) error { + signer, err := App.signer.FindFirstSigner([]string{App.retiClient.Info().Config.Owner}) + if err != nil { + return fmt.Errorf("owner address for your validator doesn't have local keys present") + } + receiverAddr, err := types.DecodeAddress(command.String("account")) + if err != nil { + return err + } + signerAddr, _ := types.DecodeAddress(signer) + info := App.retiClient.Info() + + err = App.retiClient.EmptyTokenRewards(info.Config.ID, signerAddr, receiverAddr) + if err != nil { + misc.Errorf(App.logger, "error emptying token rewards, err:%v", err) + } + + return nil +} + func getInt(prompt string, defVal int, minVal int, maxVal int) (int, error) { validate := func(input string) error { value, err := strconv.Atoi(input) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 7585bb48..8854b4e4 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -11,8 +11,8 @@ importers: contracts: dependencies: '@algorandfoundation/algokit-utils': - specifier: 6.0.5-beta.1 - version: 6.0.5-beta.1(algosdk@2.7.0) + specifier: 6.0.5 + version: 6.0.5(algosdk@2.7.0) algosdk: specifier: 2.7.0 version: 2.7.0 @@ -61,7 +61,7 @@ importers: version: 3.2.5 ts-jest: specifier: ^29.1.2 - version: 29.1.2(@babel/core@7.24.5)(jest@29.7.0)(typescript@5.4.5) + version: 29.1.3(@babel/core@7.24.6)(jest@29.7.0)(typescript@5.4.5) typescript: specifier: ^5.4.5 version: 5.4.5 @@ -69,8 +69,8 @@ importers: contracts/bootstrap: dependencies: '@algorandfoundation/algokit-utils': - specifier: 6.0.5-beta.1 - version: 6.0.5-beta.1(algosdk@2.7.0) + specifier: 6.0.5 + version: 6.0.5(algosdk@2.7.0) algosdk: specifier: 2.7.0 version: 2.7.0 @@ -100,98 +100,98 @@ importers: ui: dependencies: '@algorandfoundation/algokit-utils': - specifier: 6.0.5-beta.1 - version: 6.0.5-beta.1(algosdk@2.7.0) + specifier: 6.0.5 + version: 6.0.5(algosdk@2.7.0) '@blockshake/defly-connect': specifier: 1.1.6 version: 1.1.6(algosdk@2.7.0) '@hookform/resolvers': - specifier: 3.3.4 - version: 3.3.4(react-hook-form@7.51.4) + specifier: 3.4.2 + version: 3.4.2(react-hook-form@7.51.5) '@perawallet/connect': specifier: 1.3.4 version: 1.3.4(algosdk@2.7.0) '@radix-ui/react-avatar': specifier: 1.0.4 - version: 1.0.4(@types/react-dom@18.3.0)(@types/react@18.3.1)(react-dom@18.3.1)(react@18.3.1) + version: 1.0.4(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1) '@radix-ui/react-checkbox': specifier: 1.0.4 - version: 1.0.4(@types/react-dom@18.3.0)(@types/react@18.3.1)(react-dom@18.3.1)(react@18.3.1) + version: 1.0.4(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1) '@radix-ui/react-collapsible': specifier: 1.0.3 - version: 1.0.3(@types/react-dom@18.3.0)(@types/react@18.3.1)(react-dom@18.3.1)(react@18.3.1) + version: 1.0.3(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1) '@radix-ui/react-dialog': specifier: 1.0.5 - version: 1.0.5(@types/react-dom@18.3.0)(@types/react@18.3.1)(react-dom@18.3.1)(react@18.3.1) + version: 1.0.5(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1) '@radix-ui/react-dropdown-menu': specifier: 2.0.6 - version: 2.0.6(@types/react-dom@18.3.0)(@types/react@18.3.1)(react-dom@18.3.1)(react@18.3.1) + version: 2.0.6(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1) '@radix-ui/react-hover-card': specifier: 1.0.7 - version: 1.0.7(@types/react-dom@18.3.0)(@types/react@18.3.1)(react-dom@18.3.1)(react@18.3.1) + version: 1.0.7(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1) '@radix-ui/react-icons': specifier: 1.3.0 version: 1.3.0(react@18.3.1) '@radix-ui/react-label': specifier: 2.0.2 - version: 2.0.2(@types/react-dom@18.3.0)(@types/react@18.3.1)(react-dom@18.3.1)(react@18.3.1) + version: 2.0.2(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1) '@radix-ui/react-navigation-menu': specifier: 1.1.4 - version: 1.1.4(@types/react-dom@18.3.0)(@types/react@18.3.1)(react-dom@18.3.1)(react@18.3.1) + version: 1.1.4(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1) '@radix-ui/react-popover': specifier: 1.0.7 - version: 1.0.7(@types/react-dom@18.3.0)(@types/react@18.3.1)(react-dom@18.3.1)(react@18.3.1) + version: 1.0.7(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1) '@radix-ui/react-scroll-area': specifier: 1.0.5 - version: 1.0.5(@types/react-dom@18.3.0)(@types/react@18.3.1)(react-dom@18.3.1)(react@18.3.1) + version: 1.0.5(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1) '@radix-ui/react-select': specifier: 2.0.0 - version: 2.0.0(@types/react-dom@18.3.0)(@types/react@18.3.1)(react-dom@18.3.1)(react@18.3.1) + version: 2.0.0(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1) '@radix-ui/react-separator': specifier: 1.0.3 - version: 1.0.3(@types/react-dom@18.3.0)(@types/react@18.3.1)(react-dom@18.3.1)(react@18.3.1) + version: 1.0.3(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1) '@radix-ui/react-slot': specifier: 1.0.2 - version: 1.0.2(@types/react@18.3.1)(react@18.3.1) + version: 1.0.2(@types/react@18.3.3)(react@18.3.1) '@radix-ui/react-switch': specifier: 1.0.3 - version: 1.0.3(@types/react-dom@18.3.0)(@types/react@18.3.1)(react-dom@18.3.1)(react@18.3.1) + version: 1.0.3(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1) '@radix-ui/react-tooltip': specifier: 1.0.7 - version: 1.0.7(@types/react-dom@18.3.0)(@types/react@18.3.1)(react-dom@18.3.1)(react@18.3.1) + version: 1.0.7(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1) '@tanstack/react-query': - specifier: 5.35.5 - version: 5.35.5(react@18.3.1) + specifier: 5.37.1 + version: 5.37.1(react@18.3.1) '@tanstack/react-query-devtools': - specifier: 5.35.5 - version: 5.35.5(@tanstack/react-query@5.35.5)(react@18.3.1) + specifier: 5.37.1 + version: 5.37.1(@tanstack/react-query@5.37.1)(react@18.3.1) '@tanstack/react-router': - specifier: 1.31.27 - version: 1.31.27(react-dom@18.3.1)(react@18.3.1) + specifier: 1.33.8 + version: 1.33.8(react-dom@18.3.1)(react@18.3.1) '@tanstack/react-table': - specifier: 8.16.0 - version: 8.16.0(react-dom@18.3.1)(react@18.3.1) + specifier: 8.17.3 + version: 8.17.3(react-dom@18.3.1)(react@18.3.1) '@tanstack/router-devtools': - specifier: 1.31.27 - version: 1.31.27(csstype@3.1.3)(react-dom@18.3.1)(react@18.3.1) + specifier: 1.33.8 + version: 1.33.8(csstype@3.1.3)(react-dom@18.3.1)(react@18.3.1) '@tremor/react': - specifier: 3.16.2 - version: 3.16.2(react-dom@18.3.1)(react@18.3.1)(tailwindcss@3.4.3) + specifier: 3.17.2 + version: 3.17.2(react-dom@18.3.1)(react@18.3.1)(tailwindcss@3.4.3) '@txnlab/use-wallet-react': - specifier: 3.0.0-beta.5 - version: 3.0.0-beta.5(@blockshake/defly-connect@1.1.6)(@perawallet/connect@1.3.4)(algosdk@2.7.0)(lute-connect@1.2.0)(react-dom@18.3.1)(react@18.3.1) + specifier: 3.0.0-beta.7 + version: 3.0.0-beta.7(@blockshake/defly-connect@1.1.6)(@perawallet/connect@1.3.4)(algosdk@2.7.0)(lute-connect@1.2.0)(react-dom@18.3.1)(react@18.3.1) '@walletconnect/modal-sign-html': specifier: 2.6.2 - version: 2.6.2(@types/react@18.3.1)(react@18.3.1) + version: 2.6.2(@types/react@18.3.3)(react@18.3.1) algosdk: specifier: 2.7.0 version: 2.7.0 axios: - specifier: 1.6.8 - version: 1.6.8 + specifier: 1.7.2 + version: 1.7.2 axios-cache-interceptor: - specifier: 1.5.2 - version: 1.5.2(axios@1.6.8) + specifier: 1.5.3 + version: 1.5.3(axios@1.7.2) big.js: specifier: 6.2.1 version: 6.2.1 @@ -211,8 +211,8 @@ importers: specifier: 1.11.11 version: 1.11.11 lucide-react: - specifier: 0.378.0 - version: 0.378.0(react@18.3.1) + specifier: 0.379.0 + version: 0.379.0(react@18.3.1) lute-connect: specifier: 1.2.0 version: 1.2.0 @@ -223,7 +223,7 @@ importers: specifier: 3.0.1 version: 3.0.1(csstype@3.1.3)(react-dom@18.3.1)(react@18.3.1) query-string: - specifier: ^9.0.0 + specifier: 9.0.0 version: 9.0.0 react: specifier: 18.3.1 @@ -238,8 +238,8 @@ importers: specifier: 2.0.5 version: 2.0.5(react@18.3.1) react-hook-form: - specifier: 7.51.4 - version: 7.51.4(react@18.3.1) + specifier: 7.51.5 + version: 7.51.5(react@18.3.1) sonner: specifier: 1.4.41 version: 1.4.41(react-dom@18.3.1)(react@18.3.1) @@ -256,24 +256,24 @@ importers: specifier: 10.0.0 version: 10.0.0(react@18.3.1) vite-plugin-node-polyfills: - specifier: 0.21.0 - version: 0.21.0(vite@5.2.11) + specifier: 0.22.0 + version: 0.22.0(vite@5.2.11) zod: specifier: 3.23.8 version: 3.23.8 devDependencies: '@playwright/test': - specifier: 1.44.0 - version: 1.44.0 + specifier: 1.44.1 + version: 1.44.1 '@tanstack/router-vite-plugin': - specifier: 1.31.18 - version: 1.31.18(vite@5.2.11) + specifier: 1.33.12 + version: 1.33.12(vite@5.2.11) '@testing-library/jest-dom': specifier: 6.4.5 version: 6.4.5(vitest@1.6.0) '@testing-library/react': specifier: 15.0.7 - version: 15.0.7(@types/react@18.3.1)(react-dom@18.3.1)(react@18.3.1) + version: 15.0.7(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1) '@types/big.js': specifier: 6.2.2 version: 6.2.2 @@ -281,8 +281,8 @@ importers: specifier: 20.12.12 version: 20.12.12 '@types/react': - specifier: 18.3.1 - version: 18.3.1 + specifier: 18.3.3 + version: 18.3.3 '@types/react-dom': specifier: 18.3.0 version: 18.3.0 @@ -293,8 +293,8 @@ importers: specifier: 7.8.0 version: 7.8.0(eslint@8.57.0)(typescript@5.4.5) '@vitejs/plugin-react': - specifier: 4.2.1 - version: 4.2.1(vite@5.2.11) + specifier: 4.3.0 + version: 4.3.0(vite@5.2.11) '@vitest/coverage-v8': specifier: 1.6.0 version: 1.6.0(vitest@1.6.0) @@ -320,8 +320,8 @@ importers: specifier: 2.3.0 version: 2.3.0(typescript@5.4.5) playwright: - specifier: 1.44.0 - version: 1.44.0 + specifier: 1.44.1 + version: 1.44.1 postcss: specifier: 8.4.38 version: 8.4.38 @@ -370,8 +370,8 @@ packages: buffer: 6.0.3 dev: true - /@algorandfoundation/algokit-utils@6.0.5-beta.1(algosdk@2.7.0): - resolution: {integrity: sha512-5T2mOE8TBAJQCzw0hqoeiIYSDBmk10Wwx26axvI0aVhiRkgaPnOWW3lsQJZlCQl8INQifGHoDtvKg/TEKXONFQ==} + /@algorandfoundation/algokit-utils@6.0.5(algosdk@2.7.0): + resolution: {integrity: sha512-/a4pD62nQ58r6JnuNFZm9KAC9D8M7JNeAYTaIuA4TwmdLeypdUA9SD8BiaLAI8aR/GLaaPEILHnSbRSlPq9GPw==} engines: {node: '>=18.0'} peerDependencies: algosdk: ^2.7.0 @@ -420,11 +420,24 @@ packages: picocolors: 1.0.0 dev: true + /@babel/code-frame@7.24.6: + resolution: {integrity: sha512-ZJhac6FkEd1yhG2AHOmfcXG4ceoLltoCVJjN5XsWN9BifBQr+cHJbWi0h68HZuSORq+3WtJ2z0hwF2NG1b5kcA==} + engines: {node: '>=6.9.0'} + dependencies: + '@babel/highlight': 7.24.6 + picocolors: 1.0.1 + dev: true + /@babel/compat-data@7.24.4: resolution: {integrity: sha512-vg8Gih2MLK+kOkHJp4gBEIkyaIi00jgWot2D9QOmmfLC8jINSOzmCLta6Bvz/JSBCqnegV0L80jhxkol5GWNfQ==} engines: {node: '>=6.9.0'} dev: true + /@babel/compat-data@7.24.6: + resolution: {integrity: sha512-aC2DGhBq5eEdyXWqrDInSqQjO0k8xtPRf5YylULqx8MCd6jBtzqfta/3ETMRpuKIc5hyswfO80ObyA1MvkCcUQ==} + engines: {node: '>=6.9.0'} + dev: true + /@babel/core@7.24.5: resolution: {integrity: sha512-tVQRucExLQ02Boi4vdPp49svNGcfL2GhdTCT9aldhXgCJVAI21EtRfBettiuLUwce/7r6bFdgs6JFkcdTiFttA==} engines: {node: '>=6.9.0'} @@ -448,6 +461,29 @@ packages: - supports-color dev: true + /@babel/core@7.24.6: + resolution: {integrity: sha512-qAHSfAdVyFmIvl0VHELib8xar7ONuSHrE2hLnsaWkYNTI68dmi1x8GYDhJjMI/e7XWal9QBlZkwbOnkcw7Z8gQ==} + engines: {node: '>=6.9.0'} + dependencies: + '@ampproject/remapping': 2.3.0 + '@babel/code-frame': 7.24.6 + '@babel/generator': 7.24.6 + '@babel/helper-compilation-targets': 7.24.6 + '@babel/helper-module-transforms': 7.24.6(@babel/core@7.24.6) + '@babel/helpers': 7.24.6 + '@babel/parser': 7.24.6 + '@babel/template': 7.24.6 + '@babel/traverse': 7.24.6 + '@babel/types': 7.24.6 + convert-source-map: 2.0.0 + debug: 4.3.4 + gensync: 1.0.0-beta.2 + json5: 2.2.3 + semver: 6.3.1 + transitivePeerDependencies: + - supports-color + dev: true + /@babel/generator@7.24.5: resolution: {integrity: sha512-x32i4hEXvr+iI0NEoEfDKzlemF8AmtOP8CcrRaEcpzysWuoEb1KknpcvMsHKPONoKZiDuItklgWhB18xEhr9PA==} engines: {node: '>=6.9.0'} @@ -458,6 +494,16 @@ packages: jsesc: 2.5.2 dev: true + /@babel/generator@7.24.6: + resolution: {integrity: sha512-S7m4eNa6YAPJRHmKsLHIDJhNAGNKoWNiWefz1MBbpnt8g9lvMDl1hir4P9bo/57bQEmuwEhnRU/AMWsD0G/Fbg==} + engines: {node: '>=6.9.0'} + dependencies: + '@babel/types': 7.24.6 + '@jridgewell/gen-mapping': 0.3.5 + '@jridgewell/trace-mapping': 0.3.25 + jsesc: 2.5.2 + dev: true + /@babel/helper-annotate-as-pure@7.22.5: resolution: {integrity: sha512-LvBTxu8bQSQkcyKOU+a1btnNFQ1dMAd0R6PyW3arXes06F6QLWLIrd681bxRPIXlrMGR3XYnW9JyML7dP3qgxg==} engines: {node: '>=6.9.0'} @@ -476,6 +522,17 @@ packages: semver: 6.3.1 dev: true + /@babel/helper-compilation-targets@7.24.6: + resolution: {integrity: sha512-VZQ57UsDGlX/5fFA7GkVPplZhHsVc+vuErWgdOiysI9Ksnw0Pbbd6pnPiR/mmJyKHgyIW0c7KT32gmhiF+cirg==} + engines: {node: '>=6.9.0'} + dependencies: + '@babel/compat-data': 7.24.6 + '@babel/helper-validator-option': 7.24.6 + browserslist: 4.23.0 + lru-cache: 5.1.1 + semver: 6.3.1 + dev: true + /@babel/helper-create-class-features-plugin@7.24.5(@babel/core@7.24.5): resolution: {integrity: sha512-uRc4Cv8UQWnE4NXlYTIIdM7wfFkOqlFztcC/gVXDKohKoVB3OyonfelUBaJzSwpBntZ2KYGF/9S7asCHsXwW6g==} engines: {node: '>=6.9.0'} @@ -499,6 +556,11 @@ packages: engines: {node: '>=6.9.0'} dev: true + /@babel/helper-environment-visitor@7.24.6: + resolution: {integrity: sha512-Y50Cg3k0LKLMjxdPjIl40SdJgMB85iXn27Vk/qbHZCFx/o5XO3PSnpi675h1KEmmDb6OFArfd5SCQEQ5Q4H88g==} + engines: {node: '>=6.9.0'} + dev: true + /@babel/helper-function-name@7.23.0: resolution: {integrity: sha512-OErEqsrxjZTJciZ4Oo+eoZqeW9UIiOcuYKRJA4ZAgV9myA+pOXhhmpfNCKjEH/auVfEYVFJ6y1Tc4r0eIApqiw==} engines: {node: '>=6.9.0'} @@ -507,6 +569,14 @@ packages: '@babel/types': 7.24.5 dev: true + /@babel/helper-function-name@7.24.6: + resolution: {integrity: sha512-xpeLqeeRkbxhnYimfr2PC+iA0Q7ljX/d1eZ9/inYbmfG2jpl8Lu3DyXvpOAnrS5kxkfOWJjioIMQsaMBXFI05w==} + engines: {node: '>=6.9.0'} + dependencies: + '@babel/template': 7.24.6 + '@babel/types': 7.24.6 + dev: true + /@babel/helper-hoist-variables@7.22.5: resolution: {integrity: sha512-wGjk9QZVzvknA6yKIUURb8zY3grXCcOZt+/7Wcy8O2uctxhplmUPkOdlgoNhmdVee2c92JXbf1xpMtVNbfoxRw==} engines: {node: '>=6.9.0'} @@ -514,6 +584,13 @@ packages: '@babel/types': 7.24.5 dev: true + /@babel/helper-hoist-variables@7.24.6: + resolution: {integrity: sha512-SF/EMrC3OD7dSta1bLJIlrsVxwtd0UpjRJqLno6125epQMJ/kyFmpTT4pbvPbdQHzCHg+biQ7Syo8lnDtbR+uA==} + engines: {node: '>=6.9.0'} + dependencies: + '@babel/types': 7.24.6 + dev: true + /@babel/helper-member-expression-to-functions@7.24.5: resolution: {integrity: sha512-4owRteeihKWKamtqg4JmWSsEZU445xpFRXPEwp44HbgbxdWlUV1b4Agg4lkA806Lil5XM/e+FJyS0vj5T6vmcA==} engines: {node: '>=6.9.0'} @@ -528,6 +605,13 @@ packages: '@babel/types': 7.24.5 dev: true + /@babel/helper-module-imports@7.24.6: + resolution: {integrity: sha512-a26dmxFJBF62rRO9mmpgrfTLsAuyHk4e1hKTUkD/fcMfynt8gvEKwQPQDVxWhca8dHoDck+55DFt42zV0QMw5g==} + engines: {node: '>=6.9.0'} + dependencies: + '@babel/types': 7.24.6 + dev: true + /@babel/helper-module-transforms@7.24.5(@babel/core@7.24.5): resolution: {integrity: sha512-9GxeY8c2d2mdQUP1Dye0ks3VDyIMS98kt/llQ2nUId8IsWqTF0l1LkSX0/uP7l7MCDrzXS009Hyhe2gzTiGW8A==} engines: {node: '>=6.9.0'} @@ -542,6 +626,20 @@ packages: '@babel/helper-validator-identifier': 7.24.5 dev: true + /@babel/helper-module-transforms@7.24.6(@babel/core@7.24.6): + resolution: {integrity: sha512-Y/YMPm83mV2HJTbX1Qh2sjgjqcacvOlhbzdCCsSlblOKjSYmQqEbO6rUniWQyRo9ncyfjT8hnUjlG06RXDEmcA==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0 + dependencies: + '@babel/core': 7.24.6 + '@babel/helper-environment-visitor': 7.24.6 + '@babel/helper-module-imports': 7.24.6 + '@babel/helper-simple-access': 7.24.6 + '@babel/helper-split-export-declaration': 7.24.6 + '@babel/helper-validator-identifier': 7.24.6 + dev: true + /@babel/helper-optimise-call-expression@7.22.5: resolution: {integrity: sha512-HBwaojN0xFRx4yIvpwGqxiV2tUfl7401jlok564NgB9EHS1y6QT17FmKWm4ztqjeVdXLuC4fSvHc5ePpQjoTbw==} engines: {node: '>=6.9.0'} @@ -573,6 +671,13 @@ packages: '@babel/types': 7.24.5 dev: true + /@babel/helper-simple-access@7.24.6: + resolution: {integrity: sha512-nZzcMMD4ZhmB35MOOzQuiGO5RzL6tJbsT37Zx8M5L/i9KSrukGXWTjLe1knIbb/RmxoJE9GON9soq0c0VEMM5g==} + engines: {node: '>=6.9.0'} + dependencies: + '@babel/types': 7.24.6 + dev: true + /@babel/helper-skip-transparent-expression-wrappers@7.22.5: resolution: {integrity: sha512-tK14r66JZKiC43p8Ki33yLBVJKlQDFoA8GYN67lWCDCqoL6EMMSuM9b+Iff2jHaM/RRFYl7K+iiru7hbRqNx8Q==} engines: {node: '>=6.9.0'} @@ -587,21 +692,43 @@ packages: '@babel/types': 7.24.5 dev: true + /@babel/helper-split-export-declaration@7.24.6: + resolution: {integrity: sha512-CvLSkwXGWnYlF9+J3iZUvwgAxKiYzK3BWuo+mLzD/MDGOZDj7Gq8+hqaOkMxmJwmlv0iu86uH5fdADd9Hxkymw==} + engines: {node: '>=6.9.0'} + dependencies: + '@babel/types': 7.24.6 + dev: true + /@babel/helper-string-parser@7.24.1: resolution: {integrity: sha512-2ofRCjnnA9y+wk8b9IAREroeUP02KHp431N2mhKniy2yKIDKpbrHv9eXwm8cBeWQYcJmzv5qKCu65P47eCF7CQ==} engines: {node: '>=6.9.0'} dev: true + /@babel/helper-string-parser@7.24.6: + resolution: {integrity: sha512-WdJjwMEkmBicq5T9fm/cHND3+UlFa2Yj8ALLgmoSQAJZysYbBjw+azChSGPN4DSPLXOcooGRvDwZWMcF/mLO2Q==} + engines: {node: '>=6.9.0'} + dev: true + /@babel/helper-validator-identifier@7.24.5: resolution: {integrity: sha512-3q93SSKX2TWCG30M2G2kwaKeTYgEUp5Snjuj8qm729SObL6nbtUldAi37qbxkD5gg3xnBio+f9nqpSepGZMvxA==} engines: {node: '>=6.9.0'} dev: true + /@babel/helper-validator-identifier@7.24.6: + resolution: {integrity: sha512-4yA7s865JHaqUdRbnaxarZREuPTHrjpDT+pXoAZ1yhyo6uFnIEpS8VMu16siFOHDpZNKYv5BObhsB//ycbICyw==} + engines: {node: '>=6.9.0'} + dev: true + /@babel/helper-validator-option@7.23.5: resolution: {integrity: sha512-85ttAOMLsr53VgXkTbkx8oA6YTfT4q7/HzXSLEYmjcSTJPMPQtvq1BD79Byep5xMUYbGRzEpDsjUf3dyp54IKw==} engines: {node: '>=6.9.0'} dev: true + /@babel/helper-validator-option@7.24.6: + resolution: {integrity: sha512-Jktc8KkF3zIkePb48QO+IapbXlSapOW9S+ogZZkcO6bABgYAxtZcjZ/O005111YLf+j4M84uEgwYoidDkXbCkQ==} + engines: {node: '>=6.9.0'} + dev: true + /@babel/helpers@7.24.5: resolution: {integrity: sha512-CiQmBMMpMQHwM5m01YnrM6imUG1ebgYJ+fAIW4FZe6m4qHTPaRHti+R8cggAwkdz4oXhtO4/K9JWlh+8hIfR2Q==} engines: {node: '>=6.9.0'} @@ -613,6 +740,14 @@ packages: - supports-color dev: true + /@babel/helpers@7.24.6: + resolution: {integrity: sha512-V2PI+NqnyFu1i0GyTd/O/cTpxzQCYioSkUIRmgo7gFEHKKCg5w46+r/A6WeUR1+P3TeQ49dspGPNd/E3n9AnnA==} + engines: {node: '>=6.9.0'} + dependencies: + '@babel/template': 7.24.6 + '@babel/types': 7.24.6 + dev: true + /@babel/highlight@7.24.5: resolution: {integrity: sha512-8lLmua6AVh/8SLJRRVD6V8p73Hir9w5mJrhE+IPpILG31KKlI9iz5zmBYKcWPS59qSfgP9RaSBQSHHE81WKuEw==} engines: {node: '>=6.9.0'} @@ -623,6 +758,16 @@ packages: picocolors: 1.0.0 dev: true + /@babel/highlight@7.24.6: + resolution: {integrity: sha512-2YnuOp4HAk2BsBrJJvYCbItHx0zWscI1C3zgWkz+wDyD9I7GIVrfnLyrR4Y1VR+7p+chAEcrgRQYZAGIKMV7vQ==} + engines: {node: '>=6.9.0'} + dependencies: + '@babel/helper-validator-identifier': 7.24.6 + chalk: 2.4.2 + js-tokens: 4.0.0 + picocolors: 1.0.1 + dev: true + /@babel/parser@7.24.5: resolution: {integrity: sha512-EOv5IK8arwh3LI47dz1b0tKUb/1uhHAnHJOrjgtQMIpu1uXd9mlFrJg9IUgGUgZ41Ch0K8REPTYpO7B76b4vJg==} engines: {node: '>=6.0.0'} @@ -631,6 +776,14 @@ packages: '@babel/types': 7.24.5 dev: true + /@babel/parser@7.24.6: + resolution: {integrity: sha512-eNZXdfU35nJC2h24RznROuOpO94h6x8sg9ju0tT9biNtLZ2vuP8SduLqqV+/8+cebSLV9SJEAN5Z3zQbJG/M+Q==} + engines: {node: '>=6.0.0'} + hasBin: true + dependencies: + '@babel/types': 7.24.6 + dev: true + /@babel/plugin-syntax-async-generators@7.8.4(@babel/core@7.24.5): resolution: {integrity: sha512-tycmZxkGfZaxhMRbXlPXuVFpdWlXpir2W4AMhSJgRKzk/eDlIXOhb2LHWoLpDF7TEHylV5zNhykX6KAgHJmTNw==} peerDependencies: @@ -822,6 +975,15 @@ packages: '@babel/types': 7.24.5 dev: true + /@babel/template@7.24.6: + resolution: {integrity: sha512-3vgazJlLwNXi9jhrR1ef8qiB65L1RK90+lEQwv4OxveHnqC3BfmnHdgySwRLzf6akhlOYenT+b7AfWq+a//AHw==} + engines: {node: '>=6.9.0'} + dependencies: + '@babel/code-frame': 7.24.6 + '@babel/parser': 7.24.6 + '@babel/types': 7.24.6 + dev: true + /@babel/traverse@7.24.5: resolution: {integrity: sha512-7aaBLeDQ4zYcUFDUD41lJc1fG8+5IU9DaNSJAgal866FGvmD5EbWQgnEC6kO1gGLsX0esNkfnJSndbTXA3r7UA==} engines: {node: '>=6.9.0'} @@ -840,6 +1002,24 @@ packages: - supports-color dev: true + /@babel/traverse@7.24.6: + resolution: {integrity: sha512-OsNjaJwT9Zn8ozxcfoBc+RaHdj3gFmCmYoQLUII1o6ZrUwku0BMg80FoOTPx+Gi6XhcQxAYE4xyjPTo4SxEQqw==} + engines: {node: '>=6.9.0'} + dependencies: + '@babel/code-frame': 7.24.6 + '@babel/generator': 7.24.6 + '@babel/helper-environment-visitor': 7.24.6 + '@babel/helper-function-name': 7.24.6 + '@babel/helper-hoist-variables': 7.24.6 + '@babel/helper-split-export-declaration': 7.24.6 + '@babel/parser': 7.24.6 + '@babel/types': 7.24.6 + debug: 4.3.4 + globals: 11.12.0 + transitivePeerDependencies: + - supports-color + dev: true + /@babel/types@7.24.5: resolution: {integrity: sha512-6mQNsaLeXTw0nxYUYu+NSa4Hx4BlF1x1x8/PMFbiR+GBSr+2DkECc69b8hgy2frEodNcvPffeH8YfWd3LI6jhQ==} engines: {node: '>=6.9.0'} @@ -849,6 +1029,15 @@ packages: to-fast-properties: 2.0.0 dev: true + /@babel/types@7.24.6: + resolution: {integrity: sha512-WaMsgi6Q8zMgMth93GvWPXkhAIEobfsIkLTacoVZoK1J0CevIPGYY2Vo5YvJGqyHqXM6P4ppOYGsIRU8MM9pFQ==} + engines: {node: '>=6.9.0'} + dependencies: + '@babel/helper-string-parser': 7.24.6 + '@babel/helper-validator-identifier': 7.24.6 + to-fast-properties: 2.0.0 + dev: true + /@bcoe/v8-coverage@0.2.3: resolution: {integrity: sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==} dev: true @@ -1187,12 +1376,12 @@ packages: tailwindcss: 3.4.3(ts-node@10.9.2) dev: false - /@hookform/resolvers@3.3.4(react-hook-form@7.51.4): - resolution: {integrity: sha512-o5cgpGOuJYrd+iMKvkttOclgwRW86EsWJZZRC23prf0uU2i48Htq4PuT73AVb9ionFyZrwYEITuOFGF+BydEtQ==} + /@hookform/resolvers@3.4.2(react-hook-form@7.51.5): + resolution: {integrity: sha512-1m9uAVIO8wVf7VCDAGsuGA0t6Z3m6jVGAN50HkV9vYLl0yixKK/Z1lr01vaRvYCkIKGoy1noVRxMzQYb4y/j1Q==} peerDependencies: react-hook-form: ^7.0.0 dependencies: - react-hook-form: 7.51.4(react@18.3.1) + react-hook-form: 7.51.5(react@18.3.1) dev: false /@humanwhocodes/config-array@0.11.14: @@ -1230,7 +1419,7 @@ packages: '@inquirer/figures': 1.0.1 '@inquirer/type': 1.3.1 '@types/mute-stream': 0.0.4 - '@types/node': 20.12.11 + '@types/node': 20.12.12 '@types/wrap-ansi': 3.0.0 ansi-escapes: 4.3.2 chalk: 4.1.2 @@ -1836,12 +2025,12 @@ packages: playwright: 1.43.1 dev: true - /@playwright/test@1.44.0: - resolution: {integrity: sha512-rNX5lbNidamSUorBhB4XZ9SQTjAqfe5M+p37Z8ic0jPFBMo5iCtQz1kRWkEMg+rYOKSlVycpQmpqjSFq7LXOfg==} + /@playwright/test@1.44.1: + resolution: {integrity: sha512-1hZ4TNvD5z9VuhNJ/walIjvMVvYkZKf71axoF/uiAqpntQJXpG64dlXhoDXE3OczPuTuvjf/M5KWFg5VAVUS3Q==} engines: {node: '>=16'} hasBin: true dependencies: - playwright: 1.44.0 + playwright: 1.44.1 dev: true /@radix-ui/number@1.0.1: @@ -1856,7 +2045,7 @@ packages: '@babel/runtime': 7.24.5 dev: false - /@radix-ui/react-arrow@1.0.3(@types/react-dom@18.3.0)(@types/react@18.3.1)(react-dom@18.3.1)(react@18.3.1): + /@radix-ui/react-arrow@1.0.3(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1): resolution: {integrity: sha512-wSP+pHsB/jQRaL6voubsQ/ZlrGBHHrOjmBnr19hxYgtS0WvAFwZhK2WP/YY5yF9uKECCEEDGxuLxq1NBK51wFA==} peerDependencies: '@types/react': '*' @@ -1870,14 +2059,14 @@ packages: optional: true dependencies: '@babel/runtime': 7.24.5 - '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.3.0)(@types/react@18.3.1)(react-dom@18.3.1)(react@18.3.1) - '@types/react': 18.3.1 + '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1) + '@types/react': 18.3.3 '@types/react-dom': 18.3.0 react: 18.3.1 react-dom: 18.3.1(react@18.3.1) dev: false - /@radix-ui/react-avatar@1.0.4(@types/react-dom@18.3.0)(@types/react@18.3.1)(react-dom@18.3.1)(react@18.3.1): + /@radix-ui/react-avatar@1.0.4(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1): resolution: {integrity: sha512-kVK2K7ZD3wwj3qhle0ElXhOjbezIgyl2hVvgwfIdexL3rN6zJmy5AqqIf+D31lxVppdzV8CjAfZ6PklkmInZLw==} peerDependencies: '@types/react': '*' @@ -1891,17 +2080,17 @@ packages: optional: true dependencies: '@babel/runtime': 7.24.5 - '@radix-ui/react-context': 1.0.1(@types/react@18.3.1)(react@18.3.1) - '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.3.0)(@types/react@18.3.1)(react-dom@18.3.1)(react@18.3.1) - '@radix-ui/react-use-callback-ref': 1.0.1(@types/react@18.3.1)(react@18.3.1) - '@radix-ui/react-use-layout-effect': 1.0.1(@types/react@18.3.1)(react@18.3.1) - '@types/react': 18.3.1 + '@radix-ui/react-context': 1.0.1(@types/react@18.3.3)(react@18.3.1) + '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1) + '@radix-ui/react-use-callback-ref': 1.0.1(@types/react@18.3.3)(react@18.3.1) + '@radix-ui/react-use-layout-effect': 1.0.1(@types/react@18.3.3)(react@18.3.1) + '@types/react': 18.3.3 '@types/react-dom': 18.3.0 react: 18.3.1 react-dom: 18.3.1(react@18.3.1) dev: false - /@radix-ui/react-checkbox@1.0.4(@types/react-dom@18.3.0)(@types/react@18.3.1)(react-dom@18.3.1)(react@18.3.1): + /@radix-ui/react-checkbox@1.0.4(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1): resolution: {integrity: sha512-CBuGQa52aAYnADZVt/KBQzXrwx6TqnlwtcIPGtVt5JkkzQwMOLJjPukimhfKEr4GQNd43C+djUh5Ikopj8pSLg==} peerDependencies: '@types/react': '*' @@ -1916,20 +2105,20 @@ packages: dependencies: '@babel/runtime': 7.24.5 '@radix-ui/primitive': 1.0.1 - '@radix-ui/react-compose-refs': 1.0.1(@types/react@18.3.1)(react@18.3.1) - '@radix-ui/react-context': 1.0.1(@types/react@18.3.1)(react@18.3.1) - '@radix-ui/react-presence': 1.0.1(@types/react-dom@18.3.0)(@types/react@18.3.1)(react-dom@18.3.1)(react@18.3.1) - '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.3.0)(@types/react@18.3.1)(react-dom@18.3.1)(react@18.3.1) - '@radix-ui/react-use-controllable-state': 1.0.1(@types/react@18.3.1)(react@18.3.1) - '@radix-ui/react-use-previous': 1.0.1(@types/react@18.3.1)(react@18.3.1) - '@radix-ui/react-use-size': 1.0.1(@types/react@18.3.1)(react@18.3.1) - '@types/react': 18.3.1 + '@radix-ui/react-compose-refs': 1.0.1(@types/react@18.3.3)(react@18.3.1) + '@radix-ui/react-context': 1.0.1(@types/react@18.3.3)(react@18.3.1) + '@radix-ui/react-presence': 1.0.1(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1) + '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1) + '@radix-ui/react-use-controllable-state': 1.0.1(@types/react@18.3.3)(react@18.3.1) + '@radix-ui/react-use-previous': 1.0.1(@types/react@18.3.3)(react@18.3.1) + '@radix-ui/react-use-size': 1.0.1(@types/react@18.3.3)(react@18.3.1) + '@types/react': 18.3.3 '@types/react-dom': 18.3.0 react: 18.3.1 react-dom: 18.3.1(react@18.3.1) dev: false - /@radix-ui/react-collapsible@1.0.3(@types/react-dom@18.3.0)(@types/react@18.3.1)(react-dom@18.3.1)(react@18.3.1): + /@radix-ui/react-collapsible@1.0.3(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1): resolution: {integrity: sha512-UBmVDkmR6IvDsloHVN+3rtx4Mi5TFvylYXpluuv0f37dtaz3H99bp8No0LGXRigVpl3UAT4l9j6bIchh42S/Gg==} peerDependencies: '@types/react': '*' @@ -1944,20 +2133,20 @@ packages: dependencies: '@babel/runtime': 7.24.5 '@radix-ui/primitive': 1.0.1 - '@radix-ui/react-compose-refs': 1.0.1(@types/react@18.3.1)(react@18.3.1) - '@radix-ui/react-context': 1.0.1(@types/react@18.3.1)(react@18.3.1) - '@radix-ui/react-id': 1.0.1(@types/react@18.3.1)(react@18.3.1) - '@radix-ui/react-presence': 1.0.1(@types/react-dom@18.3.0)(@types/react@18.3.1)(react-dom@18.3.1)(react@18.3.1) - '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.3.0)(@types/react@18.3.1)(react-dom@18.3.1)(react@18.3.1) - '@radix-ui/react-use-controllable-state': 1.0.1(@types/react@18.3.1)(react@18.3.1) - '@radix-ui/react-use-layout-effect': 1.0.1(@types/react@18.3.1)(react@18.3.1) - '@types/react': 18.3.1 + '@radix-ui/react-compose-refs': 1.0.1(@types/react@18.3.3)(react@18.3.1) + '@radix-ui/react-context': 1.0.1(@types/react@18.3.3)(react@18.3.1) + '@radix-ui/react-id': 1.0.1(@types/react@18.3.3)(react@18.3.1) + '@radix-ui/react-presence': 1.0.1(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1) + '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1) + '@radix-ui/react-use-controllable-state': 1.0.1(@types/react@18.3.3)(react@18.3.1) + '@radix-ui/react-use-layout-effect': 1.0.1(@types/react@18.3.3)(react@18.3.1) + '@types/react': 18.3.3 '@types/react-dom': 18.3.0 react: 18.3.1 react-dom: 18.3.1(react@18.3.1) dev: false - /@radix-ui/react-collection@1.0.3(@types/react-dom@18.3.0)(@types/react@18.3.1)(react-dom@18.3.1)(react@18.3.1): + /@radix-ui/react-collection@1.0.3(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1): resolution: {integrity: sha512-3SzW+0PW7yBBoQlT8wNcGtaxaD0XSu0uLUFgrtHY08Acx05TaHaOmVLR73c0j/cqpDy53KBMO7s0dx2wmOIDIA==} peerDependencies: '@types/react': '*' @@ -1971,17 +2160,17 @@ packages: optional: true dependencies: '@babel/runtime': 7.24.5 - '@radix-ui/react-compose-refs': 1.0.1(@types/react@18.3.1)(react@18.3.1) - '@radix-ui/react-context': 1.0.1(@types/react@18.3.1)(react@18.3.1) - '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.3.0)(@types/react@18.3.1)(react-dom@18.3.1)(react@18.3.1) - '@radix-ui/react-slot': 1.0.2(@types/react@18.3.1)(react@18.3.1) - '@types/react': 18.3.1 + '@radix-ui/react-compose-refs': 1.0.1(@types/react@18.3.3)(react@18.3.1) + '@radix-ui/react-context': 1.0.1(@types/react@18.3.3)(react@18.3.1) + '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1) + '@radix-ui/react-slot': 1.0.2(@types/react@18.3.3)(react@18.3.1) + '@types/react': 18.3.3 '@types/react-dom': 18.3.0 react: 18.3.1 react-dom: 18.3.1(react@18.3.1) dev: false - /@radix-ui/react-compose-refs@1.0.1(@types/react@18.3.1)(react@18.3.1): + /@radix-ui/react-compose-refs@1.0.1(@types/react@18.3.3)(react@18.3.1): resolution: {integrity: sha512-fDSBgd44FKHa1FRMU59qBMPFcl2PZE+2nmqunj+BWFyYYjnhIDWL2ItDs3rrbJDQOtzt5nIebLCQc4QRfz6LJw==} peerDependencies: '@types/react': '*' @@ -1991,11 +2180,11 @@ packages: optional: true dependencies: '@babel/runtime': 7.24.5 - '@types/react': 18.3.1 + '@types/react': 18.3.3 react: 18.3.1 dev: false - /@radix-ui/react-context@1.0.1(@types/react@18.3.1)(react@18.3.1): + /@radix-ui/react-context@1.0.1(@types/react@18.3.3)(react@18.3.1): resolution: {integrity: sha512-ebbrdFoYTcuZ0v4wG5tedGnp9tzcV8awzsxYph7gXUyvnNLuTIcCk1q17JEbnVhXAKG9oX3KtchwiMIAYp9NLg==} peerDependencies: '@types/react': '*' @@ -2005,11 +2194,11 @@ packages: optional: true dependencies: '@babel/runtime': 7.24.5 - '@types/react': 18.3.1 + '@types/react': 18.3.3 react: 18.3.1 dev: false - /@radix-ui/react-dialog@1.0.5(@types/react-dom@18.3.0)(@types/react@18.3.1)(react-dom@18.3.1)(react@18.3.1): + /@radix-ui/react-dialog@1.0.5(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1): resolution: {integrity: sha512-GjWJX/AUpB703eEBanuBnIWdIXg6NvJFCXcNlSZk4xdszCdhrJgBoUd1cGk67vFO+WdA2pfI/plOpqz/5GUP6Q==} peerDependencies: '@types/react': '*' @@ -2024,26 +2213,26 @@ packages: dependencies: '@babel/runtime': 7.24.5 '@radix-ui/primitive': 1.0.1 - '@radix-ui/react-compose-refs': 1.0.1(@types/react@18.3.1)(react@18.3.1) - '@radix-ui/react-context': 1.0.1(@types/react@18.3.1)(react@18.3.1) - '@radix-ui/react-dismissable-layer': 1.0.5(@types/react-dom@18.3.0)(@types/react@18.3.1)(react-dom@18.3.1)(react@18.3.1) - '@radix-ui/react-focus-guards': 1.0.1(@types/react@18.3.1)(react@18.3.1) - '@radix-ui/react-focus-scope': 1.0.4(@types/react-dom@18.3.0)(@types/react@18.3.1)(react-dom@18.3.1)(react@18.3.1) - '@radix-ui/react-id': 1.0.1(@types/react@18.3.1)(react@18.3.1) - '@radix-ui/react-portal': 1.0.4(@types/react-dom@18.3.0)(@types/react@18.3.1)(react-dom@18.3.1)(react@18.3.1) - '@radix-ui/react-presence': 1.0.1(@types/react-dom@18.3.0)(@types/react@18.3.1)(react-dom@18.3.1)(react@18.3.1) - '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.3.0)(@types/react@18.3.1)(react-dom@18.3.1)(react@18.3.1) - '@radix-ui/react-slot': 1.0.2(@types/react@18.3.1)(react@18.3.1) - '@radix-ui/react-use-controllable-state': 1.0.1(@types/react@18.3.1)(react@18.3.1) - '@types/react': 18.3.1 + '@radix-ui/react-compose-refs': 1.0.1(@types/react@18.3.3)(react@18.3.1) + '@radix-ui/react-context': 1.0.1(@types/react@18.3.3)(react@18.3.1) + '@radix-ui/react-dismissable-layer': 1.0.5(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1) + '@radix-ui/react-focus-guards': 1.0.1(@types/react@18.3.3)(react@18.3.1) + '@radix-ui/react-focus-scope': 1.0.4(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1) + '@radix-ui/react-id': 1.0.1(@types/react@18.3.3)(react@18.3.1) + '@radix-ui/react-portal': 1.0.4(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1) + '@radix-ui/react-presence': 1.0.1(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1) + '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1) + '@radix-ui/react-slot': 1.0.2(@types/react@18.3.3)(react@18.3.1) + '@radix-ui/react-use-controllable-state': 1.0.1(@types/react@18.3.3)(react@18.3.1) + '@types/react': 18.3.3 '@types/react-dom': 18.3.0 aria-hidden: 1.2.4 react: 18.3.1 react-dom: 18.3.1(react@18.3.1) - react-remove-scroll: 2.5.5(@types/react@18.3.1)(react@18.3.1) + react-remove-scroll: 2.5.5(@types/react@18.3.3)(react@18.3.1) dev: false - /@radix-ui/react-direction@1.0.1(@types/react@18.3.1)(react@18.3.1): + /@radix-ui/react-direction@1.0.1(@types/react@18.3.3)(react@18.3.1): resolution: {integrity: sha512-RXcvnXgyvYvBEOhCBuddKecVkoMiI10Jcm5cTI7abJRAHYfFxeu+FBQs/DvdxSYucxR5mna0dNsL6QFlds5TMA==} peerDependencies: '@types/react': '*' @@ -2053,11 +2242,11 @@ packages: optional: true dependencies: '@babel/runtime': 7.24.5 - '@types/react': 18.3.1 + '@types/react': 18.3.3 react: 18.3.1 dev: false - /@radix-ui/react-dismissable-layer@1.0.5(@types/react-dom@18.3.0)(@types/react@18.3.1)(react-dom@18.3.1)(react@18.3.1): + /@radix-ui/react-dismissable-layer@1.0.5(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1): resolution: {integrity: sha512-aJeDjQhywg9LBu2t/At58hCvr7pEm0o2Ke1x33B+MhjNmmZ17sy4KImo0KPLgsnc/zN7GPdce8Cnn0SWvwZO7g==} peerDependencies: '@types/react': '*' @@ -2072,17 +2261,17 @@ packages: dependencies: '@babel/runtime': 7.24.5 '@radix-ui/primitive': 1.0.1 - '@radix-ui/react-compose-refs': 1.0.1(@types/react@18.3.1)(react@18.3.1) - '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.3.0)(@types/react@18.3.1)(react-dom@18.3.1)(react@18.3.1) - '@radix-ui/react-use-callback-ref': 1.0.1(@types/react@18.3.1)(react@18.3.1) - '@radix-ui/react-use-escape-keydown': 1.0.3(@types/react@18.3.1)(react@18.3.1) - '@types/react': 18.3.1 + '@radix-ui/react-compose-refs': 1.0.1(@types/react@18.3.3)(react@18.3.1) + '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1) + '@radix-ui/react-use-callback-ref': 1.0.1(@types/react@18.3.3)(react@18.3.1) + '@radix-ui/react-use-escape-keydown': 1.0.3(@types/react@18.3.3)(react@18.3.1) + '@types/react': 18.3.3 '@types/react-dom': 18.3.0 react: 18.3.1 react-dom: 18.3.1(react@18.3.1) dev: false - /@radix-ui/react-dropdown-menu@2.0.6(@types/react-dom@18.3.0)(@types/react@18.3.1)(react-dom@18.3.1)(react@18.3.1): + /@radix-ui/react-dropdown-menu@2.0.6(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1): resolution: {integrity: sha512-i6TuFOoWmLWq+M/eCLGd/bQ2HfAX1RJgvrBQ6AQLmzfvsLdefxbWu8G9zczcPFfcSPehz9GcpF6K9QYreFV8hA==} peerDependencies: '@types/react': '*' @@ -2097,19 +2286,19 @@ packages: dependencies: '@babel/runtime': 7.24.5 '@radix-ui/primitive': 1.0.1 - '@radix-ui/react-compose-refs': 1.0.1(@types/react@18.3.1)(react@18.3.1) - '@radix-ui/react-context': 1.0.1(@types/react@18.3.1)(react@18.3.1) - '@radix-ui/react-id': 1.0.1(@types/react@18.3.1)(react@18.3.1) - '@radix-ui/react-menu': 2.0.6(@types/react-dom@18.3.0)(@types/react@18.3.1)(react-dom@18.3.1)(react@18.3.1) - '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.3.0)(@types/react@18.3.1)(react-dom@18.3.1)(react@18.3.1) - '@radix-ui/react-use-controllable-state': 1.0.1(@types/react@18.3.1)(react@18.3.1) - '@types/react': 18.3.1 + '@radix-ui/react-compose-refs': 1.0.1(@types/react@18.3.3)(react@18.3.1) + '@radix-ui/react-context': 1.0.1(@types/react@18.3.3)(react@18.3.1) + '@radix-ui/react-id': 1.0.1(@types/react@18.3.3)(react@18.3.1) + '@radix-ui/react-menu': 2.0.6(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1) + '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1) + '@radix-ui/react-use-controllable-state': 1.0.1(@types/react@18.3.3)(react@18.3.1) + '@types/react': 18.3.3 '@types/react-dom': 18.3.0 react: 18.3.1 react-dom: 18.3.1(react@18.3.1) dev: false - /@radix-ui/react-focus-guards@1.0.1(@types/react@18.3.1)(react@18.3.1): + /@radix-ui/react-focus-guards@1.0.1(@types/react@18.3.3)(react@18.3.1): resolution: {integrity: sha512-Rect2dWbQ8waGzhMavsIbmSVCgYxkXLxxR3ZvCX79JOglzdEy4JXMb98lq4hPxUbLr77nP0UOGf4rcMU+s1pUA==} peerDependencies: '@types/react': '*' @@ -2119,11 +2308,11 @@ packages: optional: true dependencies: '@babel/runtime': 7.24.5 - '@types/react': 18.3.1 + '@types/react': 18.3.3 react: 18.3.1 dev: false - /@radix-ui/react-focus-scope@1.0.4(@types/react-dom@18.3.0)(@types/react@18.3.1)(react-dom@18.3.1)(react@18.3.1): + /@radix-ui/react-focus-scope@1.0.4(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1): resolution: {integrity: sha512-sL04Mgvf+FmyvZeYfNu1EPAaaxD+aw7cYeIB9L9Fvq8+urhltTRaEo5ysKOpHuKPclsZcSUMKlN05x4u+CINpA==} peerDependencies: '@types/react': '*' @@ -2137,16 +2326,16 @@ packages: optional: true dependencies: '@babel/runtime': 7.24.5 - '@radix-ui/react-compose-refs': 1.0.1(@types/react@18.3.1)(react@18.3.1) - '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.3.0)(@types/react@18.3.1)(react-dom@18.3.1)(react@18.3.1) - '@radix-ui/react-use-callback-ref': 1.0.1(@types/react@18.3.1)(react@18.3.1) - '@types/react': 18.3.1 + '@radix-ui/react-compose-refs': 1.0.1(@types/react@18.3.3)(react@18.3.1) + '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1) + '@radix-ui/react-use-callback-ref': 1.0.1(@types/react@18.3.3)(react@18.3.1) + '@types/react': 18.3.3 '@types/react-dom': 18.3.0 react: 18.3.1 react-dom: 18.3.1(react@18.3.1) dev: false - /@radix-ui/react-hover-card@1.0.7(@types/react-dom@18.3.0)(@types/react@18.3.1)(react-dom@18.3.1)(react@18.3.1): + /@radix-ui/react-hover-card@1.0.7(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1): resolution: {integrity: sha512-OcUN2FU0YpmajD/qkph3XzMcK/NmSk9hGWnjV68p6QiZMgILugusgQwnLSDs3oFSJYGKf3Y49zgFedhGh04k9A==} peerDependencies: '@types/react': '*' @@ -2161,15 +2350,15 @@ packages: dependencies: '@babel/runtime': 7.24.5 '@radix-ui/primitive': 1.0.1 - '@radix-ui/react-compose-refs': 1.0.1(@types/react@18.3.1)(react@18.3.1) - '@radix-ui/react-context': 1.0.1(@types/react@18.3.1)(react@18.3.1) - '@radix-ui/react-dismissable-layer': 1.0.5(@types/react-dom@18.3.0)(@types/react@18.3.1)(react-dom@18.3.1)(react@18.3.1) - '@radix-ui/react-popper': 1.1.3(@types/react-dom@18.3.0)(@types/react@18.3.1)(react-dom@18.3.1)(react@18.3.1) - '@radix-ui/react-portal': 1.0.4(@types/react-dom@18.3.0)(@types/react@18.3.1)(react-dom@18.3.1)(react@18.3.1) - '@radix-ui/react-presence': 1.0.1(@types/react-dom@18.3.0)(@types/react@18.3.1)(react-dom@18.3.1)(react@18.3.1) - '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.3.0)(@types/react@18.3.1)(react-dom@18.3.1)(react@18.3.1) - '@radix-ui/react-use-controllable-state': 1.0.1(@types/react@18.3.1)(react@18.3.1) - '@types/react': 18.3.1 + '@radix-ui/react-compose-refs': 1.0.1(@types/react@18.3.3)(react@18.3.1) + '@radix-ui/react-context': 1.0.1(@types/react@18.3.3)(react@18.3.1) + '@radix-ui/react-dismissable-layer': 1.0.5(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1) + '@radix-ui/react-popper': 1.1.3(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1) + '@radix-ui/react-portal': 1.0.4(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1) + '@radix-ui/react-presence': 1.0.1(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1) + '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1) + '@radix-ui/react-use-controllable-state': 1.0.1(@types/react@18.3.3)(react@18.3.1) + '@types/react': 18.3.3 '@types/react-dom': 18.3.0 react: 18.3.1 react-dom: 18.3.1(react@18.3.1) @@ -2183,7 +2372,7 @@ packages: react: 18.3.1 dev: false - /@radix-ui/react-id@1.0.1(@types/react@18.3.1)(react@18.3.1): + /@radix-ui/react-id@1.0.1(@types/react@18.3.3)(react@18.3.1): resolution: {integrity: sha512-tI7sT/kqYp8p96yGWY1OAnLHrqDgzHefRBKQ2YAkBS5ja7QLcZ9Z/uY7bEjPUatf8RomoXM8/1sMj1IJaE5UzQ==} peerDependencies: '@types/react': '*' @@ -2193,12 +2382,12 @@ packages: optional: true dependencies: '@babel/runtime': 7.24.5 - '@radix-ui/react-use-layout-effect': 1.0.1(@types/react@18.3.1)(react@18.3.1) - '@types/react': 18.3.1 + '@radix-ui/react-use-layout-effect': 1.0.1(@types/react@18.3.3)(react@18.3.1) + '@types/react': 18.3.3 react: 18.3.1 dev: false - /@radix-ui/react-label@2.0.2(@types/react-dom@18.3.0)(@types/react@18.3.1)(react-dom@18.3.1)(react@18.3.1): + /@radix-ui/react-label@2.0.2(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1): resolution: {integrity: sha512-N5ehvlM7qoTLx7nWPodsPYPgMzA5WM8zZChQg8nyFJKnDO5WHdba1vv5/H6IO5LtJMfD2Q3wh1qHFGNtK0w3bQ==} peerDependencies: '@types/react': '*' @@ -2212,14 +2401,14 @@ packages: optional: true dependencies: '@babel/runtime': 7.24.5 - '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.3.0)(@types/react@18.3.1)(react-dom@18.3.1)(react@18.3.1) - '@types/react': 18.3.1 + '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1) + '@types/react': 18.3.3 '@types/react-dom': 18.3.0 react: 18.3.1 react-dom: 18.3.1(react@18.3.1) dev: false - /@radix-ui/react-menu@2.0.6(@types/react-dom@18.3.0)(@types/react@18.3.1)(react-dom@18.3.1)(react@18.3.1): + /@radix-ui/react-menu@2.0.6(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1): resolution: {integrity: sha512-BVkFLS+bUC8HcImkRKPSiVumA1VPOOEC5WBMiT+QAVsPzW1FJzI9KnqgGxVDPBcql5xXrHkD3JOVoXWEXD8SYA==} peerDependencies: '@types/react': '*' @@ -2234,30 +2423,30 @@ packages: dependencies: '@babel/runtime': 7.24.5 '@radix-ui/primitive': 1.0.1 - '@radix-ui/react-collection': 1.0.3(@types/react-dom@18.3.0)(@types/react@18.3.1)(react-dom@18.3.1)(react@18.3.1) - '@radix-ui/react-compose-refs': 1.0.1(@types/react@18.3.1)(react@18.3.1) - '@radix-ui/react-context': 1.0.1(@types/react@18.3.1)(react@18.3.1) - '@radix-ui/react-direction': 1.0.1(@types/react@18.3.1)(react@18.3.1) - '@radix-ui/react-dismissable-layer': 1.0.5(@types/react-dom@18.3.0)(@types/react@18.3.1)(react-dom@18.3.1)(react@18.3.1) - '@radix-ui/react-focus-guards': 1.0.1(@types/react@18.3.1)(react@18.3.1) - '@radix-ui/react-focus-scope': 1.0.4(@types/react-dom@18.3.0)(@types/react@18.3.1)(react-dom@18.3.1)(react@18.3.1) - '@radix-ui/react-id': 1.0.1(@types/react@18.3.1)(react@18.3.1) - '@radix-ui/react-popper': 1.1.3(@types/react-dom@18.3.0)(@types/react@18.3.1)(react-dom@18.3.1)(react@18.3.1) - '@radix-ui/react-portal': 1.0.4(@types/react-dom@18.3.0)(@types/react@18.3.1)(react-dom@18.3.1)(react@18.3.1) - '@radix-ui/react-presence': 1.0.1(@types/react-dom@18.3.0)(@types/react@18.3.1)(react-dom@18.3.1)(react@18.3.1) - '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.3.0)(@types/react@18.3.1)(react-dom@18.3.1)(react@18.3.1) - '@radix-ui/react-roving-focus': 1.0.4(@types/react-dom@18.3.0)(@types/react@18.3.1)(react-dom@18.3.1)(react@18.3.1) - '@radix-ui/react-slot': 1.0.2(@types/react@18.3.1)(react@18.3.1) - '@radix-ui/react-use-callback-ref': 1.0.1(@types/react@18.3.1)(react@18.3.1) - '@types/react': 18.3.1 + '@radix-ui/react-collection': 1.0.3(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1) + '@radix-ui/react-compose-refs': 1.0.1(@types/react@18.3.3)(react@18.3.1) + '@radix-ui/react-context': 1.0.1(@types/react@18.3.3)(react@18.3.1) + '@radix-ui/react-direction': 1.0.1(@types/react@18.3.3)(react@18.3.1) + '@radix-ui/react-dismissable-layer': 1.0.5(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1) + '@radix-ui/react-focus-guards': 1.0.1(@types/react@18.3.3)(react@18.3.1) + '@radix-ui/react-focus-scope': 1.0.4(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1) + '@radix-ui/react-id': 1.0.1(@types/react@18.3.3)(react@18.3.1) + '@radix-ui/react-popper': 1.1.3(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1) + '@radix-ui/react-portal': 1.0.4(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1) + '@radix-ui/react-presence': 1.0.1(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1) + '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1) + '@radix-ui/react-roving-focus': 1.0.4(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1) + '@radix-ui/react-slot': 1.0.2(@types/react@18.3.3)(react@18.3.1) + '@radix-ui/react-use-callback-ref': 1.0.1(@types/react@18.3.3)(react@18.3.1) + '@types/react': 18.3.3 '@types/react-dom': 18.3.0 aria-hidden: 1.2.4 react: 18.3.1 react-dom: 18.3.1(react@18.3.1) - react-remove-scroll: 2.5.5(@types/react@18.3.1)(react@18.3.1) + react-remove-scroll: 2.5.5(@types/react@18.3.3)(react@18.3.1) dev: false - /@radix-ui/react-navigation-menu@1.1.4(@types/react-dom@18.3.0)(@types/react@18.3.1)(react-dom@18.3.1)(react@18.3.1): + /@radix-ui/react-navigation-menu@1.1.4(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1): resolution: {integrity: sha512-Cc+seCS3PmWmjI51ufGG7zp1cAAIRqHVw7C9LOA2TZ+R4hG6rDvHcTqIsEEFLmZO3zNVH72jOOE7kKNy8W+RtA==} peerDependencies: '@types/react': '*' @@ -2272,26 +2461,26 @@ packages: dependencies: '@babel/runtime': 7.24.5 '@radix-ui/primitive': 1.0.1 - '@radix-ui/react-collection': 1.0.3(@types/react-dom@18.3.0)(@types/react@18.3.1)(react-dom@18.3.1)(react@18.3.1) - '@radix-ui/react-compose-refs': 1.0.1(@types/react@18.3.1)(react@18.3.1) - '@radix-ui/react-context': 1.0.1(@types/react@18.3.1)(react@18.3.1) - '@radix-ui/react-direction': 1.0.1(@types/react@18.3.1)(react@18.3.1) - '@radix-ui/react-dismissable-layer': 1.0.5(@types/react-dom@18.3.0)(@types/react@18.3.1)(react-dom@18.3.1)(react@18.3.1) - '@radix-ui/react-id': 1.0.1(@types/react@18.3.1)(react@18.3.1) - '@radix-ui/react-presence': 1.0.1(@types/react-dom@18.3.0)(@types/react@18.3.1)(react-dom@18.3.1)(react@18.3.1) - '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.3.0)(@types/react@18.3.1)(react-dom@18.3.1)(react@18.3.1) - '@radix-ui/react-use-callback-ref': 1.0.1(@types/react@18.3.1)(react@18.3.1) - '@radix-ui/react-use-controllable-state': 1.0.1(@types/react@18.3.1)(react@18.3.1) - '@radix-ui/react-use-layout-effect': 1.0.1(@types/react@18.3.1)(react@18.3.1) - '@radix-ui/react-use-previous': 1.0.1(@types/react@18.3.1)(react@18.3.1) - '@radix-ui/react-visually-hidden': 1.0.3(@types/react-dom@18.3.0)(@types/react@18.3.1)(react-dom@18.3.1)(react@18.3.1) - '@types/react': 18.3.1 + '@radix-ui/react-collection': 1.0.3(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1) + '@radix-ui/react-compose-refs': 1.0.1(@types/react@18.3.3)(react@18.3.1) + '@radix-ui/react-context': 1.0.1(@types/react@18.3.3)(react@18.3.1) + '@radix-ui/react-direction': 1.0.1(@types/react@18.3.3)(react@18.3.1) + '@radix-ui/react-dismissable-layer': 1.0.5(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1) + '@radix-ui/react-id': 1.0.1(@types/react@18.3.3)(react@18.3.1) + '@radix-ui/react-presence': 1.0.1(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1) + '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1) + '@radix-ui/react-use-callback-ref': 1.0.1(@types/react@18.3.3)(react@18.3.1) + '@radix-ui/react-use-controllable-state': 1.0.1(@types/react@18.3.3)(react@18.3.1) + '@radix-ui/react-use-layout-effect': 1.0.1(@types/react@18.3.3)(react@18.3.1) + '@radix-ui/react-use-previous': 1.0.1(@types/react@18.3.3)(react@18.3.1) + '@radix-ui/react-visually-hidden': 1.0.3(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1) + '@types/react': 18.3.3 '@types/react-dom': 18.3.0 react: 18.3.1 react-dom: 18.3.1(react@18.3.1) dev: false - /@radix-ui/react-popover@1.0.7(@types/react-dom@18.3.0)(@types/react@18.3.1)(react-dom@18.3.1)(react@18.3.1): + /@radix-ui/react-popover@1.0.7(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1): resolution: {integrity: sha512-shtvVnlsxT6faMnK/a7n0wptwBD23xc1Z5mdrtKLwVEfsEMXodS0r5s0/g5P0hX//EKYZS2sxUjqfzlg52ZSnQ==} peerDependencies: '@types/react': '*' @@ -2306,27 +2495,27 @@ packages: dependencies: '@babel/runtime': 7.24.5 '@radix-ui/primitive': 1.0.1 - '@radix-ui/react-compose-refs': 1.0.1(@types/react@18.3.1)(react@18.3.1) - '@radix-ui/react-context': 1.0.1(@types/react@18.3.1)(react@18.3.1) - '@radix-ui/react-dismissable-layer': 1.0.5(@types/react-dom@18.3.0)(@types/react@18.3.1)(react-dom@18.3.1)(react@18.3.1) - '@radix-ui/react-focus-guards': 1.0.1(@types/react@18.3.1)(react@18.3.1) - '@radix-ui/react-focus-scope': 1.0.4(@types/react-dom@18.3.0)(@types/react@18.3.1)(react-dom@18.3.1)(react@18.3.1) - '@radix-ui/react-id': 1.0.1(@types/react@18.3.1)(react@18.3.1) - '@radix-ui/react-popper': 1.1.3(@types/react-dom@18.3.0)(@types/react@18.3.1)(react-dom@18.3.1)(react@18.3.1) - '@radix-ui/react-portal': 1.0.4(@types/react-dom@18.3.0)(@types/react@18.3.1)(react-dom@18.3.1)(react@18.3.1) - '@radix-ui/react-presence': 1.0.1(@types/react-dom@18.3.0)(@types/react@18.3.1)(react-dom@18.3.1)(react@18.3.1) - '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.3.0)(@types/react@18.3.1)(react-dom@18.3.1)(react@18.3.1) - '@radix-ui/react-slot': 1.0.2(@types/react@18.3.1)(react@18.3.1) - '@radix-ui/react-use-controllable-state': 1.0.1(@types/react@18.3.1)(react@18.3.1) - '@types/react': 18.3.1 + '@radix-ui/react-compose-refs': 1.0.1(@types/react@18.3.3)(react@18.3.1) + '@radix-ui/react-context': 1.0.1(@types/react@18.3.3)(react@18.3.1) + '@radix-ui/react-dismissable-layer': 1.0.5(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1) + '@radix-ui/react-focus-guards': 1.0.1(@types/react@18.3.3)(react@18.3.1) + '@radix-ui/react-focus-scope': 1.0.4(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1) + '@radix-ui/react-id': 1.0.1(@types/react@18.3.3)(react@18.3.1) + '@radix-ui/react-popper': 1.1.3(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1) + '@radix-ui/react-portal': 1.0.4(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1) + '@radix-ui/react-presence': 1.0.1(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1) + '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1) + '@radix-ui/react-slot': 1.0.2(@types/react@18.3.3)(react@18.3.1) + '@radix-ui/react-use-controllable-state': 1.0.1(@types/react@18.3.3)(react@18.3.1) + '@types/react': 18.3.3 '@types/react-dom': 18.3.0 aria-hidden: 1.2.4 react: 18.3.1 react-dom: 18.3.1(react@18.3.1) - react-remove-scroll: 2.5.5(@types/react@18.3.1)(react@18.3.1) + react-remove-scroll: 2.5.5(@types/react@18.3.3)(react@18.3.1) dev: false - /@radix-ui/react-popper@1.1.3(@types/react-dom@18.3.0)(@types/react@18.3.1)(react-dom@18.3.1)(react@18.3.1): + /@radix-ui/react-popper@1.1.3(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1): resolution: {integrity: sha512-cKpopj/5RHZWjrbF2846jBNacjQVwkP068DfmgrNJXpvVWrOvlAmE9xSiy5OqeE+Gi8D9fP+oDhUnPqNMY8/5w==} peerDependencies: '@types/react': '*' @@ -2341,22 +2530,22 @@ packages: dependencies: '@babel/runtime': 7.24.5 '@floating-ui/react-dom': 2.0.9(react-dom@18.3.1)(react@18.3.1) - '@radix-ui/react-arrow': 1.0.3(@types/react-dom@18.3.0)(@types/react@18.3.1)(react-dom@18.3.1)(react@18.3.1) - '@radix-ui/react-compose-refs': 1.0.1(@types/react@18.3.1)(react@18.3.1) - '@radix-ui/react-context': 1.0.1(@types/react@18.3.1)(react@18.3.1) - '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.3.0)(@types/react@18.3.1)(react-dom@18.3.1)(react@18.3.1) - '@radix-ui/react-use-callback-ref': 1.0.1(@types/react@18.3.1)(react@18.3.1) - '@radix-ui/react-use-layout-effect': 1.0.1(@types/react@18.3.1)(react@18.3.1) - '@radix-ui/react-use-rect': 1.0.1(@types/react@18.3.1)(react@18.3.1) - '@radix-ui/react-use-size': 1.0.1(@types/react@18.3.1)(react@18.3.1) + '@radix-ui/react-arrow': 1.0.3(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1) + '@radix-ui/react-compose-refs': 1.0.1(@types/react@18.3.3)(react@18.3.1) + '@radix-ui/react-context': 1.0.1(@types/react@18.3.3)(react@18.3.1) + '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1) + '@radix-ui/react-use-callback-ref': 1.0.1(@types/react@18.3.3)(react@18.3.1) + '@radix-ui/react-use-layout-effect': 1.0.1(@types/react@18.3.3)(react@18.3.1) + '@radix-ui/react-use-rect': 1.0.1(@types/react@18.3.3)(react@18.3.1) + '@radix-ui/react-use-size': 1.0.1(@types/react@18.3.3)(react@18.3.1) '@radix-ui/rect': 1.0.1 - '@types/react': 18.3.1 + '@types/react': 18.3.3 '@types/react-dom': 18.3.0 react: 18.3.1 react-dom: 18.3.1(react@18.3.1) dev: false - /@radix-ui/react-portal@1.0.4(@types/react-dom@18.3.0)(@types/react@18.3.1)(react-dom@18.3.1)(react@18.3.1): + /@radix-ui/react-portal@1.0.4(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1): resolution: {integrity: sha512-Qki+C/EuGUVCQTOTD5vzJzJuMUlewbzuKyUy+/iHM2uwGiru9gZeBJtHAPKAEkB5KWGi9mP/CHKcY0wt1aW45Q==} peerDependencies: '@types/react': '*' @@ -2370,14 +2559,14 @@ packages: optional: true dependencies: '@babel/runtime': 7.24.5 - '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.3.0)(@types/react@18.3.1)(react-dom@18.3.1)(react@18.3.1) - '@types/react': 18.3.1 + '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1) + '@types/react': 18.3.3 '@types/react-dom': 18.3.0 react: 18.3.1 react-dom: 18.3.1(react@18.3.1) dev: false - /@radix-ui/react-presence@1.0.1(@types/react-dom@18.3.0)(@types/react@18.3.1)(react-dom@18.3.1)(react@18.3.1): + /@radix-ui/react-presence@1.0.1(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1): resolution: {integrity: sha512-UXLW4UAbIY5ZjcvzjfRFo5gxva8QirC9hF7wRE4U5gz+TP0DbRk+//qyuAQ1McDxBt1xNMBTaciFGvEmJvAZCg==} peerDependencies: '@types/react': '*' @@ -2391,15 +2580,15 @@ packages: optional: true dependencies: '@babel/runtime': 7.24.5 - '@radix-ui/react-compose-refs': 1.0.1(@types/react@18.3.1)(react@18.3.1) - '@radix-ui/react-use-layout-effect': 1.0.1(@types/react@18.3.1)(react@18.3.1) - '@types/react': 18.3.1 + '@radix-ui/react-compose-refs': 1.0.1(@types/react@18.3.3)(react@18.3.1) + '@radix-ui/react-use-layout-effect': 1.0.1(@types/react@18.3.3)(react@18.3.1) + '@types/react': 18.3.3 '@types/react-dom': 18.3.0 react: 18.3.1 react-dom: 18.3.1(react@18.3.1) dev: false - /@radix-ui/react-primitive@1.0.3(@types/react-dom@18.3.0)(@types/react@18.3.1)(react-dom@18.3.1)(react@18.3.1): + /@radix-ui/react-primitive@1.0.3(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1): resolution: {integrity: sha512-yi58uVyoAcK/Nq1inRY56ZSjKypBNKTa/1mcL8qdl6oJeEaDbOldlzrGn7P6Q3Id5d+SYNGc5AJgc4vGhjs5+g==} peerDependencies: '@types/react': '*' @@ -2413,14 +2602,14 @@ packages: optional: true dependencies: '@babel/runtime': 7.24.5 - '@radix-ui/react-slot': 1.0.2(@types/react@18.3.1)(react@18.3.1) - '@types/react': 18.3.1 + '@radix-ui/react-slot': 1.0.2(@types/react@18.3.3)(react@18.3.1) + '@types/react': 18.3.3 '@types/react-dom': 18.3.0 react: 18.3.1 react-dom: 18.3.1(react@18.3.1) dev: false - /@radix-ui/react-roving-focus@1.0.4(@types/react-dom@18.3.0)(@types/react@18.3.1)(react-dom@18.3.1)(react@18.3.1): + /@radix-ui/react-roving-focus@1.0.4(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1): resolution: {integrity: sha512-2mUg5Mgcu001VkGy+FfzZyzbmuUWzgWkj3rvv4yu+mLw03+mTzbxZHvfcGyFp2b8EkQeMkpRQ5FiA2Vr2O6TeQ==} peerDependencies: '@types/react': '*' @@ -2435,21 +2624,21 @@ packages: dependencies: '@babel/runtime': 7.24.5 '@radix-ui/primitive': 1.0.1 - '@radix-ui/react-collection': 1.0.3(@types/react-dom@18.3.0)(@types/react@18.3.1)(react-dom@18.3.1)(react@18.3.1) - '@radix-ui/react-compose-refs': 1.0.1(@types/react@18.3.1)(react@18.3.1) - '@radix-ui/react-context': 1.0.1(@types/react@18.3.1)(react@18.3.1) - '@radix-ui/react-direction': 1.0.1(@types/react@18.3.1)(react@18.3.1) - '@radix-ui/react-id': 1.0.1(@types/react@18.3.1)(react@18.3.1) - '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.3.0)(@types/react@18.3.1)(react-dom@18.3.1)(react@18.3.1) - '@radix-ui/react-use-callback-ref': 1.0.1(@types/react@18.3.1)(react@18.3.1) - '@radix-ui/react-use-controllable-state': 1.0.1(@types/react@18.3.1)(react@18.3.1) - '@types/react': 18.3.1 + '@radix-ui/react-collection': 1.0.3(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1) + '@radix-ui/react-compose-refs': 1.0.1(@types/react@18.3.3)(react@18.3.1) + '@radix-ui/react-context': 1.0.1(@types/react@18.3.3)(react@18.3.1) + '@radix-ui/react-direction': 1.0.1(@types/react@18.3.3)(react@18.3.1) + '@radix-ui/react-id': 1.0.1(@types/react@18.3.3)(react@18.3.1) + '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1) + '@radix-ui/react-use-callback-ref': 1.0.1(@types/react@18.3.3)(react@18.3.1) + '@radix-ui/react-use-controllable-state': 1.0.1(@types/react@18.3.3)(react@18.3.1) + '@types/react': 18.3.3 '@types/react-dom': 18.3.0 react: 18.3.1 react-dom: 18.3.1(react@18.3.1) dev: false - /@radix-ui/react-scroll-area@1.0.5(@types/react-dom@18.3.0)(@types/react@18.3.1)(react-dom@18.3.1)(react@18.3.1): + /@radix-ui/react-scroll-area@1.0.5(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1): resolution: {integrity: sha512-b6PAgH4GQf9QEn8zbT2XUHpW5z8BzqEc7Kl11TwDrvuTrxlkcjTD5qa/bxgKr+nmuXKu4L/W5UZ4mlP/VG/5Gw==} peerDependencies: '@types/react': '*' @@ -2465,20 +2654,20 @@ packages: '@babel/runtime': 7.24.5 '@radix-ui/number': 1.0.1 '@radix-ui/primitive': 1.0.1 - '@radix-ui/react-compose-refs': 1.0.1(@types/react@18.3.1)(react@18.3.1) - '@radix-ui/react-context': 1.0.1(@types/react@18.3.1)(react@18.3.1) - '@radix-ui/react-direction': 1.0.1(@types/react@18.3.1)(react@18.3.1) - '@radix-ui/react-presence': 1.0.1(@types/react-dom@18.3.0)(@types/react@18.3.1)(react-dom@18.3.1)(react@18.3.1) - '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.3.0)(@types/react@18.3.1)(react-dom@18.3.1)(react@18.3.1) - '@radix-ui/react-use-callback-ref': 1.0.1(@types/react@18.3.1)(react@18.3.1) - '@radix-ui/react-use-layout-effect': 1.0.1(@types/react@18.3.1)(react@18.3.1) - '@types/react': 18.3.1 + '@radix-ui/react-compose-refs': 1.0.1(@types/react@18.3.3)(react@18.3.1) + '@radix-ui/react-context': 1.0.1(@types/react@18.3.3)(react@18.3.1) + '@radix-ui/react-direction': 1.0.1(@types/react@18.3.3)(react@18.3.1) + '@radix-ui/react-presence': 1.0.1(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1) + '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1) + '@radix-ui/react-use-callback-ref': 1.0.1(@types/react@18.3.3)(react@18.3.1) + '@radix-ui/react-use-layout-effect': 1.0.1(@types/react@18.3.3)(react@18.3.1) + '@types/react': 18.3.3 '@types/react-dom': 18.3.0 react: 18.3.1 react-dom: 18.3.1(react@18.3.1) dev: false - /@radix-ui/react-select@2.0.0(@types/react-dom@18.3.0)(@types/react@18.3.1)(react-dom@18.3.1)(react@18.3.1): + /@radix-ui/react-select@2.0.0(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1): resolution: {integrity: sha512-RH5b7af4oHtkcHS7pG6Sgv5rk5Wxa7XI8W5gvB1N/yiuDGZxko1ynvOiVhFM7Cis2A8zxF9bTOUVbRDzPepe6w==} peerDependencies: '@types/react': '*' @@ -2494,32 +2683,32 @@ packages: '@babel/runtime': 7.24.5 '@radix-ui/number': 1.0.1 '@radix-ui/primitive': 1.0.1 - '@radix-ui/react-collection': 1.0.3(@types/react-dom@18.3.0)(@types/react@18.3.1)(react-dom@18.3.1)(react@18.3.1) - '@radix-ui/react-compose-refs': 1.0.1(@types/react@18.3.1)(react@18.3.1) - '@radix-ui/react-context': 1.0.1(@types/react@18.3.1)(react@18.3.1) - '@radix-ui/react-direction': 1.0.1(@types/react@18.3.1)(react@18.3.1) - '@radix-ui/react-dismissable-layer': 1.0.5(@types/react-dom@18.3.0)(@types/react@18.3.1)(react-dom@18.3.1)(react@18.3.1) - '@radix-ui/react-focus-guards': 1.0.1(@types/react@18.3.1)(react@18.3.1) - '@radix-ui/react-focus-scope': 1.0.4(@types/react-dom@18.3.0)(@types/react@18.3.1)(react-dom@18.3.1)(react@18.3.1) - '@radix-ui/react-id': 1.0.1(@types/react@18.3.1)(react@18.3.1) - '@radix-ui/react-popper': 1.1.3(@types/react-dom@18.3.0)(@types/react@18.3.1)(react-dom@18.3.1)(react@18.3.1) - '@radix-ui/react-portal': 1.0.4(@types/react-dom@18.3.0)(@types/react@18.3.1)(react-dom@18.3.1)(react@18.3.1) - '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.3.0)(@types/react@18.3.1)(react-dom@18.3.1)(react@18.3.1) - '@radix-ui/react-slot': 1.0.2(@types/react@18.3.1)(react@18.3.1) - '@radix-ui/react-use-callback-ref': 1.0.1(@types/react@18.3.1)(react@18.3.1) - '@radix-ui/react-use-controllable-state': 1.0.1(@types/react@18.3.1)(react@18.3.1) - '@radix-ui/react-use-layout-effect': 1.0.1(@types/react@18.3.1)(react@18.3.1) - '@radix-ui/react-use-previous': 1.0.1(@types/react@18.3.1)(react@18.3.1) - '@radix-ui/react-visually-hidden': 1.0.3(@types/react-dom@18.3.0)(@types/react@18.3.1)(react-dom@18.3.1)(react@18.3.1) - '@types/react': 18.3.1 + '@radix-ui/react-collection': 1.0.3(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1) + '@radix-ui/react-compose-refs': 1.0.1(@types/react@18.3.3)(react@18.3.1) + '@radix-ui/react-context': 1.0.1(@types/react@18.3.3)(react@18.3.1) + '@radix-ui/react-direction': 1.0.1(@types/react@18.3.3)(react@18.3.1) + '@radix-ui/react-dismissable-layer': 1.0.5(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1) + '@radix-ui/react-focus-guards': 1.0.1(@types/react@18.3.3)(react@18.3.1) + '@radix-ui/react-focus-scope': 1.0.4(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1) + '@radix-ui/react-id': 1.0.1(@types/react@18.3.3)(react@18.3.1) + '@radix-ui/react-popper': 1.1.3(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1) + '@radix-ui/react-portal': 1.0.4(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1) + '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1) + '@radix-ui/react-slot': 1.0.2(@types/react@18.3.3)(react@18.3.1) + '@radix-ui/react-use-callback-ref': 1.0.1(@types/react@18.3.3)(react@18.3.1) + '@radix-ui/react-use-controllable-state': 1.0.1(@types/react@18.3.3)(react@18.3.1) + '@radix-ui/react-use-layout-effect': 1.0.1(@types/react@18.3.3)(react@18.3.1) + '@radix-ui/react-use-previous': 1.0.1(@types/react@18.3.3)(react@18.3.1) + '@radix-ui/react-visually-hidden': 1.0.3(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1) + '@types/react': 18.3.3 '@types/react-dom': 18.3.0 aria-hidden: 1.2.4 react: 18.3.1 react-dom: 18.3.1(react@18.3.1) - react-remove-scroll: 2.5.5(@types/react@18.3.1)(react@18.3.1) + react-remove-scroll: 2.5.5(@types/react@18.3.3)(react@18.3.1) dev: false - /@radix-ui/react-separator@1.0.3(@types/react-dom@18.3.0)(@types/react@18.3.1)(react-dom@18.3.1)(react@18.3.1): + /@radix-ui/react-separator@1.0.3(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1): resolution: {integrity: sha512-itYmTy/kokS21aiV5+Z56MZB54KrhPgn6eHDKkFeOLR34HMN2s8PaN47qZZAGnvupcjxHaFZnW4pQEh0BvvVuw==} peerDependencies: '@types/react': '*' @@ -2533,14 +2722,14 @@ packages: optional: true dependencies: '@babel/runtime': 7.24.5 - '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.3.0)(@types/react@18.3.1)(react-dom@18.3.1)(react@18.3.1) - '@types/react': 18.3.1 + '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1) + '@types/react': 18.3.3 '@types/react-dom': 18.3.0 react: 18.3.1 react-dom: 18.3.1(react@18.3.1) dev: false - /@radix-ui/react-slot@1.0.2(@types/react@18.3.1)(react@18.3.1): + /@radix-ui/react-slot@1.0.2(@types/react@18.3.3)(react@18.3.1): resolution: {integrity: sha512-YeTpuq4deV+6DusvVUW4ivBgnkHwECUu0BiN43L5UCDFgdhsRUWAghhTF5MbvNTPzmiFOx90asDSUjWuCNapwg==} peerDependencies: '@types/react': '*' @@ -2550,12 +2739,12 @@ packages: optional: true dependencies: '@babel/runtime': 7.24.5 - '@radix-ui/react-compose-refs': 1.0.1(@types/react@18.3.1)(react@18.3.1) - '@types/react': 18.3.1 + '@radix-ui/react-compose-refs': 1.0.1(@types/react@18.3.3)(react@18.3.1) + '@types/react': 18.3.3 react: 18.3.1 dev: false - /@radix-ui/react-switch@1.0.3(@types/react-dom@18.3.0)(@types/react@18.3.1)(react-dom@18.3.1)(react@18.3.1): + /@radix-ui/react-switch@1.0.3(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1): resolution: {integrity: sha512-mxm87F88HyHztsI7N+ZUmEoARGkC22YVW5CaC+Byc+HRpuvCrOBPTAnXgf+tZ/7i0Sg/eOePGdMhUKhPaQEqow==} peerDependencies: '@types/react': '*' @@ -2570,19 +2759,19 @@ packages: dependencies: '@babel/runtime': 7.24.5 '@radix-ui/primitive': 1.0.1 - '@radix-ui/react-compose-refs': 1.0.1(@types/react@18.3.1)(react@18.3.1) - '@radix-ui/react-context': 1.0.1(@types/react@18.3.1)(react@18.3.1) - '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.3.0)(@types/react@18.3.1)(react-dom@18.3.1)(react@18.3.1) - '@radix-ui/react-use-controllable-state': 1.0.1(@types/react@18.3.1)(react@18.3.1) - '@radix-ui/react-use-previous': 1.0.1(@types/react@18.3.1)(react@18.3.1) - '@radix-ui/react-use-size': 1.0.1(@types/react@18.3.1)(react@18.3.1) - '@types/react': 18.3.1 + '@radix-ui/react-compose-refs': 1.0.1(@types/react@18.3.3)(react@18.3.1) + '@radix-ui/react-context': 1.0.1(@types/react@18.3.3)(react@18.3.1) + '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1) + '@radix-ui/react-use-controllable-state': 1.0.1(@types/react@18.3.3)(react@18.3.1) + '@radix-ui/react-use-previous': 1.0.1(@types/react@18.3.3)(react@18.3.1) + '@radix-ui/react-use-size': 1.0.1(@types/react@18.3.3)(react@18.3.1) + '@types/react': 18.3.3 '@types/react-dom': 18.3.0 react: 18.3.1 react-dom: 18.3.1(react@18.3.1) dev: false - /@radix-ui/react-tooltip@1.0.7(@types/react-dom@18.3.0)(@types/react@18.3.1)(react-dom@18.3.1)(react@18.3.1): + /@radix-ui/react-tooltip@1.0.7(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1): resolution: {integrity: sha512-lPh5iKNFVQ/jav/j6ZrWq3blfDJ0OH9R6FlNUHPMqdLuQ9vwDgFsRxvl8b7Asuy5c8xmoojHUxKHQSOAvMHxyw==} peerDependencies: '@types/react': '*' @@ -2597,24 +2786,24 @@ packages: dependencies: '@babel/runtime': 7.24.5 '@radix-ui/primitive': 1.0.1 - '@radix-ui/react-compose-refs': 1.0.1(@types/react@18.3.1)(react@18.3.1) - '@radix-ui/react-context': 1.0.1(@types/react@18.3.1)(react@18.3.1) - '@radix-ui/react-dismissable-layer': 1.0.5(@types/react-dom@18.3.0)(@types/react@18.3.1)(react-dom@18.3.1)(react@18.3.1) - '@radix-ui/react-id': 1.0.1(@types/react@18.3.1)(react@18.3.1) - '@radix-ui/react-popper': 1.1.3(@types/react-dom@18.3.0)(@types/react@18.3.1)(react-dom@18.3.1)(react@18.3.1) - '@radix-ui/react-portal': 1.0.4(@types/react-dom@18.3.0)(@types/react@18.3.1)(react-dom@18.3.1)(react@18.3.1) - '@radix-ui/react-presence': 1.0.1(@types/react-dom@18.3.0)(@types/react@18.3.1)(react-dom@18.3.1)(react@18.3.1) - '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.3.0)(@types/react@18.3.1)(react-dom@18.3.1)(react@18.3.1) - '@radix-ui/react-slot': 1.0.2(@types/react@18.3.1)(react@18.3.1) - '@radix-ui/react-use-controllable-state': 1.0.1(@types/react@18.3.1)(react@18.3.1) - '@radix-ui/react-visually-hidden': 1.0.3(@types/react-dom@18.3.0)(@types/react@18.3.1)(react-dom@18.3.1)(react@18.3.1) - '@types/react': 18.3.1 + '@radix-ui/react-compose-refs': 1.0.1(@types/react@18.3.3)(react@18.3.1) + '@radix-ui/react-context': 1.0.1(@types/react@18.3.3)(react@18.3.1) + '@radix-ui/react-dismissable-layer': 1.0.5(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1) + '@radix-ui/react-id': 1.0.1(@types/react@18.3.3)(react@18.3.1) + '@radix-ui/react-popper': 1.1.3(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1) + '@radix-ui/react-portal': 1.0.4(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1) + '@radix-ui/react-presence': 1.0.1(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1) + '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1) + '@radix-ui/react-slot': 1.0.2(@types/react@18.3.3)(react@18.3.1) + '@radix-ui/react-use-controllable-state': 1.0.1(@types/react@18.3.3)(react@18.3.1) + '@radix-ui/react-visually-hidden': 1.0.3(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1) + '@types/react': 18.3.3 '@types/react-dom': 18.3.0 react: 18.3.1 react-dom: 18.3.1(react@18.3.1) dev: false - /@radix-ui/react-use-callback-ref@1.0.1(@types/react@18.3.1)(react@18.3.1): + /@radix-ui/react-use-callback-ref@1.0.1(@types/react@18.3.3)(react@18.3.1): resolution: {integrity: sha512-D94LjX4Sp0xJFVaoQOd3OO9k7tpBYNOXdVhkltUbGv2Qb9OXdrg/CpsjlZv7ia14Sylv398LswWBVVu5nqKzAQ==} peerDependencies: '@types/react': '*' @@ -2624,11 +2813,11 @@ packages: optional: true dependencies: '@babel/runtime': 7.24.5 - '@types/react': 18.3.1 + '@types/react': 18.3.3 react: 18.3.1 dev: false - /@radix-ui/react-use-controllable-state@1.0.1(@types/react@18.3.1)(react@18.3.1): + /@radix-ui/react-use-controllable-state@1.0.1(@types/react@18.3.3)(react@18.3.1): resolution: {integrity: sha512-Svl5GY5FQeN758fWKrjM6Qb7asvXeiZltlT4U2gVfl8Gx5UAv2sMR0LWo8yhsIZh2oQ0eFdZ59aoOOMV7b47VA==} peerDependencies: '@types/react': '*' @@ -2638,12 +2827,12 @@ packages: optional: true dependencies: '@babel/runtime': 7.24.5 - '@radix-ui/react-use-callback-ref': 1.0.1(@types/react@18.3.1)(react@18.3.1) - '@types/react': 18.3.1 + '@radix-ui/react-use-callback-ref': 1.0.1(@types/react@18.3.3)(react@18.3.1) + '@types/react': 18.3.3 react: 18.3.1 dev: false - /@radix-ui/react-use-escape-keydown@1.0.3(@types/react@18.3.1)(react@18.3.1): + /@radix-ui/react-use-escape-keydown@1.0.3(@types/react@18.3.3)(react@18.3.1): resolution: {integrity: sha512-vyL82j40hcFicA+M4Ex7hVkB9vHgSse1ZWomAqV2Je3RleKGO5iM8KMOEtfoSB0PnIelMd2lATjTGMYqN5ylTg==} peerDependencies: '@types/react': '*' @@ -2653,12 +2842,12 @@ packages: optional: true dependencies: '@babel/runtime': 7.24.5 - '@radix-ui/react-use-callback-ref': 1.0.1(@types/react@18.3.1)(react@18.3.1) - '@types/react': 18.3.1 + '@radix-ui/react-use-callback-ref': 1.0.1(@types/react@18.3.3)(react@18.3.1) + '@types/react': 18.3.3 react: 18.3.1 dev: false - /@radix-ui/react-use-layout-effect@1.0.1(@types/react@18.3.1)(react@18.3.1): + /@radix-ui/react-use-layout-effect@1.0.1(@types/react@18.3.3)(react@18.3.1): resolution: {integrity: sha512-v/5RegiJWYdoCvMnITBkNNx6bCj20fiaJnWtRkU18yITptraXjffz5Qbn05uOiQnOvi+dbkznkoaMltz1GnszQ==} peerDependencies: '@types/react': '*' @@ -2668,11 +2857,11 @@ packages: optional: true dependencies: '@babel/runtime': 7.24.5 - '@types/react': 18.3.1 + '@types/react': 18.3.3 react: 18.3.1 dev: false - /@radix-ui/react-use-previous@1.0.1(@types/react@18.3.1)(react@18.3.1): + /@radix-ui/react-use-previous@1.0.1(@types/react@18.3.3)(react@18.3.1): resolution: {integrity: sha512-cV5La9DPwiQ7S0gf/0qiD6YgNqM5Fk97Kdrlc5yBcrF3jyEZQwm7vYFqMo4IfeHgJXsRaMvLABFtd0OVEmZhDw==} peerDependencies: '@types/react': '*' @@ -2682,11 +2871,11 @@ packages: optional: true dependencies: '@babel/runtime': 7.24.5 - '@types/react': 18.3.1 + '@types/react': 18.3.3 react: 18.3.1 dev: false - /@radix-ui/react-use-rect@1.0.1(@types/react@18.3.1)(react@18.3.1): + /@radix-ui/react-use-rect@1.0.1(@types/react@18.3.3)(react@18.3.1): resolution: {integrity: sha512-Cq5DLuSiuYVKNU8orzJMbl15TXilTnJKUCltMVQg53BQOF1/C5toAaGrowkgksdBQ9H+SRL23g0HDmg9tvmxXw==} peerDependencies: '@types/react': '*' @@ -2697,11 +2886,11 @@ packages: dependencies: '@babel/runtime': 7.24.5 '@radix-ui/rect': 1.0.1 - '@types/react': 18.3.1 + '@types/react': 18.3.3 react: 18.3.1 dev: false - /@radix-ui/react-use-size@1.0.1(@types/react@18.3.1)(react@18.3.1): + /@radix-ui/react-use-size@1.0.1(@types/react@18.3.3)(react@18.3.1): resolution: {integrity: sha512-ibay+VqrgcaI6veAojjofPATwledXiSmX+C0KrBk/xgpX9rBzPV3OsfwlhQdUOFbh+LKQorLYT+xTXW9V8yd0g==} peerDependencies: '@types/react': '*' @@ -2711,12 +2900,12 @@ packages: optional: true dependencies: '@babel/runtime': 7.24.5 - '@radix-ui/react-use-layout-effect': 1.0.1(@types/react@18.3.1)(react@18.3.1) - '@types/react': 18.3.1 + '@radix-ui/react-use-layout-effect': 1.0.1(@types/react@18.3.3)(react@18.3.1) + '@types/react': 18.3.3 react: 18.3.1 dev: false - /@radix-ui/react-visually-hidden@1.0.3(@types/react-dom@18.3.0)(@types/react@18.3.1)(react-dom@18.3.1)(react@18.3.1): + /@radix-ui/react-visually-hidden@1.0.3(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1): resolution: {integrity: sha512-D4w41yN5YRKtu464TLnByKzMDG/JlMPHtfZgQAu9v6mNakUqGUI9vUrfQKz8NK41VMm/xbZbh76NUTVtIYqOMA==} peerDependencies: '@types/react': '*' @@ -2730,8 +2919,8 @@ packages: optional: true dependencies: '@babel/runtime': 7.24.5 - '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.3.0)(@types/react@18.3.1)(react-dom@18.3.1)(react@18.3.1) - '@types/react': 18.3.1 + '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1) + '@types/react': 18.3.3 '@types/react-dom': 18.3.0 react: 18.3.1 react-dom: 18.3.1(react@18.3.1) @@ -3020,36 +3209,36 @@ packages: engines: {node: '>=12'} dev: false - /@tanstack/query-core@5.35.5: - resolution: {integrity: sha512-OMWvlEqG01RfGj+XZb/piDzPp0eZkkHWSDHt2LvE/fd1zWburP/xwm0ghk6Iv8cuPlP+ACFkZviKXK0OVt6lhg==} + /@tanstack/query-core@5.36.1: + resolution: {integrity: sha512-BteWYEPUcucEu3NBcDAgKuI4U25R9aPrHSP6YSf2NvaD2pSlIQTdqOfLRsxH9WdRYg7k0Uom35Uacb6nvbIMJg==} dev: false - /@tanstack/query-devtools@5.32.1: - resolution: {integrity: sha512-7Xq57Ctopiy/4atpb0uNY5VRuCqRS/1fi/WBCKKX6jHMa6cCgDuV/AQuiwRXcKARbq2OkVAOrW2v4xK9nTbcCA==} + /@tanstack/query-devtools@5.37.1: + resolution: {integrity: sha512-XcG4IIHIv0YQKrexTqo2zogQWR1Sz672tX2KsfE9kzB+9zhx44vRKH5si4WDILE1PIWQpStFs/NnrDQrBAUQpg==} dev: false - /@tanstack/react-query-devtools@5.35.5(@tanstack/react-query@5.35.5)(react@18.3.1): - resolution: {integrity: sha512-4Xll14B9uhgEJ+uqZZ5tqZ7G1LDR7wGYgb+NOZHGn11TTABnlV8GWon7zDMqdaHeR5mjjuY1UFo9pbz39kuZKQ==} + /@tanstack/react-query-devtools@5.37.1(@tanstack/react-query@5.37.1)(react@18.3.1): + resolution: {integrity: sha512-fWL3rV/avL9HsHt3RVYxuLCqSHghBwSGPIUMDZ9hfg9PDjQaeI9d8kJj6yLoCBWUhTue5/rQbISvFtr+yxyYyA==} peerDependencies: - '@tanstack/react-query': ^5.35.5 + '@tanstack/react-query': ^5.37.1 react: ^18.0.0 dependencies: - '@tanstack/query-devtools': 5.32.1 - '@tanstack/react-query': 5.35.5(react@18.3.1) + '@tanstack/query-devtools': 5.37.1 + '@tanstack/react-query': 5.37.1(react@18.3.1) react: 18.3.1 dev: false - /@tanstack/react-query@5.35.5(react@18.3.1): - resolution: {integrity: sha512-sppX7L+PVn5GBV3In6zzj0zcKfnZRKhXbX1MfIfKo1OjIq2GMaopvAFOP0x1bRYTUk2ikrdYcQYOozX7PWkb8A==} + /@tanstack/react-query@5.37.1(react@18.3.1): + resolution: {integrity: sha512-EhtBNA8GL3XFeSx6VYUjXQ96n44xe3JGKZCzBINrCYlxbZP6UwBafv7ti4eSRWc2Fy+fybQre0w17gR6lMzULA==} peerDependencies: react: ^18.0.0 dependencies: - '@tanstack/query-core': 5.35.5 + '@tanstack/query-core': 5.36.1 react: 18.3.1 dev: false - /@tanstack/react-router@1.31.27(react-dom@18.3.1)(react@18.3.1): - resolution: {integrity: sha512-OPHrHI8d/9luCUAibLSGvuDSW9GJVplG3WczRpb+3nYcRlKzHIrFKyalJ98xcwQ8Dt3TkhwKDQ7jUJySfkMh1g==} + /@tanstack/react-router@1.33.8(react-dom@18.3.1)(react@18.3.1): + resolution: {integrity: sha512-eitrhyxOEM2FJuLLviABErysqXQOCQCnxC9x8z2WGq+Trh+yObh8vy6dm3Aa1FPdOYFVatNK9BxJ8O3c3sz6dQ==} engines: {node: '>=12'} peerDependencies: react: '>=16.8' @@ -3087,14 +3276,14 @@ packages: use-sync-external-store: 1.2.2(react@18.3.1) dev: false - /@tanstack/react-table@8.16.0(react-dom@18.3.1)(react@18.3.1): - resolution: {integrity: sha512-rKRjnt8ostqN2fercRVOIH/dq7MAmOENCMvVlKx6P9Iokhh6woBGnIZEkqsY/vEJf1jN3TqLOb34xQGLVRuhAg==} + /@tanstack/react-table@8.17.3(react-dom@18.3.1)(react@18.3.1): + resolution: {integrity: sha512-5gwg5SvPD3lNAXPuJJz1fOCEZYk9/GeBFH3w/hCgnfyszOIzwkwgp5I7Q4MJtn0WECp84b5STQUDdmvGi8m3nA==} engines: {node: '>=12'} peerDependencies: react: '>=16.8' react-dom: '>=16.8' dependencies: - '@tanstack/table-core': 8.16.0 + '@tanstack/table-core': 8.17.3 react: 18.3.1 react-dom: 18.3.1(react@18.3.1) dev: false @@ -3110,14 +3299,14 @@ packages: react-dom: 18.3.1(react@18.3.1) dev: false - /@tanstack/router-devtools@1.31.27(csstype@3.1.3)(react-dom@18.3.1)(react@18.3.1): - resolution: {integrity: sha512-xbtlA65Z+VlaXfRmh3zzdkaY+2LHmVkq2Ln/F08qQ9VdLxRD/oclDTntpAMKEg9DCAbTQ4yYQHuHCQeVxr5PJQ==} + /@tanstack/router-devtools@1.33.8(csstype@3.1.3)(react-dom@18.3.1)(react@18.3.1): + resolution: {integrity: sha512-MiORiHK8XECUu/2MdT+QJhE55x/muv+uWk6Jq/qo88iUeBBilOj2Td5sxfjkhs22IMlACI9o5H9toGZf/1cVRA==} engines: {node: '>=12'} peerDependencies: react: '>=16.8' react-dom: '>=16.8' dependencies: - '@tanstack/react-router': 1.31.27(react-dom@18.3.1)(react@18.3.1) + '@tanstack/react-router': 1.33.8(react-dom@18.3.1)(react@18.3.1) clsx: 2.1.1 date-fns: 2.30.0 goober: 2.1.14(csstype@3.1.3) @@ -3127,16 +3316,16 @@ packages: - csstype dev: false - /@tanstack/router-generator@1.30.0: - resolution: {integrity: sha512-EOMm7wQRZURqnjL7pueIkMgCsTw/+4N1jtJUHTwaPRQcUsLHuAyy0GEMP6GMRcYqGrh7mb2HYFsVEcNd/1mn4g==} + /@tanstack/router-generator@1.33.12: + resolution: {integrity: sha512-CTZ9yWJkmV4hmVqZnqlrTBfAnjqkWkqF0V5kRdNNK7Q8mfUhL5WPAdZfrCVhq7uBFDEJ1XyMVwn2lQytAMrHnA==} engines: {node: '>=12'} dependencies: prettier: 3.2.5 zod: 3.23.8 dev: true - /@tanstack/router-vite-plugin@1.31.18(vite@5.2.11): - resolution: {integrity: sha512-rNbV4JckO1UPWikypsYlJqQWABTMEjANKMzQMGX9rmPomubXJqno6cgZXgjTG5bu2fXKALlCQrkNql+olQIzMg==} + /@tanstack/router-vite-plugin@1.33.12(vite@5.2.11): + resolution: {integrity: sha512-23qcd70HNDkNFIn+OjnVxp7mrW3VdHXzs7EhJ0KUofazEy5iFizvGHSNbPz1W5bRUH7920Jc26LvxxETz1l/mg==} engines: {node: '>=12'} dependencies: '@babel/core': 7.24.5 @@ -3148,12 +3337,12 @@ packages: '@babel/template': 7.24.0 '@babel/traverse': 7.24.5 '@babel/types': 7.24.5 - '@tanstack/router-generator': 1.30.0 + '@tanstack/router-generator': 1.33.12 '@types/babel__core': 7.20.5 '@types/babel__generator': 7.6.8 '@types/babel__template': 7.4.4 '@types/babel__traverse': 7.20.5 - '@vitejs/plugin-react': 4.2.1(vite@5.2.11) + '@vitejs/plugin-react': 4.3.0(vite@5.2.11) zod: 3.23.8 transitivePeerDependencies: - supports-color @@ -3168,8 +3357,8 @@ packages: resolution: {integrity: sha512-A49KN8SpLMWaNmZGPa9K982RQ81W+m7W6iStcQVeKeVS70JZRqkF0fDwKByREPq6qz9/kS0aQFOPQ0W6wIeU5g==} dev: false - /@tanstack/table-core@8.16.0: - resolution: {integrity: sha512-dCG8vQGk4js5v88/k83tTedWOwjGnIyONrKpHpfmSJB8jwFHl8GSu1sBBxbtACVAPtAQgwNxl0rw1d3RqRM1Tg==} + /@tanstack/table-core@8.17.3: + resolution: {integrity: sha512-mPBodDGVL+fl6d90wUREepHa/7lhsghg2A3vFpakEhrhtbIlgNAZiMr7ccTgak5qbHqF14Fwy+W1yFWQt+WmYQ==} engines: {node: '>=12'} dev: false @@ -3223,7 +3412,7 @@ packages: vitest: 1.6.0(@types/node@20.12.12)(jsdom@24.0.0) dev: true - /@testing-library/react@15.0.7(@types/react@18.3.1)(react-dom@18.3.1)(react@18.3.1): + /@testing-library/react@15.0.7(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1): resolution: {integrity: sha512-cg0RvEdD1TIhhkm1IeYMQxrzy0MtUNfa3minv4MjbgcYzJAZ7yD0i0lwoPOTPr+INtiXFezt2o8xMSnyHhEn2Q==} engines: {node: '>=18'} peerDependencies: @@ -3236,14 +3425,14 @@ packages: dependencies: '@babel/runtime': 7.24.5 '@testing-library/dom': 10.1.0 - '@types/react': 18.3.1 + '@types/react': 18.3.3 '@types/react-dom': 18.3.0 react: 18.3.1 react-dom: 18.3.1(react@18.3.1) dev: true - /@tremor/react@3.16.2(react-dom@18.3.1)(react@18.3.1)(tailwindcss@3.4.3): - resolution: {integrity: sha512-Isdc+Sf4WHlnrAAO8Hk/nK84HiXzCZvb6ZFRHrzOkF+APm6nDhvKPRorXcXZ2BKSS5T5L0QVsid5fIxly8kRdA==} + /@tremor/react@3.17.2(react-dom@18.3.1)(react@18.3.1)(tailwindcss@3.4.3): + resolution: {integrity: sha512-zQovHBTonoeJbVk23VAqDeu9yL8N9N2884WYtLr0QvEo4kfC/YUYHkwyg5R7i8ahiJcYbR5zbCG8r9Y4Oqg9qQ==} peerDependencies: react: ^18.0.0 react-dom: '>=16.6.0' @@ -3251,12 +3440,12 @@ packages: '@floating-ui/react': 0.19.2(react-dom@18.3.1)(react@18.3.1) '@headlessui/react': 1.7.19(react-dom@18.3.1)(react@18.3.1) '@headlessui/tailwindcss': 0.2.0(tailwindcss@3.4.3) - date-fns: 2.30.0 + date-fns: 3.6.0 react: 18.3.1 - react-day-picker: 8.10.1(date-fns@2.30.0)(react@18.3.1) + react-day-picker: 8.10.1(date-fns@3.6.0)(react@18.3.1) react-dom: 18.3.1(react@18.3.1) react-transition-state: 2.1.1(react-dom@18.3.1)(react@18.3.1) - recharts: 2.12.6(react-dom@18.3.1)(react@18.3.1) + recharts: 2.12.7(react-dom@18.3.1)(react@18.3.1) tailwind-merge: 1.14.0 transitivePeerDependencies: - tailwindcss @@ -3287,15 +3476,15 @@ packages: resolution: {integrity: sha512-5xxU8vVs9/FNcvm3gE07fPbn9tl6tqGGWA9tSlwsUEkBxtRnTsNmwrV8gasZ9F/EobaSv9+nu8AxUKccw77JpQ==} dev: true - /@txnlab/use-wallet-react@3.0.0-beta.5(@blockshake/defly-connect@1.1.6)(@perawallet/connect@1.3.4)(algosdk@2.7.0)(lute-connect@1.2.0)(react-dom@18.3.1)(react@18.3.1): - resolution: {integrity: sha512-OLqapqt5OH1ASsuDwgmTqxLVEcz1StmFF2IDFJFoXCXc/hyy9Z7UIyn4bcI0OYDkPYoe+T2HKTnfBz80mKKDMA==} + /@txnlab/use-wallet-react@3.0.0-beta.7(@blockshake/defly-connect@1.1.6)(@perawallet/connect@1.3.4)(algosdk@2.7.0)(lute-connect@1.2.0)(react-dom@18.3.1)(react@18.3.1): + resolution: {integrity: sha512-JtFubCPBHsJL8AABIGmhwJvSVmNdWnIRKc29dBiNdbqnCy6W08yvfR0rpqANZWtAt6Ez7dBAZ+7MYWDBYHBr/Q==} peerDependencies: '@blockshake/defly-connect': ^1.1.6 - '@perawallet/connect': ^1.3.3 + '@perawallet/connect': ^1.3.4 '@walletconnect/modal': ^2.6.2 '@walletconnect/sign-client': ^2.10.2 - algosdk: ^2.6.0 - lute-connect: ^1.1.3 + algosdk: ^2.7.0 + lute-connect: ^1.2.0 react: ^17.0.0 || ^18.0.0 react-dom: ^17.0.0 || ^18.0.0 peerDependenciesMeta: @@ -3313,21 +3502,21 @@ packages: '@blockshake/defly-connect': 1.1.6(algosdk@2.7.0) '@perawallet/connect': 1.3.4(algosdk@2.7.0) '@tanstack/react-store': 0.3.1(react-dom@18.3.1)(react@18.3.1) - '@txnlab/use-wallet': 3.0.0-beta.5(@blockshake/defly-connect@1.1.6)(@perawallet/connect@1.3.4)(lute-connect@1.2.0) + '@txnlab/use-wallet': 3.0.0-beta.7(@blockshake/defly-connect@1.1.6)(@perawallet/connect@1.3.4)(lute-connect@1.2.0) algosdk: 2.7.0 lute-connect: 1.2.0 react: 18.3.1 react-dom: 18.3.1(react@18.3.1) dev: false - /@txnlab/use-wallet@3.0.0-beta.5(@blockshake/defly-connect@1.1.6)(@perawallet/connect@1.3.4)(lute-connect@1.2.0): - resolution: {integrity: sha512-YV88ePCYsknFOjj3FeU7pQLuLly2Xe64pEAXVt42lvJ5haEgDXwBGFyHQQlILSnmmmQdgvgHdhhBcGreJ8ca7Q==} + /@txnlab/use-wallet@3.0.0-beta.7(@blockshake/defly-connect@1.1.6)(@perawallet/connect@1.3.4)(lute-connect@1.2.0): + resolution: {integrity: sha512-abBXlV/HUWL1GibXEXdyScN3QfeEWYDvfAhOtz4cT9smfytS1wfphKMNlr5f8yw4EbNv5hz63AhYY1WvpxsjDg==} peerDependencies: '@blockshake/defly-connect': ^1.1.6 - '@perawallet/connect': ^1.3.3 + '@perawallet/connect': ^1.3.4 '@walletconnect/modal': ^2.6.2 '@walletconnect/sign-client': ^2.10.2 - lute-connect: ^1.1.3 + lute-connect: ^1.2.0 peerDependenciesMeta: '@blockshake/defly-connect': optional: true @@ -3466,7 +3655,7 @@ packages: /@types/mute-stream@0.0.4: resolution: {integrity: sha512-CPM9nzrCPPJHQNA9keH9CVkVI+WR5kMa+7XEs5jcGQ0VoAGnLv242w8lIVgwAEfmE4oufJRaTc9PNLQl0ioAow==} dependencies: - '@types/node': 20.12.11 + '@types/node': 20.12.12 dev: true /@types/node@20.12.11: @@ -3493,10 +3682,10 @@ packages: /@types/react-dom@18.3.0: resolution: {integrity: sha512-EhwApuTmMBmXuFOikhQLIBUn6uFg81SwLMOAUgodJF14SOBOCMdU04gDoYi0WOJJHD144TL32z4yDqCW3dnkQg==} dependencies: - '@types/react': 18.3.1 + '@types/react': 18.3.3 - /@types/react@18.3.1: - resolution: {integrity: sha512-V0kuGBX3+prX+DQ/7r2qsv1NsdfnCLnTgnRJ1pYnxykBhGMz+qj+box5lq7XsO5mtZsBqpjwwTu/7wszPfMBcw==} + /@types/react@18.3.3: + resolution: {integrity: sha512-hti/R0pS0q1/xx+TsI73XIqk26eBsISZ2R0wUijXIngRK9R/e7Xw/cXVxQK7R5JjW+SV4zGcn5hXjudkN/pLIw==} dependencies: '@types/prop-types': 15.7.12 csstype: 3.1.3 @@ -3710,7 +3899,7 @@ packages: globby: 11.1.0 is-glob: 4.0.3 minimatch: 9.0.4 - semver: 7.6.0 + semver: 7.6.2 ts-api-utils: 1.3.0(typescript@5.4.5) typescript: 5.4.5 transitivePeerDependencies: @@ -3732,7 +3921,7 @@ packages: globby: 11.1.0 is-glob: 4.0.3 minimatch: 9.0.4 - semver: 7.6.0 + semver: 7.6.2 ts-api-utils: 1.3.0(typescript@5.4.5) typescript: 5.4.5 transitivePeerDependencies: @@ -3794,8 +3983,8 @@ packages: resolution: {integrity: sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ==} dev: true - /@vitejs/plugin-react@4.2.1(vite@5.2.11): - resolution: {integrity: sha512-oojO9IDc4nCUUi8qIR11KoQm0XFFLIwsRBwHRR4d/88IWghn1y6ckz/bJ8GHDCsYEJee8mDzqtJxh15/cisJNQ==} + /@vitejs/plugin-react@4.3.0(vite@5.2.11): + resolution: {integrity: sha512-KcEbMsn4Dpk+LIbHMj7gDPRKaTMStxxWRkRmxsg/jVdFdJCZWt1SchZcf0M4t8lIKdwwMsEyzhrcOXRrDPtOBw==} engines: {node: ^14.18.0 || >=16.0.0} peerDependencies: vite: ^4.2.0 || ^5.0.0 @@ -4062,19 +4251,19 @@ packages: pino: 7.11.0 dev: false - /@walletconnect/modal-core@2.6.2(@types/react@18.3.1)(react@18.3.1): + /@walletconnect/modal-core@2.6.2(@types/react@18.3.3)(react@18.3.1): resolution: {integrity: sha512-cv8ibvdOJQv2B+nyxP9IIFdxvQznMz8OOr/oR/AaUZym4hjXNL/l1a2UlSQBXrVjo3xxbouMxLb3kBsHoYP2CA==} dependencies: - valtio: 1.11.2(@types/react@18.3.1)(react@18.3.1) + valtio: 1.11.2(@types/react@18.3.3)(react@18.3.1) transitivePeerDependencies: - '@types/react' - react dev: false - /@walletconnect/modal-sign-html@2.6.2(@types/react@18.3.1)(react@18.3.1): + /@walletconnect/modal-sign-html@2.6.2(@types/react@18.3.3)(react@18.3.1): resolution: {integrity: sha512-p9VhWTikRfUIdUUrOsHj0vRFx0FmI6qraE6kVqxOeLwO9OoLQ6xpIRYpYwPrmASMaXRKFbLul1R3F1MKpBPvcA==} dependencies: - '@walletconnect/modal': 2.6.2(@types/react@18.3.1)(react@18.3.1) + '@walletconnect/modal': 2.6.2(@types/react@18.3.3)(react@18.3.1) '@walletconnect/sign-client': 2.10.0 transitivePeerDependencies: - '@azure/app-configuration' @@ -4097,10 +4286,10 @@ packages: - utf-8-validate dev: false - /@walletconnect/modal-ui@2.6.2(@types/react@18.3.1)(react@18.3.1): + /@walletconnect/modal-ui@2.6.2(@types/react@18.3.3)(react@18.3.1): resolution: {integrity: sha512-rbdstM1HPGvr7jprQkyPggX7rP4XiCG85ZA+zWBEX0dVQg8PpAgRUqpeub4xQKDgY7pY/xLRXSiCVdWGqvG2HA==} dependencies: - '@walletconnect/modal-core': 2.6.2(@types/react@18.3.1)(react@18.3.1) + '@walletconnect/modal-core': 2.6.2(@types/react@18.3.3)(react@18.3.1) lit: 2.8.0 motion: 10.16.2 qrcode: 1.5.3 @@ -4109,11 +4298,11 @@ packages: - react dev: false - /@walletconnect/modal@2.6.2(@types/react@18.3.1)(react@18.3.1): + /@walletconnect/modal@2.6.2(@types/react@18.3.3)(react@18.3.1): resolution: {integrity: sha512-eFopgKi8AjKf/0U4SemvcYw9zlLpx9njVN8sf6DAkowC2Md0gPU/UNEbH1Wwj407pEKnEds98pKWib1NN1ACoA==} dependencies: - '@walletconnect/modal-core': 2.6.2(@types/react@18.3.1)(react@18.3.1) - '@walletconnect/modal-ui': 2.6.2(@types/react@18.3.1)(react@18.3.1) + '@walletconnect/modal-core': 2.6.2(@types/react@18.3.3)(react@18.3.1) + '@walletconnect/modal-ui': 2.6.2(@types/react@18.3.3)(react@18.3.1) transitivePeerDependencies: - '@types/react' - react @@ -4567,20 +4756,20 @@ packages: dependencies: possible-typed-array-names: 1.0.0 - /axios-cache-interceptor@1.5.2(axios@1.6.8): - resolution: {integrity: sha512-zrJZ9DZo5hKfrU+SEN/qhXxGD7GWRzwoqJ7sSvxikizUvDhWy/U9BoAbWLZZdyjbHHsfmS1OlQZCDW6o69r4DA==} + /axios-cache-interceptor@1.5.3(axios@1.7.2): + resolution: {integrity: sha512-kPgGId9XW7tR+VF7hgSkqF4f6FrV4ecCyKxjkD9v1hNJ4sXSAskocr7SMKaVHVvrbzVeruwB6yL6Y9/lY1ApKg==} engines: {node: '>=12'} peerDependencies: axios: ^1 dependencies: - axios: 1.6.8 - cache-parser: 1.2.4 + axios: 1.7.2 + cache-parser: 1.2.5 fast-defer: 1.1.8 object-code: 1.3.3 dev: false - /axios@1.6.8: - resolution: {integrity: sha512-v/ZHtJDU39mDpyBoFVkETcd/uNdxrWRrg3bKpOKzXFA6Bvqopts6ALSMU3y6ijYxbw2B+wPrIv46egTzJXCLGQ==} + /axios@1.7.2: + resolution: {integrity: sha512-2A8QhOMrbomlDuiLeK9XibIBzuHeRcqqNOHp0Cyp5EoJ1IFDh+XZH3A6BkXtv0K4gFGCI0Y4BM7B1wOEi0Rmgw==} dependencies: follow-redirects: 1.15.6 form-data: 4.0.0 @@ -4833,8 +5022,8 @@ packages: engines: {node: '>=8'} dev: true - /cache-parser@1.2.4: - resolution: {integrity: sha512-O0KwuHuJnbHUrghHi2kGp0SxnWSIBXTYt7M8WVhW0kbPRUNUKoE/Of6e1rRD6AAxmfxFunKnt90yEK09D+sc5g==} + /cache-parser@1.2.5: + resolution: {integrity: sha512-Md/4VhAHByQ9frQ15WD6LrMNiVw9AEl/J7vWIXw+sxT6fSOpbtt6LHTp76vy8+bOESPBO94117Hm2bIjlI7XjA==} dev: false /call-bind@1.0.7: @@ -6899,7 +7088,7 @@ packages: '@babel/parser': 7.24.5 '@istanbuljs/schema': 0.1.3 istanbul-lib-coverage: 3.2.2 - semver: 7.6.0 + semver: 7.6.2 transitivePeerDependencies: - supports-color dev: true @@ -7287,7 +7476,7 @@ packages: jest-util: 29.7.0 natural-compare: 1.4.0 pretty-format: 29.7.0 - semver: 7.6.0 + semver: 7.6.2 transitivePeerDependencies: - supports-color dev: true @@ -7297,7 +7486,7 @@ packages: engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dependencies: '@jest/types': 29.6.3 - '@types/node': 20.12.11 + '@types/node': 20.12.12 chalk: 4.1.2 ci-info: 3.9.0 graceful-fs: 4.2.11 @@ -7636,8 +7825,8 @@ packages: yallist: 4.0.0 dev: true - /lucide-react@0.378.0(react@18.3.1): - resolution: {integrity: sha512-u6EPU8juLUk9ytRcyapkWI18epAv3RU+6+TC23ivjR0e+glWKBobFeSgRwOIJihzktILQuy6E0E80P2jVTDR5g==} + /lucide-react@0.379.0(react@18.3.1): + resolution: {integrity: sha512-KcdeVPqmhRldldAAgptb8FjIunM2x2Zy26ZBh1RsEUcdLIvsEmbcw7KpzFYUy5BbpGeWhPu9Z9J5YXfStiXwhg==} peerDependencies: react: ^16.5.1 || ^17.0.0 || ^18.0.0 dependencies: @@ -7670,7 +7859,7 @@ packages: resolution: {integrity: sha512-hXdUTZYIVOt1Ex//jAQi+wTZZpUpwBj/0QsOzqegb3rGMMeJiSEu5xLHnYfBrRV4RH2+OCSOO95Is/7x1WJ4bw==} engines: {node: '>=10'} dependencies: - semver: 7.6.0 + semver: 7.6.2 dev: true /make-error@1.3.6: @@ -8293,6 +8482,10 @@ packages: /picocolors@1.0.0: resolution: {integrity: sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==} + /picocolors@1.0.1: + resolution: {integrity: sha512-anP1Z8qwhkbmu7MFP5iTt+wQKXgwzf7zTyGlcdzabySa9vd0Xt392U0rVmz9poOaBj0uHJKyyo9/upk0HrEQew==} + dev: true + /picomatch@2.3.1: resolution: {integrity: sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==} engines: {node: '>=8.6'} @@ -8360,8 +8553,8 @@ packages: hasBin: true dev: true - /playwright-core@1.44.0: - resolution: {integrity: sha512-ZTbkNpFfYcGWohvTTl+xewITm7EOuqIqex0c7dNZ+aXsbrLj0qI8XlGKfPpipjm0Wny/4Lt4CJsWJk1stVS5qQ==} + /playwright-core@1.44.1: + resolution: {integrity: sha512-wh0JWtYTrhv1+OSsLPgFzGzt67Y7BE/ZS3jEqgGBlp2ppp1ZDj8c+9IARNW4dwf1poq5MgHreEM2KV/GuR4cFA==} engines: {node: '>=16'} hasBin: true dev: true @@ -8376,12 +8569,12 @@ packages: fsevents: 2.3.2 dev: true - /playwright@1.44.0: - resolution: {integrity: sha512-F9b3GUCLQ3Nffrfb6dunPOkE5Mh68tR7zN32L4jCk4FjQamgesGay7/dAAe1WaMEGV04DkdJfcJzjoCKygUaRQ==} + /playwright@1.44.1: + resolution: {integrity: sha512-qr/0UJ5CFAtloI3avF95Y0L1xQo6r3LQArLIg/z/PoGJ6xa+EwzrwO5lpNr/09STxdHuUoP2mvuELJS+hLdtgg==} engines: {node: '>=16'} hasBin: true dependencies: - playwright-core: 1.44.0 + playwright-core: 1.44.1 optionalDependencies: fsevents: 2.3.2 dev: true @@ -8653,16 +8846,6 @@ packages: safe-buffer: 5.2.1 dev: false - /react-day-picker@8.10.1(date-fns@2.30.0)(react@18.3.1): - resolution: {integrity: sha512-TMx7fNbhLk15eqcMt+7Z7S2KF7mfTId/XJDjKE8f+IUcFn0l08/kI4FiYTL/0yuOLmEcbR4Fwe3GJf/NiiMnPA==} - peerDependencies: - date-fns: ^2.28.0 || ^3.0.0 - react: ^16.8.0 || ^17.0.0 || ^18.0.0 - dependencies: - date-fns: 2.30.0 - react: 18.3.1 - dev: false - /react-day-picker@8.10.1(date-fns@3.6.0)(react@18.3.1): resolution: {integrity: sha512-TMx7fNbhLk15eqcMt+7Z7S2KF7mfTId/XJDjKE8f+IUcFn0l08/kI4FiYTL/0yuOLmEcbR4Fwe3GJf/NiiMnPA==} peerDependencies: @@ -8697,8 +8880,8 @@ packages: shallowequal: 1.1.0 dev: false - /react-hook-form@7.51.4(react@18.3.1): - resolution: {integrity: sha512-V14i8SEkh+V1gs6YtD0hdHYnoL4tp/HX/A45wWQN15CYr9bFRmmRdYStSO5L65lCCZRF+kYiSKhm9alqbcdiVA==} + /react-hook-form@7.51.5(react@18.3.1): + resolution: {integrity: sha512-J2ILT5gWx1XUIJRETiA7M19iXHlG74+6O3KApzvqB/w8S5NQR7AbU8HVZrMALdmDgWpRPYiZJl0zx8Z4L2mP6Q==} engines: {node: '>=12.22.0'} peerDependencies: react: ^16.8.0 || ^17 || ^18 @@ -8723,7 +8906,7 @@ packages: engines: {node: '>=0.10.0'} dev: true - /react-remove-scroll-bar@2.3.6(@types/react@18.3.1)(react@18.3.1): + /react-remove-scroll-bar@2.3.6(@types/react@18.3.3)(react@18.3.1): resolution: {integrity: sha512-DtSYaao4mBmX+HDo5YWYdBWQwYIQQshUV/dVxFxK+KM26Wjwp1gZ6rv6OC3oujI6Bfu6Xyg3TwK533AQutsn/g==} engines: {node: '>=10'} peerDependencies: @@ -8733,13 +8916,13 @@ packages: '@types/react': optional: true dependencies: - '@types/react': 18.3.1 + '@types/react': 18.3.3 react: 18.3.1 - react-style-singleton: 2.2.1(@types/react@18.3.1)(react@18.3.1) + react-style-singleton: 2.2.1(@types/react@18.3.3)(react@18.3.1) tslib: 2.6.2 dev: false - /react-remove-scroll@2.5.5(@types/react@18.3.1)(react@18.3.1): + /react-remove-scroll@2.5.5(@types/react@18.3.3)(react@18.3.1): resolution: {integrity: sha512-ImKhrzJJsyXJfBZ4bzu8Bwpka14c/fQt0k+cyFp/PBhTfyDnU5hjOtM4AG/0AMyy8oKzOTR0lDgJIM7pYXI0kw==} engines: {node: '>=10'} peerDependencies: @@ -8749,13 +8932,13 @@ packages: '@types/react': optional: true dependencies: - '@types/react': 18.3.1 + '@types/react': 18.3.3 react: 18.3.1 - react-remove-scroll-bar: 2.3.6(@types/react@18.3.1)(react@18.3.1) - react-style-singleton: 2.2.1(@types/react@18.3.1)(react@18.3.1) + react-remove-scroll-bar: 2.3.6(@types/react@18.3.3)(react@18.3.1) + react-style-singleton: 2.2.1(@types/react@18.3.3)(react@18.3.1) tslib: 2.6.2 - use-callback-ref: 1.3.2(@types/react@18.3.1)(react@18.3.1) - use-sidecar: 1.1.2(@types/react@18.3.1)(react@18.3.1) + use-callback-ref: 1.3.2(@types/react@18.3.3)(react@18.3.1) + use-sidecar: 1.1.2(@types/react@18.3.3)(react@18.3.1) dev: false /react-smooth@4.0.1(react-dom@18.3.1)(react@18.3.1): @@ -8771,7 +8954,7 @@ packages: react-transition-group: 4.4.5(react-dom@18.3.1)(react@18.3.1) dev: false - /react-style-singleton@2.2.1(@types/react@18.3.1)(react@18.3.1): + /react-style-singleton@2.2.1(@types/react@18.3.3)(react@18.3.1): resolution: {integrity: sha512-ZWj0fHEMyWkHzKYUr2Bs/4zU6XLmq9HsgBURm7g5pAVfyn49DgUiNgY2d4lXRlYSiCif9YBGpQleewkcqddc7g==} engines: {node: '>=10'} peerDependencies: @@ -8781,7 +8964,7 @@ packages: '@types/react': optional: true dependencies: - '@types/react': 18.3.1 + '@types/react': 18.3.3 get-nonce: 1.0.1 invariant: 2.2.4 react: 18.3.1 @@ -8861,8 +9044,8 @@ packages: decimal.js-light: 2.5.1 dev: false - /recharts@2.12.6(react-dom@18.3.1)(react@18.3.1): - resolution: {integrity: sha512-D+7j9WI+D0NHauah3fKHuNNcRK8bOypPW7os1DERinogGBGaHI7i6tQKJ0aUF3JXyBZ63dyfKIW2WTOPJDxJ8w==} + /recharts@2.12.7(react-dom@18.3.1)(react@18.3.1): + resolution: {integrity: sha512-hlLJMhPQfv4/3NBSAyq3gzGg4h2v69RJh6KU7b3pXYNNAELs9kEoXOjbkxdXpALqKBoVmVptGfLpxdaVYqjmXQ==} engines: {node: '>=14'} peerDependencies: react: ^16.0.0 || ^17.0.0 || ^18.0.0 @@ -9056,6 +9239,12 @@ packages: lru-cache: 6.0.0 dev: true + /semver@7.6.2: + resolution: {integrity: sha512-FNAIBWCx9qcRhoHcgcJ0gvU7SN1lYU2ZXuSfl04bSC5OpvDHFyJCjdNHomPXxjQlCBU67YW64PzY7/VIEH7F2w==} + engines: {node: '>=10'} + hasBin: true + dev: true + /sentence-case@3.0.4: resolution: {integrity: sha512-8LS0JInaQMCRoQ7YUytAo/xUu5W2XnQxV2HI/6uM6U7CITS1RqPElr30V6uIqyMKM9lJGRVFy5/4CuzcixNYSg==} dependencies: @@ -9585,12 +9774,13 @@ packages: /ts-interface-checker@0.1.13: resolution: {integrity: sha512-Y/arvbn+rrz3JCKl9C4kVNfTfSm2/mEp5FSz5EsZSANGPSlQrpRI5M4PKF+mJnE52jOO90PnPSc3Ur3bTQw0gA==} - /ts-jest@29.1.2(@babel/core@7.24.5)(jest@29.7.0)(typescript@5.4.5): - resolution: {integrity: sha512-br6GJoH/WUX4pu7FbZXuWGKGNDuU7b8Uj77g/Sp7puZV6EXzuByl6JrECvm0MzVzSTkSHWTihsXt+5XYER5b+g==} - engines: {node: ^16.10.0 || ^18.0.0 || >=20.0.0} + /ts-jest@29.1.3(@babel/core@7.24.6)(jest@29.7.0)(typescript@5.4.5): + resolution: {integrity: sha512-6L9qz3ginTd1NKhOxmkP0qU3FyKjj5CPoY+anszfVn6Pmv/RIKzhiMCsH7Yb7UvJR9I2A64rm4zQl531s2F1iw==} + engines: {node: ^14.15.0 || ^16.10.0 || ^18.0.0 || >=20.0.0} hasBin: true peerDependencies: '@babel/core': '>=7.0.0-beta.0 <8' + '@jest/transform': ^29.0.0 '@jest/types': ^29.0.0 babel-jest: ^29.0.0 esbuild: '*' @@ -9599,6 +9789,8 @@ packages: peerDependenciesMeta: '@babel/core': optional: true + '@jest/transform': + optional: true '@jest/types': optional: true babel-jest: @@ -9606,7 +9798,7 @@ packages: esbuild: optional: true dependencies: - '@babel/core': 7.24.5 + '@babel/core': 7.24.6 bs-logger: 0.2.6 fast-json-stable-stringify: 2.1.0 jest: 29.7.0 @@ -9614,7 +9806,7 @@ packages: json5: 2.2.3 lodash.memoize: 4.1.2 make-error: 1.3.6 - semver: 7.6.0 + semver: 7.6.2 typescript: 5.4.5 yargs-parser: 21.1.1 dev: true @@ -9922,7 +10114,7 @@ packages: qs: 6.12.1 dev: false - /use-callback-ref@1.3.2(@types/react@18.3.1)(react@18.3.1): + /use-callback-ref@1.3.2(@types/react@18.3.3)(react@18.3.1): resolution: {integrity: sha512-elOQwe6Q8gqZgDA8mrh44qRTQqpIHDcZ3hXTLjBe1i4ph8XpNJnO+aQf3NaG+lriLopI4HMx9VjQLfPQ6vhnoA==} engines: {node: '>=10'} peerDependencies: @@ -9932,7 +10124,7 @@ packages: '@types/react': optional: true dependencies: - '@types/react': 18.3.1 + '@types/react': 18.3.3 react: 18.3.1 tslib: 2.6.2 dev: false @@ -9946,7 +10138,7 @@ packages: react: 18.3.1 dev: false - /use-sidecar@1.1.2(@types/react@18.3.1)(react@18.3.1): + /use-sidecar@1.1.2(@types/react@18.3.3)(react@18.3.1): resolution: {integrity: sha512-epTbsLuzZ7lPClpz2TyryBfztm7m+28DlEv2ZCQ3MDr5ssiwyOwGH/e5F9CkfWjJ1t4clvI58yF822/GUkjjhw==} engines: {node: '>=10'} peerDependencies: @@ -9956,7 +10148,7 @@ packages: '@types/react': optional: true dependencies: - '@types/react': 18.3.1 + '@types/react': 18.3.3 detect-node-es: 1.1.0 react: 18.3.1 tslib: 2.6.2 @@ -10003,7 +10195,7 @@ packages: convert-source-map: 2.0.0 dev: true - /valtio@1.11.2(@types/react@18.3.1)(react@18.3.1): + /valtio@1.11.2(@types/react@18.3.3)(react@18.3.1): resolution: {integrity: sha512-1XfIxnUXzyswPAPXo1P3Pdx2mq/pIqZICkWN60Hby0d9Iqb+MEIpqgYVlbflvHdrp2YR/q3jyKWRPJJ100yxaw==} engines: {node: '>=12.20.0'} peerDependencies: @@ -10015,7 +10207,7 @@ packages: react: optional: true dependencies: - '@types/react': 18.3.1 + '@types/react': 18.3.3 proxy-compare: 2.5.1 react: 18.3.1 use-sync-external-store: 1.2.0(react@18.3.1) @@ -10061,8 +10253,8 @@ packages: - terser dev: true - /vite-plugin-node-polyfills@0.21.0(vite@5.2.11): - resolution: {integrity: sha512-Sk4DiKnmxN8E0vhgEhzLudfJQfaT8k4/gJ25xvUPG54KjLJ6HAmDKbr4rzDD/QWEY+Lwg80KE85fGYBQihEPQA==} + /vite-plugin-node-polyfills@0.22.0(vite@5.2.11): + resolution: {integrity: sha512-F+G3LjiGbG8QpbH9bZ//GSBr9i1InSTkaulfUHFa9jkLqVGORFBoqc2A/Yu5Mmh1kNAbiAeKeK+6aaQUf3x0JA==} peerDependencies: vite: ^2.0.0 || ^3.0.0 || ^4.0.0 || ^5.0.0 dependencies: diff --git a/ui/package.json b/ui/package.json index 2ffd2385..71779957 100644 --- a/ui/package.json +++ b/ui/package.json @@ -1,23 +1,23 @@ { "name": "reti-ui", - "version": "0.8.14", + "version": "0.8.15", "private": true, "type": "module", "engines": { "node": "20" }, "devDependencies": { - "@playwright/test": "1.44.0", - "@tanstack/router-vite-plugin": "1.31.18", + "@playwright/test": "1.44.1", + "@tanstack/router-vite-plugin": "1.33.12", "@testing-library/jest-dom": "6.4.5", "@testing-library/react": "15.0.7", "@types/big.js": "6.2.2", "@types/node": "20.12.12", - "@types/react": "18.3.1", + "@types/react": "18.3.3", "@types/react-dom": "18.3.0", "@typescript-eslint/eslint-plugin": "7.8.0", "@typescript-eslint/parser": "7.8.0", - "@vitejs/plugin-react": "4.2.1", + "@vitejs/plugin-react": "4.3.0", "@vitest/coverage-v8": "1.6.0", "algo-msgpack-with-bigint": "2.1.1", "autoprefixer": "10.4.19", @@ -26,7 +26,7 @@ "eslint-plugin-prettier": "5.1.3", "jsdom": "24.0.0", "msw": "2.3.0", - "playwright": "1.44.0", + "playwright": "1.44.1", "postcss": "8.4.38", "tailwindcss": "3.4.3", "ts-node": "10.9.2", @@ -35,9 +35,9 @@ "vitest": "1.6.0" }, "dependencies": { - "@algorandfoundation/algokit-utils": "6.0.5-beta.1", + "@algorandfoundation/algokit-utils": "6.0.5", "@blockshake/defly-connect": "1.1.6", - "@hookform/resolvers": "3.3.4", + "@hookform/resolvers": "3.4.2", "@perawallet/connect": "1.3.4", "@radix-ui/react-avatar": "1.0.4", "@radix-ui/react-checkbox": "1.0.4", @@ -55,39 +55,39 @@ "@radix-ui/react-slot": "1.0.2", "@radix-ui/react-switch": "1.0.3", "@radix-ui/react-tooltip": "1.0.7", - "@tanstack/react-query": "5.35.5", - "@tanstack/react-query-devtools": "5.35.5", - "@tanstack/react-router": "1.31.27", - "@tanstack/react-table": "8.16.0", - "@tanstack/router-devtools": "1.31.27", - "@tremor/react": "3.16.2", - "@txnlab/use-wallet-react": "3.0.0-beta.5", + "@tanstack/react-query": "5.37.1", + "@tanstack/react-query-devtools": "5.37.1", + "@tanstack/react-router": "1.33.8", + "@tanstack/react-table": "8.17.3", + "@tanstack/router-devtools": "1.33.8", + "@tremor/react": "3.17.2", + "@txnlab/use-wallet-react": "3.0.0-beta.7", "@walletconnect/modal-sign-html": "2.6.2", "algosdk": "2.7.0", - "axios": "1.6.8", - "axios-cache-interceptor": "1.5.2", + "axios": "1.7.2", + "axios-cache-interceptor": "1.5.3", "big.js": "6.2.1", "class-variance-authority": "0.7.0", "clsx": "2.1.1", "copy-to-clipboard": "3.3.3", "date-fns": "3.6.0", "dayjs": "1.11.11", - "lucide-react": "0.378.0", + "lucide-react": "0.379.0", "lute-connect": "1.2.0", "next-themes": "0.3.0", "notistack": "3.0.1", - "query-string": "^9.0.0", + "query-string": "9.0.0", "react": "18.3.1", "react-day-picker": "8.10.1", "react-dom": "18.3.1", "react-helmet-async": "2.0.5", - "react-hook-form": "7.51.4", + "react-hook-form": "7.51.5", "sonner": "1.4.41", "tailwind-merge": "2.3.0", "tailwindcss-animate": "1.0.7", "tslib": "2.6.2", "use-debounce": "10.0.0", - "vite-plugin-node-polyfills": "0.21.0", + "vite-plugin-node-polyfills": "0.22.0", "zod": "3.23.8" }, "scripts": { diff --git a/ui/src/api/contracts.ts b/ui/src/api/contracts.ts index 0ea938f2..2ac1b4f1 100644 --- a/ui/src/api/contracts.ts +++ b/ui/src/api/contracts.ts @@ -1,6 +1,7 @@ import * as algokit from '@algorandfoundation/algokit-utils' import { TransactionSignerAccount } from '@algorandfoundation/algokit-utils/types/account' import { AlgoAmount } from '@algorandfoundation/algokit-utils/types/amount' +import { QueryClient } from '@tanstack/react-query' import algosdk from 'algosdk' import { fetchAsset, isOptedInToAsset } from '@/api/algod' import { @@ -77,12 +78,20 @@ export function callGetValidatorState( .simulate({ allowEmptySignatures: true, allowUnnamedResources: true }) } +/** + * Fetches the validator's configuration, state, pools info, node pool assignments, reward token + * (if one is configured), NFD for info, and APY for all pools. When this is called by the + * `fetchValidators` function, the `queryClient` parameter is passed in to seed the query cache. + * @param {string | number} validatorId - The validator's ID. + * @param {QueryClient} queryClient - The query client to seed the query cache. + * @return {Promise} The validator object. + */ export async function fetchValidator( - validatorId: string | number | bigint, - client?: ValidatorRegistryClient, -) { + validatorId: string | number, + queryClient?: QueryClient, +): Promise { try { - const validatorClient = client || (await getSimulateValidatorClient()) + const validatorClient = await getSimulateValidatorClient() const [config, state, validatorPoolData, nodePoolAssignments] = await Promise.all([ callGetValidatorConfig(Number(validatorId), validatorClient), @@ -118,6 +127,22 @@ export async function fetchValidator( validator.nfd = nfd } + const poolApyPromises = validator.pools.map(async (pool) => { + const poolApy = await fetchPoolApy(pool.poolAppId) + // Seed the query cache with the pool APY data + queryClient?.setQueryData(['pool-apy', pool.poolAppId], poolApy) + + return poolApy + }) + + const poolApys = await Promise.all(poolApyPromises) + const avgApy = poolApys.reduce((acc, apy) => acc + apy, 0) / (poolApys.length || 1) + + validator.apy = avgApy + + // Seed the query cache with the validator data + queryClient?.setQueryData(['validator', String(validatorId)], validator) + return validator } catch (error) { console.error(error) @@ -125,9 +150,9 @@ export async function fetchValidator( } } -export async function fetchValidators(client?: ValidatorRegistryClient) { +export async function fetchValidators(queryClient: QueryClient) { try { - const validatorClient = client || (await getSimulateValidatorClient()) + const validatorClient = await getSimulateValidatorClient() // App call to fetch total number of validators const numValidatorsResponse = await callGetNumValidators(validatorClient) @@ -146,7 +171,7 @@ export async function fetchValidators(client?: ValidatorRegistryClient) { { length: Math.min(batchSize, Number(numValidators) - i) }, (_, index) => { const validatorId = i + index + 1 - return fetchValidator(validatorId, validatorClient) + return fetchValidator(validatorId, queryClient) }, ) @@ -193,10 +218,13 @@ export async function addValidator( .simulate({ allowEmptySignatures: true, allowUnnamedResources: true }) ).returns![0] - const suggestedParams = await ParamsCache.getSuggestedParams() + const params = await ParamsCache.getSuggestedParams() - suggestedParams.flatFee = true - suggestedParams.fee = AlgoAmount.Algos(10.001).microAlgos + const suggestedParams = { + ...params, + flatFee: true, + fee: AlgoAmount.Algos(10.001).microAlgos, + } const payValidatorMbr = algosdk.makePaymentTxnWithSuggestedParamsFromObject({ from: activeAddress, @@ -1161,6 +1189,28 @@ export async function changeValidatorRewardInfo( .execute({ populateAppCallResources: true }) } +export async function fetchPoolApy(poolAppId: number): Promise { + try { + const stakingPoolClient = await getSimulateStakingPoolClient(poolAppId) + const stakingPoolGS = await stakingPoolClient.getGlobalState() + + const ewmaBytes = stakingPoolGS.ewma?.asByteArray() + + if (!ewmaBytes) { + throw new Error(`Error fetching EWMA for pool ${poolAppId}`) + } + + const ewma = algosdk.bytesToBigInt(ewmaBytes) + + const poolApy = Number(ewma) / 10000 + + return poolApy + } catch (error) { + console.error(error) + throw error + } +} + export async function linkPoolToNfd( poolAppId: number, nfdName: string, diff --git a/ui/src/api/queries.ts b/ui/src/api/queries.ts index 4adb0c64..7d0ff3e3 100644 --- a/ui/src/api/queries.ts +++ b/ui/src/api/queries.ts @@ -1,10 +1,11 @@ -import { queryOptions } from '@tanstack/react-query' +import { QueryClient, keepPreviousData, queryOptions } from '@tanstack/react-query' import { AxiosError } from 'axios' import { CacheRequestConfig } from 'axios-cache-interceptor' import { fetchAssetHoldings, fetchBalance, fetchBlockTimes } from '@/api/algod' import { fetchMbrAmounts, fetchNodePoolAssignments, + fetchPoolApy, fetchProtocolConstraints, fetchStakedInfoForPool, fetchStakerValidatorData, @@ -15,12 +16,13 @@ import { import { fetchNfd, fetchNfdReverseLookup } from '@/api/nfd' import { Nfd, NfdGetLookupParams, NfdGetNFDParams } from '@/interfaces/nfd' -export const validatorsQueryOptions = queryOptions({ - queryKey: ['validators'], - queryFn: () => fetchValidators(), - // staleTime: Infinity, - retry: false, -}) +export const validatorsQueryOptions = (queryClient: QueryClient) => + queryOptions({ + queryKey: ['validators'], + queryFn: () => fetchValidators(queryClient), + // staleTime: Infinity, + retry: false, + }) export const validatorQueryOptions = (validatorId: number | string) => queryOptions({ @@ -74,6 +76,7 @@ export const nfdQueryOptions = ( queryKey: ['nfd', String(nameOrId), params], queryFn: () => fetchNfd(String(nameOrId), params, options), enabled: !!nameOrId, + placeholderData: keepPreviousData, staleTime: 1000 * 60 * 5, // 5 mins retry: (failureCount, error) => { if (error instanceof AxiosError) { @@ -129,3 +132,11 @@ export const blockTimeQueryOptions = queryOptions({ queryFn: () => fetchBlockTimes(), staleTime: 1000 * 60 * 30, // 30 mins }) + +export const poolApyQueryOptions = (poolAppId: number, staleTime?: number) => + queryOptions({ + queryKey: ['pool-apy', poolAppId], + queryFn: () => fetchPoolApy(poolAppId), + enabled: !!poolAppId, + staleTime: staleTime || 1000 * 60 * 60, // 1 hour + }) diff --git a/ui/src/components/NfdThumbnail.tsx b/ui/src/components/NfdThumbnail.tsx index 1f6b688f..8bc155fc 100644 --- a/ui/src/components/NfdThumbnail.tsx +++ b/ui/src/components/NfdThumbnail.tsx @@ -23,68 +23,64 @@ type NfdThumbnailProps = ( className?: string } -function NfdThumbnailBase({ - nfd: nfdProp, - nameOrId, - link = false, - truncate = false, - tooltip = false, - className = '', -}: NfdThumbnailProps) { - const { data: nfdData, isLoading, error } = useQuery(nfdQueryOptions(nameOrId || '')) - const nfd = nfdProp || nfdData +const NfdThumbnailBase = React.memo( + ({ + nfd: nfdProp, + nameOrId, + link = false, + truncate = false, + tooltip = false, + className = '', + }: NfdThumbnailProps) => { + const { data: nfdData, isLoading, error } = useQuery(nfdQueryOptions(nameOrId || '')) + const nfd = nfdProp || nfdData - if (isLoading) { - return Loading... - } + if (isLoading) { + return Loading... + } - if (error || !nfd) { - return Error fetching NFD - } + if (error || !nfd) { + return Error fetching NFD + } - const defaultClassName = 'flex items-center gap-x-1.5 text-sm font-semibold text-foreground' + const defaultClassName = 'flex items-center gap-x-1.5 text-sm font-semibold text-foreground' - const renderChildren = () => ( - <> -
- -
-
{nfd.name}
- - ) + const renderChildren = () => ( + <> +
+ +
+
{nfd.name}
+ + ) - const renderThumbnail = () => ( -
{renderChildren()}
- ) + const renderThumbnail = () => ( +
{renderChildren()}
+ ) - const renderLink = () => ( - - {renderChildren()} - - ) + const renderLink = () => ( + + {renderChildren()} + + ) - const renderContent = () => (link ? renderLink() : renderThumbnail()) + const renderContent = () => (link ? renderLink() : renderThumbnail()) - if (tooltip) { - return {renderContent()} - } + if (tooltip) { + return {renderContent()} + } - return renderContent() -} + return renderContent() + }, +) const NfdThumbnail = (props: NfdThumbnailProps) => { - const MemoizedNfdThumbnail = React.memo(NfdThumbnailBase) - - if (props.nfd) { - return - } else { - return - } + return } export { NfdThumbnail } diff --git a/ui/src/components/ValidatorDetails/StakingDetails.tsx b/ui/src/components/ValidatorDetails/StakingDetails.tsx index 9f22e243..aa0dfa88 100644 --- a/ui/src/components/ValidatorDetails/StakingDetails.tsx +++ b/ui/src/components/ValidatorDetails/StakingDetails.tsx @@ -5,7 +5,7 @@ import { BarList, EventProps, ProgressBar } from '@tremor/react' import { useWallet } from '@txnlab/use-wallet-react' import { Ban, Copy, Signpost } from 'lucide-react' import * as React from 'react' -import { nfdLookupQueryOptions } from '@/api/queries' +import { nfdLookupQueryOptions, poolApyQueryOptions } from '@/api/queries' import { AddStakeModal } from '@/components/AddStakeModal' import { AlgoDisplayAmount } from '@/components/AlgoDisplayAmount' import { ErrorAlert } from '@/components/ErrorAlert' @@ -25,6 +25,7 @@ import { import { UnstakeModal } from '@/components/UnstakeModal' import { LinkPoolToNfdModal } from '@/components/ValidatorDetails/LinkPoolToNfdModal' import { PoolsChart } from '@/components/ValidatorDetails/PoolsChart' +import { useBlockTime } from '@/hooks/useBlockTime' import { useStakersChartData } from '@/hooks/useStakersChartData' import { StakerValidatorData } from '@/interfaces/staking' import { Constraints, Validator } from '@/interfaces/validator' @@ -74,6 +75,14 @@ export function StakingDetails({ validator, constraints, stakesByValidator }: St const selectedPoolInfo = selectedPool === 'all' ? null : poolsInfo[Number(selectedPool)] + // Set poolApyQuery staleTime to epoch length in ms + const blockTime = useBlockTime() + const staleTime = validator.config.epochRoundLength * blockTime.ms + + // Fetch APY for selected pool (setting poolAppId to 0 disables query) + const poolApyQuery = useQuery(poolApyQueryOptions(selectedPoolInfo?.poolAppId || 0, staleTime)) + const selectedPoolApy = poolApyQuery.data + const poolNfdQuery = useQuery( nfdLookupQueryOptions( selectedPoolInfo?.poolAddress || null, @@ -238,6 +247,16 @@ export function StakingDetails({ validator, constraints, stakesByValidator }: St {validator.state.numPools} +
+
Avg APY
+
+ {validator.apy ? ( + `${validator.apy}%` + ) : ( + -- + )} +
+
Total Stakers @@ -336,6 +355,17 @@ export function StakingDetails({ validator, constraints, stakesByValidator }: St
+
+
APY
+
+ {selectedPoolApy ? ( + `${selectedPoolApy}%` + ) : ( + -- + )} +
+
+
Stakers
diff --git a/ui/src/components/ValidatorInfoRow.tsx b/ui/src/components/ValidatorInfoRow.tsx new file mode 100644 index 00000000..f107b694 --- /dev/null +++ b/ui/src/components/ValidatorInfoRow.tsx @@ -0,0 +1,121 @@ +import { useBlockTime } from '@/hooks/useBlockTime' +import { Constraints, Validator } from '@/interfaces/validator' +import { calculateMaxStakers } from '@/utils/contracts' +import { formatDuration } from '@/utils/dayjs' +import { formatAmount, formatAssetAmount } from '@/utils/format' +import { cn } from '@/utils/ui' + +interface ValidatorInfoRowProps { + validator: Validator + constraints: Constraints +} + +export function ValidatorInfoRow({ validator, constraints }: ValidatorInfoRowProps) { + const blockTime = useBlockTime() + + const epochLength = validator.config.epochRoundLength + const numRounds = formatAmount(epochLength) + const durationEstimate = epochLength * blockTime.ms + + const renderRewardToken = () => { + if (validator.config.rewardTokenId === 0) { + return <>-- + } + + const { rewardToken } = validator + + if (!rewardToken) { + return validator.config.rewardTokenId + } + + const { name, 'unit-name': unitName } = rewardToken.params + + if (name) { + return name + } + + if (unitName) { + return {unitName} + } + + return validator.config.rewardTokenId + } + + const renderRewardPerPayout = () => { + if (validator.config.rewardPerPayout === 0n) { + return -- + } + + if (!validator.rewardToken) { + return ( + {Number(validator.config.rewardPerPayout)} + ) + } + + return ( + + {formatAssetAmount(validator.rewardToken, validator.config.rewardPerPayout, { + unitName: true, + })} + + ) + } + + return ( +
+
+
+

Pools / Max

+

+ + {validator.state.numPools} / {validator.config.poolsPerNode * constraints.maxNodes} + +

+
+
+

Stakers / Max

+

+ + {validator.state.numPools > 0 ? ( + <> + {validator.state.totalStakers} / {calculateMaxStakers(validator, constraints)} + + ) : ( + <>-- + )} + +

+
+
+ +
+
+

Epoch Length

+

{numRounds} blocks

+
+
+

Payout Frequency

+

{formatDuration(durationEstimate)}

+
+
+ +
+
+

Reward Token

+

{renderRewardToken()}

+
+
+

Reward Per Payout

+

{renderRewardPerPayout()}

+
+
+
+ ) +} diff --git a/ui/src/components/ValidatorTable.tsx b/ui/src/components/ValidatorTable.tsx index e3358822..9065a549 100644 --- a/ui/src/components/ValidatorTable.tsx +++ b/ui/src/components/ValidatorTable.tsx @@ -1,6 +1,6 @@ import { AlgoAmount } from '@algorandfoundation/algokit-utils/types/amount' import { useQueryClient } from '@tanstack/react-query' -import { Link, useNavigate, useRouter } from '@tanstack/react-router' +import { Link, useRouter } from '@tanstack/react-router' import { ColumnDef, ColumnFiltersState, @@ -9,12 +9,13 @@ import { VisibilityState, flexRender, getCoreRowModel, + getExpandedRowModel, getFilteredRowModel, getSortedRowModel, useReactTable, } from '@tanstack/react-table' import { useWallet } from '@txnlab/use-wallet-react' -import { Ban, FlaskConical, MoreHorizontal, Sunset } from 'lucide-react' +import { Ban, ChevronRight, FlaskConical, MoreHorizontal, Sunset } from 'lucide-react' import * as React from 'react' import { AddPoolModal } from '@/components/AddPoolModal' import { AddStakeModal } from '@/components/AddStakeModal' @@ -43,15 +44,14 @@ import { TableRow, } from '@/components/ui/table' import { UnstakeModal } from '@/components/UnstakeModal' +import { ValidatorInfoRow } from '@/components/ValidatorInfoRow' import { ValidatorRewards } from '@/components/ValidatorRewards' -import { useBlockTime } from '@/hooks/useBlockTime' import { useLocalStorage } from '@/hooks/useLocalStorage' import { StakerValidatorData } from '@/interfaces/staking' import { Constraints, Validator } from '@/interfaces/validator' import { useAuthAddress } from '@/providers/AuthAddressProvider' import { calculateMaxStake, - calculateMaxStakers, canManageValidator, isAddingPoolDisabled, isStakingDisabled, @@ -59,7 +59,7 @@ import { isSunsetting, isUnstakingDisabled, } from '@/utils/contracts' -import { dayjs, formatDuration } from '@/utils/dayjs' +import { dayjs } from '@/utils/dayjs' import { sendRewardTokensToPool, simulateEpoch } from '@/utils/development' import { ellipseAddressJsx } from '@/utils/ellipseAddress' import { formatAmount, formatAssetAmount } from '@/utils/format' @@ -87,9 +87,7 @@ export function ValidatorTable({ const { authAddress } = useAuthAddress() const router = useRouter() - const navigate = useNavigate() const queryClient = useQueryClient() - const blockTime = useBlockTime() const [sorting, setSorting] = useLocalStorage('validator-sorting', [ { id: 'stake', desc: true }, @@ -118,6 +116,25 @@ export function ValidatorTable({ } const columns: ColumnDef[] = [ + { + id: 'expander', + header: () => null, + cell: ({ row }) => { + return row.getCanExpand() ? ( + + ) : ( + <>  + ) + }, + }, { id: 'validator', accessorFn: (row) => row.nfd?.name || row.config.owner.toLowerCase(), @@ -127,7 +144,7 @@ export function ValidatorTable({ const nfd = validator.nfd return ( -
+
{isSunsetted(validator) ? ( e.stopPropagation()} + preload="intent" > {nfd ? ( row.state.numPools, - header: ({ column }) => , + id: 'apy', + accessorFn: (row) => row.apy, + header: ({ column }) => , cell: ({ row }) => { - const validator = row.original - const { poolsPerNode } = validator.config - const maxNodes = constraints.maxNodes - - // if (validator.state.numPools === 0) return '--' - return ( - - {validator.state.numPools} / {poolsPerNode * maxNodes} - - ) - }, - }, - { - id: 'stakers', - accessorFn: (row) => row.state.totalStakers, - header: ({ column }) => , - cell: ({ row }) => { - const validator = row.original - - if (validator.state.numPools == 0) return '--' - - const totalStakers = validator.state.totalStakers - const maxStakers = calculateMaxStakers(validator, constraints) - - return ( - - {totalStakers} / {maxStakers} - - ) + if (!row.original.apy) return -- + return {formatAmount(row.original.apy, { precision: 3 })}% }, }, { @@ -256,7 +246,9 @@ export function ValidatorTable({ header: ({ column }) => , cell: ({ row }) => { const validator = row.original - if (!validator.rewardToken) return '--' + if (!validator.rewardToken) { + return -- + } const perEpochAmount = formatAssetAmount( validator.rewardToken, @@ -283,23 +275,6 @@ export function ValidatorTable({ return `${percent}%` }, }, - { - id: 'epoch', - accessorFn: (row) => row.config.epochRoundLength, - header: ({ column }) => , - cell: ({ row }) => { - const validator = row.original - const epochLength = validator.config.epochRoundLength - const numRounds = formatAmount(epochLength) - const durationEstimate = epochLength * blockTime.ms - - return ( - - {numRounds} blocks - - ) - }, - }, { id: 'actions', cell: ({ row }) => { @@ -323,35 +298,21 @@ export function ValidatorTable({ return (
{isSunsetting(validator) && !unstakingDisabled ? ( - ) : ( )} - @@ -359,19 +320,13 @@ export function ValidatorTable({ { - e.stopPropagation() - setAddStakeValidator(validator) - }} + onClick={() => setAddStakeValidator(validator)} disabled={stakingDisabled} > Stake { - e.stopPropagation() - setUnstakeValidator(validator) - }} + onClick={() => setUnstakeValidator(validator)} disabled={unstakingDisabled} > Unstake @@ -379,10 +334,7 @@ export function ValidatorTable({ {canManage && ( { - e.stopPropagation() - setAddPoolValidator(validator) - }} + onClick={() => setAddPoolValidator(validator)} disabled={addingPoolDisabled} > Add Staking Pool @@ -394,8 +346,7 @@ export function ValidatorTable({ { - e.stopPropagation() + onClick={async () => { await simulateEpoch( validator, stakerPoolData, @@ -421,8 +372,7 @@ export function ValidatorTable({ { - e.stopPropagation() + onClick={async () => { await sendRewardTokensToPool( validator, 5000, @@ -445,7 +395,7 @@ export function ValidatorTable({ e.stopPropagation()} + preload="intent" > {canManage ? 'Manage' : 'View'} @@ -470,6 +420,8 @@ export function ValidatorTable({ getFilteredRowModel: getFilteredRowModel(), onColumnVisibilityChange: handleColumnVisibilityChange, onRowSelectionChange: setRowSelection, + getRowCanExpand: () => true, + getExpandedRowModel: getExpandedRowModel(), state: { sorting, columnFilters, @@ -500,7 +452,7 @@ export function ValidatorTable({ {headerGroup.headers.map((header) => { return ( - + {header.isPlaceholder ? null : flexRender(header.column.columnDef.header, header.getContext())} @@ -513,25 +465,28 @@ export function ValidatorTable({ {table.getRowModel().rows.length ? ( table.getRowModel().rows.map((row) => ( - - await navigate({ - to: `/validators/$validatorId`, - params: { validatorId: row.original.id.toString() }, - }) - } - > - {row.getVisibleCells().map((cell) => ( - - {flexRender(cell.column.columnDef.cell, cell.getContext())} - - ))} - + + + {row.getVisibleCells().map((cell) => ( + + {flexRender(cell.column.columnDef.cell, cell.getContext())} + + ))} + + {row.getIsExpanded() && ( + + + + + + )} + )) ) : ( diff --git a/ui/src/contracts/StakingPoolClient.ts b/ui/src/contracts/StakingPoolClient.ts index 8fbf59b4..86f46071 100644 --- a/ui/src/contracts/StakingPoolClient.ts +++ b/ui/src/contracts/StakingPoolClient.ts @@ -191,7 +191,7 @@ export const APP_SPEC: AppSpec = { } }, "source": { - "approval": "I3ByYWdtYSB2ZXJzaW9uIDEwCgovLyBUaGlzIFRFQUwgd2FzIGdlbmVyYXRlZCBieSBURUFMU2NyaXB0IHYwLjkyLjAKLy8gaHR0cHM6Ly9naXRodWIuY29tL2FsZ29yYW5kZm91bmRhdGlvbi9URUFMU2NyaXB0CgovLyBUaGlzIGNvbnRyYWN0IGlzIGNvbXBsaWFudCB3aXRoIGFuZC9vciBpbXBsZW1lbnRzIHRoZSBmb2xsb3dpbmcgQVJDczogWyBBUkM0IF0KCi8vIFRoZSBmb2xsb3dpbmcgdGVuIGxpbmVzIG9mIFRFQUwgaGFuZGxlIGluaXRpYWwgcHJvZ3JhbSBmbG93Ci8vIFRoaXMgcGF0dGVybiBpcyB1c2VkIHRvIG1ha2UgaXQgZWFzeSBmb3IgYW55b25lIHRvIHBhcnNlIHRoZSBzdGFydCBvZiB0aGUgcHJvZ3JhbS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AxMjggYml0cwoJYXNzZXJ0CglieXRlIDB4RkZGRkZGRkZGRkZGRkZGRkZGRkZGRkZGRkZGRkZGRkYKCWImCglkdXAKCWxlbgoJZHVwCglpbnQgMTYKCS0KCXN3YXAKCXN1YnN0cmluZzMKCWFwcF9nbG9iYWxfcHV0CgoJLy8gY29udHJhY3RzL3N0YWtpbmdQb29sLmFsZ28udHM6MzY0CgkvLyBzZW5kTWV0aG9kQ2FsbDx0eXBlb2YgVmFsaWRhdG9yUmVnaXN0cnkucHJvdG90eXBlLnN0YWtlUmVtb3ZlZD4oewoJLy8gICAgICAgICAgICAgICAgICAgICBhcHBsaWNhdGlvbklEOiBBcHBJRC5mcm9tVWludDY0KHRoaXMuY3JlYXRpbmdWYWxpZGF0b3JDb250cmFjdEFwcElkLnZhbHVlKSwKCS8vICAgICAgICAgICAgICAgICAgICAgbWV0aG9kQXJnczogWwoJLy8gICAgICAgICAgICAgICAgICAgICAgICAgeyBpZDogdGhpcy52YWxpZGF0b3JJZC52YWx1ZSwgcG9vbElkOiB0aGlzLnBvb2xJZC52YWx1ZSwgcG9vbEFwcElkOiB0aGlzLmFwcC5pZCB9LAoJLy8gICAgICAgICAgICAgICAgICAgICAgICAgc3Rha2VyLAoJLy8gICAgICAgICAgICAgICAgICAgICAgICAgYW1vdW50VG9VbnN0YWtlLAoJLy8gICAgICAgICAgICAgICAgICAgICAgICAgYW1vdW50UmV3YXJkVG9rZW5SZW1vdmVkLAoJLy8gICAgICAgICAgICAgICAgICAgICAgICAgc3Rha2VyUmVtb3ZlZCwKCS8vICAgICAgICAgICAgICAgICAgICAgXSwKCS8vICAgICAgICAgICAgICAgICB9KQoJaXR4bl9iZWdpbgoJaW50IGFwcGwKCWl0eG5fZmllbGQgVHlwZUVudW0KCW1ldGhvZCAic3Rha2VSZW1vdmVkKCh1aW50NjQsdWludDY0LHVpbnQ2NCksYWRkcmVzcyx1aW50NjQsdWludDY0LGJvb2wpdm9pZCIKCWl0eG5fZmllbGQgQXBwb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gICAgYW1vdW50VG9VbnN0YWtlLAoJLy8gICAgICAgICAgICAgICAgICAgICAgICAgYW1vdW50UmV3YXJkVG9rZW5SZW1vdmVkLAoJLy8gICAgICAgICAgICAgICAgICAgICAgICAgc3Rha2VyUmVtb3ZlZCwKCS8vICAgICAgICAgICAgICAgICAgICAgXSwKCS8vICAgICAgICAgICAgICAgICB9KQoJaXR4bl9iZWdpbgoJaW50IGFwcGwKCWl0eG5fZmllbGQgVHlwZUVudW0KCW1ldGhvZCAic3Rha2VSZW1vdmVkKCh1aW50NjQsdWludDY0LHVpbnQ2NCksYWRkcmVzcyx1aW50NjQsdWludDY0LGJvb2wpdm9pZCIKCWl0eG5fZmllbGQgQXBwbGljYXRpb25BcmdzCgoJLy8gY29udHJhY3RzL3N0YWtpbmdQb29sLmFsZ28udHM6MzY1CgkvLyBhcHBsaWNhdGlvbklEOiBBcHBJRC5mcm9tVWludDY0KHRoaXMuY3JlYXRpbmdWYWxpZGF0b3JDb250cmFjdEFwcElkLnZhbHVlKQoJYnl0ZSAweDYzNzI2NTYxNzQ2ZjcyNDE3MDcwIC8vICJjcmVhdG9yQXBwIgoJYXBwX2dsb2JhbF9nZXQKCWl0eG5fZmllbGQgQXBwbGljYXRpb25JRAoKCS8vIGNvbnRyYWN0cy9zdGFraW5nUG9vbC5hbGdvLnRzOjM2NgoJLy8gbWV0aG9kQXJnczogWwoJLy8gICAgICAgICAgICAgICAgICAgICAgICAgeyBpZDogdGhpcy52YWxpZGF0b3JJZC52YWx1ZSwgcG9vbElkOiB0aGlzLnBvb2xJZC52YWx1ZSwgcG9vbEFwcElkOiB0aGlzLmFwcC5pZCB9LAoJLy8gICAgICAgICAgICAgICAgICAgICAgICAgc3Rha2VyLAoJLy8gICAgICAgICAgICAgICAgICAgICAgICAgYW1vdW50VG9VbnN0YWtlLAoJLy8gICAgICAgICAgICAgICAgICAgICAgICAgYW1vdW50UmV3YXJkVG9rZW5SZW1vdmVkLAoJLy8gICAgICAgICAgICAgICAgIC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mFnZSAqYWJpX3JvdXRlX2FkZFN0YWtlICphYmlfcm91dGVfcmVtb3ZlU3Rha2UgKmFiaV9yb3V0ZV9jbGFpbVRva2VucyAqYWJpX3JvdXRlX2dldFN0YWtlckluZm8gKmFiaV9yb3V0ZV9wYXlUb2tlblJld2FyZCAqYWJpX3JvdXRlX3VwZGF0ZUFsZ29kVmVyICphYmlfcm91dGVfZXBvY2hCYWxhbmNlVXBkYXRlICphYmlfcm91dGVfZ29PbmxpbmUgKmFiaV9yb3V0ZV9nb09mZmxpbmUgKmFiaV9yb3V0ZV9saW5rVG9ORkQgKmFiaV9yb3V0ZV9wcm94aWVkU2V0VG9rZW5QYXlvdXRSYXRpbwoKCS8vIHRoaXMgY29udHJhY3QgZG9lcyBub3QgaW1wbGVtZW50IHRoZSBnaXZlbiBBQkkgbWV0aG9kIGZvciBjYWxsIE5vT3AKCWVycgoKKmNhbGxfVXBkYXRlQXBwbGljYXRpb246CgltZXRob2QgInVwZGF0ZUFwcGxpY2F0aW9uKCl2b2lkIgoJdHhuYSBBcHBsaWNhdGlvbkFyZ3MgMAoJbWF0Y2ggKmFiaV9yb3V0ZV91cGRhdGVBcHBsaWNhdGlvbgoKCS8vIHRoaXMgY29udHJhY3QgZG9lcyBub3QgaW1wbGVtZW50IHRoZSBnaXZlbiBBQkkgbWV0aG9kIGZvciBjYWxsIFVwZGF0ZUFwcGxpY2F0aW9uCgllcnI=", "clear": "I3ByYWdtYSB2ZXJzaW9uIDEw" }, "contract": { @@ -320,7 +320,7 @@ export const APP_SPEC: AppSpec = { }, { "name": "payTokenReward", - "desc": "[Internal protocol method] Remove a specified amount of 'community token' rewards for a staker.This can ONLY be called by our validator and only if we're pool 1 - with the token.", + "desc": "[Internal protocol method] Remove a specified amount of 'community token' rewards for a staker.This can ONLY be called by our validator and only if we're pool 1 - with the token.Note: this can also be called by validator as part of OWNER wanting to send the reward tokenssomewhere else (ie if they're sunsetting their validator and need the reward tokens back).It's up to the validator to ensure that the balance in rewardTokenHeldBack is honored.", "args": [ { "name": "staker", @@ -933,7 +933,7 @@ export abstract class StakingPoolCallFactory { /** * Constructs a no op call for the payTokenReward(address,uint64,uint64)void ABI method * - * [Internal protocol method] Remove a specified amount of 'community token' rewards for a staker.This can ONLY be called by our validator and only if we're pool 1 - with the token. + * [Internal protocol method] Remove a specified amount of 'community token' rewards for a staker.This can ONLY be called by our validator and only if we're pool 1 - with the token.Note: this can also be called by validator as part of OWNER wanting to send the reward tokenssomewhere else (ie if they're sunsetting their validator and need the reward tokens back).It's up to the validator to ensure that the balance in rewardTokenHeldBack is honored. * * @param args Any args for the contract call * @param params Any additional parameters for the call @@ -1241,7 +1241,7 @@ export class StakingPoolClient { /** * Calls the payTokenReward(address,uint64,uint64)void ABI method. * - * [Internal protocol method] Remove a specified amount of 'community token' rewards for a staker.This can ONLY be called by our validator and only if we're pool 1 - with the token. + * [Internal protocol method] Remove a specified amount of 'community token' rewards for a staker.This can ONLY be called by our validator and only if we're pool 1 - with the token.Note: this can also be called by validator as part of OWNER wanting to send the reward tokenssomewhere else (ie if they're sunsetting their validator and need the reward tokens back).It's up to the validator to ensure that the balance in rewardTokenHeldBack is honored. * * @param args The arguments for the contract call * @param params Any additional parameters for the call @@ -1605,7 +1605,7 @@ export type StakingPoolComposer = { /** * Calls the payTokenReward(address,uint64,uint64)void ABI method. * - * [Internal protocol method] Remove a specified amount of 'community token' rewards for a staker.This can ONLY be called by our validator and only if we're pool 1 - with the token. + * [Internal protocol method] Remove a specified amount of 'community token' rewards for a staker.This can ONLY be called by our validator and only if we're pool 1 - with the token.Note: this can also be called by validator as part of OWNER wanting to send the reward tokenssomewhere else (ie if they're sunsetting their validator and need the reward tokens back).It's up to the validator to ensure that the balance in rewardTokenHeldBack is honored. * * @param args The arguments for the contract call * @param params Any additional parameters for the call diff --git a/ui/src/contracts/ValidatorRegistryClient.ts b/ui/src/contracts/ValidatorRegistryClient.ts index 330dc28f..07d5c7c1 100644 --- a/ui/src/contracts/ValidatorRegistryClient.ts +++ b/ui/src/contracts/ValidatorRegistryClient.ts @@ -199,6 +199,11 @@ export const APP_SPEC: AppSpec = { "call_config": { "no_op": "CALL" } + }, + "emptyTokenRewards(uint64,address)uint64": { + "call_config": { + "no_op": "CALL" + } } }, "bare_call_config": { @@ -246,7 +251,7 @@ export const APP_SPEC: AppSpec = { } }, "source": { - "approval": "I3ByYWdtYSB2ZXJzaW9uIDEwCgovLyBUaGlzIFRFQUwgd2FzIGdlbmVyYXRlZCBieSBURUFMU2NyaXB0IHYwLjkyLjAKLy8gaHR0cHM6Ly9naXRodWIuY29tL2FsZ29yYW5kZm91bmRhdGlvbi9URUFMU2NyaXB0CgovLyBUaGlzIGNvbnRyYWN0IGlzIGNvbXBsaWFudCB3aXRoIGFuZC9vciBpbXBsZW1lbnRzIHRoZSBmb2xsb3dpbmcgQVJDczogWyBBUkM0IF0KCi8vIFRoZSBmb2xsb3dpbmcgdGVuIGxpbmVzIG9mIFRFQUwgaGFuZGxlIGluaXRpYWwgcHJvZ3JhbSBmbG93Ci8vIFRoaXMgcGF0dGVybiBpcyB1c2VkIHRvIG1ha2UgaXQgZWFzeSBmb3IgYW55b25lIHRvIHBhcnNlIHRoZSBzdGFydCBvZiB0aGUgcHJvZ3JhbSBhbmQgZGV0ZXJtaW5lIGlmIGEgc3BlY2lmaWMgYWN0aW9uIGlzIGFsbG93ZWQKLy8gSGVyZSwgYWN0aW9uIHJlZmVycyB0byB0aGUgT25Db21wbGV0ZSBpbiBjb21iaW5hdGlvbiB3aXRoIHdoZXRoZXIgdGhlIGFwcCBpcyBiZWluZyBjcmVhdGVkIG9yIGNhbGxlZAovLyBFdmVyeSBwb3NzaWJsZSBhY3Rpb24gZm9yIHRoaXMgY29udHJhY3QgaXMgcmVwcmVzZW50ZWQgaW4gdGhlIHN3aXRjaCBzdGF0ZW1lbnQKLy8gSWYgdGhlIGFjdGlvbiBpcyBub3QgaW1wbGVtZW50ZWQgaW4gdGhlIGNvbnRyYWN0LCBpdHMgcmV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F5bWVudCAoc3RheXMgdy8gdmFsaWRhdG9yKQovLyBdCmdldE1ickFtb3VudHM6Cglwcm90byAwIDEKCgkvLyBjb250cmFjdHMvdmFsaWRhdG9yUmVnaXN0cnkuYWxnby50czoyNDMKCS8vIHJldHVybiB7CgkvLyAgICAgICAgICAgICBhZGRWYWxpZGF0b3JNYnI6IHRoaXMuY29zdEZvckJveFN0b3JhZ2UoMSAvKiB2IHByZWZpeCAqLyArIGxlbjxWYWxpZGF0b3JJZFR5cGU+KCkgKyBsZW48VmFsaWRhdG9ySW5mbz4oKSksCgkvLyAgICAgICAgICAgICBhZGRQb29sTWJyOiB0aGlzLm1pbkJhbGFuY2VGb3JBY2NvdW50KAoJLy8gICAgICAgICAgICAgICAgIDEsCgkvLyAgICAgICAgICAgICAgICAgLy8gd2UgY291bGQgY2FsY3VsYXRlIHRoaXMgZGlyZWN0bHkgYnkgcmVmZXJlbmNpbmcgdGhlIHNpemUgb2Ygc3Rha2luZ1Bvb2xBcHByb3ZhbFByb2dyYW0gYnV0IGl0IHdvdWxkCgkvLyAgICAgICAgICAgICAgICAgLy8gbWVhbiBvdXIgY2FsbGVycyB3b3VsZCBoYXZlIHRvIHJlZmVyZW5jZSB0aGUgYm94IEFORCBidXkgdXAgaS9vIC0gc28ganVzdCBnbyBtYXggb24gZXh0cmEgcGFnZXMKCS8vICAgICAgICAgICAgICAgICAzLAoJLy8gICAgICAgICAgICAgICAgIDAsCgkvLyAgICAgICAgICAgICAgICAgMCwKCS8vICAgICAgICAgICAgICAgICAwLAoJLy8gICAgICAgICAgICAgICAgIFN0YWtpbmdQb29sLnNjaGVtYS5nbG9iYWwubnVtVWludCwKCS8vICAgICAgICAgICAgICAgICBTdGFraW5nUG9vbC5zY2hlbWEuZ2xvYmFsLm51bUJ5dGVTbGljZSwKCS8vICAgICAgICAgICAgICksCgkvLyAgICAgICAgICAgICBwb29sSW5pdE1icjoKCS8vICAgICAgICAgICAgICAgICBBTEdPUkFORF9BQ0NPVU5UX01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HJldHVybiB7CgkvLyAgICAgICAgICAgICBhZGRWYWxpZGF0b3JNYnI6IHRoaXMuY29zdEZvckJveFN0b3JhZ2UoMSAvKiB2IHByZWZpeCAqLyArIGxlbjxWYWxpZGF0b3JJZFR5cGU+KCkgKyBsZW48VmFsaWRhdG9ySW5mbz4oKSksCgkvLyAgICAgICAgICAgICBhZGRQb29sTWJyOiB0aGlzLm1pbkJhbGFuY2VGb3JBY2NvdW50KAoJLy8gICAgICAgICAgICAgICAgIDEsCgkvLyAgICAgICAgICAgICAgICAgLy8gd2UgY291bGQgY2FsY3VsYXRlIHRoaXMgZGlyZWN0bHkgYnkgcmVmZXJlbmNpbmcgdGhlIHNpemUgb2Ygc3Rha2luZ1Bvb2xBcHByb3ZhbFByb2dyYW0gYnV0IGl0IHdvdWxkCgkvLyAgICAgICAgICAgICAgICAgLy8gbWVhbiBvdXIgY2FsbGVycyB3b3VsZCBoYXZlIHRvIHJlZmVyZW5jZSB0aGUgYm94IEFORCBidXkgdXAgaS9vIC0gc28ganVzdCBnbyBtYXggb24gZXh0cmEgcGFnZXMKCS8vICAgICAgICAgICAgICAgICAzLAoJLy8gICAgICAgICAgICAgICAgIDAsCgkvLyAgICAgICAgICAgICAgICAgMCwKCS8vICAgICAgICAgICAgICAgICAwLAoJLy8gICAgICAgICAgICAgICAgIFN0YWtpbmdQb29sLnNjaGVtYS5nbG9iYWwubnVtVWludCwKCS8vICAgICAgICAgICAgICAgICBTdGFraW5nUG9vbC5zY2hlbWEuZ2xvYmFsLm51bUJ5dGVTbGljZSwKCS8vICAgICAgICAgICAgICksCgkvLyAgICAgICAgICAgICBwb29sSW5pdE1icjoKCS8vICAgICAgICAgICAgICAgICBBTEdPUkFORF9BQ0NPVU5UX01JTl9CQUxBTkNFICsKCS8vICAgICAgICAgICAgICAgICB0aGlzLmNvc3RGb3JCb3hTdG9yYWdlKDcgLyogJ3N0YWtlcnMnIG5hbWUgKi8gKyBsZW48U3Rha2VkSW5mbz4oKSAqIE1BW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ZFZpYVJld2FyZHMgKmFiaV9yb3V0ZV9zdGFrZVJlbW92ZWQgKmFiaV9yb3V0ZV9maW5kUG9vbEZvclN0YWtlciAqYWJpX3JvdXRlX21vdmVQb29sVG9Ob2RlICphYmlfcm91dGVfZW1wdHlUb2tlblJld2FyZHMKCgkvLyB0aGlzIGNvbnRyYWN0IGRvZXMgbm90IGltcGxlbWVudCB0aGUgZ2l2ZW4gQUJJIG1ldGhvZCBmb3IgY2FsbCBOb09wCgllcnIKCipjYWxsX1VwZGF0ZUFwcGxpY2F0aW9uOgoJbWV0aG9kICJ1cGRhdGVBcHBsaWNhdGlvbigpdm9pZCIKCXR4bmEgQXBwbGljYXRpb25BcmdzIDAKCW1hdGNoICphYmlfcm91dGVfdXBkYXRlQXBwbGljYXRpb24KCgkvLyB0aGlzIGNvbnRyYWN0IGRvZXMgbm90IGltcGxlbWVudCB0aGUgZ2l2ZW4gQUJJIG1ldGhvZCBmb3IgY2FsbCBVcGRhdGVBcHBsaWNhdGlvbgoJZXJy", "clear": "I3ByYWdtYSB2ZXJzaW9uIDEw" }, "contract": { @@ -786,11 +791,12 @@ export const APP_SPEC: AppSpec = { }, { "name": "movePoolToNode", - "desc": "Find the specified pool (in any node number) and move it to the specified node.The pool account is forced offline if moved so prior node will still run for 320 rounds butnew key goes online on new node soon after (320 rounds after it goes online)No-op if success, asserts if not found or can't move (no space in target)[ ONLY OWNER OR MANAGER CAN CHANGE ]Only callable by owner or manager", + "desc": "Find the specified pool (in any node number) and move it to the specified node.The pool account is forced offline if moved so prior node will still run for 320 rounds butnew key goes online on new node soon after (320 rounds after it goes online)No-op if success, asserts if not found or can't move (no space in target)[ ONLY OWNER OR MANAGER CAN CHANGE ]", "args": [ { "name": "validatorId", - "type": "uint64" + "type": "uint64", + "desc": "The id of the validator." }, { "name": "poolAppId", @@ -804,6 +810,26 @@ export const APP_SPEC: AppSpec = { "returns": { "type": "void" } + }, + { + "name": "emptyTokenRewards", + "desc": "Sends the reward tokens held in pool 1 to specified receiver.This is intended to be used by the owner when they want to get reward tokens 'back' which they sent tothe first pool (likely because validator is sunsetting. Any tokens currently 'reserved' for stakers to claim willNOT be sent as they must be held back for stakers to later claim.[ ONLY OWNER CAN CALL]", + "args": [ + { + "name": "validatorId", + "type": "uint64", + "desc": "The id of the validator." + }, + { + "name": "receiver", + "type": "address", + "desc": "the account to send the tokens to (must already be opted-in to the reward token)" + } + ], + "returns": { + "type": "uint64", + "desc": "{uint64}the amount of reward token sent" + } } ] } @@ -1247,6 +1273,9 @@ export type ValidatorRegistry = { }> & Record<'movePoolToNode(uint64,uint64,uint64)void' | 'movePoolToNode', { argsObj: { + /** + * The id of the validator. + */ validatorId: bigint | number poolAppId: bigint | number nodeNum: bigint | number @@ -1254,6 +1283,23 @@ export type ValidatorRegistry = { argsTuple: [validatorId: bigint | number, poolAppId: bigint | number, nodeNum: bigint | number] returns: void }> + & Record<'emptyTokenRewards(uint64,address)uint64' | 'emptyTokenRewards', { + argsObj: { + /** + * The id of the validator. + */ + validatorId: bigint | number + /** + * the account to send the tokens to (must already be opted-in to the reward token) + */ + receiver: string + } + argsTuple: [validatorId: bigint | number, receiver: string] + /** + * {uint64}the amount of reward token sent + */ + returns: bigint + }> /** * Defines the shape of the global and local state of the application. */ @@ -1851,7 +1897,7 @@ export abstract class ValidatorRegistryCallFactory { /** * Constructs a no op call for the movePoolToNode(uint64,uint64,uint64)void ABI method * - * Find the specified pool (in any node number) and move it to the specified node.The pool account is forced offline if moved so prior node will still run for 320 rounds butnew key goes online on new node soon after (320 rounds after it goes online)No-op if success, asserts if not found or can't move (no space in target)[ ONLY OWNER OR MANAGER CAN CHANGE ]Only callable by owner or manager + * Find the specified pool (in any node number) and move it to the specified node.The pool account is forced offline if moved so prior node will still run for 320 rounds butnew key goes online on new node soon after (320 rounds after it goes online)No-op if success, asserts if not found or can't move (no space in target)[ ONLY OWNER OR MANAGER CAN CHANGE ] * * @param args Any args for the contract call * @param params Any additional parameters for the call @@ -1864,6 +1910,22 @@ export abstract class ValidatorRegistryCallFactory { ...params, } } + /** + * Constructs a no op call for the emptyTokenRewards(uint64,address)uint64 ABI method + * + * Sends the reward tokens held in pool 1 to specified receiver.This is intended to be used by the owner when they want to get reward tokens 'back' which they sent tothe first pool (likely because validator is sunsetting. Any tokens currently 'reserved' for stakers to claim willNOT be sent as they must be held back for stakers to later claim.[ ONLY OWNER CAN CALL] + * + * @param args Any args for the contract call + * @param params Any additional parameters for the call + * @returns A TypedCallParams object for the call + */ + static emptyTokenRewards(args: MethodArgs<'emptyTokenRewards(uint64,address)uint64'>, params: AppClientCallCoreParams & CoreAppCallArgs) { + return { + method: 'emptyTokenRewards(uint64,address)uint64' as const, + methodArgs: Array.isArray(args) ? args : [args.validatorId, args.receiver], + ...params, + } + } } /** @@ -2370,7 +2432,7 @@ export class ValidatorRegistryClient { /** * Calls the movePoolToNode(uint64,uint64,uint64)void ABI method. * - * Find the specified pool (in any node number) and move it to the specified node.The pool account is forced offline if moved so prior node will still run for 320 rounds butnew key goes online on new node soon after (320 rounds after it goes online)No-op if success, asserts if not found or can't move (no space in target)[ ONLY OWNER OR MANAGER CAN CHANGE ]Only callable by owner or manager + * Find the specified pool (in any node number) and move it to the specified node.The pool account is forced offline if moved so prior node will still run for 320 rounds butnew key goes online on new node soon after (320 rounds after it goes online)No-op if success, asserts if not found or can't move (no space in target)[ ONLY OWNER OR MANAGER CAN CHANGE ] * * @param args The arguments for the contract call * @param params Any additional parameters for the call @@ -2380,6 +2442,19 @@ export class ValidatorRegistryClient { return this.call(ValidatorRegistryCallFactory.movePoolToNode(args, params)) } + /** + * Calls the emptyTokenRewards(uint64,address)uint64 ABI method. + * + * Sends the reward tokens held in pool 1 to specified receiver.This is intended to be used by the owner when they want to get reward tokens 'back' which they sent tothe first pool (likely because validator is sunsetting. Any tokens currently 'reserved' for stakers to claim willNOT be sent as they must be held back for stakers to later claim.[ ONLY OWNER CAN CALL] + * + * @param args The arguments for the contract call + * @param params Any additional parameters for the call + * @returns The result of the call: {uint64}the amount of reward token sent + */ + public emptyTokenRewards(args: MethodArgs<'emptyTokenRewards(uint64,address)uint64'>, params: AppClientCallCoreParams & CoreAppCallArgs = {}) { + return this.call(ValidatorRegistryCallFactory.emptyTokenRewards(args, params)) + } + /** * Extracts a binary state value out of an AppState dictionary * @@ -2611,6 +2686,11 @@ export class ValidatorRegistryClient { resultMappers.push(undefined) return this }, + emptyTokenRewards(args: MethodArgs<'emptyTokenRewards(uint64,address)uint64'>, params?: AppClientComposeCallCoreParams & CoreAppCallArgs) { + promiseChain = promiseChain.then(() => client.emptyTokenRewards(args, {...params, sendParams: {...params?.sendParams, skipSending: true, atc}})) + resultMappers.push(undefined) + return this + }, get update() { const $this = this return { @@ -2978,7 +3058,7 @@ export type ValidatorRegistryComposer = { /** * Calls the movePoolToNode(uint64,uint64,uint64)void ABI method. * - * Find the specified pool (in any node number) and move it to the specified node.The pool account is forced offline if moved so prior node will still run for 320 rounds butnew key goes online on new node soon after (320 rounds after it goes online)No-op if success, asserts if not found or can't move (no space in target)[ ONLY OWNER OR MANAGER CAN CHANGE ]Only callable by owner or manager + * Find the specified pool (in any node number) and move it to the specified node.The pool account is forced offline if moved so prior node will still run for 320 rounds butnew key goes online on new node soon after (320 rounds after it goes online)No-op if success, asserts if not found or can't move (no space in target)[ ONLY OWNER OR MANAGER CAN CHANGE ] * * @param args The arguments for the contract call * @param params Any additional parameters for the call @@ -2986,6 +3066,17 @@ export type ValidatorRegistryComposer = { */ movePoolToNode(args: MethodArgs<'movePoolToNode(uint64,uint64,uint64)void'>, params?: AppClientComposeCallCoreParams & CoreAppCallArgs): ValidatorRegistryComposer<[...TReturns, MethodReturn<'movePoolToNode(uint64,uint64,uint64)void'>]> + /** + * Calls the emptyTokenRewards(uint64,address)uint64 ABI method. + * + * Sends the reward tokens held in pool 1 to specified receiver.This is intended to be used by the owner when they want to get reward tokens 'back' which they sent tothe first pool (likely because validator is sunsetting. Any tokens currently 'reserved' for stakers to claim willNOT be sent as they must be held back for stakers to later claim.[ ONLY OWNER CAN CALL] + * + * @param args The arguments for the contract call + * @param params Any additional parameters for the call + * @returns The typed transaction composer so you can fluently chain multiple calls or call execute to execute all queued up transactions + */ + emptyTokenRewards(args: MethodArgs<'emptyTokenRewards(uint64,address)uint64'>, params?: AppClientComposeCallCoreParams & CoreAppCallArgs): ValidatorRegistryComposer<[...TReturns, MethodReturn<'emptyTokenRewards(uint64,address)uint64'>]> + /** * Gets available update methods */ diff --git a/ui/src/interfaces/validator.ts b/ui/src/interfaces/validator.ts index f96eaf82..7e488ec5 100644 --- a/ui/src/interfaces/validator.ts +++ b/ui/src/interfaces/validator.ts @@ -88,6 +88,7 @@ export type Validator = { nodePoolAssignment: NodePoolAssignmentConfig rewardToken?: Asset nfd?: Nfd + apy?: number } export interface ValidatorPoolKey { diff --git a/ui/src/routeTree.gen.ts b/ui/src/routeTree.gen.ts index 4df25ed9..4d3e1567 100644 --- a/ui/src/routeTree.gen.ts +++ b/ui/src/routeTree.gen.ts @@ -43,18 +43,30 @@ const ValidatorsValidatorIdRoute = ValidatorsValidatorIdImport.update({ declare module '@tanstack/react-router' { interface FileRoutesByPath { '/': { + id: '/' + path: '/' + fullPath: '/' preLoaderRoute: typeof IndexImport parentRoute: typeof rootRoute } '/add': { + id: '/add' + path: '/add' + fullPath: '/add' preLoaderRoute: typeof AddImport parentRoute: typeof rootRoute } '/validators': { + id: '/validators' + path: '/validators' + fullPath: '/validators' preLoaderRoute: typeof ValidatorsImport parentRoute: typeof rootRoute } '/validators/$validatorId': { + id: '/validators/$validatorId' + path: '/validators/$validatorId' + fullPath: '/validators/$validatorId' preLoaderRoute: typeof ValidatorsValidatorIdImport parentRoute: typeof rootRoute } @@ -63,11 +75,39 @@ declare module '@tanstack/react-router' { // Create and export the route tree -export const routeTree = rootRoute.addChildren([ +export const routeTree = rootRoute.addChildren({ IndexRoute, AddRoute, ValidatorsRoute, ValidatorsValidatorIdRoute, -]) +}) /* prettier-ignore-end */ + +/* ROUTE_MANIFEST_START +{ + "routes": { + "__root__": { + "filePath": "__root.tsx", + "children": [ + "/", + "/add", + "/validators", + "/validators/$validatorId" + ] + }, + "/": { + "filePath": "index.tsx" + }, + "/add": { + "filePath": "add.tsx" + }, + "/validators": { + "filePath": "validators.tsx" + }, + "/validators/$validatorId": { + "filePath": "validators_.$validatorId.tsx" + } + } +} +ROUTE_MANIFEST_END */ diff --git a/ui/src/routes/index.tsx b/ui/src/routes/index.tsx index be085e58..928b6cfb 100644 --- a/ui/src/routes/index.tsx +++ b/ui/src/routes/index.tsx @@ -1,4 +1,4 @@ -import { useQuery, useSuspenseQuery } from '@tanstack/react-query' +import { useQuery, useQueryClient, useSuspenseQuery } from '@tanstack/react-query' import { createFileRoute } from '@tanstack/react-router' import { useWallet } from '@txnlab/use-wallet-react' import { constraintsQueryOptions, stakesQueryOptions, validatorsQueryOptions } from '@/api/queries' @@ -16,7 +16,7 @@ export const Route = createFileRoute('/')({ } }, loader: ({ context: { queryClient, validatorsQueryOptions } }) => { - queryClient.ensureQueryData(validatorsQueryOptions) + queryClient.ensureQueryData(validatorsQueryOptions(queryClient)) }, component: Dashboard, pendingComponent: () => , @@ -29,7 +29,8 @@ export const Route = createFileRoute('/')({ }) function Dashboard() { - const validatorsQuery = useSuspenseQuery(validatorsQueryOptions) + const queryClient = useQueryClient() + const validatorsQuery = useSuspenseQuery(validatorsQueryOptions(queryClient)) const validators = validatorsQuery.data const constraintsQuery = useSuspenseQuery(constraintsQueryOptions)