{"version":"0.1.4","name":"brrr","instructions":[{"name":"printCash","accounts":[{"name":"common","accounts":[{"name":"bank","isMut":false,"isSigner":false},{"name":"collateral","isMut":false,"isSigner":false},{"name":"crateToken","isMut":false,"isSigner":false},{"name":"crateMint","isMut":true,"isSigner":false},{"name":"crateCollateralTokens","isMut":true,"isSigner":false},{"name":"saberSwap","accounts":[{"name":"arrow","isMut":false,"isSigner":false},{"name":"saberSwap","isMut":false,"isSigner":false},{"name":"poolMint","isMut":false,"isSigner":false},{"name":"reserveA","isMut":false,"isSigner":false},{"name":"reserveB","isMut":false,"isSigner":false}]},{"name":"tokenProgram","isMut":false,"isSigner":false},{"name":"crateTokenProgram","isMut":false,"isSigner":false}]},{"name":"depositor","isMut":true,"isSigner":true},{"name":"depositorSource","isMut":true,"isSigner":false},{"name":"mintDestination","isMut":true,"isSigner":false},{"name":"issueAuthority","isMut":false,"isSigner":false}],"args":[{"name":"depositAmount","type":"u64"}]},{"name":"burnCash","accounts":[{"name":"common","accounts":[{"name":"bank","isMut":false,"isSigner":false},{"name":"collateral","isMut":false,"isSigner":false},{"name":"crateToken","isMut":false,"isSigner":false},{"name":"crateMint","isMut":true,"isSigner":false},{"name":"crateCollateralTokens","isMut":true,"isSigner":false},{"name":"saberSwap","accounts":[{"name":"arrow","isMut":false,"isSigner":false},{"name":"saberSwap","isMut":false,"isSigner":false},{"name":"poolMint","isMut":false,"isSigner":false},{"name":"reserveA","isMut":false,"isSigner":false},{"name":"reserveB","isMut":false,"isSigner":false}]},{"name":"tokenProgram","isMut":false,"isSigner":false},{"name":"crateTokenProgram","isMut":false,"isSigner":false}]},{"name":"burner","isMut":true,"isSigner":true},{"name":"burnedCashSource","isMut":true,"isSigner":false},{"name":"withdrawDestination","isMut":true,"isSigner":false},{"name":"authorFeeDestination","isMut":true,"isSigner":false},{"name":"protocolFeeDestination","isMut":true,"isSigner":false},{"name":"withdrawAuthority","isMut":false,"isSigner":false}],"args":[{"name":"burnAmount","type":"u64"}]}],"events":[{"name":"PrintCashEvent","fields":[{"name":"depositor","type":"publicKey","index":false},{"name":"collateralMint","type":"publicKey","index":false},{"name":"printAmount","type":"u64","index":false},{"name":"depositAmount","type":"u64","index":false},{"name":"timestamp","type":"i64","index":false}]},{"name":"BurnCashEvent","fields":[{"name":"burner","type":"publicKey","index":false},{"name":"collateralMint","type":"publicKey","index":false},{"name":"burnAmount","type":"u64","index":false},{"name":"withdrawAmount","type":"u64","index":false},{"name":"timestamp","type":"i64","index":false}]}],"errors":[{"code":6000,"name":"CollateralHardCapHit","msg":"Too many of this LP token are being used as collateral."},{"code":6001,"name":"InsufficientFunds","msg":"Insufficient pool funds."}]}