{"kind":"rootNode","standard":"codama","version":"1.9.2","program":{"kind":"programNode","name":"soltoshidiceRps","publicKey":"96hGHn4JD3AyzXvNPdx4RyNtS8y7sQ5NizagMsdMAXhG","version":"1.0.0","docs":["Decode-only IDL for verified mainnet source d2c0b0b7fd14b727d925b137f64ee910261c9f3c. Native Borsh account layouts and instruction payloads; no Anchor discriminator is prepended.","Instruction account roles are intentionally not inferred. For transaction construction, use the maintained game/chain client builders and verified Rust validation. This IDL is not a replacement for those clients.","Accounts sharing the same byte length can be ambiguous; inspect their PDA derivation and owner against the verified Rust source before using decoded fields."],"accounts":[{"kind":"accountNode","name":"config","size":99,"docs":["Native Borsh account, with no Anchor prefix. Source: games/chain/rps-program/src/lib.rs:24."],"data":{"kind":"structTypeNode","fields":[{"kind":"structFieldTypeNode","name":"version","type":{"kind":"numberTypeNode","format":"u8","endian":"le"}},{"kind":"structFieldTypeNode","name":"mint","type":{"kind":"publicKeyTypeNode"}},{"kind":"structFieldTypeNode","name":"bankVault","type":{"kind":"publicKeyTypeNode"}},{"kind":"structFieldTypeNode","name":"bankOwner","type":{"kind":"publicKeyTypeNode"}},{"kind":"structFieldTypeNode","name":"decimals","type":{"kind":"numberTypeNode","format":"u8","endian":"le"}},{"kind":"structFieldTypeNode","name":"bump","type":{"kind":"numberTypeNode","format":"u8","endian":"le"}}]},"discriminators":[{"kind":"sizeDiscriminatorNode","size":99}]},{"kind":"accountNode","name":"counter","size":42,"docs":["Native Borsh account, with no Anchor prefix. Source: games/chain/rps-program/src/lib.rs:26."],"data":{"kind":"structTypeNode","fields":[{"kind":"structFieldTypeNode","name":"version","type":{"kind":"numberTypeNode","format":"u8","endian":"le"}},{"kind":"structFieldTypeNode","name":"player","type":{"kind":"publicKeyTypeNode"}},{"kind":"structFieldTypeNode","name":"next","type":{"kind":"numberTypeNode","format":"u64","endian":"le"}},{"kind":"structFieldTypeNode","name":"bump","type":{"kind":"numberTypeNode","format":"u8","endian":"le"}}]},"discriminators":[{"kind":"sizeDiscriminatorNode","size":42}]},{"kind":"accountNode","name":"match","size":379,"docs":["Native Borsh account, with no Anchor prefix. Source: games/chain/rps-program/src/lib.rs:28."],"data":{"kind":"structTypeNode","fields":[{"kind":"structFieldTypeNode","name":"version","type":{"kind":"numberTypeNode","format":"u8","endian":"le"}},{"kind":"structFieldTypeNode","name":"challenger","type":{"kind":"publicKeyTypeNode"}},{"kind":"structFieldTypeNode","name":"opponent","type":{"kind":"publicKeyTypeNode"}},{"kind":"structFieldTypeNode","name":"sessions","type":{"kind":"arrayTypeNode","item":{"kind":"publicKeyTypeNode"},"count":{"kind":"fixedCountNode","value":2}}},{"kind":"structFieldTypeNode","name":"nonce","type":{"kind":"numberTypeNode","format":"u64","endian":"le"}},{"kind":"structFieldTypeNode","name":"wager","type":{"kind":"numberTypeNode","format":"u64","endian":"le"}},{"kind":"structFieldTypeNode","name":"sideBudget","type":{"kind":"numberTypeNode","format":"u64","endian":"le"}},{"kind":"structFieldTypeNode","name":"credit","type":{"kind":"numberTypeNode","format":"u64","endian":"le"}},{"kind":"structFieldTypeNode","name":"expires","type":{"kind":"numberTypeNode","format":"i64","endian":"le"}},{"kind":"structFieldTypeNode","name":"acceptedAt","type":{"kind":"numberTypeNode","format":"i64","endian":"le"}},{"kind":"structFieldTypeNode","name":"deadline","type":{"kind":"numberTypeNode","format":"i64","endian":"le"}},{"kind":"structFieldTypeNode","name":"finishedAt","type":{"kind":"numberTypeNode","format":"i64","endian":"le"}},{"kind":"structFieldTypeNode","name":"state","type":{"kind":"numberTypeNode","format":"u8","endian":"le"}},{"kind":"structFieldTypeNode","name":"bump","type":{"kind":"numberTypeNode","format":"u8","endian":"le"}},{"kind":"structFieldTypeNode","name":"bestOf","type":{"kind":"numberTypeNode","format":"u8","endian":"le"}},{"kind":"structFieldTypeNode","name":"wins","type":{"kind":"arrayTypeNode","item":{"kind":"numberTypeNode","format":"u8","endian":"le"},"count":{"kind":"fixedCountNode","value":2}}},{"kind":"structFieldTypeNode","name":"winner","type":{"kind":"numberTypeNode","format":"u8","endian":"le"}},{"kind":"structFieldTypeNode","name":"reason","type":{"kind":"numberTypeNode","format":"u8","endian":"le"}},{"kind":"structFieldTypeNode","name":"round","type":{"kind":"numberTypeNode","format":"u32","endian":"le"}},{"kind":"structFieldTypeNode","name":"committed","type":{"kind":"numberTypeNode","format":"u8","endian":"le"}},{"kind":"structFieldTypeNode","name":"revealed","type":{"kind":"numberTypeNode","format":"u8","endian":"le"}},{"kind":"structFieldTypeNode","name":"hashes","type":{"kind":"arrayTypeNode","item":{"kind":"arrayTypeNode","item":{"kind":"numberTypeNode","format":"u8","endian":"le"},"count":{"kind":"fixedCountNode","value":32}},"count":{"kind":"fixedCountNode","value":2}}},{"kind":"structFieldTypeNode","name":"choices","type":{"kind":"arrayTypeNode","item":{"kind":"numberTypeNode","format":"u8","endian":"le"},"count":{"kind":"fixedCountNode","value":2}}},{"kind":"structFieldTypeNode","name":"salts","type":{"kind":"arrayTypeNode","item":{"kind":"arrayTypeNode","item":{"kind":"numberTypeNode","format":"u8","endian":"le"},"count":{"kind":"fixedCountNode","value":32}},"count":{"kind":"fixedCountNode","value":2}}},{"kind":"structFieldTypeNode","name":"lastMoves","type":{"kind":"arrayTypeNode","item":{"kind":"numberTypeNode","format":"u8","endian":"le"},"count":{"kind":"fixedCountNode","value":2}}},{"kind":"structFieldTypeNode","name":"lastWinner","type":{"kind":"numberTypeNode","format":"u8","endian":"le"}},{"kind":"structFieldTypeNode","name":"transcript","type":{"kind":"arrayTypeNode","item":{"kind":"numberTypeNode","format":"u8","endian":"le"},"count":{"kind":"fixedCountNode","value":32}}},{"kind":"structFieldTypeNode","name":"resolvedAt","type":{"kind":"numberTypeNode","format":"i64","endian":"le"}}]},"discriminators":[{"kind":"sizeDiscriminatorNode","size":379}]}],"instructions":[{"kind":"instructionNode","name":"initializeRps","docs":["Decode-only instruction data. Account roles must be taken from the verified Rust handler and maintained client, not inferred from this schema."],"optionalAccountStrategy":"programId","arguments":[{"kind":"instructionArgumentNode","name":"discriminator","defaultValueStrategy":"omitted","type":{"kind":"numberTypeNode","format":"u8","endian":"le"},"defaultValue":{"kind":"numberValueNode","number":0}}],"discriminators":[{"kind":"constantDiscriminatorNode","offset":0,"constant":{"kind":"constantValueNode","type":{"kind":"numberTypeNode","format":"u8","endian":"le"},"value":{"kind":"numberValueNode","number":0}}},{"kind":"sizeDiscriminatorNode","size":1}],"accounts":[]},{"kind":"instructionNode","name":"challengeRps","docs":["Decode-only instruction data. Account roles must be taken from the verified Rust handler and maintained client, not inferred from this schema."],"optionalAccountStrategy":"programId","arguments":[{"kind":"instructionArgumentNode","name":"discriminator","defaultValueStrategy":"omitted","type":{"kind":"numberTypeNode","format":"u8","endian":"le"},"defaultValue":{"kind":"numberValueNode","number":1}},{"kind":"instructionArgumentNode","name":"nonce","type":{"kind":"numberTypeNode","format":"u64","endian":"le"}},{"kind":"instructionArgumentNode","name":"wager","type":{"kind":"numberTypeNode","format":"u64","endian":"le"}},{"kind":"instructionArgumentNode","name":"sideBudget","type":{"kind":"numberTypeNode","format":"u64","endian":"le"}},{"kind":"instructionArgumentNode","name":"expires","type":{"kind":"numberTypeNode","format":"i64","endian":"le"}},{"kind":"instructionArgumentNode","name":"bestOf","type":{"kind":"numberTypeNode","format":"u8","endian":"le"}},{"kind":"instructionArgumentNode","name":"session","type":{"kind":"publicKeyTypeNode"}}],"discriminators":[{"kind":"constantDiscriminatorNode","offset":0,"constant":{"kind":"constantValueNode","type":{"kind":"numberTypeNode","format":"u8","endian":"le"},"value":{"kind":"numberValueNode","number":1}}},{"kind":"sizeDiscriminatorNode","size":66}],"accounts":[]},{"kind":"instructionNode","name":"acceptRps","docs":["Decode-only instruction data. Account roles must be taken from the verified Rust handler and maintained client, not inferred from this schema."],"optionalAccountStrategy":"programId","arguments":[{"kind":"instructionArgumentNode","name":"discriminator","defaultValueStrategy":"omitted","type":{"kind":"numberTypeNode","format":"u8","endian":"le"},"defaultValue":{"kind":"numberValueNode","number":2}},{"kind":"instructionArgumentNode","name":"session","type":{"kind":"publicKeyTypeNode"}}],"discriminators":[{"kind":"constantDiscriminatorNode","offset":0,"constant":{"kind":"constantValueNode","type":{"kind":"numberTypeNode","format":"u8","endian":"le"},"value":{"kind":"numberValueNode","number":2}}},{"kind":"sizeDiscriminatorNode","size":33}],"accounts":[]},{"kind":"instructionNode","name":"commitRps","docs":["Decode-only instruction data. Account roles must be taken from the verified Rust handler and maintained client, not inferred from this schema."],"optionalAccountStrategy":"programId","arguments":[{"kind":"instructionArgumentNode","name":"discriminator","defaultValueStrategy":"omitted","type":{"kind":"numberTypeNode","format":"u8","endian":"le"},"defaultValue":{"kind":"numberValueNode","number":3}},{"kind":"instructionArgumentNode","name":"round","type":{"kind":"numberTypeNode","format":"u32","endian":"le"}},{"kind":"instructionArgumentNode","name":"side","type":{"kind":"numberTypeNode","format":"u8","endian":"le"}},{"kind":"instructionArgumentNode","name":"commitment","type":{"kind":"arrayTypeNode","item":{"kind":"numberTypeNode","format":"u8","endian":"le"},"count":{"kind":"fixedCountNode","value":32}}}],"discriminators":[{"kind":"constantDiscriminatorNode","offset":0,"constant":{"kind":"constantValueNode","type":{"kind":"numberTypeNode","format":"u8","endian":"le"},"value":{"kind":"numberValueNode","number":3}}},{"kind":"sizeDiscriminatorNode","size":38}],"accounts":[]},{"kind":"instructionNode","name":"settleRps","docs":["Decode-only instruction data. Account roles must be taken from the verified Rust handler and maintained client, not inferred from this schema."],"optionalAccountStrategy":"programId","arguments":[{"kind":"instructionArgumentNode","name":"discriminator","defaultValueStrategy":"omitted","type":{"kind":"numberTypeNode","format":"u8","endian":"le"},"defaultValue":{"kind":"numberValueNode","number":4}}],"discriminators":[{"kind":"constantDiscriminatorNode","offset":0,"constant":{"kind":"constantValueNode","type":{"kind":"numberTypeNode","format":"u8","endian":"le"},"value":{"kind":"numberValueNode","number":4}}},{"kind":"sizeDiscriminatorNode","size":1}],"accounts":[]},{"kind":"instructionNode","name":"timeoutOrCancelRps","docs":["Decode-only instruction data. Account roles must be taken from the verified Rust handler and maintained client, not inferred from this schema."],"optionalAccountStrategy":"programId","arguments":[{"kind":"instructionArgumentNode","name":"discriminator","defaultValueStrategy":"omitted","type":{"kind":"numberTypeNode","format":"u8","endian":"le"},"defaultValue":{"kind":"numberValueNode","number":5}}],"discriminators":[{"kind":"constantDiscriminatorNode","offset":0,"constant":{"kind":"constantValueNode","type":{"kind":"numberTypeNode","format":"u8","endian":"le"},"value":{"kind":"numberValueNode","number":5}}},{"kind":"sizeDiscriminatorNode","size":1}],"accounts":[]},{"kind":"instructionNode","name":"closeRps","docs":["Decode-only instruction data. Account roles must be taken from the verified Rust handler and maintained client, not inferred from this schema."],"optionalAccountStrategy":"programId","arguments":[{"kind":"instructionArgumentNode","name":"discriminator","defaultValueStrategy":"omitted","type":{"kind":"numberTypeNode","format":"u8","endian":"le"},"defaultValue":{"kind":"numberValueNode","number":6}}],"discriminators":[{"kind":"constantDiscriminatorNode","offset":0,"constant":{"kind":"constantValueNode","type":{"kind":"numberTypeNode","format":"u8","endian":"le"},"value":{"kind":"numberValueNode","number":6}}},{"kind":"sizeDiscriminatorNode","size":1}],"accounts":[]},{"kind":"instructionNode","name":"revealRps","docs":["Decode-only instruction data. Account roles must be taken from the verified Rust handler and maintained client, not inferred from this schema."],"optionalAccountStrategy":"programId","arguments":[{"kind":"instructionArgumentNode","name":"discriminator","defaultValueStrategy":"omitted","type":{"kind":"numberTypeNode","format":"u8","endian":"le"},"defaultValue":{"kind":"numberValueNode","number":7}},{"kind":"instructionArgumentNode","name":"round","type":{"kind":"numberTypeNode","format":"u32","endian":"le"}},{"kind":"instructionArgumentNode","name":"side","type":{"kind":"numberTypeNode","format":"u8","endian":"le"}},{"kind":"instructionArgumentNode","name":"choice","type":{"kind":"numberTypeNode","format":"u8","endian":"le"}},{"kind":"instructionArgumentNode","name":"salt","type":{"kind":"arrayTypeNode","item":{"kind":"numberTypeNode","format":"u8","endian":"le"},"count":{"kind":"fixedCountNode","value":32}}}],"discriminators":[{"kind":"constantDiscriminatorNode","offset":0,"constant":{"kind":"constantValueNode","type":{"kind":"numberTypeNode","format":"u8","endian":"le"},"value":{"kind":"numberValueNode","number":7}}},{"kind":"sizeDiscriminatorNode","size":39}],"accounts":[]}],"definedTypes":[{"kind":"definedTypeNode","name":"config","type":{"kind":"structTypeNode","fields":[{"kind":"structFieldTypeNode","name":"version","type":{"kind":"numberTypeNode","format":"u8","endian":"le"}},{"kind":"structFieldTypeNode","name":"mint","type":{"kind":"publicKeyTypeNode"}},{"kind":"structFieldTypeNode","name":"bankVault","type":{"kind":"publicKeyTypeNode"}},{"kind":"structFieldTypeNode","name":"bankOwner","type":{"kind":"publicKeyTypeNode"}},{"kind":"structFieldTypeNode","name":"decimals","type":{"kind":"numberTypeNode","format":"u8","endian":"le"}},{"kind":"structFieldTypeNode","name":"bump","type":{"kind":"numberTypeNode","format":"u8","endian":"le"}}]}},{"kind":"definedTypeNode","name":"counter","type":{"kind":"structTypeNode","fields":[{"kind":"structFieldTypeNode","name":"version","type":{"kind":"numberTypeNode","format":"u8","endian":"le"}},{"kind":"structFieldTypeNode","name":"player","type":{"kind":"publicKeyTypeNode"}},{"kind":"structFieldTypeNode","name":"next","type":{"kind":"numberTypeNode","format":"u64","endian":"le"}},{"kind":"structFieldTypeNode","name":"bump","type":{"kind":"numberTypeNode","format":"u8","endian":"le"}}]}},{"kind":"definedTypeNode","name":"match","type":{"kind":"structTypeNode","fields":[{"kind":"structFieldTypeNode","name":"version","type":{"kind":"numberTypeNode","format":"u8","endian":"le"}},{"kind":"structFieldTypeNode","name":"challenger","type":{"kind":"publicKeyTypeNode"}},{"kind":"structFieldTypeNode","name":"opponent","type":{"kind":"publicKeyTypeNode"}},{"kind":"structFieldTypeNode","name":"sessions","type":{"kind":"arrayTypeNode","item":{"kind":"publicKeyTypeNode"},"count":{"kind":"fixedCountNode","value":2}}},{"kind":"structFieldTypeNode","name":"nonce","type":{"kind":"numberTypeNode","format":"u64","endian":"le"}},{"kind":"structFieldTypeNode","name":"wager","type":{"kind":"numberTypeNode","format":"u64","endian":"le"}},{"kind":"structFieldTypeNode","name":"sideBudget","type":{"kind":"numberTypeNode","format":"u64","endian":"le"}},{"kind":"structFieldTypeNode","name":"credit","type":{"kind":"numberTypeNode","format":"u64","endian":"le"}},{"kind":"structFieldTypeNode","name":"expires","type":{"kind":"numberTypeNode","format":"i64","endian":"le"}},{"kind":"structFieldTypeNode","name":"acceptedAt","type":{"kind":"numberTypeNode","format":"i64","endian":"le"}},{"kind":"structFieldTypeNode","name":"deadline","type":{"kind":"numberTypeNode","format":"i64","endian":"le"}},{"kind":"structFieldTypeNode","name":"finishedAt","type":{"kind":"numberTypeNode","format":"i64","endian":"le"}},{"kind":"structFieldTypeNode","name":"state","type":{"kind":"numberTypeNode","format":"u8","endian":"le"}},{"kind":"structFieldTypeNode","name":"bump","type":{"kind":"numberTypeNode","format":"u8","endian":"le"}},{"kind":"structFieldTypeNode","name":"bestOf","type":{"kind":"numberTypeNode","format":"u8","endian":"le"}},{"kind":"structFieldTypeNode","name":"wins","type":{"kind":"arrayTypeNode","item":{"kind":"numberTypeNode","format":"u8","endian":"le"},"count":{"kind":"fixedCountNode","value":2}}},{"kind":"structFieldTypeNode","name":"winner","type":{"kind":"numberTypeNode","format":"u8","endian":"le"}},{"kind":"structFieldTypeNode","name":"reason","type":{"kind":"numberTypeNode","format":"u8","endian":"le"}},{"kind":"structFieldTypeNode","name":"round","type":{"kind":"numberTypeNode","format":"u32","endian":"le"}},{"kind":"structFieldTypeNode","name":"committed","type":{"kind":"numberTypeNode","format":"u8","endian":"le"}},{"kind":"structFieldTypeNode","name":"revealed","type":{"kind":"numberTypeNode","format":"u8","endian":"le"}},{"kind":"structFieldTypeNode","name":"hashes","type":{"kind":"arrayTypeNode","item":{"kind":"arrayTypeNode","item":{"kind":"numberTypeNode","format":"u8","endian":"le"},"count":{"kind":"fixedCountNode","value":32}},"count":{"kind":"fixedCountNode","value":2}}},{"kind":"structFieldTypeNode","name":"choices","type":{"kind":"arrayTypeNode","item":{"kind":"numberTypeNode","format":"u8","endian":"le"},"count":{"kind":"fixedCountNode","value":2}}},{"kind":"structFieldTypeNode","name":"salts","type":{"kind":"arrayTypeNode","item":{"kind":"arrayTypeNode","item":{"kind":"numberTypeNode","format":"u8","endian":"le"},"count":{"kind":"fixedCountNode","value":32}},"count":{"kind":"fixedCountNode","value":2}}},{"kind":"structFieldTypeNode","name":"lastMoves","type":{"kind":"arrayTypeNode","item":{"kind":"numberTypeNode","format":"u8","endian":"le"},"count":{"kind":"fixedCountNode","value":2}}},{"kind":"structFieldTypeNode","name":"lastWinner","type":{"kind":"numberTypeNode","format":"u8","endian":"le"}},{"kind":"structFieldTypeNode","name":"transcript","type":{"kind":"arrayTypeNode","item":{"kind":"numberTypeNode","format":"u8","endian":"le"},"count":{"kind":"fixedCountNode","value":32}}},{"kind":"structFieldTypeNode","name":"resolvedAt","type":{"kind":"numberTypeNode","format":"i64","endian":"le"}}]}}],"pdas":[],"errors":[]},"additionalPrograms":[]}