diff --git a/javascript/sbv2-utils/package.json b/javascript/sbv2-utils/package.json index c156b85..ff19005 100644 --- a/javascript/sbv2-utils/package.json +++ b/javascript/sbv2-utils/package.json @@ -1,6 +1,6 @@ { "name": "@switchboard-xyz/sbv2-utils", - "version": "0.1.49", + "version": "0.1.51", "description": "some basic utility functions when working with switchboard-v2", "author": "", "license": "ISC", @@ -39,8 +39,8 @@ "@saberhq/token-utils": "^1.13.32", "@solana/spl-token-v2": "npm:@solana/spl-token@^0.2.0", "@solana/web3.js": "^1.43.5", - "@switchboard-xyz/common": "^2.0.0", - "@switchboard-xyz/switchboard-v2": "^0.0.136", + "@switchboard-xyz/common": "^2.1.0", + "@switchboard-xyz/switchboard-v2": "^0.0.142", "big.js": "^6.2.1", "bn.js": "^5.2.1", "chalk": "4", diff --git a/javascript/sbv2-utils/yarn.lock b/javascript/sbv2-utils/yarn.lock index f5327db..ca94921 100644 --- a/javascript/sbv2-utils/yarn.lock +++ b/javascript/sbv2-utils/yarn.lock @@ -372,27 +372,27 @@ rpc-websockets "^7.5.0" superstruct "^0.14.2" -"@switchboard-xyz/common@^2.0.0": - version "2.0.0" - resolved "https://registry.npmjs.org/@switchboard-xyz/common/-/common-2.0.0.tgz#8c3551b3611c4a2348c46879c0ab2ea188a1f753" - integrity sha512-hC7J7NShGQHjWaCU7+w6tEtZ3KljxMIKJe5IaxPxD+cgdxhx58UMjngyevaCcle33aPyFZ/tbpm0tU2ZqzqZtQ== +"@switchboard-xyz/common@^2.1.0": + version "2.1.0" + resolved "https://registry.npmjs.org/@switchboard-xyz/common/-/common-2.1.0.tgz#4dd5483ee0c3f37e583ba51e61b17a70bdb39d3d" + integrity sha512-m7N3GyqHYI4/jI5BsnIgam+JmQnCB8TeaVHoKVW5BD1m67P9zcVikgl1YlROSBQbS5xNB+0xI8ZWV4dOajyx5A== dependencies: big.js "^6.2.1" bn.js "^5.2.1" - protobufjs "^6.11.3" + protobufjs "^7.1.2" -"@switchboard-xyz/switchboard-v2@^0.0.136": - version "0.0.136" - resolved "https://registry.npmjs.org/@switchboard-xyz/switchboard-v2/-/switchboard-v2-0.0.136.tgz#092f43e9c0e35f31033c124aa12ce46019af4eb5" - integrity sha512-vgaGqkDais2VJHfQawBSqrlKjvqtvOScHv7Q9bAlQtSieu7a3zMgH3rF4zAZAh/iphJLsm6bdMftUdcCMpVbKQ== +"@switchboard-xyz/switchboard-v2@^0.0.142": + version "0.0.142" + resolved "https://registry.npmjs.org/@switchboard-xyz/switchboard-v2/-/switchboard-v2-0.0.142.tgz#f5c64f13343d12923f4e80f2591d08466cc8d763" + integrity sha512-+M7GrpT3zotdvP1qQikYJutb+EOaa807UmZNx1CKinfih/puvFacdTzu1sZjSdADVF4YUHblBBLSUL+fwE8eFg== dependencies: "@project-serum/anchor" "^0.24.2" "@solana/spl-governance" "^0.0.34" "@solana/spl-token-v2" "npm:@solana/spl-token@^0.2.0" "@solana/web3.js" "^1.44.3" - "@switchboard-xyz/common" "^2.0.0" + "@switchboard-xyz/common" "^2.1.0" assert "^2.0.0" - big.js "^6.2.0" + big.js "^6.2.1" bs58 "^5.0.0" chan "^0.6.1" crypto-js "^4.0.0" @@ -433,11 +433,6 @@ resolved "https://registry.npmjs.org/@types/json5/-/json5-0.0.29.tgz#ee28707ae94e11d2b827bcbe5270bcea7f3e71ee" integrity sha512-dRLjCWHYg4oaA77cxO64oO+7JwCwnIzkZPdrrC71jQmQtlhM556pwKo5bUzqvZndkVbeFLIIi+9TC40JNF5hNQ== -"@types/long@^4.0.1": - version "4.0.2" - resolved "https://registry.npmjs.org/@types/long/-/long-4.0.2.tgz#b74129719fc8d11c01868010082d483b7545591a" - integrity sha512-MqTGEo5bj5t157U6fA/BiDynNkn0YknVdh48CMPkTSpFTVmvao5UQmm7uEF6xBEo7qIMAlY/JSleYaE6VOdpaA== - "@types/mocha@^9.0.0": version "9.1.1" resolved "https://registry.npmjs.org/@types/mocha/-/mocha-9.1.1.tgz#e7c4f1001eefa4b8afbd1eee27a237fee3bf29c4" @@ -639,7 +634,7 @@ base64-js@^1.3.1, base64-js@^1.5.1: resolved "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz#1b1b440160a5bf7ad40b650f095963481903930a" integrity sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA== -big.js@^6.2.0, big.js@^6.2.1: +big.js@^6.2.1: version "6.2.1" resolved "https://registry.npmjs.org/big.js/-/big.js-6.2.1.tgz#7205ce763efb17c2e41f26f121c420c6a7c2744f" integrity sha512-bCtHMwL9LeDIozFn+oNhhFoq+yQ3BNdnsLSASUxLciOb1vgvpHsIO1dsENiGMgbb4SkP5TrzWzRiLddn8ahVOQ== @@ -2186,6 +2181,11 @@ long@^4.0.0: resolved "https://registry.npmjs.org/long/-/long-4.0.0.tgz#9a7b71cfb7d361a194ea555241c92f7468d5bf28" integrity sha512-XsP+KhQif4bjX1kbuSiySJFNAehNxgLb6hPRGJ9QsUr8ajHkuXGdrHmFUTUUXhDwVX2R5bY4JNZEwbUiMhV+MA== +long@^5.0.0: + version "5.2.1" + resolved "https://registry.npmjs.org/long/-/long-5.2.1.tgz#e27595d0083d103d2fa2c20c7699f8e0c92b897f" + integrity sha512-GKSNGeNAtw8IryjjkhZxuKB3JzlcLTwjtiQCHKvqQet81I93kXslhDQruGI/QsddO83mcDToBVy7GqGS/zYf/A== + lower-case@^2.0.2: version "2.0.2" resolved "https://registry.npmjs.org/lower-case/-/lower-case-2.0.2.tgz#6fa237c63dbdc4a82ca0fd882e4722dc5e634e28" @@ -2603,10 +2603,10 @@ prompts@^2.4.1: kleur "^3.0.3" sisteransi "^1.0.5" -protobufjs@^6.11.3: - version "6.11.3" - resolved "https://registry.npmjs.org/protobufjs/-/protobufjs-6.11.3.tgz#637a527205a35caa4f3e2a9a4a13ddffe0e7af74" - integrity sha512-xL96WDdCZYdU7Slin569tFX712BxsxslWwAfAhCYjQKGTq7dAU91Lomy6nLLhh/dyGhk/YH4TwTSRxTzhuHyZg== +protobufjs@^7.1.2: + version "7.1.2" + resolved "https://registry.npmjs.org/protobufjs/-/protobufjs-7.1.2.tgz#a0cf6aeaf82f5625bffcf5a38b7cd2a7de05890c" + integrity sha512-4ZPTPkXCdel3+L81yw3dG6+Kq3umdWKh7Dc7GW/CpNk4SX3hK58iPCWeCyhVTDrbkNeKrYNZ7EojM5WDaEWTLQ== dependencies: "@protobufjs/aspromise" "^1.1.2" "@protobufjs/base64" "^1.1.2" @@ -2618,9 +2618,8 @@ protobufjs@^6.11.3: "@protobufjs/path" "^1.1.2" "@protobufjs/pool" "^1.1.0" "@protobufjs/utf8" "^1.1.0" - "@types/long" "^4.0.1" "@types/node" ">=13.7.0" - long "^4.0.0" + long "^5.0.0" ps-tree@1.2.0: version "1.2.0" diff --git a/javascript/solana.js/package.json b/javascript/solana.js/package.json index 6eb76dc..df17273 100644 --- a/javascript/solana.js/package.json +++ b/javascript/solana.js/package.json @@ -1,6 +1,6 @@ { "name": "@switchboard-xyz/switchboard-v2", - "version": "0.0.140", + "version": "0.0.142", "license": "MIT", "author": "mitch@switchboard.xyz", "description": "API wrapper for intergating with the Switchboardv2 program", diff --git a/javascript/solana.js/yarn.lock b/javascript/solana.js/yarn.lock index 235bbe2..6003c9c 100644 --- a/javascript/solana.js/yarn.lock +++ b/javascript/solana.js/yarn.lock @@ -615,7 +615,7 @@ decamelize@^4.0.0: resolved "https://registry.yarnpkg.com/decamelize/-/decamelize-4.0.0.tgz#aa472d7bf660eb15f3494efd531cab7f2a709837" integrity sha512-9iE1PgSik9HeIIw2JO94IidnE3eBoQrFJ3w7sFuzSX4DpmZ3v5sZpUiV5Swcf6mQEF+Y0ru8Neo+p+nyh2J+hQ== -define-properties@^1.1.3, define-properties@^1.1.4: +define-properties@^1.1.3: version "1.1.4" resolved "https://registry.yarnpkg.com/define-properties/-/define-properties-1.1.4.tgz#0b14d7bd7fbeb2f3572c3a7eda80ea5d57fb05b1" integrity sha512-uckOqKcfaVvtBdsVkdPv3XjveQJsNQqmhXgRi8uhvWWuPYZCNlzT8qAyblUgNoXdHdjMTzAqeGjAoli8f+bzPA== @@ -656,45 +656,6 @@ emoji-regex@^8.0.0: resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-8.0.0.tgz#e818fd69ce5ccfcb404594f842963bf53164cc37" integrity sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A== -es-abstract@^1.19.0, es-abstract@^1.19.5, es-abstract@^1.20.0: - version "1.20.4" - resolved "https://registry.yarnpkg.com/es-abstract/-/es-abstract-1.20.4.tgz#1d103f9f8d78d4cf0713edcd6d0ed1a46eed5861" - integrity sha512-0UtvRN79eMe2L+UNEF1BwRe364sj/DXhQ/k5FmivgoSdpM90b8Jc0mDzKMGo7QS0BVbOP/bTwBKNnDc9rNzaPA== - dependencies: - call-bind "^1.0.2" - es-to-primitive "^1.2.1" - function-bind "^1.1.1" - function.prototype.name "^1.1.5" - get-intrinsic "^1.1.3" - get-symbol-description "^1.0.0" - has "^1.0.3" - has-property-descriptors "^1.0.0" - has-symbols "^1.0.3" - internal-slot "^1.0.3" - is-callable "^1.2.7" - is-negative-zero "^2.0.2" - is-regex "^1.1.4" - is-shared-array-buffer "^1.0.2" - is-string "^1.0.7" - is-weakref "^1.0.2" - object-inspect "^1.12.2" - object-keys "^1.1.1" - object.assign "^4.1.4" - regexp.prototype.flags "^1.4.3" - safe-regex-test "^1.0.0" - string.prototype.trimend "^1.0.5" - string.prototype.trimstart "^1.0.5" - unbox-primitive "^1.0.2" - -es-to-primitive@^1.2.1: - version "1.2.1" - resolved "https://registry.yarnpkg.com/es-to-primitive/-/es-to-primitive-1.2.1.tgz#e55cd4c9cdc188bcefb03b366c736323fc5c898a" - integrity sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA== - dependencies: - is-callable "^1.1.4" - is-date-object "^1.0.1" - is-symbol "^1.0.2" - es6-object-assign@^1.1.0: version "1.1.0" resolved "https://registry.yarnpkg.com/es6-object-assign/-/es6-object-assign-1.1.0.tgz#c2c3582656247c39ea107cb1e6652b6f9f24523c" @@ -837,27 +798,12 @@ function-bind@^1.1.1: resolved "https://registry.yarnpkg.com/function-bind/-/function-bind-1.1.1.tgz#a56899d3ea3c9bab874bb9773b7c5ede92f4895d" integrity sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A== -function.prototype.name@^1.1.5: - version "1.1.5" - resolved "https://registry.yarnpkg.com/function.prototype.name/-/function.prototype.name-1.1.5.tgz#cce0505fe1ffb80503e6f9e46cc64e46a12a9621" - integrity sha512-uN7m/BzVKQnCUF/iW8jYea67v++2u7m5UgENbHRtdDVclOUP+FMPlCNdmk0h/ysGyo2tavMJEDqJAkJdRa1vMA== - dependencies: - call-bind "^1.0.2" - define-properties "^1.1.3" - es-abstract "^1.19.0" - functions-have-names "^1.2.2" - -functions-have-names@^1.2.2: - version "1.2.3" - resolved "https://registry.yarnpkg.com/functions-have-names/-/functions-have-names-1.2.3.tgz#0404fe4ee2ba2f607f0e0ec3c80bae994133b834" - integrity sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ== - get-caller-file@^2.0.5: version "2.0.5" resolved "https://registry.yarnpkg.com/get-caller-file/-/get-caller-file-2.0.5.tgz#4f94412a82db32f36e3b0b9741f8a97feb031f7e" integrity sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg== -get-intrinsic@^1.0.2, get-intrinsic@^1.1.0, get-intrinsic@^1.1.1, get-intrinsic@^1.1.3: +get-intrinsic@^1.0.2, get-intrinsic@^1.1.1, get-intrinsic@^1.1.3: version "1.1.3" resolved "https://registry.yarnpkg.com/get-intrinsic/-/get-intrinsic-1.1.3.tgz#063c84329ad93e83893c7f4f243ef63ffa351385" integrity sha512-QJVz1Tj7MS099PevUG5jvnt9tSkXN8K14dxQlikJuPt4uD9hHAHjLyLBiLR5zELelBdD9QNRAXZzsJx0WaDL9A== @@ -871,14 +817,6 @@ get-stream@^6.0.0: resolved "https://registry.yarnpkg.com/get-stream/-/get-stream-6.0.1.tgz#a262d8eef67aced57c2852ad6167526a43cbf7b7" integrity sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg== -get-symbol-description@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/get-symbol-description/-/get-symbol-description-1.0.0.tgz#7fdb81c900101fbd564dd5f1a30af5aadc1e58d6" - integrity sha512-2EmdH1YvIQiZpltCNgkuiUnyukzxM/R6NDJX31Ke3BG1Nq5b0S2PhX59UKi9vZpPDQVdqn+1IcaAwnzTT5vCjw== - dependencies: - call-bind "^1.0.2" - get-intrinsic "^1.1.1" - glob-parent@~5.1.2: version "5.1.2" resolved "https://registry.yarnpkg.com/glob-parent/-/glob-parent-5.1.2.tgz#869832c58034fe68a4093c17dc15e8340d8401c4" @@ -921,16 +859,18 @@ glob@^8.0.3: minimatch "^5.0.1" once "^1.3.0" +gopd@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/gopd/-/gopd-1.0.1.tgz#29ff76de69dac7489b7c0918a5788e56477c332c" + integrity sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA== + dependencies: + get-intrinsic "^1.1.3" + growl@1.10.5: version "1.10.5" resolved "https://registry.yarnpkg.com/growl/-/growl-1.10.5.tgz#f2735dc2283674fa67478b10181059355c369e5e" integrity sha512-qBr4OuELkhPenW6goKVXiv47US3clb3/IbuWF9KNKEijAy9oeHxU9IgzjvJhHkUzhaj7rOUD7+YGWqUjLp5oSA== -has-bigints@^1.0.1, has-bigints@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/has-bigints/-/has-bigints-1.0.2.tgz#0871bd3e3d51626f6ca0966668ba35d5602d6eaa" - integrity sha512-tSvCKtBr9lkF0Ex0aQiP9N+OpV4zi2r/Nee5VkRDbaqv35RLYMzbwQfFSZZH0kR+Rd6302UJZ2p/bJCEoR3VoQ== - has-flag@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-4.0.0.tgz#944771fd9c81c81265c4d6941860da06bb59479b" @@ -990,15 +930,6 @@ inherits@2, inherits@^2.0.3: resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.4.tgz#0fa2c64f932917c3433a0ded55363aae37416b7c" integrity sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ== -internal-slot@^1.0.3: - version "1.0.3" - resolved "https://registry.yarnpkg.com/internal-slot/-/internal-slot-1.0.3.tgz#7347e307deeea2faac2ac6205d4bc7d34967f59c" - integrity sha512-O0DB1JC/sPyZl7cIo78n5dR7eUSwwpYPiXRhTzNxZVAMUuB8vlnRFyLxdrVToks6XPLVnFfbzaVd5WLjhgg+vA== - dependencies: - get-intrinsic "^1.1.0" - has "^1.0.3" - side-channel "^1.0.4" - interpret@^1.0.0: version "1.4.0" resolved "https://registry.yarnpkg.com/interpret/-/interpret-1.4.0.tgz#665ab8bc4da27a774a40584e812e3e0fa45b1a1e" @@ -1012,13 +943,6 @@ is-arguments@^1.0.4: call-bind "^1.0.2" has-tostringtag "^1.0.0" -is-bigint@^1.0.1: - version "1.0.4" - resolved "https://registry.yarnpkg.com/is-bigint/-/is-bigint-1.0.4.tgz#08147a1875bc2b32005d41ccd8291dffc6691df3" - integrity sha512-zB9CruMamjym81i2JZ3UMn54PKGsQzsJeo6xvN3HJJ4CAsQNB6iRutp2To77OfCNuoxspsIhzaPoO1zyCEhFOg== - dependencies: - has-bigints "^1.0.1" - is-binary-path@~2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/is-binary-path/-/is-binary-path-2.1.0.tgz#ea1f7f3b80f064236e83470f86c09c254fb45b09" @@ -1026,15 +950,7 @@ is-binary-path@~2.1.0: dependencies: binary-extensions "^2.0.0" -is-boolean-object@^1.1.0: - version "1.1.2" - resolved "https://registry.yarnpkg.com/is-boolean-object/-/is-boolean-object-1.1.2.tgz#5c6dc200246dd9321ae4b885a114bb1f75f63719" - integrity sha512-gDYaKHJmnj4aWxyj6YHyXVpdQawtVLHU5cb+eztPGczf6cjuTdwve5ZIEfgXqH4e57An1D1AKf8CZ3kYrQRqYA== - dependencies: - call-bind "^1.0.2" - has-tostringtag "^1.0.0" - -is-callable@^1.1.3, is-callable@^1.1.4, is-callable@^1.2.7: +is-callable@^1.1.3: version "1.2.7" resolved "https://registry.yarnpkg.com/is-callable/-/is-callable-1.2.7.tgz#3bc2a85ea742d9e36205dcacdd72ca1fdc51b055" integrity sha512-1BC0BVFhS/p0qtw6enp8e+8OD0UrK0oFLztSjNzhcKA3WDuJxxAPXzPuPtKkjEY9UUoEWlX/8fgKeu2S8i9JTA== @@ -1046,13 +962,6 @@ is-core-module@^2.9.0: dependencies: has "^1.0.3" -is-date-object@^1.0.1: - version "1.0.5" - resolved "https://registry.yarnpkg.com/is-date-object/-/is-date-object-1.0.5.tgz#0841d5536e724c25597bf6ea62e1bd38298df31f" - integrity sha512-9YQaSxsAiSwcvS33MBk3wTCVnWK+HhF8VZR2jRxehM16QcVOdHqPn4VPHmRK4lSr38n9JriurInLcP90xsYNfQ== - dependencies: - has-tostringtag "^1.0.0" - is-extglob@^2.1.1: version "2.1.1" resolved "https://registry.yarnpkg.com/is-extglob/-/is-extglob-2.1.1.tgz#a88c02535791f02ed37c76a1b9ea9773c833f8c2" @@ -1085,18 +994,6 @@ is-nan@^1.2.1: call-bind "^1.0.0" define-properties "^1.1.3" -is-negative-zero@^2.0.2: - version "2.0.2" - resolved "https://registry.yarnpkg.com/is-negative-zero/-/is-negative-zero-2.0.2.tgz#7bf6f03a28003b8b3965de3ac26f664d765f3150" - integrity sha512-dqJvarLawXsFbNDeJW7zAz8ItJ9cd28YufuuFzh0G8pNHjJMnY08Dv7sYX2uF5UpQOwieAeOExEYAWWfu7ZZUA== - -is-number-object@^1.0.4: - version "1.0.7" - resolved "https://registry.yarnpkg.com/is-number-object/-/is-number-object-1.0.7.tgz#59d50ada4c45251784e9904f5246c742f07a42fc" - integrity sha512-k1U0IRzLMo7ZlYIfzRu23Oh6MiIFasgpb9X76eqfFZAqwH44UI4KTBvBYIZ1dSL9ZzChTB9ShHfLkR4pdW5krQ== - dependencies: - has-tostringtag "^1.0.0" - is-number@^7.0.0: version "7.0.0" resolved "https://registry.yarnpkg.com/is-number/-/is-number-7.0.0.tgz#7535345b896734d5f80c4d06c50955527a14f12b" @@ -1107,49 +1004,20 @@ is-plain-obj@^2.1.0: resolved "https://registry.yarnpkg.com/is-plain-obj/-/is-plain-obj-2.1.0.tgz#45e42e37fccf1f40da8e5f76ee21515840c09287" integrity sha512-YWnfyRwxL/+SsrWYfOpUtz5b3YD+nyfkHvjbcanzk8zgyO4ASD67uVMRt8k5bM4lLMDnXfriRhOpemw+NfT1eA== -is-regex@^1.1.4: - version "1.1.4" - resolved "https://registry.yarnpkg.com/is-regex/-/is-regex-1.1.4.tgz#eef5663cd59fa4c0ae339505323df6854bb15958" - integrity sha512-kvRdxDsxZjhzUX07ZnLydzS1TU/TJlTUHHY4YLL87e37oUA49DfkLqgy+VjFocowy29cKvcSiu+kIv728jTTVg== - dependencies: - call-bind "^1.0.2" - has-tostringtag "^1.0.0" - -is-shared-array-buffer@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/is-shared-array-buffer/-/is-shared-array-buffer-1.0.2.tgz#8f259c573b60b6a32d4058a1a07430c0a7344c79" - integrity sha512-sqN2UDu1/0y6uvXyStCOzyhAjCSlHceFoMKJW8W9EU9cvic/QdsZ0kEU93HEy3IUEFZIiH/3w+AH/UQbPHNdhA== - dependencies: - call-bind "^1.0.2" - is-stream@^2.0.0: version "2.0.1" resolved "https://registry.yarnpkg.com/is-stream/-/is-stream-2.0.1.tgz#fac1e3d53b97ad5a9d0ae9cef2389f5810a5c077" integrity sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg== -is-string@^1.0.5, is-string@^1.0.7: - version "1.0.7" - resolved "https://registry.yarnpkg.com/is-string/-/is-string-1.0.7.tgz#0dd12bf2006f255bb58f695110eff7491eebc0fd" - integrity sha512-tE2UXzivje6ofPW7l23cjDOMa09gb7xlAqG6jG5ej6uPV32TlWP3NKPigtaGeHNu9fohccRYvIiZMfOOnOYUtg== - dependencies: - has-tostringtag "^1.0.0" - -is-symbol@^1.0.2, is-symbol@^1.0.3: - version "1.0.4" - resolved "https://registry.yarnpkg.com/is-symbol/-/is-symbol-1.0.4.tgz#a6dac93b635b063ca6872236de88910a57af139c" - integrity sha512-C/CPBqKWnvdcxqIARxyOh4v1UUEOCHpgDa0WYgpKDFMszcrPcffg5uhwSgPCLD2WWxmq6isisz87tzT01tuGhg== - dependencies: - has-symbols "^1.0.2" - -is-typed-array@^1.1.3, is-typed-array@^1.1.9: - version "1.1.9" - resolved "https://registry.yarnpkg.com/is-typed-array/-/is-typed-array-1.1.9.tgz#246d77d2871e7d9f5aeb1d54b9f52c71329ece67" - integrity sha512-kfrlnTTn8pZkfpJMUgYD7YZ3qzeJgWUn8XfVYBARc4wnmNOmLbmuuaAs3q5fvB0UJOn6yHAKaGTPM7d6ezoD/A== +is-typed-array@^1.1.10, is-typed-array@^1.1.3: + version "1.1.10" + resolved "https://registry.yarnpkg.com/is-typed-array/-/is-typed-array-1.1.10.tgz#36a5b5cb4189b575d1a3e4b08536bfb485801e3f" + integrity sha512-PJqgEHiWZvMpaFZ3uTc8kHPM4+4ADTlDniuQL7cU/UDA0Ql7F70yGfHph3cLNe+c9toaigv+DFzTJKhc2CtO6A== dependencies: available-typed-arrays "^1.0.5" call-bind "^1.0.2" - es-abstract "^1.20.0" for-each "^0.3.3" + gopd "^1.0.1" has-tostringtag "^1.0.0" is-unicode-supported@^0.1.0: @@ -1157,13 +1025,6 @@ is-unicode-supported@^0.1.0: resolved "https://registry.yarnpkg.com/is-unicode-supported/-/is-unicode-supported-0.1.0.tgz#3f26c76a809593b52bfa2ecb5710ed2779b522a7" integrity sha512-knxG2q4UC3u8stRGyAVJCOdxFmv5DZiRcdlIaAQXAbSfJya+OhopNotLQrstBhququ4ZpuKbDc/8S6mgXgPFPw== -is-weakref@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/is-weakref/-/is-weakref-1.0.2.tgz#9529f383a9338205e89765e0392efc2f100f06f2" - integrity sha512-qctsuLZmIQ0+vSSMfoVvyFe2+GSEvnmZ2ezTup1SBse9+twCCeial6EEi3Nc2KFcf6+qz2FBPnjXsk8xhKSaPQ== - dependencies: - call-bind "^1.0.2" - isexe@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/isexe/-/isexe-2.0.0.tgz#e8fbf374dc556ff8947a10dcb0572d633f2cfa10" @@ -1296,9 +1157,9 @@ map-stream@~0.1.0: integrity sha512-CkYQrPYZfWnu/DAmVCpTSX/xHpKZ80eKh2lAkyA6AJTef6bW+6JpbQZN5rofum7da+SyN1bi5ctTm+lTfcCW3g== marked@^4.0.19: - version "4.2.0" - resolved "https://registry.yarnpkg.com/marked/-/marked-4.2.0.tgz#f1683b077626a6c53e28926b798a18184aa13a91" - integrity sha512-1qWHjHlBKwjnDfrkxd0L3Yx4LTad/WO7+d13YsXAC/ZfKj7p0xkLV3sDXJzfWgL7GfW4IBZwMAYWaz+ifyQouQ== + version "4.2.1" + resolved "https://registry.yarnpkg.com/marked/-/marked-4.2.1.tgz#eaa32594e45b4e58c02e4d118531fd04345de3b4" + integrity sha512-VK1/jNtwqDLvPktNpL0Fdg3qoeUZhmRsuiIjPEy/lHwXW4ouLoZfO4XoWd4ClDt+hupV1VLpkZhEovjU0W/kqA== merge-stream@^2.0.0: version "2.0.0" @@ -1434,11 +1295,6 @@ npm-run-path@^4.0.1: dependencies: path-key "^3.0.0" -object-inspect@^1.12.2, object-inspect@^1.9.0: - version "1.12.2" - resolved "https://registry.yarnpkg.com/object-inspect/-/object-inspect-1.12.2.tgz#c0641f26394532f28ab8d796ab954e43c009a8ea" - integrity sha512-z+cPxW0QGUp0mcqcsgQyLVRDoXFQbXOwBaqyF7VIgI4TWNQsDHrBpUQslRmIfAoYWdYzs6UlKJtB2XJpTaNSpQ== - object-is@^1.0.1: version "1.1.5" resolved "https://registry.yarnpkg.com/object-is/-/object-is-1.1.5.tgz#b9deeaa5fc7f1846a0faecdceec138e5778f53ac" @@ -1452,16 +1308,6 @@ object-keys@^1.1.1: resolved "https://registry.yarnpkg.com/object-keys/-/object-keys-1.1.1.tgz#1c47f272df277f3b1daf061677d9c82e2322c60e" integrity sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA== -object.assign@^4.1.4: - version "4.1.4" - resolved "https://registry.yarnpkg.com/object.assign/-/object.assign-4.1.4.tgz#9673c7c7c351ab8c4d0b516f4343ebf4dfb7799f" - integrity sha512-1mxKf0e58bvyjSCtKYY4sRe9itRk3PJpquJOjeIkz885CczcI4IvJJDLPS72oowuSh+pBxUFROpX+TU++hxhZQ== - dependencies: - call-bind "^1.0.2" - define-properties "^1.1.4" - has-symbols "^1.0.3" - object-keys "^1.1.1" - once@^1.3.0: version "1.4.0" resolved "https://registry.yarnpkg.com/once/-/once-1.4.0.tgz#583b1aa775961d4b113ac17d9c50baef9dd76bd1" @@ -1578,15 +1424,6 @@ regenerator-runtime@^0.13.10: resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.13.10.tgz#ed07b19616bcbec5da6274ebc75ae95634bfc2ee" integrity sha512-KepLsg4dU12hryUO7bp/axHAKvwGOCV0sGloQtpagJ12ai+ojVDqkeGSiRX1zlq+kjIMZ1t7gpze+26QqtdGqw== -regexp.prototype.flags@^1.4.3: - version "1.4.3" - resolved "https://registry.yarnpkg.com/regexp.prototype.flags/-/regexp.prototype.flags-1.4.3.tgz#87cab30f80f66660181a3bb7bf5981a872b367ac" - integrity sha512-fjggEOO3slI6Wvgjwflkc4NFRCTZAu5CnNfBd5qOMYhWdn67nJBBu34/TkD++eeFmd8C9r9jfXJ27+nSiRkSUA== - dependencies: - call-bind "^1.0.2" - define-properties "^1.1.3" - functions-have-names "^1.2.2" - require-directory@^2.1.1: version "2.1.1" resolved "https://registry.yarnpkg.com/require-directory/-/require-directory-2.1.1.tgz#8c64ad5fd30dab1c976e2344ffe7f792a6a6df42" @@ -1626,15 +1463,6 @@ safe-buffer@^5.0.1, safe-buffer@^5.1.0: resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.2.1.tgz#1eaf9fa9bdb1fdd4ec75f58f9cdb4e6b7827eec6" integrity sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ== -safe-regex-test@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/safe-regex-test/-/safe-regex-test-1.0.0.tgz#793b874d524eb3640d1873aad03596db2d4f2295" - integrity sha512-JBUUzyOgEwXQY1NuPtvcj/qcBDbDmEvWufhlnXZIm75DEHp+afM1r1ujJpJsV/gSM4t59tpDyPi1sd6ZaPFfsA== - dependencies: - call-bind "^1.0.2" - get-intrinsic "^1.1.3" - is-regex "^1.1.4" - serialize-javascript@6.0.0: version "6.0.0" resolved "https://registry.yarnpkg.com/serialize-javascript/-/serialize-javascript-6.0.0.tgz#efae5d88f45d7924141da8b5c3a7a7e663fefeb8" @@ -1680,15 +1508,6 @@ shx@^0.3.4: minimist "^1.2.3" shelljs "^0.8.5" -side-channel@^1.0.4: - version "1.0.4" - resolved "https://registry.yarnpkg.com/side-channel/-/side-channel-1.0.4.tgz#efce5c8fdc104ee751b25c58d4290011fa5ea2cf" - integrity sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw== - dependencies: - call-bind "^1.0.0" - get-intrinsic "^1.0.2" - object-inspect "^1.9.0" - signal-exit@^3.0.3: version "3.0.7" resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.7.tgz#a9a1767f8af84155114eaabd73f99273c8f59ad9" @@ -1751,24 +1570,6 @@ string-width@^4.1.0, string-width@^4.2.0: is-fullwidth-code-point "^3.0.0" strip-ansi "^6.0.1" -string.prototype.trimend@^1.0.5: - version "1.0.5" - resolved "https://registry.yarnpkg.com/string.prototype.trimend/-/string.prototype.trimend-1.0.5.tgz#914a65baaab25fbdd4ee291ca7dde57e869cb8d0" - integrity sha512-I7RGvmjV4pJ7O3kdf+LXFpVfdNOxtCW/2C8f6jNiW4+PQchwxkCDzlk1/7p+Wl4bqFIZeF47qAHXLuHHWKAxog== - dependencies: - call-bind "^1.0.2" - define-properties "^1.1.4" - es-abstract "^1.19.5" - -string.prototype.trimstart@^1.0.5: - version "1.0.5" - resolved "https://registry.yarnpkg.com/string.prototype.trimstart/-/string.prototype.trimstart-1.0.5.tgz#5466d93ba58cfa2134839f81d7f42437e8c01fef" - integrity sha512-THx16TJCGlsN0o6dl2o6ncWUsdgnLRSA23rRE5pyGBw/mLr3Ej/R2LaqCtgP8VNMGZsvMWnf9ooZPyY2bHvUFg== - dependencies: - call-bind "^1.0.2" - define-properties "^1.1.4" - es-abstract "^1.19.5" - strip-ansi@^6.0.0, strip-ansi@^6.0.1: version "6.0.1" resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9" @@ -1886,9 +1687,9 @@ tslib@^2.0.3, tslib@^2.1.0: integrity sha512-tGyy4dAjRIEwI7BzsB0lynWgOpfqjUdq91XXAlIWD2OwKBH7oCl/GZG/HT4BOHrTlPMOASlMQ7veyTqpmRcrNA== typedoc@^0.23.8: - version "0.23.19" - resolved "https://registry.yarnpkg.com/typedoc/-/typedoc-0.23.19.tgz#6c8b76a7b5c1fc316e961464f0d6c3592ff09328" - integrity sha512-70jPL0GQnSJtgQqI7ifOWxpTXrB3sxc4SWPPRn3K0wdx3txI6ZIT/ZYMF39dNg2Gjmql45cO+cAKXJp0TpqOVA== + version "0.23.20" + resolved "https://registry.yarnpkg.com/typedoc/-/typedoc-0.23.20.tgz#c6fa221762322837161932990b79416afcdc895c" + integrity sha512-nfb4Mx05ZZZXux3zPcLuc7+3TVePDW3jTdEBqXdQzJUyEILxoprgPIiTChbvci9crkqNJG9YESmfCptuh9Gn3g== dependencies: lunr "^2.3.9" marked "^4.0.19" @@ -1900,16 +1701,6 @@ typescript@^4.7: resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.8.4.tgz#c464abca159669597be5f96b8943500b238e60e6" integrity sha512-QCh+85mCy+h0IGff8r5XWzOVSbBO+KfeYrMQh7NJ58QujwcE22u+NUSmUxqF+un70P9GXKxa2HCNiTTMJknyjQ== -unbox-primitive@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/unbox-primitive/-/unbox-primitive-1.0.2.tgz#29032021057d5e6cdbd08c5129c226dff8ed6f9e" - integrity sha512-61pPlCD9h51VoreyJ0BReideM3MDKMKnh6+V9L08331ipq6Q8OFXZYiqP6n/tbHx4s5I9uRhcye6BrbkizkBDw== - dependencies: - call-bind "^1.0.2" - has-bigints "^1.0.2" - has-symbols "^1.0.3" - which-boxed-primitive "^1.0.2" - utf-8-validate@^5.0.2: version "5.0.10" resolved "https://registry.yarnpkg.com/utf-8-validate/-/utf-8-validate-5.0.10.tgz#d7d10ea39318171ca982718b6b96a8d2442571a2" @@ -1972,28 +1763,17 @@ whatwg-url@^5.0.0: tr46 "~0.0.3" webidl-conversions "^3.0.0" -which-boxed-primitive@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/which-boxed-primitive/-/which-boxed-primitive-1.0.2.tgz#13757bc89b209b049fe5d86430e21cf40a89a8e6" - integrity sha512-bwZdv0AKLpplFY2KZRX6TvyuN7ojjr7lwkg6ml0roIy9YeuSr7JS372qlNW18UQYzgYK9ziGcerWqZOmEn9VNg== - dependencies: - is-bigint "^1.0.1" - is-boolean-object "^1.1.0" - is-number-object "^1.0.4" - is-string "^1.0.5" - is-symbol "^1.0.3" - which-typed-array@^1.1.2: - version "1.1.8" - resolved "https://registry.yarnpkg.com/which-typed-array/-/which-typed-array-1.1.8.tgz#0cfd53401a6f334d90ed1125754a42ed663eb01f" - integrity sha512-Jn4e5PItbcAHyLoRDwvPj1ypu27DJbtdYXUa5zsinrUx77Uvfb0cXwwnGMTn7cjUfhhqgVQnVJCwF+7cgU7tpw== + version "1.1.9" + resolved "https://registry.yarnpkg.com/which-typed-array/-/which-typed-array-1.1.9.tgz#307cf898025848cf995e795e8423c7f337efbde6" + integrity sha512-w9c4xkx6mPidwp7180ckYWfMmvxpjlZuIudNtDf4N/tTAUB8VJbX25qZoAsrtGuYNnGw3pa0AXgbGKRB8/EceA== dependencies: available-typed-arrays "^1.0.5" call-bind "^1.0.2" - es-abstract "^1.20.0" for-each "^0.3.3" + gopd "^1.0.1" has-tostringtag "^1.0.0" - is-typed-array "^1.1.9" + is-typed-array "^1.1.10" which@2.0.2, which@^2.0.1: version "2.0.2" diff --git a/sbv2.devnet.json b/sbv2.devnet.json new file mode 100644 index 0000000..7ba1199 --- /dev/null +++ b/sbv2.devnet.json @@ -0,0 +1,5438 @@ +{ + "version": "0.1.0", + "name": "switchboard_v2", + "instructions": [ + { + "name": "aggregatorAddJob", + "accounts": [ + { + "name": "aggregator", + "isMut": true, + "isSigner": false + }, + { + "name": "authority", + "isMut": false, + "isSigner": true + }, + { + "name": "job", + "isMut": true, + "isSigner": false + } + ], + "args": [ + { + "name": "params", + "type": { + "defined": "AggregatorAddJobParams" + } + } + ] + }, + { + "name": "aggregatorInit", + "accounts": [ + { + "name": "aggregator", + "isMut": true, + "isSigner": false + }, + { + "name": "authority", + "isMut": false, + "isSigner": false + }, + { + "name": "queue", + "isMut": false, + "isSigner": false + }, + { + "name": "programState", + "isMut": false, + "isSigner": false + } + ], + "args": [ + { + "name": "params", + "type": { + "defined": "AggregatorInitParams" + } + } + ] + }, + { + "name": "aggregatorLock", + "accounts": [ + { + "name": "aggregator", + "isMut": true, + "isSigner": false + }, + { + "name": "authority", + "isMut": false, + "isSigner": true + } + ], + "args": [ + { + "name": "params", + "type": { + "defined": "AggregatorLockParams" + } + } + ] + }, + { + "name": "aggregatorOpenRound", + "accounts": [ + { + "name": "aggregator", + "isMut": true, + "isSigner": false + }, + { + "name": "lease", + "isMut": true, + "isSigner": false + }, + { + "name": "oracleQueue", + "isMut": true, + "isSigner": false + }, + { + "name": "queueAuthority", + "isMut": false, + "isSigner": false + }, + { + "name": "permission", + "isMut": true, + "isSigner": false + }, + { + "name": "escrow", + "isMut": true, + "isSigner": false + }, + { + "name": "programState", + "isMut": false, + "isSigner": false + }, + { + "name": "payoutWallet", + "isMut": true, + "isSigner": false + }, + { + "name": "tokenProgram", + "isMut": false, + "isSigner": false + }, + { + "name": "dataBuffer", + "isMut": false, + "isSigner": false + }, + { + "name": "mint", + "isMut": false, + "isSigner": false + } + ], + "args": [ + { + "name": "params", + "type": { + "defined": "AggregatorOpenRoundParams" + } + } + ] + }, + { + "name": "aggregatorRemoveJob", + "accounts": [ + { + "name": "aggregator", + "isMut": true, + "isSigner": false + }, + { + "name": "authority", + "isMut": false, + "isSigner": true + }, + { + "name": "job", + "isMut": true, + "isSigner": false + } + ], + "args": [ + { + "name": "params", + "type": { + "defined": "AggregatorRemoveJobParams" + } + } + ] + }, + { + "name": "aggregatorSaveResult", + "accounts": [ + { + "name": "aggregator", + "isMut": true, + "isSigner": false + }, + { + "name": "oracle", + "isMut": true, + "isSigner": false + }, + { + "name": "oracleAuthority", + "isMut": false, + "isSigner": true + }, + { + "name": "oracleQueue", + "isMut": false, + "isSigner": false + }, + { + "name": "queueAuthority", + "isMut": false, + "isSigner": false + }, + { + "name": "feedPermission", + "isMut": true, + "isSigner": false + }, + { + "name": "oraclePermission", + "isMut": false, + "isSigner": false + }, + { + "name": "lease", + "isMut": true, + "isSigner": false + }, + { + "name": "escrow", + "isMut": true, + "isSigner": false + }, + { + "name": "tokenProgram", + "isMut": false, + "isSigner": false + }, + { + "name": "programState", + "isMut": false, + "isSigner": false + }, + { + "name": "historyBuffer", + "isMut": true, + "isSigner": false + }, + { + "name": "mint", + "isMut": false, + "isSigner": false + } + ], + "args": [ + { + "name": "params", + "type": { + "defined": "AggregatorSaveResultParams" + } + } + ] + }, + { + "name": "aggregatorSetAuthority", + "accounts": [ + { + "name": "aggregator", + "isMut": true, + "isSigner": false + }, + { + "name": "authority", + "isMut": false, + "isSigner": true + }, + { + "name": "newAuthority", + "isMut": false, + "isSigner": false + } + ], + "args": [ + { + "name": "params", + "type": { + "defined": "AggregatorSetAuthorityParams" + } + } + ] + }, + { + "name": "aggregatorSetConfig", + "accounts": [ + { + "name": "aggregator", + "isMut": true, + "isSigner": false + }, + { + "name": "authority", + "isMut": false, + "isSigner": true + } + ], + "args": [ + { + "name": "params", + "type": { + "defined": "AggregatorSetConfigParams" + } + } + ] + }, + { + "name": "aggregatorSetHistoryBuffer", + "accounts": [ + { + "name": "aggregator", + "isMut": true, + "isSigner": false + }, + { + "name": "authority", + "isMut": false, + "isSigner": true + }, + { + "name": "buffer", + "isMut": true, + "isSigner": false + } + ], + "args": [ + { + "name": "params", + "type": { + "defined": "AggregatorSetHistoryBufferParams" + } + } + ] + }, + { + "name": "aggregatorSetQueue", + "accounts": [ + { + "name": "aggregator", + "isMut": true, + "isSigner": false + }, + { + "name": "authority", + "isMut": false, + "isSigner": true + }, + { + "name": "queue", + "isMut": false, + "isSigner": false + } + ], + "args": [ + { + "name": "params", + "type": { + "defined": "AggregatorSetQueueParams" + } + } + ] + }, + { + "name": "crankInit", + "accounts": [ + { + "name": "crank", + "isMut": true, + "isSigner": true + }, + { + "name": "queue", + "isMut": false, + "isSigner": false + }, + { + "name": "buffer", + "isMut": true, + "isSigner": false + }, + { + "name": "payer", + "isMut": true, + "isSigner": true + }, + { + "name": "systemProgram", + "isMut": false, + "isSigner": false + } + ], + "args": [ + { + "name": "params", + "type": { + "defined": "CrankInitParams" + } + } + ] + }, + { + "name": "bufferRelayerInit", + "accounts": [ + { + "name": "bufferRelayer", + "isMut": true, + "isSigner": false + }, + { + "name": "escrow", + "isMut": true, + "isSigner": false + }, + { + "name": "authority", + "isMut": false, + "isSigner": false + }, + { + "name": "queue", + "isMut": false, + "isSigner": false + }, + { + "name": "job", + "isMut": false, + "isSigner": false + }, + { + "name": "programState", + "isMut": false, + "isSigner": false + }, + { + "name": "mint", + "isMut": false, + "isSigner": false + }, + { + "name": "payer", + "isMut": true, + "isSigner": true + }, + { + "name": "tokenProgram", + "isMut": false, + "isSigner": false + }, + { + "name": "associatedTokenProgram", + "isMut": false, + "isSigner": false + }, + { + "name": "systemProgram", + "isMut": false, + "isSigner": false + }, + { + "name": "rent", + "isMut": false, + "isSigner": false + } + ], + "args": [ + { + "name": "params", + "type": { + "defined": "BufferRelayerInitParams" + } + } + ] + }, + { + "name": "bufferRelayerOpenRound", + "accounts": [ + { + "name": "bufferRelayer", + "isMut": true, + "isSigner": false + }, + { + "name": "oracleQueue", + "isMut": true, + "isSigner": false + }, + { + "name": "dataBuffer", + "isMut": true, + "isSigner": false + }, + { + "name": "permission", + "isMut": true, + "isSigner": false + }, + { + "name": "escrow", + "isMut": true, + "isSigner": false + }, + { + "name": "programState", + "isMut": false, + "isSigner": false + } + ], + "args": [ + { + "name": "params", + "type": { + "defined": "BufferRelayerOpenRoundParams" + } + } + ] + }, + { + "name": "bufferRelayerSaveResult", + "accounts": [ + { + "name": "bufferRelayer", + "isMut": true, + "isSigner": false + }, + { + "name": "oracleAuthority", + "isMut": false, + "isSigner": true + }, + { + "name": "oracle", + "isMut": false, + "isSigner": false + }, + { + "name": "oracleQueue", + "isMut": true, + "isSigner": false + }, + { + "name": "dataBuffer", + "isMut": true, + "isSigner": false + }, + { + "name": "queueAuthority", + "isMut": false, + "isSigner": false + }, + { + "name": "permission", + "isMut": true, + "isSigner": false + }, + { + "name": "escrow", + "isMut": true, + "isSigner": false + }, + { + "name": "oracleWallet", + "isMut": true, + "isSigner": false + }, + { + "name": "programState", + "isMut": false, + "isSigner": false + }, + { + "name": "tokenProgram", + "isMut": false, + "isSigner": false + } + ], + "args": [ + { + "name": "params", + "type": { + "defined": "BufferRelayerSaveResultParams" + } + } + ] + }, + { + "name": "crankPop", + "accounts": [ + { + "name": "crank", + "isMut": true, + "isSigner": false + }, + { + "name": "oracleQueue", + "isMut": true, + "isSigner": false + }, + { + "name": "queueAuthority", + "isMut": false, + "isSigner": false + }, + { + "name": "programState", + "isMut": false, + "isSigner": false + }, + { + "name": "payoutWallet", + "isMut": true, + "isSigner": false + }, + { + "name": "tokenProgram", + "isMut": false, + "isSigner": false + }, + { + "name": "crankDataBuffer", + "isMut": true, + "isSigner": false + }, + { + "name": "queueDataBuffer", + "isMut": false, + "isSigner": false + }, + { + "name": "mint", + "isMut": false, + "isSigner": false + } + ], + "args": [ + { + "name": "params", + "type": { + "defined": "CrankPopParams" + } + } + ] + }, + { + "name": "crankPush", + "accounts": [ + { + "name": "crank", + "isMut": true, + "isSigner": false + }, + { + "name": "aggregator", + "isMut": true, + "isSigner": false + }, + { + "name": "oracleQueue", + "isMut": true, + "isSigner": false + }, + { + "name": "queueAuthority", + "isMut": false, + "isSigner": false + }, + { + "name": "permission", + "isMut": false, + "isSigner": false + }, + { + "name": "lease", + "isMut": true, + "isSigner": false + }, + { + "name": "escrow", + "isMut": true, + "isSigner": false + }, + { + "name": "programState", + "isMut": false, + "isSigner": false + }, + { + "name": "dataBuffer", + "isMut": true, + "isSigner": false + } + ], + "args": [ + { + "name": "params", + "type": { + "defined": "CrankPushParams" + } + } + ] + }, + { + "name": "jobInit", + "accounts": [ + { + "name": "job", + "isMut": true, + "isSigner": true + }, + { + "name": "authority", + "isMut": false, + "isSigner": true + }, + { + "name": "programState", + "isMut": false, + "isSigner": false + }, + { + "name": "payer", + "isMut": true, + "isSigner": true + }, + { + "name": "systemProgram", + "isMut": false, + "isSigner": false + } + ], + "args": [ + { + "name": "params", + "type": { + "defined": "JobInitParams" + } + } + ] + }, + { + "name": "jobSetData", + "accounts": [ + { + "name": "job", + "isMut": true, + "isSigner": false + }, + { + "name": "authority", + "isMut": false, + "isSigner": true + } + ], + "args": [ + { + "name": "params", + "type": { + "defined": "JobSetDataParams" + } + } + ] + }, + { + "name": "leaseExtend", + "accounts": [ + { + "name": "lease", + "isMut": true, + "isSigner": false + }, + { + "name": "aggregator", + "isMut": false, + "isSigner": false + }, + { + "name": "queue", + "isMut": false, + "isSigner": false + }, + { + "name": "funder", + "isMut": true, + "isSigner": false + }, + { + "name": "owner", + "isMut": true, + "isSigner": true + }, + { + "name": "escrow", + "isMut": true, + "isSigner": false + }, + { + "name": "tokenProgram", + "isMut": false, + "isSigner": false + }, + { + "name": "programState", + "isMut": false, + "isSigner": false + }, + { + "name": "mint", + "isMut": false, + "isSigner": false + } + ], + "args": [ + { + "name": "params", + "type": { + "defined": "LeaseExtendParams" + } + } + ] + }, + { + "name": "leaseInit", + "accounts": [ + { + "name": "lease", + "isMut": true, + "isSigner": false + }, + { + "name": "queue", + "isMut": true, + "isSigner": false + }, + { + "name": "aggregator", + "isMut": false, + "isSigner": false + }, + { + "name": "funder", + "isMut": true, + "isSigner": false + }, + { + "name": "payer", + "isMut": true, + "isSigner": true + }, + { + "name": "systemProgram", + "isMut": false, + "isSigner": false + }, + { + "name": "tokenProgram", + "isMut": false, + "isSigner": false + }, + { + "name": "owner", + "isMut": true, + "isSigner": true + }, + { + "name": "escrow", + "isMut": true, + "isSigner": false + }, + { + "name": "programState", + "isMut": false, + "isSigner": false + }, + { + "name": "mint", + "isMut": false, + "isSigner": false + } + ], + "args": [ + { + "name": "params", + "type": { + "defined": "LeaseInitParams" + } + } + ] + }, + { + "name": "leaseSetAuthority", + "accounts": [ + { + "name": "lease", + "isMut": true, + "isSigner": false + }, + { + "name": "withdrawAuthority", + "isMut": false, + "isSigner": true + }, + { + "name": "newAuthority", + "isMut": false, + "isSigner": false + } + ], + "args": [ + { + "name": "params", + "type": { + "defined": "LeaseSetAuthorityParams" + } + } + ] + }, + { + "name": "leaseWithdraw", + "accounts": [ + { + "name": "lease", + "isMut": true, + "isSigner": false + }, + { + "name": "escrow", + "isMut": true, + "isSigner": false + }, + { + "name": "aggregator", + "isMut": false, + "isSigner": false + }, + { + "name": "queue", + "isMut": false, + "isSigner": false + }, + { + "name": "withdrawAuthority", + "isMut": false, + "isSigner": true + }, + { + "name": "withdrawAccount", + "isMut": true, + "isSigner": false + }, + { + "name": "tokenProgram", + "isMut": false, + "isSigner": false + }, + { + "name": "programState", + "isMut": false, + "isSigner": false + }, + { + "name": "mint", + "isMut": false, + "isSigner": false + } + ], + "args": [ + { + "name": "params", + "type": { + "defined": "LeaseWithdrawParams" + } + } + ] + }, + { + "name": "oracleHeartbeat", + "accounts": [ + { + "name": "oracle", + "isMut": true, + "isSigner": false + }, + { + "name": "oracleAuthority", + "isMut": false, + "isSigner": true + }, + { + "name": "tokenAccount", + "isMut": false, + "isSigner": false + }, + { + "name": "gcOracle", + "isMut": true, + "isSigner": false + }, + { + "name": "oracleQueue", + "isMut": true, + "isSigner": false + }, + { + "name": "permission", + "isMut": false, + "isSigner": false + }, + { + "name": "dataBuffer", + "isMut": true, + "isSigner": false + } + ], + "args": [ + { + "name": "params", + "type": { + "defined": "OracleHeartbeatParams" + } + } + ] + }, + { + "name": "oracleInit", + "accounts": [ + { + "name": "oracle", + "isMut": true, + "isSigner": false + }, + { + "name": "oracleAuthority", + "isMut": false, + "isSigner": false + }, + { + "name": "wallet", + "isMut": false, + "isSigner": false + }, + { + "name": "programState", + "isMut": false, + "isSigner": false + }, + { + "name": "queue", + "isMut": false, + "isSigner": false + }, + { + "name": "payer", + "isMut": true, + "isSigner": true + }, + { + "name": "systemProgram", + "isMut": false, + "isSigner": false + } + ], + "args": [ + { + "name": "params", + "type": { + "defined": "OracleInitParams" + } + } + ] + }, + { + "name": "oracleQueueInit", + "accounts": [ + { + "name": "oracleQueue", + "isMut": true, + "isSigner": true + }, + { + "name": "authority", + "isMut": false, + "isSigner": false + }, + { + "name": "buffer", + "isMut": true, + "isSigner": false + }, + { + "name": "payer", + "isMut": true, + "isSigner": true + }, + { + "name": "systemProgram", + "isMut": false, + "isSigner": false + }, + { + "name": "mint", + "isMut": false, + "isSigner": false + } + ], + "args": [ + { + "name": "params", + "type": { + "defined": "OracleQueueInitParams" + } + } + ] + }, + { + "name": "oracleQueueSetConfig", + "accounts": [ + { + "name": "queue", + "isMut": true, + "isSigner": false + }, + { + "name": "authority", + "isMut": false, + "isSigner": true + } + ], + "args": [ + { + "name": "params", + "type": { + "defined": "OracleQueueSetConfigParams" + } + } + ] + }, + { + "name": "oracleWithdraw", + "accounts": [ + { + "name": "oracle", + "isMut": true, + "isSigner": false + }, + { + "name": "oracleAuthority", + "isMut": false, + "isSigner": true + }, + { + "name": "tokenAccount", + "isMut": true, + "isSigner": false + }, + { + "name": "withdrawAccount", + "isMut": true, + "isSigner": false + }, + { + "name": "oracleQueue", + "isMut": true, + "isSigner": false + }, + { + "name": "permission", + "isMut": true, + "isSigner": false + }, + { + "name": "tokenProgram", + "isMut": false, + "isSigner": false + }, + { + "name": "programState", + "isMut": false, + "isSigner": false + }, + { + "name": "payer", + "isMut": true, + "isSigner": true + }, + { + "name": "systemProgram", + "isMut": false, + "isSigner": false + } + ], + "args": [ + { + "name": "params", + "type": { + "defined": "OracleWithdrawParams" + } + } + ] + }, + { + "name": "permissionInit", + "accounts": [ + { + "name": "permission", + "isMut": true, + "isSigner": false + }, + { + "name": "authority", + "isMut": false, + "isSigner": false + }, + { + "name": "granter", + "isMut": false, + "isSigner": false + }, + { + "name": "grantee", + "isMut": false, + "isSigner": false + }, + { + "name": "payer", + "isMut": true, + "isSigner": true + }, + { + "name": "systemProgram", + "isMut": false, + "isSigner": false + } + ], + "args": [ + { + "name": "params", + "type": { + "defined": "PermissionInitParams" + } + } + ] + }, + { + "name": "permissionSet", + "accounts": [ + { + "name": "permission", + "isMut": true, + "isSigner": false + }, + { + "name": "authority", + "isMut": false, + "isSigner": true + } + ], + "args": [ + { + "name": "params", + "type": { + "defined": "PermissionSetParams" + } + } + ] + }, + { + "name": "programConfig", + "accounts": [ + { + "name": "authority", + "isMut": false, + "isSigner": true + }, + { + "name": "programState", + "isMut": true, + "isSigner": false + }, + { + "name": "daoMint", + "isMut": false, + "isSigner": false + } + ], + "args": [ + { + "name": "params", + "type": { + "defined": "ProgramConfigParams" + } + } + ] + }, + { + "name": "programInit", + "accounts": [ + { + "name": "state", + "isMut": true, + "isSigner": false + }, + { + "name": "authority", + "isMut": false, + "isSigner": false + }, + { + "name": "tokenMint", + "isMut": true, + "isSigner": false + }, + { + "name": "vault", + "isMut": true, + "isSigner": false + }, + { + "name": "payer", + "isMut": true, + "isSigner": true + }, + { + "name": "systemProgram", + "isMut": false, + "isSigner": false + }, + { + "name": "tokenProgram", + "isMut": false, + "isSigner": false + }, + { + "name": "daoMint", + "isMut": false, + "isSigner": false + } + ], + "args": [ + { + "name": "params", + "type": { + "defined": "ProgramInitParams" + } + } + ] + }, + { + "name": "vaultTransfer", + "accounts": [ + { + "name": "state", + "isMut": false, + "isSigner": false + }, + { + "name": "authority", + "isMut": false, + "isSigner": true + }, + { + "name": "to", + "isMut": true, + "isSigner": false + }, + { + "name": "vault", + "isMut": true, + "isSigner": false + }, + { + "name": "tokenProgram", + "isMut": false, + "isSigner": false + } + ], + "args": [ + { + "name": "params", + "type": { + "defined": "VaultTransferParams" + } + } + ] + }, + { + "name": "vrfInit", + "accounts": [ + { + "name": "vrf", + "isMut": true, + "isSigner": false + }, + { + "name": "authority", + "isMut": false, + "isSigner": false + }, + { + "name": "oracleQueue", + "isMut": false, + "isSigner": false + }, + { + "name": "escrow", + "isMut": true, + "isSigner": false + }, + { + "name": "programState", + "isMut": false, + "isSigner": false + }, + { + "name": "tokenProgram", + "isMut": false, + "isSigner": false + } + ], + "args": [ + { + "name": "params", + "type": { + "defined": "VrfInitParams" + } + } + ] + }, + { + "name": "vrfProveAndVerify", + "accounts": [ + { + "name": "vrf", + "isMut": true, + "isSigner": false + }, + { + "name": "callbackPid", + "isMut": false, + "isSigner": false + }, + { + "name": "tokenProgram", + "isMut": false, + "isSigner": false + }, + { + "name": "escrow", + "isMut": true, + "isSigner": false + }, + { + "name": "programState", + "isMut": false, + "isSigner": false + }, + { + "name": "oracle", + "isMut": false, + "isSigner": false + }, + { + "name": "oracleAuthority", + "isMut": false, + "isSigner": true + }, + { + "name": "oracleWallet", + "isMut": true, + "isSigner": false + }, + { + "name": "instructionsSysvar", + "isMut": false, + "isSigner": false + } + ], + "args": [ + { + "name": "params", + "type": { + "defined": "VrfProveAndVerifyParams" + } + } + ] + }, + { + "name": "vrfRequestRandomness", + "accounts": [ + { + "name": "authority", + "isMut": false, + "isSigner": true + }, + { + "name": "vrf", + "isMut": true, + "isSigner": false + }, + { + "name": "oracleQueue", + "isMut": true, + "isSigner": false + }, + { + "name": "queueAuthority", + "isMut": false, + "isSigner": false + }, + { + "name": "dataBuffer", + "isMut": false, + "isSigner": false + }, + { + "name": "permission", + "isMut": true, + "isSigner": false + }, + { + "name": "escrow", + "isMut": true, + "isSigner": false + }, + { + "name": "payerWallet", + "isMut": true, + "isSigner": false + }, + { + "name": "payerAuthority", + "isMut": false, + "isSigner": true + }, + { + "name": "recentBlockhashes", + "isMut": false, + "isSigner": false + }, + { + "name": "programState", + "isMut": false, + "isSigner": false + }, + { + "name": "tokenProgram", + "isMut": false, + "isSigner": false + } + ], + "args": [ + { + "name": "params", + "type": { + "defined": "VrfRequestRandomnessParams" + } + } + ] + }, + { + "name": "vrfSetCallback", + "accounts": [ + { + "name": "vrf", + "isMut": true, + "isSigner": false + }, + { + "name": "authority", + "isMut": false, + "isSigner": true + } + ], + "args": [ + { + "name": "params", + "type": { + "defined": "VrfSetCallbackParams" + } + } + ] + } + ], + "accounts": [ + { + "name": "SbState", + "type": { + "kind": "struct", + "fields": [ + { + "name": "authority", + "type": "publicKey" + }, + { + "name": "tokenMint", + "type": "publicKey" + }, + { + "name": "tokenVault", + "type": "publicKey" + }, + { + "name": "daoMint", + "type": "publicKey" + }, + { + "name": "ebuf", + "type": { + "array": [ + "u8", + 992 + ] + } + } + ] + } + }, + { + "name": "TaskSpecRecord", + "type": { + "kind": "struct", + "fields": [ + { + "name": "hash", + "type": { + "defined": "Hash" + } + } + ] + } + }, + { + "name": "AggregatorAccountData", + "type": { + "kind": "struct", + "fields": [ + { + "name": "name", + "type": { + "array": [ + "u8", + 32 + ] + } + }, + { + "name": "metadata", + "type": { + "array": [ + "u8", + 128 + ] + } + }, + { + "name": "reserved1", + "type": { + "array": [ + "u8", + 32 + ] + } + }, + { + "name": "queuePubkey", + "type": "publicKey" + }, + { + "name": "oracleRequestBatchSize", + "type": "u32" + }, + { + "name": "minOracleResults", + "type": "u32" + }, + { + "name": "minJobResults", + "type": "u32" + }, + { + "name": "minUpdateDelaySeconds", + "type": "u32" + }, + { + "name": "startAfter", + "type": "i64" + }, + { + "name": "varianceThreshold", + "type": { + "defined": "SwitchboardDecimal" + } + }, + { + "name": "forceReportPeriod", + "type": "i64" + }, + { + "name": "expiration", + "type": "i64" + }, + { + "name": "consecutiveFailureCount", + "type": "u64" + }, + { + "name": "nextAllowedUpdateTime", + "type": "i64" + }, + { + "name": "isLocked", + "type": "bool" + }, + { + "name": "crankPubkey", + "type": "publicKey" + }, + { + "name": "latestConfirmedRound", + "type": { + "defined": "AggregatorRound" + } + }, + { + "name": "currentRound", + "type": { + "defined": "AggregatorRound" + } + }, + { + "name": "jobPubkeysData", + "type": { + "array": [ + "publicKey", + 16 + ] + } + }, + { + "name": "jobHashes", + "type": { + "array": [ + { + "defined": "Hash" + }, + 16 + ] + } + }, + { + "name": "jobPubkeysSize", + "type": "u32" + }, + { + "name": "jobsChecksum", + "type": { + "array": [ + "u8", + 32 + ] + } + }, + { + "name": "authority", + "type": "publicKey" + }, + { + "name": "historyBuffer", + "type": "publicKey" + }, + { + "name": "previousConfirmedRoundResult", + "type": { + "defined": "SwitchboardDecimal" + } + }, + { + "name": "previousConfirmedRoundSlot", + "type": "u64" + }, + { + "name": "disableCrank", + "type": "bool" + }, + { + "name": "jobWeights", + "type": { + "array": [ + "u8", + 16 + ] + } + }, + { + "name": "creationTimestamp", + "type": "i64" + }, + { + "name": "ebuf", + "type": { + "array": [ + "u8", + 139 + ] + } + } + ] + } + }, + { + "name": "PermissionAccountData", + "type": { + "kind": "struct", + "fields": [ + { + "name": "authority", + "type": "publicKey" + }, + { + "name": "permissions", + "type": "u32" + }, + { + "name": "granter", + "type": "publicKey" + }, + { + "name": "grantee", + "type": "publicKey" + }, + { + "name": "expiration", + "type": "i64" + }, + { + "name": "ebuf", + "type": { + "array": [ + "u8", + 256 + ] + } + } + ] + } + }, + { + "name": "RealmSpawnRecordAccountData", + "type": { + "kind": "struct", + "fields": [ + { + "name": "ebuf", + "type": { + "array": [ + "u8", + 256 + ] + } + } + ] + } + }, + { + "name": "LeaseAccountData", + "type": { + "kind": "struct", + "fields": [ + { + "name": "escrow", + "type": "publicKey" + }, + { + "name": "queue", + "type": "publicKey" + }, + { + "name": "aggregator", + "type": "publicKey" + }, + { + "name": "tokenProgram", + "type": "publicKey" + }, + { + "name": "isActive", + "type": "bool" + }, + { + "name": "crankRowCount", + "type": "u32" + }, + { + "name": "createdAt", + "type": "i64" + }, + { + "name": "updateCount", + "type": "u128" + }, + { + "name": "withdrawAuthority", + "type": "publicKey" + }, + { + "name": "ebuf", + "type": { + "array": [ + "u8", + 256 + ] + } + } + ] + } + }, + { + "name": "OracleQueueAccountData", + "type": { + "kind": "struct", + "fields": [ + { + "name": "name", + "type": { + "array": [ + "u8", + 32 + ] + } + }, + { + "name": "metadata", + "type": { + "array": [ + "u8", + 64 + ] + } + }, + { + "name": "authority", + "type": "publicKey" + }, + { + "name": "oracleTimeout", + "type": "u32" + }, + { + "name": "reward", + "type": "u64" + }, + { + "name": "minStake", + "type": "u64" + }, + { + "name": "slashingEnabled", + "type": "bool" + }, + { + "name": "varianceToleranceMultiplier", + "type": { + "defined": "SwitchboardDecimal" + } + }, + { + "name": "feedProbationPeriod", + "type": "u32" + }, + { + "name": "currIdx", + "type": "u32" + }, + { + "name": "size", + "type": "u32" + }, + { + "name": "gcIdx", + "type": "u32" + }, + { + "name": "consecutiveFeedFailureLimit", + "type": "u64" + }, + { + "name": "consecutiveOracleFailureLimit", + "type": "u64" + }, + { + "name": "unpermissionedFeedsEnabled", + "type": "bool" + }, + { + "name": "unpermissionedVrfEnabled", + "type": "bool" + }, + { + "name": "curatorRewardCut", + "type": { + "defined": "SwitchboardDecimal" + } + }, + { + "name": "lockLeaseFunding", + "type": "bool" + }, + { + "name": "mint", + "type": "publicKey" + }, + { + "name": "enableBufferRelayers", + "type": "bool" + }, + { + "name": "ebuf", + "type": { + "array": [ + "u8", + 968 + ] + } + }, + { + "name": "maxSize", + "type": "u32" + }, + { + "name": "dataBuffer", + "type": "publicKey" + } + ] + } + }, + { + "name": "CrankAccountData", + "type": { + "kind": "struct", + "fields": [ + { + "name": "name", + "type": { + "array": [ + "u8", + 32 + ] + } + }, + { + "name": "metadata", + "type": { + "array": [ + "u8", + 64 + ] + } + }, + { + "name": "queuePubkey", + "type": "publicKey" + }, + { + "name": "pqSize", + "type": "u32" + }, + { + "name": "maxRows", + "type": "u32" + }, + { + "name": "jitterModifier", + "type": "u8" + }, + { + "name": "ebuf", + "type": { + "array": [ + "u8", + 255 + ] + } + }, + { + "name": "dataBuffer", + "type": "publicKey" + } + ] + } + }, + { + "name": "OracleAccountData", + "type": { + "kind": "struct", + "fields": [ + { + "name": "name", + "type": { + "array": [ + "u8", + 32 + ] + } + }, + { + "name": "metadata", + "type": { + "array": [ + "u8", + 128 + ] + } + }, + { + "name": "oracleAuthority", + "type": "publicKey" + }, + { + "name": "lastHeartbeat", + "type": "i64" + }, + { + "name": "numInUse", + "type": "u32" + }, + { + "name": "tokenAccount", + "type": "publicKey" + }, + { + "name": "queuePubkey", + "type": "publicKey" + }, + { + "name": "metrics", + "type": { + "defined": "OracleMetrics" + } + }, + { + "name": "ebuf", + "type": { + "array": [ + "u8", + 256 + ] + } + } + ] + } + }, + { + "name": "JobAccountData", + "type": { + "kind": "struct", + "fields": [ + { + "name": "name", + "type": { + "array": [ + "u8", + 32 + ] + } + }, + { + "name": "metadata", + "type": { + "array": [ + "u8", + 64 + ] + } + }, + { + "name": "authority", + "type": "publicKey" + }, + { + "name": "expiration", + "type": "i64" + }, + { + "name": "hash", + "type": { + "array": [ + "u8", + 32 + ] + } + }, + { + "name": "data", + "type": "bytes" + }, + { + "name": "referenceCount", + "type": "u32" + }, + { + "name": "totalSpent", + "type": "u64" + }, + { + "name": "createdAt", + "type": "i64" + }, + { + "name": "isInitializing", + "type": "u8" + } + ] + } + }, + { + "name": "VrfAccountData", + "type": { + "kind": "struct", + "fields": [ + { + "name": "status", + "type": { + "defined": "VrfStatus" + } + }, + { + "name": "counter", + "type": "u128" + }, + { + "name": "authority", + "type": "publicKey" + }, + { + "name": "oracleQueue", + "type": "publicKey" + }, + { + "name": "escrow", + "type": "publicKey" + }, + { + "name": "callback", + "type": { + "defined": "CallbackZC" + } + }, + { + "name": "batchSize", + "type": "u32" + }, + { + "name": "builders", + "type": { + "array": [ + { + "defined": "VrfBuilder" + }, + 8 + ] + } + }, + { + "name": "buildersLen", + "type": "u32" + }, + { + "name": "testMode", + "type": "bool" + }, + { + "name": "currentRound", + "type": { + "defined": "VrfRound" + } + }, + { + "name": "ebuf", + "type": { + "array": [ + "u8", + 1024 + ] + } + } + ] + } + }, + { + "name": "BufferRelayerAccountData", + "type": { + "kind": "struct", + "fields": [ + { + "name": "name", + "type": { + "array": [ + "u8", + 32 + ] + } + }, + { + "name": "queuePubkey", + "type": "publicKey" + }, + { + "name": "escrow", + "type": "publicKey" + }, + { + "name": "authority", + "type": "publicKey" + }, + { + "name": "jobPubkey", + "type": "publicKey" + }, + { + "name": "jobHash", + "type": { + "array": [ + "u8", + 32 + ] + } + }, + { + "name": "minUpdateDelaySeconds", + "type": "u32" + }, + { + "name": "isLocked", + "type": "bool" + }, + { + "name": "currentRound", + "type": { + "defined": "BufferRelayerRound" + } + }, + { + "name": "latestConfirmedRound", + "type": { + "defined": "BufferRelayerRound" + } + }, + { + "name": "result", + "type": "bytes" + } + ] + } + } + ], + "types": [ + { + "name": "AggregatorAddJobParams", + "type": { + "kind": "struct", + "fields": [ + { + "name": "weight", + "type": { + "option": "u8" + } + } + ] + } + }, + { + "name": "AggregatorInitParams", + "type": { + "kind": "struct", + "fields": [ + { + "name": "name", + "type": { + "array": [ + "u8", + 32 + ] + } + }, + { + "name": "metadata", + "type": { + "array": [ + "u8", + 128 + ] + } + }, + { + "name": "batchSize", + "type": "u32" + }, + { + "name": "minOracleResults", + "type": "u32" + }, + { + "name": "minJobResults", + "type": "u32" + }, + { + "name": "minUpdateDelaySeconds", + "type": "u32" + }, + { + "name": "startAfter", + "type": "i64" + }, + { + "name": "varianceThreshold", + "type": { + "defined": "BorshDecimal" + } + }, + { + "name": "forceReportPeriod", + "type": "i64" + }, + { + "name": "expiration", + "type": "i64" + }, + { + "name": "stateBump", + "type": "u8" + }, + { + "name": "disableCrank", + "type": "bool" + } + ] + } + }, + { + "name": "AggregatorLockParams", + "type": { + "kind": "struct", + "fields": [] + } + }, + { + "name": "AggregatorOpenRoundParams", + "type": { + "kind": "struct", + "fields": [ + { + "name": "stateBump", + "type": "u8" + }, + { + "name": "leaseBump", + "type": "u8" + }, + { + "name": "permissionBump", + "type": "u8" + }, + { + "name": "jitter", + "type": "u8" + } + ] + } + }, + { + "name": "AggregatorRemoveJobParams", + "type": { + "kind": "struct", + "fields": [ + { + "name": "jobIdx", + "type": "u32" + } + ] + } + }, + { + "name": "AggregatorSaveResultParams", + "type": { + "kind": "struct", + "fields": [ + { + "name": "oracleIdx", + "type": "u32" + }, + { + "name": "error", + "type": "bool" + }, + { + "name": "value", + "type": { + "defined": "BorshDecimal" + } + }, + { + "name": "jobsChecksum", + "type": { + "array": [ + "u8", + 32 + ] + } + }, + { + "name": "minResponse", + "type": { + "defined": "BorshDecimal" + } + }, + { + "name": "maxResponse", + "type": { + "defined": "BorshDecimal" + } + }, + { + "name": "feedPermissionBump", + "type": "u8" + }, + { + "name": "oraclePermissionBump", + "type": "u8" + }, + { + "name": "leaseBump", + "type": "u8" + }, + { + "name": "stateBump", + "type": "u8" + } + ] + } + }, + { + "name": "AggregatorSetAuthorityParams", + "type": { + "kind": "struct", + "fields": [] + } + }, + { + "name": "AggregatorSetBatchSizeParams", + "type": { + "kind": "struct", + "fields": [ + { + "name": "batchSize", + "type": "u32" + } + ] + } + }, + { + "name": "AggregatorSetConfigParams", + "type": { + "kind": "struct", + "fields": [ + { + "name": "name", + "type": { + "option": { + "array": [ + "u8", + 32 + ] + } + } + }, + { + "name": "metadata", + "type": { + "option": { + "array": [ + "u8", + 128 + ] + } + } + }, + { + "name": "minUpdateDelaySeconds", + "type": { + "option": "u32" + } + }, + { + "name": "minJobResults", + "type": { + "option": "u32" + } + }, + { + "name": "batchSize", + "type": { + "option": "u32" + } + }, + { + "name": "minOracleResults", + "type": { + "option": "u32" + } + }, + { + "name": "forceReportPeriod", + "type": { + "option": "u32" + } + }, + { + "name": "varianceThreshold", + "type": { + "option": { + "defined": "BorshDecimal" + } + } + } + ] + } + }, + { + "name": "AggregatorSetForceReportPeriodParams", + "type": { + "kind": "struct", + "fields": [ + { + "name": "forceReportPeriod", + "type": "u32" + } + ] + } + }, + { + "name": "AggregatorSetHistoryBufferParams", + "type": { + "kind": "struct", + "fields": [] + } + }, + { + "name": "AggregatorSetMinJobsParams", + "type": { + "kind": "struct", + "fields": [ + { + "name": "minJobResults", + "type": "u32" + } + ] + } + }, + { + "name": "AggregatorSetMinOraclesParams", + "type": { + "kind": "struct", + "fields": [ + { + "name": "minOracleResults", + "type": "u32" + } + ] + } + }, + { + "name": "AggregatorSetQueueParams", + "type": { + "kind": "struct", + "fields": [] + } + }, + { + "name": "AggregatorSetUpdateIntervalParams", + "type": { + "kind": "struct", + "fields": [ + { + "name": "newInterval", + "type": "u32" + } + ] + } + }, + { + "name": "AggregatorSetVarianceThresholdParams", + "type": { + "kind": "struct", + "fields": [ + { + "name": "varianceThreshold", + "type": { + "defined": "BorshDecimal" + } + } + ] + } + }, + { + "name": "BufferRelayerInitParams", + "type": { + "kind": "struct", + "fields": [ + { + "name": "name", + "type": { + "array": [ + "u8", + 32 + ] + } + }, + { + "name": "minUpdateDelaySeconds", + "type": "u32" + }, + { + "name": "stateBump", + "type": "u8" + } + ] + } + }, + { + "name": "BufferRelayerOpenRoundParams", + "type": { + "kind": "struct", + "fields": [ + { + "name": "stateBump", + "type": "u8" + }, + { + "name": "permissionBump", + "type": "u8" + } + ] + } + }, + { + "name": "BufferRelayerSaveResultParams", + "type": { + "kind": "struct", + "fields": [ + { + "name": "stateBump", + "type": "u8" + }, + { + "name": "permissionBump", + "type": "u8" + }, + { + "name": "result", + "type": "bytes" + }, + { + "name": "success", + "type": "bool" + } + ] + } + }, + { + "name": "CrankInitParams", + "type": { + "kind": "struct", + "fields": [ + { + "name": "name", + "type": "bytes" + }, + { + "name": "metadata", + "type": "bytes" + }, + { + "name": "crankSize", + "type": "u32" + } + ] + } + }, + { + "name": "CrankPopParams", + "type": { + "kind": "struct", + "fields": [ + { + "name": "stateBump", + "type": "u8" + }, + { + "name": "leaseBumps", + "type": "bytes" + }, + { + "name": "permissionBumps", + "type": "bytes" + }, + { + "name": "nonce", + "type": { + "option": "u32" + } + }, + { + "name": "failOpenOnAccountMismatch", + "type": { + "option": "bool" + } + }, + { + "name": "popIdx", + "type": { + "option": "u32" + } + } + ] + } + }, + { + "name": "CrankPushParams", + "type": { + "kind": "struct", + "fields": [ + { + "name": "stateBump", + "type": "u8" + }, + { + "name": "permissionBump", + "type": "u8" + }, + { + "name": "notifiRef", + "type": { + "option": { + "array": [ + "u8", + 64 + ] + } + } + } + ] + } + }, + { + "name": "JobInitParams", + "type": { + "kind": "struct", + "fields": [ + { + "name": "name", + "type": { + "array": [ + "u8", + 32 + ] + } + }, + { + "name": "expiration", + "type": "i64" + }, + { + "name": "stateBump", + "type": "u8" + }, + { + "name": "data", + "type": "bytes" + }, + { + "name": "size", + "type": { + "option": "u32" + } + } + ] + } + }, + { + "name": "JobSetDataParams", + "type": { + "kind": "struct", + "fields": [ + { + "name": "data", + "type": "bytes" + }, + { + "name": "chunkIdx", + "type": "u8" + } + ] + } + }, + { + "name": "LeaseExtendParams", + "type": { + "kind": "struct", + "fields": [ + { + "name": "loadAmount", + "type": "u64" + }, + { + "name": "leaseBump", + "type": "u8" + }, + { + "name": "stateBump", + "type": "u8" + }, + { + "name": "walletBumps", + "type": "bytes" + } + ] + } + }, + { + "name": "LeaseInitParams", + "type": { + "kind": "struct", + "fields": [ + { + "name": "loadAmount", + "type": "u64" + }, + { + "name": "withdrawAuthority", + "type": "publicKey" + }, + { + "name": "leaseBump", + "type": "u8" + }, + { + "name": "stateBump", + "type": "u8" + }, + { + "name": "walletBumps", + "type": "bytes" + } + ] + } + }, + { + "name": "LeaseSetAuthorityParams", + "type": { + "kind": "struct", + "fields": [] + } + }, + { + "name": "LeaseWithdrawParams", + "type": { + "kind": "struct", + "fields": [ + { + "name": "stateBump", + "type": "u8" + }, + { + "name": "leaseBump", + "type": "u8" + }, + { + "name": "amount", + "type": "u64" + } + ] + } + }, + { + "name": "OracleHeartbeatParams", + "type": { + "kind": "struct", + "fields": [ + { + "name": "permissionBump", + "type": "u8" + } + ] + } + }, + { + "name": "OracleInitParams", + "type": { + "kind": "struct", + "fields": [ + { + "name": "name", + "type": "bytes" + }, + { + "name": "metadata", + "type": "bytes" + }, + { + "name": "stateBump", + "type": "u8" + }, + { + "name": "oracleBump", + "type": "u8" + } + ] + } + }, + { + "name": "OracleQueueInitParams", + "type": { + "kind": "struct", + "fields": [ + { + "name": "name", + "type": { + "array": [ + "u8", + 32 + ] + } + }, + { + "name": "metadata", + "type": { + "array": [ + "u8", + 64 + ] + } + }, + { + "name": "reward", + "type": "u64" + }, + { + "name": "minStake", + "type": "u64" + }, + { + "name": "feedProbationPeriod", + "type": "u32" + }, + { + "name": "oracleTimeout", + "type": "u32" + }, + { + "name": "slashingEnabled", + "type": "bool" + }, + { + "name": "varianceToleranceMultiplier", + "type": { + "defined": "BorshDecimal" + } + }, + { + "name": "consecutiveFeedFailureLimit", + "type": "u64" + }, + { + "name": "consecutiveOracleFailureLimit", + "type": "u64" + }, + { + "name": "queueSize", + "type": "u32" + }, + { + "name": "unpermissionedFeeds", + "type": "bool" + }, + { + "name": "unpermissionedVrf", + "type": "bool" + }, + { + "name": "enableBufferRelayers", + "type": "bool" + } + ] + } + }, + { + "name": "OracleQueueSetConfigParams", + "type": { + "kind": "struct", + "fields": [ + { + "name": "name", + "type": { + "option": { + "array": [ + "u8", + 32 + ] + } + } + }, + { + "name": "metadata", + "type": { + "option": { + "array": [ + "u8", + 64 + ] + } + } + }, + { + "name": "unpermissionedFeedsEnabled", + "type": { + "option": "bool" + } + }, + { + "name": "unpermissionedVrfEnabled", + "type": { + "option": "bool" + } + }, + { + "name": "enableBufferRelayers", + "type": { + "option": "bool" + } + }, + { + "name": "varianceToleranceMultiplier", + "type": { + "option": { + "defined": "BorshDecimal" + } + } + }, + { + "name": "slashingEnabled", + "type": { + "option": "bool" + } + }, + { + "name": "reward", + "type": { + "option": "u64" + } + }, + { + "name": "minStake", + "type": { + "option": "u64" + } + }, + { + "name": "oracleTimeout", + "type": { + "option": "u32" + } + }, + { + "name": "consecutiveFeedFailureLimit", + "type": { + "option": "u64" + } + }, + { + "name": "consecutiveOracleFailureLimit", + "type": { + "option": "u64" + } + } + ] + } + }, + { + "name": "OracleQueueSetRewardsParams", + "type": { + "kind": "struct", + "fields": [ + { + "name": "rewards", + "type": "u64" + } + ] + } + }, + { + "name": "OracleWithdrawParams", + "type": { + "kind": "struct", + "fields": [ + { + "name": "stateBump", + "type": "u8" + }, + { + "name": "permissionBump", + "type": "u8" + }, + { + "name": "amount", + "type": "u64" + } + ] + } + }, + { + "name": "PermissionInitParams", + "type": { + "kind": "struct", + "fields": [] + } + }, + { + "name": "PermissionSetParams", + "type": { + "kind": "struct", + "fields": [ + { + "name": "permission", + "type": { + "defined": "SwitchboardPermission" + } + }, + { + "name": "enable", + "type": "bool" + } + ] + } + }, + { + "name": "ProgramConfigParams", + "type": { + "kind": "struct", + "fields": [ + { + "name": "token", + "type": "publicKey" + }, + { + "name": "bump", + "type": "u8" + }, + { + "name": "daoMint", + "type": "publicKey" + } + ] + } + }, + { + "name": "ProgramInitParams", + "type": { + "kind": "struct", + "fields": [ + { + "name": "stateBump", + "type": "u8" + } + ] + } + }, + { + "name": "VaultTransferParams", + "type": { + "kind": "struct", + "fields": [ + { + "name": "stateBump", + "type": "u8" + }, + { + "name": "amount", + "type": "u64" + } + ] + } + }, + { + "name": "VrfInitParams", + "type": { + "kind": "struct", + "fields": [ + { + "name": "callback", + "type": { + "defined": "Callback" + } + }, + { + "name": "stateBump", + "type": "u8" + } + ] + } + }, + { + "name": "VrfProveParams", + "type": { + "kind": "struct", + "fields": [ + { + "name": "proof", + "type": "bytes" + }, + { + "name": "idx", + "type": "u32" + } + ] + } + }, + { + "name": "VrfProveAndVerifyParams", + "type": { + "kind": "struct", + "fields": [ + { + "name": "nonce", + "type": { + "option": "u32" + } + }, + { + "name": "stateBump", + "type": "u8" + }, + { + "name": "idx", + "type": "u32" + }, + { + "name": "proof", + "type": "bytes" + }, + { + "name": "proofEncoded", + "type": "string" + }, + { + "name": "counter", + "type": "u128" + } + ] + } + }, + { + "name": "VrfRequestRandomnessParams", + "type": { + "kind": "struct", + "fields": [ + { + "name": "permissionBump", + "type": "u8" + }, + { + "name": "stateBump", + "type": "u8" + } + ] + } + }, + { + "name": "VrfSetCallbackParams", + "type": { + "kind": "struct", + "fields": [ + { + "name": "callback", + "type": { + "defined": "Callback" + } + } + ] + } + }, + { + "name": "Callback", + "type": { + "kind": "struct", + "fields": [ + { + "name": "programId", + "type": "publicKey" + }, + { + "name": "accounts", + "type": { + "vec": { + "defined": "AccountMetaBorsh" + } + } + }, + { + "name": "ixData", + "type": "bytes" + } + ] + } + }, + { + "name": "EcvrfProofZC", + "type": { + "kind": "struct", + "fields": [ + { + "name": "gamma", + "type": { + "defined": "EdwardsPointZC" + } + }, + { + "name": "c", + "type": { + "defined": "Scalar" + } + }, + { + "name": "s", + "type": { + "defined": "Scalar" + } + } + ] + } + }, + { + "name": "Scalar", + "type": { + "kind": "struct", + "fields": [ + { + "name": "bytes", + "type": { + "array": [ + "u8", + 32 + ] + } + } + ] + } + }, + { + "name": "FieldElementZC", + "type": { + "kind": "struct", + "fields": [ + { + "name": "bytes", + "type": { + "array": [ + "u64", + 5 + ] + } + } + ] + } + }, + { + "name": "CompletedPointZC", + "type": { + "kind": "struct", + "fields": [ + { + "name": "x", + "type": { + "defined": "FieldElementZC" + } + }, + { + "name": "y", + "type": { + "defined": "FieldElementZC" + } + }, + { + "name": "z", + "type": { + "defined": "FieldElementZC" + } + }, + { + "name": "t", + "type": { + "defined": "FieldElementZC" + } + } + ] + } + }, + { + "name": "EdwardsPointZC", + "type": { + "kind": "struct", + "fields": [ + { + "name": "x", + "type": { + "defined": "FieldElementZC" + } + }, + { + "name": "y", + "type": { + "defined": "FieldElementZC" + } + }, + { + "name": "z", + "type": { + "defined": "FieldElementZC" + } + }, + { + "name": "t", + "type": { + "defined": "FieldElementZC" + } + } + ] + } + }, + { + "name": "ProjectivePointZC", + "type": { + "kind": "struct", + "fields": [ + { + "name": "x", + "type": { + "defined": "FieldElementZC" + } + }, + { + "name": "y", + "type": { + "defined": "FieldElementZC" + } + }, + { + "name": "z", + "type": { + "defined": "FieldElementZC" + } + } + ] + } + }, + { + "name": "EcvrfIntermediate", + "type": { + "kind": "struct", + "fields": [ + { + "name": "r", + "type": { + "defined": "FieldElementZC" + } + }, + { + "name": "nS", + "type": { + "defined": "FieldElementZC" + } + }, + { + "name": "d", + "type": { + "defined": "FieldElementZC" + } + }, + { + "name": "t13", + "type": { + "defined": "FieldElementZC" + } + }, + { + "name": "t15", + "type": { + "defined": "FieldElementZC" + } + } + ] + } + }, + { + "name": "Hash", + "type": { + "kind": "struct", + "fields": [ + { + "name": "data", + "type": { + "array": [ + "u8", + 32 + ] + } + } + ] + } + }, + { + "name": "AggregatorRound", + "type": { + "kind": "struct", + "fields": [ + { + "name": "numSuccess", + "type": "u32" + }, + { + "name": "numError", + "type": "u32" + }, + { + "name": "isClosed", + "type": "bool" + }, + { + "name": "roundOpenSlot", + "type": "u64" + }, + { + "name": "roundOpenTimestamp", + "type": "i64" + }, + { + "name": "result", + "type": { + "defined": "SwitchboardDecimal" + } + }, + { + "name": "stdDeviation", + "type": { + "defined": "SwitchboardDecimal" + } + }, + { + "name": "minResponse", + "type": { + "defined": "SwitchboardDecimal" + } + }, + { + "name": "maxResponse", + "type": { + "defined": "SwitchboardDecimal" + } + }, + { + "name": "oraclePubkeysData", + "type": { + "array": [ + "publicKey", + 16 + ] + } + }, + { + "name": "mediansData", + "type": { + "array": [ + { + "defined": "SwitchboardDecimal" + }, + 16 + ] + } + }, + { + "name": "currentPayout", + "type": { + "array": [ + "i64", + 16 + ] + } + }, + { + "name": "mediansFulfilled", + "type": { + "array": [ + "bool", + 16 + ] + } + }, + { + "name": "errorsFulfilled", + "type": { + "array": [ + "bool", + 16 + ] + } + } + ] + } + }, + { + "name": "AggregatorHistoryRow", + "type": { + "kind": "struct", + "fields": [ + { + "name": "timestamp", + "type": "i64" + }, + { + "name": "value", + "type": { + "defined": "SwitchboardDecimal" + } + } + ] + } + }, + { + "name": "SwitchboardDecimal", + "type": { + "kind": "struct", + "fields": [ + { + "name": "mantissa", + "type": "i128" + }, + { + "name": "scale", + "type": "u32" + } + ] + } + }, + { + "name": "CrankRow", + "type": { + "kind": "struct", + "fields": [ + { + "name": "pubkey", + "type": "publicKey" + }, + { + "name": "nextTimestamp", + "type": "i64" + } + ] + } + }, + { + "name": "OracleMetrics", + "type": { + "kind": "struct", + "fields": [ + { + "name": "consecutiveSuccess", + "type": "u64" + }, + { + "name": "consecutiveError", + "type": "u64" + }, + { + "name": "consecutiveDisagreement", + "type": "u64" + }, + { + "name": "consecutiveLateResponse", + "type": "u64" + }, + { + "name": "consecutiveFailure", + "type": "u64" + }, + { + "name": "totalSuccess", + "type": "u128" + }, + { + "name": "totalError", + "type": "u128" + }, + { + "name": "totalDisagreement", + "type": "u128" + }, + { + "name": "totalLateResponse", + "type": "u128" + } + ] + } + }, + { + "name": "VrfBuilder", + "type": { + "kind": "struct", + "fields": [ + { + "name": "producer", + "type": "publicKey" + }, + { + "name": "status", + "type": { + "defined": "VrfStatus" + } + }, + { + "name": "reprProof", + "type": { + "array": [ + "u8", + 80 + ] + } + }, + { + "name": "proof", + "type": { + "defined": "EcvrfProofZC" + } + }, + { + "name": "yPoint", + "type": "publicKey" + }, + { + "name": "stage", + "type": "u32" + }, + { + "name": "stage1Out", + "type": { + "defined": "EcvrfIntermediate" + } + }, + { + "name": "r1", + "type": { + "defined": "EdwardsPointZC" + } + }, + { + "name": "r2", + "type": { + "defined": "EdwardsPointZC" + } + }, + { + "name": "stage3Out", + "type": { + "defined": "EcvrfIntermediate" + } + }, + { + "name": "hPoint", + "type": { + "defined": "EdwardsPointZC" + } + }, + { + "name": "sReduced", + "type": { + "defined": "Scalar" + } + }, + { + "name": "yPointBuilder", + "type": { + "array": [ + { + "defined": "FieldElementZC" + }, + 3 + ] + } + }, + { + "name": "yRistrettoPoint", + "type": { + "defined": "EdwardsPointZC" + } + }, + { + "name": "mulRound", + "type": "u8" + }, + { + "name": "hashPointsRound", + "type": "u8" + }, + { + "name": "mulTmp1", + "type": { + "defined": "CompletedPointZC" + } + }, + { + "name": "uPoint1", + "type": { + "defined": "EdwardsPointZC" + } + }, + { + "name": "uPoint2", + "type": { + "defined": "EdwardsPointZC" + } + }, + { + "name": "vPoint1", + "type": { + "defined": "EdwardsPointZC" + } + }, + { + "name": "vPoint2", + "type": { + "defined": "EdwardsPointZC" + } + }, + { + "name": "uPoint", + "type": { + "defined": "EdwardsPointZC" + } + }, + { + "name": "vPoint", + "type": { + "defined": "EdwardsPointZC" + } + }, + { + "name": "u1", + "type": { + "defined": "FieldElementZC" + } + }, + { + "name": "u2", + "type": { + "defined": "FieldElementZC" + } + }, + { + "name": "invertee", + "type": { + "defined": "FieldElementZC" + } + }, + { + "name": "y", + "type": { + "defined": "FieldElementZC" + } + }, + { + "name": "z", + "type": { + "defined": "FieldElementZC" + } + }, + { + "name": "p1Bytes", + "type": { + "array": [ + "u8", + 32 + ] + } + }, + { + "name": "p2Bytes", + "type": { + "array": [ + "u8", + 32 + ] + } + }, + { + "name": "p3Bytes", + "type": { + "array": [ + "u8", + 32 + ] + } + }, + { + "name": "p4Bytes", + "type": { + "array": [ + "u8", + 32 + ] + } + }, + { + "name": "cPrimeHashbuf", + "type": { + "array": [ + "u8", + 16 + ] + } + }, + { + "name": "m1", + "type": { + "defined": "FieldElementZC" + } + }, + { + "name": "m2", + "type": { + "defined": "FieldElementZC" + } + }, + { + "name": "txRemaining", + "type": "u32" + }, + { + "name": "verified", + "type": "bool" + }, + { + "name": "result", + "type": { + "array": [ + "u8", + 32 + ] + } + } + ] + } + }, + { + "name": "AccountMetaZC", + "type": { + "kind": "struct", + "fields": [ + { + "name": "pubkey", + "type": "publicKey" + }, + { + "name": "isSigner", + "type": "bool" + }, + { + "name": "isWritable", + "type": "bool" + } + ] + } + }, + { + "name": "AccountMetaBorsh", + "type": { + "kind": "struct", + "fields": [ + { + "name": "pubkey", + "type": "publicKey" + }, + { + "name": "isSigner", + "type": "bool" + }, + { + "name": "isWritable", + "type": "bool" + } + ] + } + }, + { + "name": "CallbackZC", + "type": { + "kind": "struct", + "fields": [ + { + "name": "programId", + "type": "publicKey" + }, + { + "name": "accounts", + "type": { + "array": [ + { + "defined": "AccountMetaZC" + }, + 32 + ] + } + }, + { + "name": "accountsLen", + "type": "u32" + }, + { + "name": "ixData", + "type": { + "array": [ + "u8", + 1024 + ] + } + }, + { + "name": "ixDataLen", + "type": "u32" + } + ] + } + }, + { + "name": "VrfRound", + "type": { + "kind": "struct", + "fields": [ + { + "name": "alpha", + "type": { + "array": [ + "u8", + 256 + ] + } + }, + { + "name": "alphaLen", + "type": "u32" + }, + { + "name": "requestSlot", + "type": "u64" + }, + { + "name": "requestTimestamp", + "type": "i64" + }, + { + "name": "result", + "type": { + "array": [ + "u8", + 32 + ] + } + }, + { + "name": "numVerified", + "type": "u32" + }, + { + "name": "ebuf", + "type": { + "array": [ + "u8", + 256 + ] + } + } + ] + } + }, + { + "name": "BufferRelayerRound", + "type": { + "kind": "struct", + "fields": [ + { + "name": "numSuccess", + "type": "u32" + }, + { + "name": "numError", + "type": "u32" + }, + { + "name": "roundOpenSlot", + "type": "u64" + }, + { + "name": "roundOpenTimestamp", + "type": "i64" + }, + { + "name": "oraclePubkey", + "type": "publicKey" + } + ] + } + }, + { + "name": "BorshDecimal", + "type": { + "kind": "struct", + "fields": [ + { + "name": "mantissa", + "type": "i128" + }, + { + "name": "scale", + "type": "u32" + } + ] + } + }, + { + "name": "Lanes", + "type": { + "kind": "enum", + "variants": [ + { + "name": "C" + }, + { + "name": "D" + }, + { + "name": "AB" + }, + { + "name": "AC" + }, + { + "name": "CD" + }, + { + "name": "AD" + }, + { + "name": "BC" + }, + { + "name": "ABCD" + } + ] + } + }, + { + "name": "Shuffle", + "type": { + "kind": "enum", + "variants": [ + { + "name": "AAAA" + }, + { + "name": "BBBB" + }, + { + "name": "CACA" + }, + { + "name": "DBBD" + }, + { + "name": "ADDA" + }, + { + "name": "CBCB" + }, + { + "name": "ABAB" + }, + { + "name": "BADC" + }, + { + "name": "BACD" + }, + { + "name": "ABDC" + } + ] + } + }, + { + "name": "Shuffle", + "type": { + "kind": "enum", + "variants": [ + { + "name": "AAAA" + }, + { + "name": "BBBB" + }, + { + "name": "BADC" + }, + { + "name": "BACD" + }, + { + "name": "ADDA" + }, + { + "name": "CBCB" + }, + { + "name": "ABDC" + }, + { + "name": "ABAB" + }, + { + "name": "DBBD" + }, + { + "name": "CACA" + } + ] + } + }, + { + "name": "Lanes", + "type": { + "kind": "enum", + "variants": [ + { + "name": "D" + }, + { + "name": "C" + }, + { + "name": "AB" + }, + { + "name": "AC" + }, + { + "name": "AD" + }, + { + "name": "BCD" + } + ] + } + }, + { + "name": "Error", + "type": { + "kind": "enum", + "variants": [ + { + "name": "InvalidPublicKey" + }, + { + "name": "SerializationError" + }, + { + "name": "DeserializationError" + }, + { + "name": "InvalidDataError" + } + ] + } + }, + { + "name": "SwitchboardPermission", + "type": { + "kind": "enum", + "variants": [ + { + "name": "PermitOracleHeartbeat" + }, + { + "name": "PermitOracleQueueUsage" + }, + { + "name": "PermitVrfRequests" + } + ] + } + }, + { + "name": "OracleResponseType", + "type": { + "kind": "enum", + "variants": [ + { + "name": "TypeSuccess" + }, + { + "name": "TypeError" + }, + { + "name": "TypeDisagreement" + }, + { + "name": "TypeNoResponse" + } + ] + } + }, + { + "name": "VrfStatus", + "type": { + "kind": "enum", + "variants": [ + { + "name": "StatusNone" + }, + { + "name": "StatusRequesting" + }, + { + "name": "StatusVerifying" + }, + { + "name": "StatusVerified" + }, + { + "name": "StatusCallbackSuccess" + }, + { + "name": "StatusVerifyFailure" + } + ] + } + } + ], + "events": [ + { + "name": "AggregatorInitEvent", + "fields": [ + { + "name": "feedPubkey", + "type": "publicKey", + "index": false + } + ] + }, + { + "name": "VrfRequestRandomnessEvent", + "fields": [ + { + "name": "vrfPubkey", + "type": "publicKey", + "index": true + }, + { + "name": "oraclePubkeys", + "type": { + "vec": "publicKey" + }, + "index": false + }, + { + "name": "loadAmount", + "type": "u64", + "index": false + }, + { + "name": "existingAmount", + "type": "u64", + "index": false + }, + { + "name": "alpha", + "type": "bytes", + "index": false + }, + { + "name": "counter", + "type": "u128", + "index": false + } + ] + }, + { + "name": "VrfRequestEvent", + "fields": [ + { + "name": "vrfPubkey", + "type": "publicKey", + "index": true + }, + { + "name": "oraclePubkeys", + "type": { + "vec": "publicKey" + }, + "index": false + } + ] + }, + { + "name": "VrfProveEvent", + "fields": [ + { + "name": "vrfPubkey", + "type": "publicKey", + "index": true + }, + { + "name": "oraclePubkey", + "type": "publicKey", + "index": true + }, + { + "name": "authorityPubkey", + "type": "publicKey", + "index": false + } + ] + }, + { + "name": "VrfVerifyEvent", + "fields": [ + { + "name": "vrfPubkey", + "type": "publicKey", + "index": true + }, + { + "name": "oraclePubkey", + "type": "publicKey", + "index": true + }, + { + "name": "authorityPubkey", + "type": "publicKey", + "index": false + }, + { + "name": "amount", + "type": "u64", + "index": false + } + ] + }, + { + "name": "VrfCallbackPerformedEvent", + "fields": [ + { + "name": "vrfPubkey", + "type": "publicKey", + "index": true + }, + { + "name": "oraclePubkey", + "type": "publicKey", + "index": true + }, + { + "name": "amount", + "type": "u64", + "index": false + } + ] + }, + { + "name": "AggregatorOpenRoundEvent", + "fields": [ + { + "name": "feedPubkey", + "type": "publicKey", + "index": false + }, + { + "name": "oraclePubkeys", + "type": { + "vec": "publicKey" + }, + "index": false + }, + { + "name": "jobPubkeys", + "type": { + "vec": "publicKey" + }, + "index": false + }, + { + "name": "remainingFunds", + "type": "u64", + "index": false + }, + { + "name": "queueAuthority", + "type": "publicKey", + "index": false + } + ] + }, + { + "name": "AggregatorValueUpdateEvent", + "fields": [ + { + "name": "feedPubkey", + "type": "publicKey", + "index": false + }, + { + "name": "value", + "type": { + "defined": "BorshDecimal" + }, + "index": false + }, + { + "name": "slot", + "type": "u64", + "index": false + }, + { + "name": "timestamp", + "type": "i64", + "index": false + }, + { + "name": "oraclePubkeys", + "type": { + "vec": "publicKey" + }, + "index": false + }, + { + "name": "oracleValues", + "type": { + "vec": { + "defined": "BorshDecimal" + } + }, + "index": false + } + ] + }, + { + "name": "OracleRewardEvent", + "fields": [ + { + "name": "feedPubkey", + "type": "publicKey", + "index": false + }, + { + "name": "leasePubkey", + "type": "publicKey", + "index": false + }, + { + "name": "oraclePubkey", + "type": "publicKey", + "index": false + }, + { + "name": "walletPubkey", + "type": "publicKey", + "index": false + }, + { + "name": "amount", + "type": "u64", + "index": false + }, + { + "name": "roundSlot", + "type": "u64", + "index": false + }, + { + "name": "timestamp", + "type": "i64", + "index": false + } + ] + }, + { + "name": "OracleWithdrawEvent", + "fields": [ + { + "name": "oraclePubkey", + "type": "publicKey", + "index": false + }, + { + "name": "walletPubkey", + "type": "publicKey", + "index": false + }, + { + "name": "destinationWallet", + "type": "publicKey", + "index": false + }, + { + "name": "previousAmount", + "type": "u64", + "index": false + }, + { + "name": "newAmount", + "type": "u64", + "index": false + }, + { + "name": "timestamp", + "type": "i64", + "index": false + } + ] + }, + { + "name": "LeaseWithdrawEvent", + "fields": [ + { + "name": "leasePubkey", + "type": "publicKey", + "index": false + }, + { + "name": "walletPubkey", + "type": "publicKey", + "index": false + }, + { + "name": "previousAmount", + "type": "u64", + "index": false + }, + { + "name": "newAmount", + "type": "u64", + "index": false + }, + { + "name": "timestamp", + "type": "i64", + "index": false + } + ] + }, + { + "name": "OracleSlashEvent", + "fields": [ + { + "name": "feedPubkey", + "type": "publicKey", + "index": false + }, + { + "name": "leasePubkey", + "type": "publicKey", + "index": false + }, + { + "name": "oraclePubkey", + "type": "publicKey", + "index": false + }, + { + "name": "walletPubkey", + "type": "publicKey", + "index": false + }, + { + "name": "amount", + "type": "u64", + "index": false + }, + { + "name": "roundSlot", + "type": "u64", + "index": false + }, + { + "name": "timestamp", + "type": "i64", + "index": false + } + ] + }, + { + "name": "LeaseFundEvent", + "fields": [ + { + "name": "leasePubkey", + "type": "publicKey", + "index": false + }, + { + "name": "funder", + "type": "publicKey", + "index": false + }, + { + "name": "amount", + "type": "u64", + "index": false + }, + { + "name": "timestamp", + "type": "i64", + "index": false + } + ] + }, + { + "name": "ProbationBrokenEvent", + "fields": [ + { + "name": "feedPubkey", + "type": "publicKey", + "index": false + }, + { + "name": "queuePubkey", + "type": "publicKey", + "index": false + }, + { + "name": "timestamp", + "type": "i64", + "index": false + } + ] + }, + { + "name": "FeedPermissionRevokedEvent", + "fields": [ + { + "name": "feedPubkey", + "type": "publicKey", + "index": false + }, + { + "name": "timestamp", + "type": "i64", + "index": false + } + ] + }, + { + "name": "GarbageCollectFailureEvent", + "fields": [ + { + "name": "queuePubkey", + "type": "publicKey", + "index": false + } + ] + }, + { + "name": "OracleBootedEvent", + "fields": [ + { + "name": "queuePubkey", + "type": "publicKey", + "index": false + }, + { + "name": "oraclePubkey", + "type": "publicKey", + "index": false + } + ] + }, + { + "name": "AggregatorCrankEvictionEvent", + "fields": [ + { + "name": "crankPubkey", + "type": "publicKey", + "index": false + }, + { + "name": "aggregatorPubkey", + "type": "publicKey", + "index": true + }, + { + "name": "reason", + "type": { + "option": "u32" + }, + "index": false + }, + { + "name": "timestamp", + "type": "i64", + "index": false + } + ] + }, + { + "name": "CrankLeaseInsufficientFundsEvent", + "fields": [ + { + "name": "feedPubkey", + "type": "publicKey", + "index": false + }, + { + "name": "leasePubkey", + "type": "publicKey", + "index": false + } + ] + }, + { + "name": "CrankPopExpectedFailureEvent", + "fields": [ + { + "name": "feedPubkey", + "type": "publicKey", + "index": false + }, + { + "name": "leasePubkey", + "type": "publicKey", + "index": false + } + ] + }, + { + "name": "BufferRelayerOpenRoundEvent", + "fields": [ + { + "name": "relayerPubkey", + "type": "publicKey", + "index": false + }, + { + "name": "jobPubkey", + "type": "publicKey", + "index": false + }, + { + "name": "oraclePubkeys", + "type": { + "vec": "publicKey" + }, + "index": false + }, + { + "name": "remainingFunds", + "type": "u64", + "index": false + }, + { + "name": "queue", + "type": "publicKey", + "index": false + } + ] + } + ], + "errors": [ + { + "code": 6000, + "name": "ArrayOperationError", + "msg": "Illegal operation on a Switchboard array." + }, + { + "code": 6001, + "name": "QueueOperationError", + "msg": "Illegal operation on a Switchboard queue." + }, + { + "code": 6002, + "name": "IncorrectProgramOwnerError", + "msg": "An account required to be owned by the program has a different owner." + }, + { + "code": 6003, + "name": "InvalidAggregatorRound", + "msg": "Aggregator is not currently populated with a valid round." + }, + { + "code": 6004, + "name": "TooManyAggregatorJobs", + "msg": "Aggregator cannot fit any more jobs." + }, + { + "code": 6005, + "name": "AggregatorCurrentRoundClosed", + "msg": "Aggregator's current round is closed. No results are being accepted." + }, + { + "code": 6006, + "name": "AggregatorInvalidSaveResult", + "msg": "Aggregator received an invalid save result instruction." + }, + { + "code": 6007, + "name": "InvalidStrDecimalConversion", + "msg": "Failed to convert string to decimal format." + }, + { + "code": 6008, + "name": "AccountLoaderMissingSignature", + "msg": "AccountLoader account is missing a required signature." + }, + { + "code": 6009, + "name": "MissingRequiredSignature", + "msg": "Account is missing a required signature." + }, + { + "code": 6010, + "name": "ArrayOverflowError", + "msg": "The attempted action will overflow a zero-copy account array." + }, + { + "code": 6011, + "name": "ArrayUnderflowError", + "msg": "The attempted action will underflow a zero-copy account array." + }, + { + "code": 6012, + "name": "PubkeyNotFoundError", + "msg": "The queried public key was not found." + }, + { + "code": 6013, + "name": "AggregatorIllegalRoundOpenCall", + "msg": "Aggregator round open called too early." + }, + { + "code": 6014, + "name": "AggregatorIllegalRoundCloseCall", + "msg": "Aggregator round close called too early." + }, + { + "code": 6015, + "name": "AggregatorClosedError", + "msg": "Aggregator is closed. Illegal action." + }, + { + "code": 6016, + "name": "IllegalOracleIdxError", + "msg": "Illegal oracle index." + }, + { + "code": 6017, + "name": "OracleAlreadyRespondedError", + "msg": "The provided oracle has already responded this round." + }, + { + "code": 6018, + "name": "ProtoDeserializeError", + "msg": "Failed to deserialize protocol buffer." + }, + { + "code": 6019, + "name": "UnauthorizedStateUpdateError", + "msg": "Unauthorized program state modification attempted." + }, + { + "code": 6020, + "name": "MissingOracleAccountsError", + "msg": "Not enough oracle accounts provided to closeRounds." + }, + { + "code": 6021, + "name": "OracleMismatchError", + "msg": "An unexpected oracle account was provided for the transaction." + }, + { + "code": 6022, + "name": "CrankMaxCapacityError", + "msg": "Attempted to push to a Crank that's at capacity" + }, + { + "code": 6023, + "name": "AggregatorLeaseInsufficientFunds", + "msg": "Aggregator update call attempted but attached lease has insufficient funds." + }, + { + "code": 6024, + "name": "IncorrectTokenAccountMint", + "msg": "The provided token account does not point to the Switchboard token mint." + }, + { + "code": 6025, + "name": "InvalidEscrowAccount", + "msg": "An invalid escrow account was provided." + }, + { + "code": 6026, + "name": "CrankEmptyError", + "msg": "Crank empty. Pop failed." + }, + { + "code": 6027, + "name": "PdaDeriveError", + "msg": "Failed to derive a PDA from the provided seed." + }, + { + "code": 6028, + "name": "AggregatorAccountNotFound", + "msg": "Aggregator account missing from provided account list." + }, + { + "code": 6029, + "name": "PermissionAccountNotFound", + "msg": "Permission account missing from provided account list." + }, + { + "code": 6030, + "name": "LeaseAccountDeriveFailure", + "msg": "Failed to derive a lease account." + }, + { + "code": 6031, + "name": "PermissionAccountDeriveFailure", + "msg": "Failed to derive a permission account." + }, + { + "code": 6032, + "name": "EscrowAccountNotFound", + "msg": "Escrow account missing from provided account list." + }, + { + "code": 6033, + "name": "LeaseAccountNotFound", + "msg": "Lease account missing from provided account list." + }, + { + "code": 6034, + "name": "DecimalConversionError", + "msg": "Decimal conversion method failed." + }, + { + "code": 6035, + "name": "PermissionDenied", + "msg": "Permission account is missing required flags for the given action." + }, + { + "code": 6036, + "name": "QueueAtCapacity", + "msg": "Oracle queue is at lease capacity." + }, + { + "code": 6037, + "name": "ExcessiveCrankRowsError", + "msg": "Data feed is already pushed on a crank." + }, + { + "code": 6038, + "name": "AggregatorLockedError", + "msg": "Aggregator is locked, no setting modifications or job additions allowed." + }, + { + "code": 6039, + "name": "AggregatorInvalidBatchSizeError", + "msg": "Aggregator invalid batch size." + }, + { + "code": 6040, + "name": "AggregatorJobChecksumMismatch", + "msg": "Oracle provided an incorrect aggregator job checksum." + }, + { + "code": 6041, + "name": "IntegerOverflowError", + "msg": "An integer overflow occurred." + }, + { + "code": 6042, + "name": "InvalidUpdatePeriodError", + "msg": "Minimum update period is 5 seconds." + }, + { + "code": 6043, + "name": "NoResultsError", + "msg": "Aggregator round evaluation attempted with no results." + }, + { + "code": 6044, + "name": "InvalidExpirationError", + "msg": "An expiration constraint was broken." + }, + { + "code": 6045, + "name": "InsufficientStakeError", + "msg": "An account provided insufficient stake for action." + }, + { + "code": 6046, + "name": "LeaseInactiveError", + "msg": "The provided lease account is not active." + }, + { + "code": 6047, + "name": "NoAggregatorJobsFound", + "msg": "No jobs are currently included in the aggregator." + }, + { + "code": 6048, + "name": "IntegerUnderflowError", + "msg": "An integer underflow occurred." + }, + { + "code": 6049, + "name": "OracleQueueMismatch", + "msg": "An invalid oracle queue account was provided." + }, + { + "code": 6050, + "name": "OracleWalletMismatchError", + "msg": "An unexpected oracle wallet account was provided for the transaction." + }, + { + "code": 6051, + "name": "InvalidBufferAccountError", + "msg": "An invalid buffer account was provided." + }, + { + "code": 6052, + "name": "InsufficientOracleQueueError", + "msg": "Insufficient oracle queue size." + }, + { + "code": 6053, + "name": "InvalidAuthorityError", + "msg": "Invalid authority account provided." + }, + { + "code": 6054, + "name": "InvalidTokenAccountMintError", + "msg": "A provided token wallet is associated with an incorrect mint." + }, + { + "code": 6055, + "name": "ExcessiveLeaseWithdrawlError", + "msg": "You must leave enough funds to perform at least 1 update in the lease." + }, + { + "code": 6056, + "name": "InvalideHistoryAccountError", + "msg": "Invalid history account provided." + }, + { + "code": 6057, + "name": "InvalidLeaseAccountEscrowError", + "msg": "Invalid lease account escrow." + }, + { + "code": 6058, + "name": "InvalidCrankAccountError", + "msg": "Invalid crank provided." + }, + { + "code": 6059, + "name": "CrankNoElementsReadyError", + "msg": "No elements ready to be popped." + }, + { + "code": 6060, + "name": "IndexOutOfBoundsError", + "msg": "Index out of bounds" + }, + { + "code": 6061, + "name": "VrfInvalidRequestError", + "msg": "Invalid vrf request params" + }, + { + "code": 6062, + "name": "VrfInvalidProofSubmissionError", + "msg": "Vrf proof failed to verify" + }, + { + "code": 6063, + "name": "VrfVerifyError", + "msg": "Error in verifying vrf proof." + }, + { + "code": 6064, + "name": "VrfCallbackError", + "msg": "Vrf callback function failed." + }, + { + "code": 6065, + "name": "VrfCallbackParamsError", + "msg": "Invalid vrf callback params provided." + }, + { + "code": 6066, + "name": "VrfCallbackAlreadyCalledError", + "msg": "Vrf callback has already been triggered." + }, + { + "code": 6067, + "name": "VrfInvalidPubkeyError", + "msg": "The provided pubkey is invalid to use in ecvrf proofs" + }, + { + "code": 6068, + "name": "VrfTooManyVerifyCallsError", + "msg": "Number of required verify calls exceeded" + }, + { + "code": 6069, + "name": "VrfRequestAlreadyLaunchedError", + "msg": "Vrf request is already pending" + }, + { + "code": 6070, + "name": "VrfInsufficientVerificationError", + "msg": "Insufficient amount of proofs collected for VRF callback" + }, + { + "code": 6071, + "name": "InvalidVrfProducerError", + "msg": "An incorrect oracle attempted to submit a proof" + }, + { + "code": 6072, + "name": "InvalidGovernancePidError", + "msg": "Invalid SPLGovernance Account Supplied" + }, + { + "code": 6073, + "name": "InvalidGovernanceAccountError", + "msg": "An Invalid Governance Account was supplied" + }, + { + "code": 6074, + "name": "MissingOptionalAccount", + "msg": "Expected an optional account" + }, + { + "code": 6075, + "name": "InvalidSpawnRecordOwner", + "msg": "Invalid Owner for Spawn Record" + }, + { + "code": 6076, + "name": "NoopError", + "msg": "Noop error" + }, + { + "code": 6077, + "name": "MissingRequiredAccountsError", + "msg": "A required instruction account was not included" + }, + { + "code": 6078, + "name": "InvalidMintError", + "msg": "Invalid mint account passed for instruction" + }, + { + "code": 6079, + "name": "InvalidTokenAccountKeyError", + "msg": "An invalid token account was passed into the instruction" + }, + { + "code": 6080, + "name": "InvalidJobAccountError", + "msg": "" + }, + { + "code": 6081, + "name": "VoterStakeRegistryError", + "msg": "" + }, + { + "code": 6082, + "name": "AccountDiscriminatorMismatch", + "msg": "Account discriminator did not match." + }, + { + "code": 6083, + "name": "FuckingImpossibleError", + "msg": "This error is fucking impossible." + }, + { + "code": 6084, + "name": "InvalidVrfRound", + "msg": "Responding to the wrong VRF round" + }, + { + "code": 6085, + "name": "JobSizeExceeded", + "msg": "Job size has exceeded the max of 6400 bytes" + }, + { + "code": 6086, + "name": "JobChunksExceeded", + "msg": "Job loading can only support a maximum of 8 chunks" + }, + { + "code": 6087, + "name": "JobDataLocked", + "msg": "Job has finished initializing and is immutable" + }, + { + "code": 6088, + "name": "JobNotInitialized", + "msg": "Job account has not finished initializing" + }, + { + "code": 6089, + "name": "BufferRelayerIllegalRoundOpenCall", + "msg": "BufferRelayer round open called too early." + } + ] +} \ No newline at end of file diff --git a/sbv2.mainnet.json b/sbv2.mainnet.json new file mode 100644 index 0000000..7ba1199 --- /dev/null +++ b/sbv2.mainnet.json @@ -0,0 +1,5438 @@ +{ + "version": "0.1.0", + "name": "switchboard_v2", + "instructions": [ + { + "name": "aggregatorAddJob", + "accounts": [ + { + "name": "aggregator", + "isMut": true, + "isSigner": false + }, + { + "name": "authority", + "isMut": false, + "isSigner": true + }, + { + "name": "job", + "isMut": true, + "isSigner": false + } + ], + "args": [ + { + "name": "params", + "type": { + "defined": "AggregatorAddJobParams" + } + } + ] + }, + { + "name": "aggregatorInit", + "accounts": [ + { + "name": "aggregator", + "isMut": true, + "isSigner": false + }, + { + "name": "authority", + "isMut": false, + "isSigner": false + }, + { + "name": "queue", + "isMut": false, + "isSigner": false + }, + { + "name": "programState", + "isMut": false, + "isSigner": false + } + ], + "args": [ + { + "name": "params", + "type": { + "defined": "AggregatorInitParams" + } + } + ] + }, + { + "name": "aggregatorLock", + "accounts": [ + { + "name": "aggregator", + "isMut": true, + "isSigner": false + }, + { + "name": "authority", + "isMut": false, + "isSigner": true + } + ], + "args": [ + { + "name": "params", + "type": { + "defined": "AggregatorLockParams" + } + } + ] + }, + { + "name": "aggregatorOpenRound", + "accounts": [ + { + "name": "aggregator", + "isMut": true, + "isSigner": false + }, + { + "name": "lease", + "isMut": true, + "isSigner": false + }, + { + "name": "oracleQueue", + "isMut": true, + "isSigner": false + }, + { + "name": "queueAuthority", + "isMut": false, + "isSigner": false + }, + { + "name": "permission", + "isMut": true, + "isSigner": false + }, + { + "name": "escrow", + "isMut": true, + "isSigner": false + }, + { + "name": "programState", + "isMut": false, + "isSigner": false + }, + { + "name": "payoutWallet", + "isMut": true, + "isSigner": false + }, + { + "name": "tokenProgram", + "isMut": false, + "isSigner": false + }, + { + "name": "dataBuffer", + "isMut": false, + "isSigner": false + }, + { + "name": "mint", + "isMut": false, + "isSigner": false + } + ], + "args": [ + { + "name": "params", + "type": { + "defined": "AggregatorOpenRoundParams" + } + } + ] + }, + { + "name": "aggregatorRemoveJob", + "accounts": [ + { + "name": "aggregator", + "isMut": true, + "isSigner": false + }, + { + "name": "authority", + "isMut": false, + "isSigner": true + }, + { + "name": "job", + "isMut": true, + "isSigner": false + } + ], + "args": [ + { + "name": "params", + "type": { + "defined": "AggregatorRemoveJobParams" + } + } + ] + }, + { + "name": "aggregatorSaveResult", + "accounts": [ + { + "name": "aggregator", + "isMut": true, + "isSigner": false + }, + { + "name": "oracle", + "isMut": true, + "isSigner": false + }, + { + "name": "oracleAuthority", + "isMut": false, + "isSigner": true + }, + { + "name": "oracleQueue", + "isMut": false, + "isSigner": false + }, + { + "name": "queueAuthority", + "isMut": false, + "isSigner": false + }, + { + "name": "feedPermission", + "isMut": true, + "isSigner": false + }, + { + "name": "oraclePermission", + "isMut": false, + "isSigner": false + }, + { + "name": "lease", + "isMut": true, + "isSigner": false + }, + { + "name": "escrow", + "isMut": true, + "isSigner": false + }, + { + "name": "tokenProgram", + "isMut": false, + "isSigner": false + }, + { + "name": "programState", + "isMut": false, + "isSigner": false + }, + { + "name": "historyBuffer", + "isMut": true, + "isSigner": false + }, + { + "name": "mint", + "isMut": false, + "isSigner": false + } + ], + "args": [ + { + "name": "params", + "type": { + "defined": "AggregatorSaveResultParams" + } + } + ] + }, + { + "name": "aggregatorSetAuthority", + "accounts": [ + { + "name": "aggregator", + "isMut": true, + "isSigner": false + }, + { + "name": "authority", + "isMut": false, + "isSigner": true + }, + { + "name": "newAuthority", + "isMut": false, + "isSigner": false + } + ], + "args": [ + { + "name": "params", + "type": { + "defined": "AggregatorSetAuthorityParams" + } + } + ] + }, + { + "name": "aggregatorSetConfig", + "accounts": [ + { + "name": "aggregator", + "isMut": true, + "isSigner": false + }, + { + "name": "authority", + "isMut": false, + "isSigner": true + } + ], + "args": [ + { + "name": "params", + "type": { + "defined": "AggregatorSetConfigParams" + } + } + ] + }, + { + "name": "aggregatorSetHistoryBuffer", + "accounts": [ + { + "name": "aggregator", + "isMut": true, + "isSigner": false + }, + { + "name": "authority", + "isMut": false, + "isSigner": true + }, + { + "name": "buffer", + "isMut": true, + "isSigner": false + } + ], + "args": [ + { + "name": "params", + "type": { + "defined": "AggregatorSetHistoryBufferParams" + } + } + ] + }, + { + "name": "aggregatorSetQueue", + "accounts": [ + { + "name": "aggregator", + "isMut": true, + "isSigner": false + }, + { + "name": "authority", + "isMut": false, + "isSigner": true + }, + { + "name": "queue", + "isMut": false, + "isSigner": false + } + ], + "args": [ + { + "name": "params", + "type": { + "defined": "AggregatorSetQueueParams" + } + } + ] + }, + { + "name": "crankInit", + "accounts": [ + { + "name": "crank", + "isMut": true, + "isSigner": true + }, + { + "name": "queue", + "isMut": false, + "isSigner": false + }, + { + "name": "buffer", + "isMut": true, + "isSigner": false + }, + { + "name": "payer", + "isMut": true, + "isSigner": true + }, + { + "name": "systemProgram", + "isMut": false, + "isSigner": false + } + ], + "args": [ + { + "name": "params", + "type": { + "defined": "CrankInitParams" + } + } + ] + }, + { + "name": "bufferRelayerInit", + "accounts": [ + { + "name": "bufferRelayer", + "isMut": true, + "isSigner": false + }, + { + "name": "escrow", + "isMut": true, + "isSigner": false + }, + { + "name": "authority", + "isMut": false, + "isSigner": false + }, + { + "name": "queue", + "isMut": false, + "isSigner": false + }, + { + "name": "job", + "isMut": false, + "isSigner": false + }, + { + "name": "programState", + "isMut": false, + "isSigner": false + }, + { + "name": "mint", + "isMut": false, + "isSigner": false + }, + { + "name": "payer", + "isMut": true, + "isSigner": true + }, + { + "name": "tokenProgram", + "isMut": false, + "isSigner": false + }, + { + "name": "associatedTokenProgram", + "isMut": false, + "isSigner": false + }, + { + "name": "systemProgram", + "isMut": false, + "isSigner": false + }, + { + "name": "rent", + "isMut": false, + "isSigner": false + } + ], + "args": [ + { + "name": "params", + "type": { + "defined": "BufferRelayerInitParams" + } + } + ] + }, + { + "name": "bufferRelayerOpenRound", + "accounts": [ + { + "name": "bufferRelayer", + "isMut": true, + "isSigner": false + }, + { + "name": "oracleQueue", + "isMut": true, + "isSigner": false + }, + { + "name": "dataBuffer", + "isMut": true, + "isSigner": false + }, + { + "name": "permission", + "isMut": true, + "isSigner": false + }, + { + "name": "escrow", + "isMut": true, + "isSigner": false + }, + { + "name": "programState", + "isMut": false, + "isSigner": false + } + ], + "args": [ + { + "name": "params", + "type": { + "defined": "BufferRelayerOpenRoundParams" + } + } + ] + }, + { + "name": "bufferRelayerSaveResult", + "accounts": [ + { + "name": "bufferRelayer", + "isMut": true, + "isSigner": false + }, + { + "name": "oracleAuthority", + "isMut": false, + "isSigner": true + }, + { + "name": "oracle", + "isMut": false, + "isSigner": false + }, + { + "name": "oracleQueue", + "isMut": true, + "isSigner": false + }, + { + "name": "dataBuffer", + "isMut": true, + "isSigner": false + }, + { + "name": "queueAuthority", + "isMut": false, + "isSigner": false + }, + { + "name": "permission", + "isMut": true, + "isSigner": false + }, + { + "name": "escrow", + "isMut": true, + "isSigner": false + }, + { + "name": "oracleWallet", + "isMut": true, + "isSigner": false + }, + { + "name": "programState", + "isMut": false, + "isSigner": false + }, + { + "name": "tokenProgram", + "isMut": false, + "isSigner": false + } + ], + "args": [ + { + "name": "params", + "type": { + "defined": "BufferRelayerSaveResultParams" + } + } + ] + }, + { + "name": "crankPop", + "accounts": [ + { + "name": "crank", + "isMut": true, + "isSigner": false + }, + { + "name": "oracleQueue", + "isMut": true, + "isSigner": false + }, + { + "name": "queueAuthority", + "isMut": false, + "isSigner": false + }, + { + "name": "programState", + "isMut": false, + "isSigner": false + }, + { + "name": "payoutWallet", + "isMut": true, + "isSigner": false + }, + { + "name": "tokenProgram", + "isMut": false, + "isSigner": false + }, + { + "name": "crankDataBuffer", + "isMut": true, + "isSigner": false + }, + { + "name": "queueDataBuffer", + "isMut": false, + "isSigner": false + }, + { + "name": "mint", + "isMut": false, + "isSigner": false + } + ], + "args": [ + { + "name": "params", + "type": { + "defined": "CrankPopParams" + } + } + ] + }, + { + "name": "crankPush", + "accounts": [ + { + "name": "crank", + "isMut": true, + "isSigner": false + }, + { + "name": "aggregator", + "isMut": true, + "isSigner": false + }, + { + "name": "oracleQueue", + "isMut": true, + "isSigner": false + }, + { + "name": "queueAuthority", + "isMut": false, + "isSigner": false + }, + { + "name": "permission", + "isMut": false, + "isSigner": false + }, + { + "name": "lease", + "isMut": true, + "isSigner": false + }, + { + "name": "escrow", + "isMut": true, + "isSigner": false + }, + { + "name": "programState", + "isMut": false, + "isSigner": false + }, + { + "name": "dataBuffer", + "isMut": true, + "isSigner": false + } + ], + "args": [ + { + "name": "params", + "type": { + "defined": "CrankPushParams" + } + } + ] + }, + { + "name": "jobInit", + "accounts": [ + { + "name": "job", + "isMut": true, + "isSigner": true + }, + { + "name": "authority", + "isMut": false, + "isSigner": true + }, + { + "name": "programState", + "isMut": false, + "isSigner": false + }, + { + "name": "payer", + "isMut": true, + "isSigner": true + }, + { + "name": "systemProgram", + "isMut": false, + "isSigner": false + } + ], + "args": [ + { + "name": "params", + "type": { + "defined": "JobInitParams" + } + } + ] + }, + { + "name": "jobSetData", + "accounts": [ + { + "name": "job", + "isMut": true, + "isSigner": false + }, + { + "name": "authority", + "isMut": false, + "isSigner": true + } + ], + "args": [ + { + "name": "params", + "type": { + "defined": "JobSetDataParams" + } + } + ] + }, + { + "name": "leaseExtend", + "accounts": [ + { + "name": "lease", + "isMut": true, + "isSigner": false + }, + { + "name": "aggregator", + "isMut": false, + "isSigner": false + }, + { + "name": "queue", + "isMut": false, + "isSigner": false + }, + { + "name": "funder", + "isMut": true, + "isSigner": false + }, + { + "name": "owner", + "isMut": true, + "isSigner": true + }, + { + "name": "escrow", + "isMut": true, + "isSigner": false + }, + { + "name": "tokenProgram", + "isMut": false, + "isSigner": false + }, + { + "name": "programState", + "isMut": false, + "isSigner": false + }, + { + "name": "mint", + "isMut": false, + "isSigner": false + } + ], + "args": [ + { + "name": "params", + "type": { + "defined": "LeaseExtendParams" + } + } + ] + }, + { + "name": "leaseInit", + "accounts": [ + { + "name": "lease", + "isMut": true, + "isSigner": false + }, + { + "name": "queue", + "isMut": true, + "isSigner": false + }, + { + "name": "aggregator", + "isMut": false, + "isSigner": false + }, + { + "name": "funder", + "isMut": true, + "isSigner": false + }, + { + "name": "payer", + "isMut": true, + "isSigner": true + }, + { + "name": "systemProgram", + "isMut": false, + "isSigner": false + }, + { + "name": "tokenProgram", + "isMut": false, + "isSigner": false + }, + { + "name": "owner", + "isMut": true, + "isSigner": true + }, + { + "name": "escrow", + "isMut": true, + "isSigner": false + }, + { + "name": "programState", + "isMut": false, + "isSigner": false + }, + { + "name": "mint", + "isMut": false, + "isSigner": false + } + ], + "args": [ + { + "name": "params", + "type": { + "defined": "LeaseInitParams" + } + } + ] + }, + { + "name": "leaseSetAuthority", + "accounts": [ + { + "name": "lease", + "isMut": true, + "isSigner": false + }, + { + "name": "withdrawAuthority", + "isMut": false, + "isSigner": true + }, + { + "name": "newAuthority", + "isMut": false, + "isSigner": false + } + ], + "args": [ + { + "name": "params", + "type": { + "defined": "LeaseSetAuthorityParams" + } + } + ] + }, + { + "name": "leaseWithdraw", + "accounts": [ + { + "name": "lease", + "isMut": true, + "isSigner": false + }, + { + "name": "escrow", + "isMut": true, + "isSigner": false + }, + { + "name": "aggregator", + "isMut": false, + "isSigner": false + }, + { + "name": "queue", + "isMut": false, + "isSigner": false + }, + { + "name": "withdrawAuthority", + "isMut": false, + "isSigner": true + }, + { + "name": "withdrawAccount", + "isMut": true, + "isSigner": false + }, + { + "name": "tokenProgram", + "isMut": false, + "isSigner": false + }, + { + "name": "programState", + "isMut": false, + "isSigner": false + }, + { + "name": "mint", + "isMut": false, + "isSigner": false + } + ], + "args": [ + { + "name": "params", + "type": { + "defined": "LeaseWithdrawParams" + } + } + ] + }, + { + "name": "oracleHeartbeat", + "accounts": [ + { + "name": "oracle", + "isMut": true, + "isSigner": false + }, + { + "name": "oracleAuthority", + "isMut": false, + "isSigner": true + }, + { + "name": "tokenAccount", + "isMut": false, + "isSigner": false + }, + { + "name": "gcOracle", + "isMut": true, + "isSigner": false + }, + { + "name": "oracleQueue", + "isMut": true, + "isSigner": false + }, + { + "name": "permission", + "isMut": false, + "isSigner": false + }, + { + "name": "dataBuffer", + "isMut": true, + "isSigner": false + } + ], + "args": [ + { + "name": "params", + "type": { + "defined": "OracleHeartbeatParams" + } + } + ] + }, + { + "name": "oracleInit", + "accounts": [ + { + "name": "oracle", + "isMut": true, + "isSigner": false + }, + { + "name": "oracleAuthority", + "isMut": false, + "isSigner": false + }, + { + "name": "wallet", + "isMut": false, + "isSigner": false + }, + { + "name": "programState", + "isMut": false, + "isSigner": false + }, + { + "name": "queue", + "isMut": false, + "isSigner": false + }, + { + "name": "payer", + "isMut": true, + "isSigner": true + }, + { + "name": "systemProgram", + "isMut": false, + "isSigner": false + } + ], + "args": [ + { + "name": "params", + "type": { + "defined": "OracleInitParams" + } + } + ] + }, + { + "name": "oracleQueueInit", + "accounts": [ + { + "name": "oracleQueue", + "isMut": true, + "isSigner": true + }, + { + "name": "authority", + "isMut": false, + "isSigner": false + }, + { + "name": "buffer", + "isMut": true, + "isSigner": false + }, + { + "name": "payer", + "isMut": true, + "isSigner": true + }, + { + "name": "systemProgram", + "isMut": false, + "isSigner": false + }, + { + "name": "mint", + "isMut": false, + "isSigner": false + } + ], + "args": [ + { + "name": "params", + "type": { + "defined": "OracleQueueInitParams" + } + } + ] + }, + { + "name": "oracleQueueSetConfig", + "accounts": [ + { + "name": "queue", + "isMut": true, + "isSigner": false + }, + { + "name": "authority", + "isMut": false, + "isSigner": true + } + ], + "args": [ + { + "name": "params", + "type": { + "defined": "OracleQueueSetConfigParams" + } + } + ] + }, + { + "name": "oracleWithdraw", + "accounts": [ + { + "name": "oracle", + "isMut": true, + "isSigner": false + }, + { + "name": "oracleAuthority", + "isMut": false, + "isSigner": true + }, + { + "name": "tokenAccount", + "isMut": true, + "isSigner": false + }, + { + "name": "withdrawAccount", + "isMut": true, + "isSigner": false + }, + { + "name": "oracleQueue", + "isMut": true, + "isSigner": false + }, + { + "name": "permission", + "isMut": true, + "isSigner": false + }, + { + "name": "tokenProgram", + "isMut": false, + "isSigner": false + }, + { + "name": "programState", + "isMut": false, + "isSigner": false + }, + { + "name": "payer", + "isMut": true, + "isSigner": true + }, + { + "name": "systemProgram", + "isMut": false, + "isSigner": false + } + ], + "args": [ + { + "name": "params", + "type": { + "defined": "OracleWithdrawParams" + } + } + ] + }, + { + "name": "permissionInit", + "accounts": [ + { + "name": "permission", + "isMut": true, + "isSigner": false + }, + { + "name": "authority", + "isMut": false, + "isSigner": false + }, + { + "name": "granter", + "isMut": false, + "isSigner": false + }, + { + "name": "grantee", + "isMut": false, + "isSigner": false + }, + { + "name": "payer", + "isMut": true, + "isSigner": true + }, + { + "name": "systemProgram", + "isMut": false, + "isSigner": false + } + ], + "args": [ + { + "name": "params", + "type": { + "defined": "PermissionInitParams" + } + } + ] + }, + { + "name": "permissionSet", + "accounts": [ + { + "name": "permission", + "isMut": true, + "isSigner": false + }, + { + "name": "authority", + "isMut": false, + "isSigner": true + } + ], + "args": [ + { + "name": "params", + "type": { + "defined": "PermissionSetParams" + } + } + ] + }, + { + "name": "programConfig", + "accounts": [ + { + "name": "authority", + "isMut": false, + "isSigner": true + }, + { + "name": "programState", + "isMut": true, + "isSigner": false + }, + { + "name": "daoMint", + "isMut": false, + "isSigner": false + } + ], + "args": [ + { + "name": "params", + "type": { + "defined": "ProgramConfigParams" + } + } + ] + }, + { + "name": "programInit", + "accounts": [ + { + "name": "state", + "isMut": true, + "isSigner": false + }, + { + "name": "authority", + "isMut": false, + "isSigner": false + }, + { + "name": "tokenMint", + "isMut": true, + "isSigner": false + }, + { + "name": "vault", + "isMut": true, + "isSigner": false + }, + { + "name": "payer", + "isMut": true, + "isSigner": true + }, + { + "name": "systemProgram", + "isMut": false, + "isSigner": false + }, + { + "name": "tokenProgram", + "isMut": false, + "isSigner": false + }, + { + "name": "daoMint", + "isMut": false, + "isSigner": false + } + ], + "args": [ + { + "name": "params", + "type": { + "defined": "ProgramInitParams" + } + } + ] + }, + { + "name": "vaultTransfer", + "accounts": [ + { + "name": "state", + "isMut": false, + "isSigner": false + }, + { + "name": "authority", + "isMut": false, + "isSigner": true + }, + { + "name": "to", + "isMut": true, + "isSigner": false + }, + { + "name": "vault", + "isMut": true, + "isSigner": false + }, + { + "name": "tokenProgram", + "isMut": false, + "isSigner": false + } + ], + "args": [ + { + "name": "params", + "type": { + "defined": "VaultTransferParams" + } + } + ] + }, + { + "name": "vrfInit", + "accounts": [ + { + "name": "vrf", + "isMut": true, + "isSigner": false + }, + { + "name": "authority", + "isMut": false, + "isSigner": false + }, + { + "name": "oracleQueue", + "isMut": false, + "isSigner": false + }, + { + "name": "escrow", + "isMut": true, + "isSigner": false + }, + { + "name": "programState", + "isMut": false, + "isSigner": false + }, + { + "name": "tokenProgram", + "isMut": false, + "isSigner": false + } + ], + "args": [ + { + "name": "params", + "type": { + "defined": "VrfInitParams" + } + } + ] + }, + { + "name": "vrfProveAndVerify", + "accounts": [ + { + "name": "vrf", + "isMut": true, + "isSigner": false + }, + { + "name": "callbackPid", + "isMut": false, + "isSigner": false + }, + { + "name": "tokenProgram", + "isMut": false, + "isSigner": false + }, + { + "name": "escrow", + "isMut": true, + "isSigner": false + }, + { + "name": "programState", + "isMut": false, + "isSigner": false + }, + { + "name": "oracle", + "isMut": false, + "isSigner": false + }, + { + "name": "oracleAuthority", + "isMut": false, + "isSigner": true + }, + { + "name": "oracleWallet", + "isMut": true, + "isSigner": false + }, + { + "name": "instructionsSysvar", + "isMut": false, + "isSigner": false + } + ], + "args": [ + { + "name": "params", + "type": { + "defined": "VrfProveAndVerifyParams" + } + } + ] + }, + { + "name": "vrfRequestRandomness", + "accounts": [ + { + "name": "authority", + "isMut": false, + "isSigner": true + }, + { + "name": "vrf", + "isMut": true, + "isSigner": false + }, + { + "name": "oracleQueue", + "isMut": true, + "isSigner": false + }, + { + "name": "queueAuthority", + "isMut": false, + "isSigner": false + }, + { + "name": "dataBuffer", + "isMut": false, + "isSigner": false + }, + { + "name": "permission", + "isMut": true, + "isSigner": false + }, + { + "name": "escrow", + "isMut": true, + "isSigner": false + }, + { + "name": "payerWallet", + "isMut": true, + "isSigner": false + }, + { + "name": "payerAuthority", + "isMut": false, + "isSigner": true + }, + { + "name": "recentBlockhashes", + "isMut": false, + "isSigner": false + }, + { + "name": "programState", + "isMut": false, + "isSigner": false + }, + { + "name": "tokenProgram", + "isMut": false, + "isSigner": false + } + ], + "args": [ + { + "name": "params", + "type": { + "defined": "VrfRequestRandomnessParams" + } + } + ] + }, + { + "name": "vrfSetCallback", + "accounts": [ + { + "name": "vrf", + "isMut": true, + "isSigner": false + }, + { + "name": "authority", + "isMut": false, + "isSigner": true + } + ], + "args": [ + { + "name": "params", + "type": { + "defined": "VrfSetCallbackParams" + } + } + ] + } + ], + "accounts": [ + { + "name": "SbState", + "type": { + "kind": "struct", + "fields": [ + { + "name": "authority", + "type": "publicKey" + }, + { + "name": "tokenMint", + "type": "publicKey" + }, + { + "name": "tokenVault", + "type": "publicKey" + }, + { + "name": "daoMint", + "type": "publicKey" + }, + { + "name": "ebuf", + "type": { + "array": [ + "u8", + 992 + ] + } + } + ] + } + }, + { + "name": "TaskSpecRecord", + "type": { + "kind": "struct", + "fields": [ + { + "name": "hash", + "type": { + "defined": "Hash" + } + } + ] + } + }, + { + "name": "AggregatorAccountData", + "type": { + "kind": "struct", + "fields": [ + { + "name": "name", + "type": { + "array": [ + "u8", + 32 + ] + } + }, + { + "name": "metadata", + "type": { + "array": [ + "u8", + 128 + ] + } + }, + { + "name": "reserved1", + "type": { + "array": [ + "u8", + 32 + ] + } + }, + { + "name": "queuePubkey", + "type": "publicKey" + }, + { + "name": "oracleRequestBatchSize", + "type": "u32" + }, + { + "name": "minOracleResults", + "type": "u32" + }, + { + "name": "minJobResults", + "type": "u32" + }, + { + "name": "minUpdateDelaySeconds", + "type": "u32" + }, + { + "name": "startAfter", + "type": "i64" + }, + { + "name": "varianceThreshold", + "type": { + "defined": "SwitchboardDecimal" + } + }, + { + "name": "forceReportPeriod", + "type": "i64" + }, + { + "name": "expiration", + "type": "i64" + }, + { + "name": "consecutiveFailureCount", + "type": "u64" + }, + { + "name": "nextAllowedUpdateTime", + "type": "i64" + }, + { + "name": "isLocked", + "type": "bool" + }, + { + "name": "crankPubkey", + "type": "publicKey" + }, + { + "name": "latestConfirmedRound", + "type": { + "defined": "AggregatorRound" + } + }, + { + "name": "currentRound", + "type": { + "defined": "AggregatorRound" + } + }, + { + "name": "jobPubkeysData", + "type": { + "array": [ + "publicKey", + 16 + ] + } + }, + { + "name": "jobHashes", + "type": { + "array": [ + { + "defined": "Hash" + }, + 16 + ] + } + }, + { + "name": "jobPubkeysSize", + "type": "u32" + }, + { + "name": "jobsChecksum", + "type": { + "array": [ + "u8", + 32 + ] + } + }, + { + "name": "authority", + "type": "publicKey" + }, + { + "name": "historyBuffer", + "type": "publicKey" + }, + { + "name": "previousConfirmedRoundResult", + "type": { + "defined": "SwitchboardDecimal" + } + }, + { + "name": "previousConfirmedRoundSlot", + "type": "u64" + }, + { + "name": "disableCrank", + "type": "bool" + }, + { + "name": "jobWeights", + "type": { + "array": [ + "u8", + 16 + ] + } + }, + { + "name": "creationTimestamp", + "type": "i64" + }, + { + "name": "ebuf", + "type": { + "array": [ + "u8", + 139 + ] + } + } + ] + } + }, + { + "name": "PermissionAccountData", + "type": { + "kind": "struct", + "fields": [ + { + "name": "authority", + "type": "publicKey" + }, + { + "name": "permissions", + "type": "u32" + }, + { + "name": "granter", + "type": "publicKey" + }, + { + "name": "grantee", + "type": "publicKey" + }, + { + "name": "expiration", + "type": "i64" + }, + { + "name": "ebuf", + "type": { + "array": [ + "u8", + 256 + ] + } + } + ] + } + }, + { + "name": "RealmSpawnRecordAccountData", + "type": { + "kind": "struct", + "fields": [ + { + "name": "ebuf", + "type": { + "array": [ + "u8", + 256 + ] + } + } + ] + } + }, + { + "name": "LeaseAccountData", + "type": { + "kind": "struct", + "fields": [ + { + "name": "escrow", + "type": "publicKey" + }, + { + "name": "queue", + "type": "publicKey" + }, + { + "name": "aggregator", + "type": "publicKey" + }, + { + "name": "tokenProgram", + "type": "publicKey" + }, + { + "name": "isActive", + "type": "bool" + }, + { + "name": "crankRowCount", + "type": "u32" + }, + { + "name": "createdAt", + "type": "i64" + }, + { + "name": "updateCount", + "type": "u128" + }, + { + "name": "withdrawAuthority", + "type": "publicKey" + }, + { + "name": "ebuf", + "type": { + "array": [ + "u8", + 256 + ] + } + } + ] + } + }, + { + "name": "OracleQueueAccountData", + "type": { + "kind": "struct", + "fields": [ + { + "name": "name", + "type": { + "array": [ + "u8", + 32 + ] + } + }, + { + "name": "metadata", + "type": { + "array": [ + "u8", + 64 + ] + } + }, + { + "name": "authority", + "type": "publicKey" + }, + { + "name": "oracleTimeout", + "type": "u32" + }, + { + "name": "reward", + "type": "u64" + }, + { + "name": "minStake", + "type": "u64" + }, + { + "name": "slashingEnabled", + "type": "bool" + }, + { + "name": "varianceToleranceMultiplier", + "type": { + "defined": "SwitchboardDecimal" + } + }, + { + "name": "feedProbationPeriod", + "type": "u32" + }, + { + "name": "currIdx", + "type": "u32" + }, + { + "name": "size", + "type": "u32" + }, + { + "name": "gcIdx", + "type": "u32" + }, + { + "name": "consecutiveFeedFailureLimit", + "type": "u64" + }, + { + "name": "consecutiveOracleFailureLimit", + "type": "u64" + }, + { + "name": "unpermissionedFeedsEnabled", + "type": "bool" + }, + { + "name": "unpermissionedVrfEnabled", + "type": "bool" + }, + { + "name": "curatorRewardCut", + "type": { + "defined": "SwitchboardDecimal" + } + }, + { + "name": "lockLeaseFunding", + "type": "bool" + }, + { + "name": "mint", + "type": "publicKey" + }, + { + "name": "enableBufferRelayers", + "type": "bool" + }, + { + "name": "ebuf", + "type": { + "array": [ + "u8", + 968 + ] + } + }, + { + "name": "maxSize", + "type": "u32" + }, + { + "name": "dataBuffer", + "type": "publicKey" + } + ] + } + }, + { + "name": "CrankAccountData", + "type": { + "kind": "struct", + "fields": [ + { + "name": "name", + "type": { + "array": [ + "u8", + 32 + ] + } + }, + { + "name": "metadata", + "type": { + "array": [ + "u8", + 64 + ] + } + }, + { + "name": "queuePubkey", + "type": "publicKey" + }, + { + "name": "pqSize", + "type": "u32" + }, + { + "name": "maxRows", + "type": "u32" + }, + { + "name": "jitterModifier", + "type": "u8" + }, + { + "name": "ebuf", + "type": { + "array": [ + "u8", + 255 + ] + } + }, + { + "name": "dataBuffer", + "type": "publicKey" + } + ] + } + }, + { + "name": "OracleAccountData", + "type": { + "kind": "struct", + "fields": [ + { + "name": "name", + "type": { + "array": [ + "u8", + 32 + ] + } + }, + { + "name": "metadata", + "type": { + "array": [ + "u8", + 128 + ] + } + }, + { + "name": "oracleAuthority", + "type": "publicKey" + }, + { + "name": "lastHeartbeat", + "type": "i64" + }, + { + "name": "numInUse", + "type": "u32" + }, + { + "name": "tokenAccount", + "type": "publicKey" + }, + { + "name": "queuePubkey", + "type": "publicKey" + }, + { + "name": "metrics", + "type": { + "defined": "OracleMetrics" + } + }, + { + "name": "ebuf", + "type": { + "array": [ + "u8", + 256 + ] + } + } + ] + } + }, + { + "name": "JobAccountData", + "type": { + "kind": "struct", + "fields": [ + { + "name": "name", + "type": { + "array": [ + "u8", + 32 + ] + } + }, + { + "name": "metadata", + "type": { + "array": [ + "u8", + 64 + ] + } + }, + { + "name": "authority", + "type": "publicKey" + }, + { + "name": "expiration", + "type": "i64" + }, + { + "name": "hash", + "type": { + "array": [ + "u8", + 32 + ] + } + }, + { + "name": "data", + "type": "bytes" + }, + { + "name": "referenceCount", + "type": "u32" + }, + { + "name": "totalSpent", + "type": "u64" + }, + { + "name": "createdAt", + "type": "i64" + }, + { + "name": "isInitializing", + "type": "u8" + } + ] + } + }, + { + "name": "VrfAccountData", + "type": { + "kind": "struct", + "fields": [ + { + "name": "status", + "type": { + "defined": "VrfStatus" + } + }, + { + "name": "counter", + "type": "u128" + }, + { + "name": "authority", + "type": "publicKey" + }, + { + "name": "oracleQueue", + "type": "publicKey" + }, + { + "name": "escrow", + "type": "publicKey" + }, + { + "name": "callback", + "type": { + "defined": "CallbackZC" + } + }, + { + "name": "batchSize", + "type": "u32" + }, + { + "name": "builders", + "type": { + "array": [ + { + "defined": "VrfBuilder" + }, + 8 + ] + } + }, + { + "name": "buildersLen", + "type": "u32" + }, + { + "name": "testMode", + "type": "bool" + }, + { + "name": "currentRound", + "type": { + "defined": "VrfRound" + } + }, + { + "name": "ebuf", + "type": { + "array": [ + "u8", + 1024 + ] + } + } + ] + } + }, + { + "name": "BufferRelayerAccountData", + "type": { + "kind": "struct", + "fields": [ + { + "name": "name", + "type": { + "array": [ + "u8", + 32 + ] + } + }, + { + "name": "queuePubkey", + "type": "publicKey" + }, + { + "name": "escrow", + "type": "publicKey" + }, + { + "name": "authority", + "type": "publicKey" + }, + { + "name": "jobPubkey", + "type": "publicKey" + }, + { + "name": "jobHash", + "type": { + "array": [ + "u8", + 32 + ] + } + }, + { + "name": "minUpdateDelaySeconds", + "type": "u32" + }, + { + "name": "isLocked", + "type": "bool" + }, + { + "name": "currentRound", + "type": { + "defined": "BufferRelayerRound" + } + }, + { + "name": "latestConfirmedRound", + "type": { + "defined": "BufferRelayerRound" + } + }, + { + "name": "result", + "type": "bytes" + } + ] + } + } + ], + "types": [ + { + "name": "AggregatorAddJobParams", + "type": { + "kind": "struct", + "fields": [ + { + "name": "weight", + "type": { + "option": "u8" + } + } + ] + } + }, + { + "name": "AggregatorInitParams", + "type": { + "kind": "struct", + "fields": [ + { + "name": "name", + "type": { + "array": [ + "u8", + 32 + ] + } + }, + { + "name": "metadata", + "type": { + "array": [ + "u8", + 128 + ] + } + }, + { + "name": "batchSize", + "type": "u32" + }, + { + "name": "minOracleResults", + "type": "u32" + }, + { + "name": "minJobResults", + "type": "u32" + }, + { + "name": "minUpdateDelaySeconds", + "type": "u32" + }, + { + "name": "startAfter", + "type": "i64" + }, + { + "name": "varianceThreshold", + "type": { + "defined": "BorshDecimal" + } + }, + { + "name": "forceReportPeriod", + "type": "i64" + }, + { + "name": "expiration", + "type": "i64" + }, + { + "name": "stateBump", + "type": "u8" + }, + { + "name": "disableCrank", + "type": "bool" + } + ] + } + }, + { + "name": "AggregatorLockParams", + "type": { + "kind": "struct", + "fields": [] + } + }, + { + "name": "AggregatorOpenRoundParams", + "type": { + "kind": "struct", + "fields": [ + { + "name": "stateBump", + "type": "u8" + }, + { + "name": "leaseBump", + "type": "u8" + }, + { + "name": "permissionBump", + "type": "u8" + }, + { + "name": "jitter", + "type": "u8" + } + ] + } + }, + { + "name": "AggregatorRemoveJobParams", + "type": { + "kind": "struct", + "fields": [ + { + "name": "jobIdx", + "type": "u32" + } + ] + } + }, + { + "name": "AggregatorSaveResultParams", + "type": { + "kind": "struct", + "fields": [ + { + "name": "oracleIdx", + "type": "u32" + }, + { + "name": "error", + "type": "bool" + }, + { + "name": "value", + "type": { + "defined": "BorshDecimal" + } + }, + { + "name": "jobsChecksum", + "type": { + "array": [ + "u8", + 32 + ] + } + }, + { + "name": "minResponse", + "type": { + "defined": "BorshDecimal" + } + }, + { + "name": "maxResponse", + "type": { + "defined": "BorshDecimal" + } + }, + { + "name": "feedPermissionBump", + "type": "u8" + }, + { + "name": "oraclePermissionBump", + "type": "u8" + }, + { + "name": "leaseBump", + "type": "u8" + }, + { + "name": "stateBump", + "type": "u8" + } + ] + } + }, + { + "name": "AggregatorSetAuthorityParams", + "type": { + "kind": "struct", + "fields": [] + } + }, + { + "name": "AggregatorSetBatchSizeParams", + "type": { + "kind": "struct", + "fields": [ + { + "name": "batchSize", + "type": "u32" + } + ] + } + }, + { + "name": "AggregatorSetConfigParams", + "type": { + "kind": "struct", + "fields": [ + { + "name": "name", + "type": { + "option": { + "array": [ + "u8", + 32 + ] + } + } + }, + { + "name": "metadata", + "type": { + "option": { + "array": [ + "u8", + 128 + ] + } + } + }, + { + "name": "minUpdateDelaySeconds", + "type": { + "option": "u32" + } + }, + { + "name": "minJobResults", + "type": { + "option": "u32" + } + }, + { + "name": "batchSize", + "type": { + "option": "u32" + } + }, + { + "name": "minOracleResults", + "type": { + "option": "u32" + } + }, + { + "name": "forceReportPeriod", + "type": { + "option": "u32" + } + }, + { + "name": "varianceThreshold", + "type": { + "option": { + "defined": "BorshDecimal" + } + } + } + ] + } + }, + { + "name": "AggregatorSetForceReportPeriodParams", + "type": { + "kind": "struct", + "fields": [ + { + "name": "forceReportPeriod", + "type": "u32" + } + ] + } + }, + { + "name": "AggregatorSetHistoryBufferParams", + "type": { + "kind": "struct", + "fields": [] + } + }, + { + "name": "AggregatorSetMinJobsParams", + "type": { + "kind": "struct", + "fields": [ + { + "name": "minJobResults", + "type": "u32" + } + ] + } + }, + { + "name": "AggregatorSetMinOraclesParams", + "type": { + "kind": "struct", + "fields": [ + { + "name": "minOracleResults", + "type": "u32" + } + ] + } + }, + { + "name": "AggregatorSetQueueParams", + "type": { + "kind": "struct", + "fields": [] + } + }, + { + "name": "AggregatorSetUpdateIntervalParams", + "type": { + "kind": "struct", + "fields": [ + { + "name": "newInterval", + "type": "u32" + } + ] + } + }, + { + "name": "AggregatorSetVarianceThresholdParams", + "type": { + "kind": "struct", + "fields": [ + { + "name": "varianceThreshold", + "type": { + "defined": "BorshDecimal" + } + } + ] + } + }, + { + "name": "BufferRelayerInitParams", + "type": { + "kind": "struct", + "fields": [ + { + "name": "name", + "type": { + "array": [ + "u8", + 32 + ] + } + }, + { + "name": "minUpdateDelaySeconds", + "type": "u32" + }, + { + "name": "stateBump", + "type": "u8" + } + ] + } + }, + { + "name": "BufferRelayerOpenRoundParams", + "type": { + "kind": "struct", + "fields": [ + { + "name": "stateBump", + "type": "u8" + }, + { + "name": "permissionBump", + "type": "u8" + } + ] + } + }, + { + "name": "BufferRelayerSaveResultParams", + "type": { + "kind": "struct", + "fields": [ + { + "name": "stateBump", + "type": "u8" + }, + { + "name": "permissionBump", + "type": "u8" + }, + { + "name": "result", + "type": "bytes" + }, + { + "name": "success", + "type": "bool" + } + ] + } + }, + { + "name": "CrankInitParams", + "type": { + "kind": "struct", + "fields": [ + { + "name": "name", + "type": "bytes" + }, + { + "name": "metadata", + "type": "bytes" + }, + { + "name": "crankSize", + "type": "u32" + } + ] + } + }, + { + "name": "CrankPopParams", + "type": { + "kind": "struct", + "fields": [ + { + "name": "stateBump", + "type": "u8" + }, + { + "name": "leaseBumps", + "type": "bytes" + }, + { + "name": "permissionBumps", + "type": "bytes" + }, + { + "name": "nonce", + "type": { + "option": "u32" + } + }, + { + "name": "failOpenOnAccountMismatch", + "type": { + "option": "bool" + } + }, + { + "name": "popIdx", + "type": { + "option": "u32" + } + } + ] + } + }, + { + "name": "CrankPushParams", + "type": { + "kind": "struct", + "fields": [ + { + "name": "stateBump", + "type": "u8" + }, + { + "name": "permissionBump", + "type": "u8" + }, + { + "name": "notifiRef", + "type": { + "option": { + "array": [ + "u8", + 64 + ] + } + } + } + ] + } + }, + { + "name": "JobInitParams", + "type": { + "kind": "struct", + "fields": [ + { + "name": "name", + "type": { + "array": [ + "u8", + 32 + ] + } + }, + { + "name": "expiration", + "type": "i64" + }, + { + "name": "stateBump", + "type": "u8" + }, + { + "name": "data", + "type": "bytes" + }, + { + "name": "size", + "type": { + "option": "u32" + } + } + ] + } + }, + { + "name": "JobSetDataParams", + "type": { + "kind": "struct", + "fields": [ + { + "name": "data", + "type": "bytes" + }, + { + "name": "chunkIdx", + "type": "u8" + } + ] + } + }, + { + "name": "LeaseExtendParams", + "type": { + "kind": "struct", + "fields": [ + { + "name": "loadAmount", + "type": "u64" + }, + { + "name": "leaseBump", + "type": "u8" + }, + { + "name": "stateBump", + "type": "u8" + }, + { + "name": "walletBumps", + "type": "bytes" + } + ] + } + }, + { + "name": "LeaseInitParams", + "type": { + "kind": "struct", + "fields": [ + { + "name": "loadAmount", + "type": "u64" + }, + { + "name": "withdrawAuthority", + "type": "publicKey" + }, + { + "name": "leaseBump", + "type": "u8" + }, + { + "name": "stateBump", + "type": "u8" + }, + { + "name": "walletBumps", + "type": "bytes" + } + ] + } + }, + { + "name": "LeaseSetAuthorityParams", + "type": { + "kind": "struct", + "fields": [] + } + }, + { + "name": "LeaseWithdrawParams", + "type": { + "kind": "struct", + "fields": [ + { + "name": "stateBump", + "type": "u8" + }, + { + "name": "leaseBump", + "type": "u8" + }, + { + "name": "amount", + "type": "u64" + } + ] + } + }, + { + "name": "OracleHeartbeatParams", + "type": { + "kind": "struct", + "fields": [ + { + "name": "permissionBump", + "type": "u8" + } + ] + } + }, + { + "name": "OracleInitParams", + "type": { + "kind": "struct", + "fields": [ + { + "name": "name", + "type": "bytes" + }, + { + "name": "metadata", + "type": "bytes" + }, + { + "name": "stateBump", + "type": "u8" + }, + { + "name": "oracleBump", + "type": "u8" + } + ] + } + }, + { + "name": "OracleQueueInitParams", + "type": { + "kind": "struct", + "fields": [ + { + "name": "name", + "type": { + "array": [ + "u8", + 32 + ] + } + }, + { + "name": "metadata", + "type": { + "array": [ + "u8", + 64 + ] + } + }, + { + "name": "reward", + "type": "u64" + }, + { + "name": "minStake", + "type": "u64" + }, + { + "name": "feedProbationPeriod", + "type": "u32" + }, + { + "name": "oracleTimeout", + "type": "u32" + }, + { + "name": "slashingEnabled", + "type": "bool" + }, + { + "name": "varianceToleranceMultiplier", + "type": { + "defined": "BorshDecimal" + } + }, + { + "name": "consecutiveFeedFailureLimit", + "type": "u64" + }, + { + "name": "consecutiveOracleFailureLimit", + "type": "u64" + }, + { + "name": "queueSize", + "type": "u32" + }, + { + "name": "unpermissionedFeeds", + "type": "bool" + }, + { + "name": "unpermissionedVrf", + "type": "bool" + }, + { + "name": "enableBufferRelayers", + "type": "bool" + } + ] + } + }, + { + "name": "OracleQueueSetConfigParams", + "type": { + "kind": "struct", + "fields": [ + { + "name": "name", + "type": { + "option": { + "array": [ + "u8", + 32 + ] + } + } + }, + { + "name": "metadata", + "type": { + "option": { + "array": [ + "u8", + 64 + ] + } + } + }, + { + "name": "unpermissionedFeedsEnabled", + "type": { + "option": "bool" + } + }, + { + "name": "unpermissionedVrfEnabled", + "type": { + "option": "bool" + } + }, + { + "name": "enableBufferRelayers", + "type": { + "option": "bool" + } + }, + { + "name": "varianceToleranceMultiplier", + "type": { + "option": { + "defined": "BorshDecimal" + } + } + }, + { + "name": "slashingEnabled", + "type": { + "option": "bool" + } + }, + { + "name": "reward", + "type": { + "option": "u64" + } + }, + { + "name": "minStake", + "type": { + "option": "u64" + } + }, + { + "name": "oracleTimeout", + "type": { + "option": "u32" + } + }, + { + "name": "consecutiveFeedFailureLimit", + "type": { + "option": "u64" + } + }, + { + "name": "consecutiveOracleFailureLimit", + "type": { + "option": "u64" + } + } + ] + } + }, + { + "name": "OracleQueueSetRewardsParams", + "type": { + "kind": "struct", + "fields": [ + { + "name": "rewards", + "type": "u64" + } + ] + } + }, + { + "name": "OracleWithdrawParams", + "type": { + "kind": "struct", + "fields": [ + { + "name": "stateBump", + "type": "u8" + }, + { + "name": "permissionBump", + "type": "u8" + }, + { + "name": "amount", + "type": "u64" + } + ] + } + }, + { + "name": "PermissionInitParams", + "type": { + "kind": "struct", + "fields": [] + } + }, + { + "name": "PermissionSetParams", + "type": { + "kind": "struct", + "fields": [ + { + "name": "permission", + "type": { + "defined": "SwitchboardPermission" + } + }, + { + "name": "enable", + "type": "bool" + } + ] + } + }, + { + "name": "ProgramConfigParams", + "type": { + "kind": "struct", + "fields": [ + { + "name": "token", + "type": "publicKey" + }, + { + "name": "bump", + "type": "u8" + }, + { + "name": "daoMint", + "type": "publicKey" + } + ] + } + }, + { + "name": "ProgramInitParams", + "type": { + "kind": "struct", + "fields": [ + { + "name": "stateBump", + "type": "u8" + } + ] + } + }, + { + "name": "VaultTransferParams", + "type": { + "kind": "struct", + "fields": [ + { + "name": "stateBump", + "type": "u8" + }, + { + "name": "amount", + "type": "u64" + } + ] + } + }, + { + "name": "VrfInitParams", + "type": { + "kind": "struct", + "fields": [ + { + "name": "callback", + "type": { + "defined": "Callback" + } + }, + { + "name": "stateBump", + "type": "u8" + } + ] + } + }, + { + "name": "VrfProveParams", + "type": { + "kind": "struct", + "fields": [ + { + "name": "proof", + "type": "bytes" + }, + { + "name": "idx", + "type": "u32" + } + ] + } + }, + { + "name": "VrfProveAndVerifyParams", + "type": { + "kind": "struct", + "fields": [ + { + "name": "nonce", + "type": { + "option": "u32" + } + }, + { + "name": "stateBump", + "type": "u8" + }, + { + "name": "idx", + "type": "u32" + }, + { + "name": "proof", + "type": "bytes" + }, + { + "name": "proofEncoded", + "type": "string" + }, + { + "name": "counter", + "type": "u128" + } + ] + } + }, + { + "name": "VrfRequestRandomnessParams", + "type": { + "kind": "struct", + "fields": [ + { + "name": "permissionBump", + "type": "u8" + }, + { + "name": "stateBump", + "type": "u8" + } + ] + } + }, + { + "name": "VrfSetCallbackParams", + "type": { + "kind": "struct", + "fields": [ + { + "name": "callback", + "type": { + "defined": "Callback" + } + } + ] + } + }, + { + "name": "Callback", + "type": { + "kind": "struct", + "fields": [ + { + "name": "programId", + "type": "publicKey" + }, + { + "name": "accounts", + "type": { + "vec": { + "defined": "AccountMetaBorsh" + } + } + }, + { + "name": "ixData", + "type": "bytes" + } + ] + } + }, + { + "name": "EcvrfProofZC", + "type": { + "kind": "struct", + "fields": [ + { + "name": "gamma", + "type": { + "defined": "EdwardsPointZC" + } + }, + { + "name": "c", + "type": { + "defined": "Scalar" + } + }, + { + "name": "s", + "type": { + "defined": "Scalar" + } + } + ] + } + }, + { + "name": "Scalar", + "type": { + "kind": "struct", + "fields": [ + { + "name": "bytes", + "type": { + "array": [ + "u8", + 32 + ] + } + } + ] + } + }, + { + "name": "FieldElementZC", + "type": { + "kind": "struct", + "fields": [ + { + "name": "bytes", + "type": { + "array": [ + "u64", + 5 + ] + } + } + ] + } + }, + { + "name": "CompletedPointZC", + "type": { + "kind": "struct", + "fields": [ + { + "name": "x", + "type": { + "defined": "FieldElementZC" + } + }, + { + "name": "y", + "type": { + "defined": "FieldElementZC" + } + }, + { + "name": "z", + "type": { + "defined": "FieldElementZC" + } + }, + { + "name": "t", + "type": { + "defined": "FieldElementZC" + } + } + ] + } + }, + { + "name": "EdwardsPointZC", + "type": { + "kind": "struct", + "fields": [ + { + "name": "x", + "type": { + "defined": "FieldElementZC" + } + }, + { + "name": "y", + "type": { + "defined": "FieldElementZC" + } + }, + { + "name": "z", + "type": { + "defined": "FieldElementZC" + } + }, + { + "name": "t", + "type": { + "defined": "FieldElementZC" + } + } + ] + } + }, + { + "name": "ProjectivePointZC", + "type": { + "kind": "struct", + "fields": [ + { + "name": "x", + "type": { + "defined": "FieldElementZC" + } + }, + { + "name": "y", + "type": { + "defined": "FieldElementZC" + } + }, + { + "name": "z", + "type": { + "defined": "FieldElementZC" + } + } + ] + } + }, + { + "name": "EcvrfIntermediate", + "type": { + "kind": "struct", + "fields": [ + { + "name": "r", + "type": { + "defined": "FieldElementZC" + } + }, + { + "name": "nS", + "type": { + "defined": "FieldElementZC" + } + }, + { + "name": "d", + "type": { + "defined": "FieldElementZC" + } + }, + { + "name": "t13", + "type": { + "defined": "FieldElementZC" + } + }, + { + "name": "t15", + "type": { + "defined": "FieldElementZC" + } + } + ] + } + }, + { + "name": "Hash", + "type": { + "kind": "struct", + "fields": [ + { + "name": "data", + "type": { + "array": [ + "u8", + 32 + ] + } + } + ] + } + }, + { + "name": "AggregatorRound", + "type": { + "kind": "struct", + "fields": [ + { + "name": "numSuccess", + "type": "u32" + }, + { + "name": "numError", + "type": "u32" + }, + { + "name": "isClosed", + "type": "bool" + }, + { + "name": "roundOpenSlot", + "type": "u64" + }, + { + "name": "roundOpenTimestamp", + "type": "i64" + }, + { + "name": "result", + "type": { + "defined": "SwitchboardDecimal" + } + }, + { + "name": "stdDeviation", + "type": { + "defined": "SwitchboardDecimal" + } + }, + { + "name": "minResponse", + "type": { + "defined": "SwitchboardDecimal" + } + }, + { + "name": "maxResponse", + "type": { + "defined": "SwitchboardDecimal" + } + }, + { + "name": "oraclePubkeysData", + "type": { + "array": [ + "publicKey", + 16 + ] + } + }, + { + "name": "mediansData", + "type": { + "array": [ + { + "defined": "SwitchboardDecimal" + }, + 16 + ] + } + }, + { + "name": "currentPayout", + "type": { + "array": [ + "i64", + 16 + ] + } + }, + { + "name": "mediansFulfilled", + "type": { + "array": [ + "bool", + 16 + ] + } + }, + { + "name": "errorsFulfilled", + "type": { + "array": [ + "bool", + 16 + ] + } + } + ] + } + }, + { + "name": "AggregatorHistoryRow", + "type": { + "kind": "struct", + "fields": [ + { + "name": "timestamp", + "type": "i64" + }, + { + "name": "value", + "type": { + "defined": "SwitchboardDecimal" + } + } + ] + } + }, + { + "name": "SwitchboardDecimal", + "type": { + "kind": "struct", + "fields": [ + { + "name": "mantissa", + "type": "i128" + }, + { + "name": "scale", + "type": "u32" + } + ] + } + }, + { + "name": "CrankRow", + "type": { + "kind": "struct", + "fields": [ + { + "name": "pubkey", + "type": "publicKey" + }, + { + "name": "nextTimestamp", + "type": "i64" + } + ] + } + }, + { + "name": "OracleMetrics", + "type": { + "kind": "struct", + "fields": [ + { + "name": "consecutiveSuccess", + "type": "u64" + }, + { + "name": "consecutiveError", + "type": "u64" + }, + { + "name": "consecutiveDisagreement", + "type": "u64" + }, + { + "name": "consecutiveLateResponse", + "type": "u64" + }, + { + "name": "consecutiveFailure", + "type": "u64" + }, + { + "name": "totalSuccess", + "type": "u128" + }, + { + "name": "totalError", + "type": "u128" + }, + { + "name": "totalDisagreement", + "type": "u128" + }, + { + "name": "totalLateResponse", + "type": "u128" + } + ] + } + }, + { + "name": "VrfBuilder", + "type": { + "kind": "struct", + "fields": [ + { + "name": "producer", + "type": "publicKey" + }, + { + "name": "status", + "type": { + "defined": "VrfStatus" + } + }, + { + "name": "reprProof", + "type": { + "array": [ + "u8", + 80 + ] + } + }, + { + "name": "proof", + "type": { + "defined": "EcvrfProofZC" + } + }, + { + "name": "yPoint", + "type": "publicKey" + }, + { + "name": "stage", + "type": "u32" + }, + { + "name": "stage1Out", + "type": { + "defined": "EcvrfIntermediate" + } + }, + { + "name": "r1", + "type": { + "defined": "EdwardsPointZC" + } + }, + { + "name": "r2", + "type": { + "defined": "EdwardsPointZC" + } + }, + { + "name": "stage3Out", + "type": { + "defined": "EcvrfIntermediate" + } + }, + { + "name": "hPoint", + "type": { + "defined": "EdwardsPointZC" + } + }, + { + "name": "sReduced", + "type": { + "defined": "Scalar" + } + }, + { + "name": "yPointBuilder", + "type": { + "array": [ + { + "defined": "FieldElementZC" + }, + 3 + ] + } + }, + { + "name": "yRistrettoPoint", + "type": { + "defined": "EdwardsPointZC" + } + }, + { + "name": "mulRound", + "type": "u8" + }, + { + "name": "hashPointsRound", + "type": "u8" + }, + { + "name": "mulTmp1", + "type": { + "defined": "CompletedPointZC" + } + }, + { + "name": "uPoint1", + "type": { + "defined": "EdwardsPointZC" + } + }, + { + "name": "uPoint2", + "type": { + "defined": "EdwardsPointZC" + } + }, + { + "name": "vPoint1", + "type": { + "defined": "EdwardsPointZC" + } + }, + { + "name": "vPoint2", + "type": { + "defined": "EdwardsPointZC" + } + }, + { + "name": "uPoint", + "type": { + "defined": "EdwardsPointZC" + } + }, + { + "name": "vPoint", + "type": { + "defined": "EdwardsPointZC" + } + }, + { + "name": "u1", + "type": { + "defined": "FieldElementZC" + } + }, + { + "name": "u2", + "type": { + "defined": "FieldElementZC" + } + }, + { + "name": "invertee", + "type": { + "defined": "FieldElementZC" + } + }, + { + "name": "y", + "type": { + "defined": "FieldElementZC" + } + }, + { + "name": "z", + "type": { + "defined": "FieldElementZC" + } + }, + { + "name": "p1Bytes", + "type": { + "array": [ + "u8", + 32 + ] + } + }, + { + "name": "p2Bytes", + "type": { + "array": [ + "u8", + 32 + ] + } + }, + { + "name": "p3Bytes", + "type": { + "array": [ + "u8", + 32 + ] + } + }, + { + "name": "p4Bytes", + "type": { + "array": [ + "u8", + 32 + ] + } + }, + { + "name": "cPrimeHashbuf", + "type": { + "array": [ + "u8", + 16 + ] + } + }, + { + "name": "m1", + "type": { + "defined": "FieldElementZC" + } + }, + { + "name": "m2", + "type": { + "defined": "FieldElementZC" + } + }, + { + "name": "txRemaining", + "type": "u32" + }, + { + "name": "verified", + "type": "bool" + }, + { + "name": "result", + "type": { + "array": [ + "u8", + 32 + ] + } + } + ] + } + }, + { + "name": "AccountMetaZC", + "type": { + "kind": "struct", + "fields": [ + { + "name": "pubkey", + "type": "publicKey" + }, + { + "name": "isSigner", + "type": "bool" + }, + { + "name": "isWritable", + "type": "bool" + } + ] + } + }, + { + "name": "AccountMetaBorsh", + "type": { + "kind": "struct", + "fields": [ + { + "name": "pubkey", + "type": "publicKey" + }, + { + "name": "isSigner", + "type": "bool" + }, + { + "name": "isWritable", + "type": "bool" + } + ] + } + }, + { + "name": "CallbackZC", + "type": { + "kind": "struct", + "fields": [ + { + "name": "programId", + "type": "publicKey" + }, + { + "name": "accounts", + "type": { + "array": [ + { + "defined": "AccountMetaZC" + }, + 32 + ] + } + }, + { + "name": "accountsLen", + "type": "u32" + }, + { + "name": "ixData", + "type": { + "array": [ + "u8", + 1024 + ] + } + }, + { + "name": "ixDataLen", + "type": "u32" + } + ] + } + }, + { + "name": "VrfRound", + "type": { + "kind": "struct", + "fields": [ + { + "name": "alpha", + "type": { + "array": [ + "u8", + 256 + ] + } + }, + { + "name": "alphaLen", + "type": "u32" + }, + { + "name": "requestSlot", + "type": "u64" + }, + { + "name": "requestTimestamp", + "type": "i64" + }, + { + "name": "result", + "type": { + "array": [ + "u8", + 32 + ] + } + }, + { + "name": "numVerified", + "type": "u32" + }, + { + "name": "ebuf", + "type": { + "array": [ + "u8", + 256 + ] + } + } + ] + } + }, + { + "name": "BufferRelayerRound", + "type": { + "kind": "struct", + "fields": [ + { + "name": "numSuccess", + "type": "u32" + }, + { + "name": "numError", + "type": "u32" + }, + { + "name": "roundOpenSlot", + "type": "u64" + }, + { + "name": "roundOpenTimestamp", + "type": "i64" + }, + { + "name": "oraclePubkey", + "type": "publicKey" + } + ] + } + }, + { + "name": "BorshDecimal", + "type": { + "kind": "struct", + "fields": [ + { + "name": "mantissa", + "type": "i128" + }, + { + "name": "scale", + "type": "u32" + } + ] + } + }, + { + "name": "Lanes", + "type": { + "kind": "enum", + "variants": [ + { + "name": "C" + }, + { + "name": "D" + }, + { + "name": "AB" + }, + { + "name": "AC" + }, + { + "name": "CD" + }, + { + "name": "AD" + }, + { + "name": "BC" + }, + { + "name": "ABCD" + } + ] + } + }, + { + "name": "Shuffle", + "type": { + "kind": "enum", + "variants": [ + { + "name": "AAAA" + }, + { + "name": "BBBB" + }, + { + "name": "CACA" + }, + { + "name": "DBBD" + }, + { + "name": "ADDA" + }, + { + "name": "CBCB" + }, + { + "name": "ABAB" + }, + { + "name": "BADC" + }, + { + "name": "BACD" + }, + { + "name": "ABDC" + } + ] + } + }, + { + "name": "Shuffle", + "type": { + "kind": "enum", + "variants": [ + { + "name": "AAAA" + }, + { + "name": "BBBB" + }, + { + "name": "BADC" + }, + { + "name": "BACD" + }, + { + "name": "ADDA" + }, + { + "name": "CBCB" + }, + { + "name": "ABDC" + }, + { + "name": "ABAB" + }, + { + "name": "DBBD" + }, + { + "name": "CACA" + } + ] + } + }, + { + "name": "Lanes", + "type": { + "kind": "enum", + "variants": [ + { + "name": "D" + }, + { + "name": "C" + }, + { + "name": "AB" + }, + { + "name": "AC" + }, + { + "name": "AD" + }, + { + "name": "BCD" + } + ] + } + }, + { + "name": "Error", + "type": { + "kind": "enum", + "variants": [ + { + "name": "InvalidPublicKey" + }, + { + "name": "SerializationError" + }, + { + "name": "DeserializationError" + }, + { + "name": "InvalidDataError" + } + ] + } + }, + { + "name": "SwitchboardPermission", + "type": { + "kind": "enum", + "variants": [ + { + "name": "PermitOracleHeartbeat" + }, + { + "name": "PermitOracleQueueUsage" + }, + { + "name": "PermitVrfRequests" + } + ] + } + }, + { + "name": "OracleResponseType", + "type": { + "kind": "enum", + "variants": [ + { + "name": "TypeSuccess" + }, + { + "name": "TypeError" + }, + { + "name": "TypeDisagreement" + }, + { + "name": "TypeNoResponse" + } + ] + } + }, + { + "name": "VrfStatus", + "type": { + "kind": "enum", + "variants": [ + { + "name": "StatusNone" + }, + { + "name": "StatusRequesting" + }, + { + "name": "StatusVerifying" + }, + { + "name": "StatusVerified" + }, + { + "name": "StatusCallbackSuccess" + }, + { + "name": "StatusVerifyFailure" + } + ] + } + } + ], + "events": [ + { + "name": "AggregatorInitEvent", + "fields": [ + { + "name": "feedPubkey", + "type": "publicKey", + "index": false + } + ] + }, + { + "name": "VrfRequestRandomnessEvent", + "fields": [ + { + "name": "vrfPubkey", + "type": "publicKey", + "index": true + }, + { + "name": "oraclePubkeys", + "type": { + "vec": "publicKey" + }, + "index": false + }, + { + "name": "loadAmount", + "type": "u64", + "index": false + }, + { + "name": "existingAmount", + "type": "u64", + "index": false + }, + { + "name": "alpha", + "type": "bytes", + "index": false + }, + { + "name": "counter", + "type": "u128", + "index": false + } + ] + }, + { + "name": "VrfRequestEvent", + "fields": [ + { + "name": "vrfPubkey", + "type": "publicKey", + "index": true + }, + { + "name": "oraclePubkeys", + "type": { + "vec": "publicKey" + }, + "index": false + } + ] + }, + { + "name": "VrfProveEvent", + "fields": [ + { + "name": "vrfPubkey", + "type": "publicKey", + "index": true + }, + { + "name": "oraclePubkey", + "type": "publicKey", + "index": true + }, + { + "name": "authorityPubkey", + "type": "publicKey", + "index": false + } + ] + }, + { + "name": "VrfVerifyEvent", + "fields": [ + { + "name": "vrfPubkey", + "type": "publicKey", + "index": true + }, + { + "name": "oraclePubkey", + "type": "publicKey", + "index": true + }, + { + "name": "authorityPubkey", + "type": "publicKey", + "index": false + }, + { + "name": "amount", + "type": "u64", + "index": false + } + ] + }, + { + "name": "VrfCallbackPerformedEvent", + "fields": [ + { + "name": "vrfPubkey", + "type": "publicKey", + "index": true + }, + { + "name": "oraclePubkey", + "type": "publicKey", + "index": true + }, + { + "name": "amount", + "type": "u64", + "index": false + } + ] + }, + { + "name": "AggregatorOpenRoundEvent", + "fields": [ + { + "name": "feedPubkey", + "type": "publicKey", + "index": false + }, + { + "name": "oraclePubkeys", + "type": { + "vec": "publicKey" + }, + "index": false + }, + { + "name": "jobPubkeys", + "type": { + "vec": "publicKey" + }, + "index": false + }, + { + "name": "remainingFunds", + "type": "u64", + "index": false + }, + { + "name": "queueAuthority", + "type": "publicKey", + "index": false + } + ] + }, + { + "name": "AggregatorValueUpdateEvent", + "fields": [ + { + "name": "feedPubkey", + "type": "publicKey", + "index": false + }, + { + "name": "value", + "type": { + "defined": "BorshDecimal" + }, + "index": false + }, + { + "name": "slot", + "type": "u64", + "index": false + }, + { + "name": "timestamp", + "type": "i64", + "index": false + }, + { + "name": "oraclePubkeys", + "type": { + "vec": "publicKey" + }, + "index": false + }, + { + "name": "oracleValues", + "type": { + "vec": { + "defined": "BorshDecimal" + } + }, + "index": false + } + ] + }, + { + "name": "OracleRewardEvent", + "fields": [ + { + "name": "feedPubkey", + "type": "publicKey", + "index": false + }, + { + "name": "leasePubkey", + "type": "publicKey", + "index": false + }, + { + "name": "oraclePubkey", + "type": "publicKey", + "index": false + }, + { + "name": "walletPubkey", + "type": "publicKey", + "index": false + }, + { + "name": "amount", + "type": "u64", + "index": false + }, + { + "name": "roundSlot", + "type": "u64", + "index": false + }, + { + "name": "timestamp", + "type": "i64", + "index": false + } + ] + }, + { + "name": "OracleWithdrawEvent", + "fields": [ + { + "name": "oraclePubkey", + "type": "publicKey", + "index": false + }, + { + "name": "walletPubkey", + "type": "publicKey", + "index": false + }, + { + "name": "destinationWallet", + "type": "publicKey", + "index": false + }, + { + "name": "previousAmount", + "type": "u64", + "index": false + }, + { + "name": "newAmount", + "type": "u64", + "index": false + }, + { + "name": "timestamp", + "type": "i64", + "index": false + } + ] + }, + { + "name": "LeaseWithdrawEvent", + "fields": [ + { + "name": "leasePubkey", + "type": "publicKey", + "index": false + }, + { + "name": "walletPubkey", + "type": "publicKey", + "index": false + }, + { + "name": "previousAmount", + "type": "u64", + "index": false + }, + { + "name": "newAmount", + "type": "u64", + "index": false + }, + { + "name": "timestamp", + "type": "i64", + "index": false + } + ] + }, + { + "name": "OracleSlashEvent", + "fields": [ + { + "name": "feedPubkey", + "type": "publicKey", + "index": false + }, + { + "name": "leasePubkey", + "type": "publicKey", + "index": false + }, + { + "name": "oraclePubkey", + "type": "publicKey", + "index": false + }, + { + "name": "walletPubkey", + "type": "publicKey", + "index": false + }, + { + "name": "amount", + "type": "u64", + "index": false + }, + { + "name": "roundSlot", + "type": "u64", + "index": false + }, + { + "name": "timestamp", + "type": "i64", + "index": false + } + ] + }, + { + "name": "LeaseFundEvent", + "fields": [ + { + "name": "leasePubkey", + "type": "publicKey", + "index": false + }, + { + "name": "funder", + "type": "publicKey", + "index": false + }, + { + "name": "amount", + "type": "u64", + "index": false + }, + { + "name": "timestamp", + "type": "i64", + "index": false + } + ] + }, + { + "name": "ProbationBrokenEvent", + "fields": [ + { + "name": "feedPubkey", + "type": "publicKey", + "index": false + }, + { + "name": "queuePubkey", + "type": "publicKey", + "index": false + }, + { + "name": "timestamp", + "type": "i64", + "index": false + } + ] + }, + { + "name": "FeedPermissionRevokedEvent", + "fields": [ + { + "name": "feedPubkey", + "type": "publicKey", + "index": false + }, + { + "name": "timestamp", + "type": "i64", + "index": false + } + ] + }, + { + "name": "GarbageCollectFailureEvent", + "fields": [ + { + "name": "queuePubkey", + "type": "publicKey", + "index": false + } + ] + }, + { + "name": "OracleBootedEvent", + "fields": [ + { + "name": "queuePubkey", + "type": "publicKey", + "index": false + }, + { + "name": "oraclePubkey", + "type": "publicKey", + "index": false + } + ] + }, + { + "name": "AggregatorCrankEvictionEvent", + "fields": [ + { + "name": "crankPubkey", + "type": "publicKey", + "index": false + }, + { + "name": "aggregatorPubkey", + "type": "publicKey", + "index": true + }, + { + "name": "reason", + "type": { + "option": "u32" + }, + "index": false + }, + { + "name": "timestamp", + "type": "i64", + "index": false + } + ] + }, + { + "name": "CrankLeaseInsufficientFundsEvent", + "fields": [ + { + "name": "feedPubkey", + "type": "publicKey", + "index": false + }, + { + "name": "leasePubkey", + "type": "publicKey", + "index": false + } + ] + }, + { + "name": "CrankPopExpectedFailureEvent", + "fields": [ + { + "name": "feedPubkey", + "type": "publicKey", + "index": false + }, + { + "name": "leasePubkey", + "type": "publicKey", + "index": false + } + ] + }, + { + "name": "BufferRelayerOpenRoundEvent", + "fields": [ + { + "name": "relayerPubkey", + "type": "publicKey", + "index": false + }, + { + "name": "jobPubkey", + "type": "publicKey", + "index": false + }, + { + "name": "oraclePubkeys", + "type": { + "vec": "publicKey" + }, + "index": false + }, + { + "name": "remainingFunds", + "type": "u64", + "index": false + }, + { + "name": "queue", + "type": "publicKey", + "index": false + } + ] + } + ], + "errors": [ + { + "code": 6000, + "name": "ArrayOperationError", + "msg": "Illegal operation on a Switchboard array." + }, + { + "code": 6001, + "name": "QueueOperationError", + "msg": "Illegal operation on a Switchboard queue." + }, + { + "code": 6002, + "name": "IncorrectProgramOwnerError", + "msg": "An account required to be owned by the program has a different owner." + }, + { + "code": 6003, + "name": "InvalidAggregatorRound", + "msg": "Aggregator is not currently populated with a valid round." + }, + { + "code": 6004, + "name": "TooManyAggregatorJobs", + "msg": "Aggregator cannot fit any more jobs." + }, + { + "code": 6005, + "name": "AggregatorCurrentRoundClosed", + "msg": "Aggregator's current round is closed. No results are being accepted." + }, + { + "code": 6006, + "name": "AggregatorInvalidSaveResult", + "msg": "Aggregator received an invalid save result instruction." + }, + { + "code": 6007, + "name": "InvalidStrDecimalConversion", + "msg": "Failed to convert string to decimal format." + }, + { + "code": 6008, + "name": "AccountLoaderMissingSignature", + "msg": "AccountLoader account is missing a required signature." + }, + { + "code": 6009, + "name": "MissingRequiredSignature", + "msg": "Account is missing a required signature." + }, + { + "code": 6010, + "name": "ArrayOverflowError", + "msg": "The attempted action will overflow a zero-copy account array." + }, + { + "code": 6011, + "name": "ArrayUnderflowError", + "msg": "The attempted action will underflow a zero-copy account array." + }, + { + "code": 6012, + "name": "PubkeyNotFoundError", + "msg": "The queried public key was not found." + }, + { + "code": 6013, + "name": "AggregatorIllegalRoundOpenCall", + "msg": "Aggregator round open called too early." + }, + { + "code": 6014, + "name": "AggregatorIllegalRoundCloseCall", + "msg": "Aggregator round close called too early." + }, + { + "code": 6015, + "name": "AggregatorClosedError", + "msg": "Aggregator is closed. Illegal action." + }, + { + "code": 6016, + "name": "IllegalOracleIdxError", + "msg": "Illegal oracle index." + }, + { + "code": 6017, + "name": "OracleAlreadyRespondedError", + "msg": "The provided oracle has already responded this round." + }, + { + "code": 6018, + "name": "ProtoDeserializeError", + "msg": "Failed to deserialize protocol buffer." + }, + { + "code": 6019, + "name": "UnauthorizedStateUpdateError", + "msg": "Unauthorized program state modification attempted." + }, + { + "code": 6020, + "name": "MissingOracleAccountsError", + "msg": "Not enough oracle accounts provided to closeRounds." + }, + { + "code": 6021, + "name": "OracleMismatchError", + "msg": "An unexpected oracle account was provided for the transaction." + }, + { + "code": 6022, + "name": "CrankMaxCapacityError", + "msg": "Attempted to push to a Crank that's at capacity" + }, + { + "code": 6023, + "name": "AggregatorLeaseInsufficientFunds", + "msg": "Aggregator update call attempted but attached lease has insufficient funds." + }, + { + "code": 6024, + "name": "IncorrectTokenAccountMint", + "msg": "The provided token account does not point to the Switchboard token mint." + }, + { + "code": 6025, + "name": "InvalidEscrowAccount", + "msg": "An invalid escrow account was provided." + }, + { + "code": 6026, + "name": "CrankEmptyError", + "msg": "Crank empty. Pop failed." + }, + { + "code": 6027, + "name": "PdaDeriveError", + "msg": "Failed to derive a PDA from the provided seed." + }, + { + "code": 6028, + "name": "AggregatorAccountNotFound", + "msg": "Aggregator account missing from provided account list." + }, + { + "code": 6029, + "name": "PermissionAccountNotFound", + "msg": "Permission account missing from provided account list." + }, + { + "code": 6030, + "name": "LeaseAccountDeriveFailure", + "msg": "Failed to derive a lease account." + }, + { + "code": 6031, + "name": "PermissionAccountDeriveFailure", + "msg": "Failed to derive a permission account." + }, + { + "code": 6032, + "name": "EscrowAccountNotFound", + "msg": "Escrow account missing from provided account list." + }, + { + "code": 6033, + "name": "LeaseAccountNotFound", + "msg": "Lease account missing from provided account list." + }, + { + "code": 6034, + "name": "DecimalConversionError", + "msg": "Decimal conversion method failed." + }, + { + "code": 6035, + "name": "PermissionDenied", + "msg": "Permission account is missing required flags for the given action." + }, + { + "code": 6036, + "name": "QueueAtCapacity", + "msg": "Oracle queue is at lease capacity." + }, + { + "code": 6037, + "name": "ExcessiveCrankRowsError", + "msg": "Data feed is already pushed on a crank." + }, + { + "code": 6038, + "name": "AggregatorLockedError", + "msg": "Aggregator is locked, no setting modifications or job additions allowed." + }, + { + "code": 6039, + "name": "AggregatorInvalidBatchSizeError", + "msg": "Aggregator invalid batch size." + }, + { + "code": 6040, + "name": "AggregatorJobChecksumMismatch", + "msg": "Oracle provided an incorrect aggregator job checksum." + }, + { + "code": 6041, + "name": "IntegerOverflowError", + "msg": "An integer overflow occurred." + }, + { + "code": 6042, + "name": "InvalidUpdatePeriodError", + "msg": "Minimum update period is 5 seconds." + }, + { + "code": 6043, + "name": "NoResultsError", + "msg": "Aggregator round evaluation attempted with no results." + }, + { + "code": 6044, + "name": "InvalidExpirationError", + "msg": "An expiration constraint was broken." + }, + { + "code": 6045, + "name": "InsufficientStakeError", + "msg": "An account provided insufficient stake for action." + }, + { + "code": 6046, + "name": "LeaseInactiveError", + "msg": "The provided lease account is not active." + }, + { + "code": 6047, + "name": "NoAggregatorJobsFound", + "msg": "No jobs are currently included in the aggregator." + }, + { + "code": 6048, + "name": "IntegerUnderflowError", + "msg": "An integer underflow occurred." + }, + { + "code": 6049, + "name": "OracleQueueMismatch", + "msg": "An invalid oracle queue account was provided." + }, + { + "code": 6050, + "name": "OracleWalletMismatchError", + "msg": "An unexpected oracle wallet account was provided for the transaction." + }, + { + "code": 6051, + "name": "InvalidBufferAccountError", + "msg": "An invalid buffer account was provided." + }, + { + "code": 6052, + "name": "InsufficientOracleQueueError", + "msg": "Insufficient oracle queue size." + }, + { + "code": 6053, + "name": "InvalidAuthorityError", + "msg": "Invalid authority account provided." + }, + { + "code": 6054, + "name": "InvalidTokenAccountMintError", + "msg": "A provided token wallet is associated with an incorrect mint." + }, + { + "code": 6055, + "name": "ExcessiveLeaseWithdrawlError", + "msg": "You must leave enough funds to perform at least 1 update in the lease." + }, + { + "code": 6056, + "name": "InvalideHistoryAccountError", + "msg": "Invalid history account provided." + }, + { + "code": 6057, + "name": "InvalidLeaseAccountEscrowError", + "msg": "Invalid lease account escrow." + }, + { + "code": 6058, + "name": "InvalidCrankAccountError", + "msg": "Invalid crank provided." + }, + { + "code": 6059, + "name": "CrankNoElementsReadyError", + "msg": "No elements ready to be popped." + }, + { + "code": 6060, + "name": "IndexOutOfBoundsError", + "msg": "Index out of bounds" + }, + { + "code": 6061, + "name": "VrfInvalidRequestError", + "msg": "Invalid vrf request params" + }, + { + "code": 6062, + "name": "VrfInvalidProofSubmissionError", + "msg": "Vrf proof failed to verify" + }, + { + "code": 6063, + "name": "VrfVerifyError", + "msg": "Error in verifying vrf proof." + }, + { + "code": 6064, + "name": "VrfCallbackError", + "msg": "Vrf callback function failed." + }, + { + "code": 6065, + "name": "VrfCallbackParamsError", + "msg": "Invalid vrf callback params provided." + }, + { + "code": 6066, + "name": "VrfCallbackAlreadyCalledError", + "msg": "Vrf callback has already been triggered." + }, + { + "code": 6067, + "name": "VrfInvalidPubkeyError", + "msg": "The provided pubkey is invalid to use in ecvrf proofs" + }, + { + "code": 6068, + "name": "VrfTooManyVerifyCallsError", + "msg": "Number of required verify calls exceeded" + }, + { + "code": 6069, + "name": "VrfRequestAlreadyLaunchedError", + "msg": "Vrf request is already pending" + }, + { + "code": 6070, + "name": "VrfInsufficientVerificationError", + "msg": "Insufficient amount of proofs collected for VRF callback" + }, + { + "code": 6071, + "name": "InvalidVrfProducerError", + "msg": "An incorrect oracle attempted to submit a proof" + }, + { + "code": 6072, + "name": "InvalidGovernancePidError", + "msg": "Invalid SPLGovernance Account Supplied" + }, + { + "code": 6073, + "name": "InvalidGovernanceAccountError", + "msg": "An Invalid Governance Account was supplied" + }, + { + "code": 6074, + "name": "MissingOptionalAccount", + "msg": "Expected an optional account" + }, + { + "code": 6075, + "name": "InvalidSpawnRecordOwner", + "msg": "Invalid Owner for Spawn Record" + }, + { + "code": 6076, + "name": "NoopError", + "msg": "Noop error" + }, + { + "code": 6077, + "name": "MissingRequiredAccountsError", + "msg": "A required instruction account was not included" + }, + { + "code": 6078, + "name": "InvalidMintError", + "msg": "Invalid mint account passed for instruction" + }, + { + "code": 6079, + "name": "InvalidTokenAccountKeyError", + "msg": "An invalid token account was passed into the instruction" + }, + { + "code": 6080, + "name": "InvalidJobAccountError", + "msg": "" + }, + { + "code": 6081, + "name": "VoterStakeRegistryError", + "msg": "" + }, + { + "code": 6082, + "name": "AccountDiscriminatorMismatch", + "msg": "Account discriminator did not match." + }, + { + "code": 6083, + "name": "FuckingImpossibleError", + "msg": "This error is fucking impossible." + }, + { + "code": 6084, + "name": "InvalidVrfRound", + "msg": "Responding to the wrong VRF round" + }, + { + "code": 6085, + "name": "JobSizeExceeded", + "msg": "Job size has exceeded the max of 6400 bytes" + }, + { + "code": 6086, + "name": "JobChunksExceeded", + "msg": "Job loading can only support a maximum of 8 chunks" + }, + { + "code": 6087, + "name": "JobDataLocked", + "msg": "Job has finished initializing and is immutable" + }, + { + "code": 6088, + "name": "JobNotInitialized", + "msg": "Job account has not finished initializing" + }, + { + "code": 6089, + "name": "BufferRelayerIllegalRoundOpenCall", + "msg": "BufferRelayer round open called too early." + } + ] +} \ No newline at end of file