@crunchdao/programs
Advanced tools
+10
-10
@@ -12,12 +12,12 @@ yarn run v1.22.22 | ||
| [34mESM[39m Build start | ||
| [32mCJS[39m [1mdist/index.js [22m[32m161.97 KB[39m | ||
| [32mCJS[39m [1mdist/index.js.map [22m[32m279.92 KB[39m | ||
| [32mCJS[39m ⚡️ Build success in 106ms | ||
| [32mESM[39m [1mdist/index.mjs [22m[32m160.93 KB[39m | ||
| [32mESM[39m [1mdist/index.mjs.map [22m[32m279.15 KB[39m | ||
| [32mESM[39m ⚡️ Build success in 107ms | ||
| [32mCJS[39m [1mdist/index.js [22m[32m163.40 KB[39m | ||
| [32mCJS[39m [1mdist/index.js.map [22m[32m282.30 KB[39m | ||
| [32mCJS[39m ⚡️ Build success in 107ms | ||
| [32mESM[39m [1mdist/index.mjs [22m[32m162.37 KB[39m | ||
| [32mESM[39m [1mdist/index.mjs.map [22m[32m281.52 KB[39m | ||
| [32mESM[39m ⚡️ Build success in 108ms | ||
| [34mDTS[39m Build start | ||
| [32mDTS[39m ⚡️ Build success in 2811ms | ||
| [32mDTS[39m [1mdist/index.d.ts [22m[32m367.08 KB[39m | ||
| [32mDTS[39m [1mdist/index.d.mts [22m[32m367.08 KB[39m | ||
| Done in 3.58s. | ||
| [32mDTS[39m ⚡️ Build success in 2874ms | ||
| [32mDTS[39m [1mdist/index.d.ts [22m[32m370.33 KB[39m | ||
| [32mDTS[39m [1mdist/index.d.mts [22m[32m370.33 KB[39m | ||
| Done in 3.63s. |
+6
-0
| # @crunchdao/programs | ||
| ## 3.0.2 | ||
| ### Patch Changes | ||
| - [#218](https://github.com/crunchdao/crunchdao-protocol/pull/218) [`a4038c1`](https://github.com/crunchdao/crunchdao-protocol/commit/a4038c1d55cf655f89f5bf8061b05bea3e16dde5) Thanks [@borisnieuwenhuis](https://github.com/borisnieuwenhuis)! - Added staking custody account to delegate instruction | ||
| ## 3.0.1 | ||
@@ -4,0 +10,0 @@ |
+1
-1
| { | ||
| "name": "@crunchdao/programs", | ||
| "version": "3.0.1", | ||
| "version": "3.0.2", | ||
| "description": "Generated types and IDL for CrunchDAO Protocol programs", | ||
@@ -5,0 +5,0 @@ "main": "./dist/index.js", |
@@ -929,2 +929,32 @@ { | ||
| { | ||
| "name": "stake_account_custody", | ||
| "docs": [ | ||
| "CHECK : This AccountInfo is safe because it will checked in staking program" | ||
| ], | ||
| "pda": { | ||
| "seeds": [ | ||
| { | ||
| "kind": "const", | ||
| "value": [ | ||
| 100, | ||
| 101, | ||
| 112, | ||
| 111, | ||
| 115, | ||
| 105, | ||
| 116 | ||
| ] | ||
| }, | ||
| { | ||
| "kind": "account", | ||
| "path": "signer" | ||
| } | ||
| ], | ||
| "program": { | ||
| "kind": "account", | ||
| "path": "staking_program" | ||
| } | ||
| } | ||
| }, | ||
| { | ||
| "name": "staking_program", | ||
@@ -1845,6 +1875,11 @@ "address": "H27C7y9p3rrotWJUULg6prrp8fCqxbFhNqdfeapHEvHc" | ||
| "code": 6024, | ||
| "name": "TooMuchExposureToCoordinatorPool", | ||
| "msg": "Too much exposure to coordinator pool" | ||
| }, | ||
| { | ||
| "code": 6025, | ||
| "name": "InvalidSlashCustodyAccount" | ||
| }, | ||
| { | ||
| "code": 6025, | ||
| "code": 6026, | ||
| "name": "StakingAdminAuthorityRequired", | ||
@@ -1854,7 +1889,7 @@ "msg": "Only staking admin authority can perform this action" | ||
| { | ||
| "code": 6026, | ||
| "code": 6027, | ||
| "name": "CoordinatorAlreadyExists" | ||
| }, | ||
| { | ||
| "code": 6027, | ||
| "code": 6028, | ||
| "name": "InvalidEpochRange", | ||
@@ -1864,3 +1899,3 @@ "msg": "Invalid epoch range: end epoch must be greater than start epoch" | ||
| { | ||
| "code": 6028, | ||
| "code": 6029, | ||
| "name": "TooManySeasons", | ||
@@ -1870,3 +1905,3 @@ "msg": "Maximum number of seasons (12) reached" | ||
| { | ||
| "code": 6029, | ||
| "code": 6030, | ||
| "name": "SeasonOverlap", | ||
@@ -1876,3 +1911,3 @@ "msg": "Season overlaps with an existing season" | ||
| { | ||
| "code": 6030, | ||
| "code": 6031, | ||
| "name": "InvalidSeasonIndex", | ||
@@ -1882,3 +1917,3 @@ "msg": "Invalid season index" | ||
| { | ||
| "code": 6031, | ||
| "code": 6032, | ||
| "name": "SeasonAlreadyLocked", | ||
@@ -1888,3 +1923,3 @@ "msg": "Season is already locked with coordinators" | ||
| { | ||
| "code": 6032, | ||
| "code": 6033, | ||
| "name": "NoCoordinatorsToLock", | ||
@@ -1894,3 +1929,3 @@ "msg": "No coordinators available to lock for the season" | ||
| { | ||
| "code": 6033, | ||
| "code": 6034, | ||
| "name": "TooManyCoordinatorsForSeason", | ||
@@ -1900,3 +1935,3 @@ "msg": "Too many coordinators for season (max 20)" | ||
| { | ||
| "code": 6034, | ||
| "code": 6035, | ||
| "name": "NoActiveSeason", | ||
@@ -1903,0 +1938,0 @@ "msg": "No active season" |
+45
-10
@@ -935,2 +935,32 @@ /** | ||
| { | ||
| "name": "stakeAccountCustody", | ||
| "docs": [ | ||
| "CHECK : This AccountInfo is safe because it will checked in staking program" | ||
| ], | ||
| "pda": { | ||
| "seeds": [ | ||
| { | ||
| "kind": "const", | ||
| "value": [ | ||
| 100, | ||
| 101, | ||
| 112, | ||
| 111, | ||
| 115, | ||
| 105, | ||
| 116 | ||
| ] | ||
| }, | ||
| { | ||
| "kind": "account", | ||
| "path": "signer" | ||
| } | ||
| ], | ||
| "program": { | ||
| "kind": "account", | ||
| "path": "stakingProgram" | ||
| } | ||
| } | ||
| }, | ||
| { | ||
| "name": "stakingProgram", | ||
@@ -1851,6 +1881,11 @@ "address": "H27C7y9p3rrotWJUULg6prrp8fCqxbFhNqdfeapHEvHc" | ||
| "code": 6024, | ||
| "name": "tooMuchExposureToCoordinatorPool", | ||
| "msg": "Too much exposure to coordinator pool" | ||
| }, | ||
| { | ||
| "code": 6025, | ||
| "name": "invalidSlashCustodyAccount" | ||
| }, | ||
| { | ||
| "code": 6025, | ||
| "code": 6026, | ||
| "name": "stakingAdminAuthorityRequired", | ||
@@ -1860,7 +1895,7 @@ "msg": "Only staking admin authority can perform this action" | ||
| { | ||
| "code": 6026, | ||
| "code": 6027, | ||
| "name": "coordinatorAlreadyExists" | ||
| }, | ||
| { | ||
| "code": 6027, | ||
| "code": 6028, | ||
| "name": "invalidEpochRange", | ||
@@ -1870,3 +1905,3 @@ "msg": "Invalid epoch range: end epoch must be greater than start epoch" | ||
| { | ||
| "code": 6028, | ||
| "code": 6029, | ||
| "name": "tooManySeasons", | ||
@@ -1876,3 +1911,3 @@ "msg": "Maximum number of seasons (12) reached" | ||
| { | ||
| "code": 6029, | ||
| "code": 6030, | ||
| "name": "seasonOverlap", | ||
@@ -1882,3 +1917,3 @@ "msg": "Season overlaps with an existing season" | ||
| { | ||
| "code": 6030, | ||
| "code": 6031, | ||
| "name": "invalidSeasonIndex", | ||
@@ -1888,3 +1923,3 @@ "msg": "Invalid season index" | ||
| { | ||
| "code": 6031, | ||
| "code": 6032, | ||
| "name": "seasonAlreadyLocked", | ||
@@ -1894,3 +1929,3 @@ "msg": "Season is already locked with coordinators" | ||
| { | ||
| "code": 6032, | ||
| "code": 6033, | ||
| "name": "noCoordinatorsToLock", | ||
@@ -1900,3 +1935,3 @@ "msg": "No coordinators available to lock for the season" | ||
| { | ||
| "code": 6033, | ||
| "code": 6034, | ||
| "name": "tooManyCoordinatorsForSeason", | ||
@@ -1906,3 +1941,3 @@ "msg": "Too many coordinators for season (max 20)" | ||
| { | ||
| "code": 6034, | ||
| "code": 6035, | ||
| "name": "noActiveSeason", | ||
@@ -1909,0 +1944,0 @@ "msg": "No active season" |
+32
-4
@@ -274,2 +274,25 @@ { | ||
| { | ||
| "name": "stake_account_custody", | ||
| "pda": { | ||
| "seeds": [ | ||
| { | ||
| "kind": "const", | ||
| "value": [ | ||
| 100, | ||
| 101, | ||
| 112, | ||
| 111, | ||
| 115, | ||
| 105, | ||
| 116 | ||
| ] | ||
| }, | ||
| { | ||
| "kind": "account", | ||
| "path": "user_key" | ||
| } | ||
| ] | ||
| } | ||
| }, | ||
| { | ||
| "name": "config", | ||
@@ -1679,18 +1702,23 @@ "pda": { | ||
| "code": 6024, | ||
| "name": "TooMuchExposureToCoordinatorPool", | ||
| "msg": "Too much exposure to coordinator pool" | ||
| }, | ||
| { | ||
| "code": 6025, | ||
| "name": "ClosePositionWithZero" | ||
| }, | ||
| { | ||
| "code": 6025, | ||
| "code": 6026, | ||
| "name": "UnexpectedTargetAccount" | ||
| }, | ||
| { | ||
| "code": 6026, | ||
| "code": 6027, | ||
| "name": "AmountBiggerThanPosition" | ||
| }, | ||
| { | ||
| "code": 6027, | ||
| "code": 6028, | ||
| "name": "PositionNotInUse" | ||
| }, | ||
| { | ||
| "code": 6028, | ||
| "code": 6029, | ||
| "name": "WrongTarget" | ||
@@ -1697,0 +1725,0 @@ } |
+32
-4
@@ -280,2 +280,25 @@ /** | ||
| { | ||
| "name": "stakeAccountCustody", | ||
| "pda": { | ||
| "seeds": [ | ||
| { | ||
| "kind": "const", | ||
| "value": [ | ||
| 100, | ||
| 101, | ||
| 112, | ||
| 111, | ||
| 115, | ||
| 105, | ||
| 116 | ||
| ] | ||
| }, | ||
| { | ||
| "kind": "account", | ||
| "path": "userKey" | ||
| } | ||
| ] | ||
| } | ||
| }, | ||
| { | ||
| "name": "config", | ||
@@ -1685,18 +1708,23 @@ "pda": { | ||
| "code": 6024, | ||
| "name": "tooMuchExposureToCoordinatorPool", | ||
| "msg": "Too much exposure to coordinator pool" | ||
| }, | ||
| { | ||
| "code": 6025, | ||
| "name": "closePositionWithZero" | ||
| }, | ||
| { | ||
| "code": 6025, | ||
| "code": 6026, | ||
| "name": "unexpectedTargetAccount" | ||
| }, | ||
| { | ||
| "code": 6026, | ||
| "code": 6027, | ||
| "name": "amountBiggerThanPosition" | ||
| }, | ||
| { | ||
| "code": 6027, | ||
| "code": 6028, | ||
| "name": "positionNotInUse" | ||
| }, | ||
| { | ||
| "code": 6028, | ||
| "code": 6029, | ||
| "name": "wrongTarget" | ||
@@ -1703,0 +1731,0 @@ } |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
2028363
0.89%50302
0.76%