├── .gitattributes ├── .gitignore ├── Anchor.toml ├── Cargo.lock ├── Cargo.toml ├── migrations └── deploy.ts ├── package.json ├── programs └── nft-staking │ ├── Cargo.toml │ ├── Xargo.toml │ └── src │ ├── errors.rs │ ├── instructions │ ├── claim.rs │ ├── initialize_config.rs │ ├── initialize_user.rs │ ├── mod.rs │ ├── stake.rs │ └── unstake.rs │ ├── lib.rs │ └── state │ ├── mod.rs │ ├── stake_account.rs │ ├── stake_config.rs │ └── user_account.rs ├── readme.MD ├── tests └── nft-staking.ts ├── tsconfig.json └── yarn.lock /.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ASCorreia/NFT-staking/HEAD/.gitattributes -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | 2 | /target 3 | /node_modules 4 | /.anchor 5 | -------------------------------------------------------------------------------- /Anchor.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ASCorreia/NFT-staking/HEAD/Anchor.toml -------------------------------------------------------------------------------- /Cargo.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ASCorreia/NFT-staking/HEAD/Cargo.lock -------------------------------------------------------------------------------- /Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ASCorreia/NFT-staking/HEAD/Cargo.toml -------------------------------------------------------------------------------- /migrations/deploy.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ASCorreia/NFT-staking/HEAD/migrations/deploy.ts -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ASCorreia/NFT-staking/HEAD/package.json -------------------------------------------------------------------------------- /programs/nft-staking/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ASCorreia/NFT-staking/HEAD/programs/nft-staking/Cargo.toml -------------------------------------------------------------------------------- /programs/nft-staking/Xargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ASCorreia/NFT-staking/HEAD/programs/nft-staking/Xargo.toml -------------------------------------------------------------------------------- /programs/nft-staking/src/errors.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ASCorreia/NFT-staking/HEAD/programs/nft-staking/src/errors.rs -------------------------------------------------------------------------------- /programs/nft-staking/src/instructions/claim.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ASCorreia/NFT-staking/HEAD/programs/nft-staking/src/instructions/claim.rs -------------------------------------------------------------------------------- /programs/nft-staking/src/instructions/initialize_config.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ASCorreia/NFT-staking/HEAD/programs/nft-staking/src/instructions/initialize_config.rs -------------------------------------------------------------------------------- /programs/nft-staking/src/instructions/initialize_user.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ASCorreia/NFT-staking/HEAD/programs/nft-staking/src/instructions/initialize_user.rs -------------------------------------------------------------------------------- /programs/nft-staking/src/instructions/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ASCorreia/NFT-staking/HEAD/programs/nft-staking/src/instructions/mod.rs -------------------------------------------------------------------------------- /programs/nft-staking/src/instructions/stake.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ASCorreia/NFT-staking/HEAD/programs/nft-staking/src/instructions/stake.rs -------------------------------------------------------------------------------- /programs/nft-staking/src/instructions/unstake.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ASCorreia/NFT-staking/HEAD/programs/nft-staking/src/instructions/unstake.rs -------------------------------------------------------------------------------- /programs/nft-staking/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ASCorreia/NFT-staking/HEAD/programs/nft-staking/src/lib.rs -------------------------------------------------------------------------------- /programs/nft-staking/src/state/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ASCorreia/NFT-staking/HEAD/programs/nft-staking/src/state/mod.rs -------------------------------------------------------------------------------- /programs/nft-staking/src/state/stake_account.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ASCorreia/NFT-staking/HEAD/programs/nft-staking/src/state/stake_account.rs -------------------------------------------------------------------------------- /programs/nft-staking/src/state/stake_config.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ASCorreia/NFT-staking/HEAD/programs/nft-staking/src/state/stake_config.rs -------------------------------------------------------------------------------- /programs/nft-staking/src/state/user_account.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ASCorreia/NFT-staking/HEAD/programs/nft-staking/src/state/user_account.rs -------------------------------------------------------------------------------- /readme.MD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ASCorreia/NFT-staking/HEAD/readme.MD -------------------------------------------------------------------------------- /tests/nft-staking.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ASCorreia/NFT-staking/HEAD/tests/nft-staking.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ASCorreia/NFT-staking/HEAD/tsconfig.json -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ASCorreia/NFT-staking/HEAD/yarn.lock --------------------------------------------------------------------------------