Settings

Blockchain
Network
Unit
Language
Theme
Sound New Block

Transaction

e111211ecc3e109c14e70094bf38ab39fe24b0e315d71b7e7de837690b29d63f
Timestamp (utc)
2022-02-01 05:33:04
Fee Paid
0.00011256 BSV
(
0.00028766 BSV
-
0.00017510 BSV
)
Fee Rate
499.9 sat/KB
Version
1
Confirmations
258,184
Size Stats
22,504 B

12 Outputs

Total Output:
0.00017510 BSV
  • jrunLoUM_S{"in":4,"ref":["e7fbc6df2f2be2cf7e5e2cddd6cf5fb4344b0fad40f4b77d1762db56ac3238de_o1","73b6d92ecd0bbefc62bde7d3e01820b8f61c83c0ef0ecc514b6ef1260a405d48_o1","a2fa1e5a301c21a2b0f6bace42a2b125d172d782080c440b05c4ecca8e95bf80_o64","c52cea1b8b6f09f55d99b13f894f83801d5e9d21f48e57fd5593b10fe748cf46_o1","c52cea1b8b6f09f55d99b13f894f83801d5e9d21f48e57fd5593b10fe748cf46_o4","c52cea1b8b6f09f55d99b13f894f83801d5e9d21f48e57fd5593b10fe748cf46_o5","a2fa1e5a301c21a2b0f6bace42a2b125d172d782080c440b05c4ecca8e95bf80_o8","a2fa1e5a301c21a2b0f6bace42a2b125d172d782080c440b05c4ecca8e95bf80_o9","a2fa1e5a301c21a2b0f6bace42a2b125d172d782080c440b05c4ecca8e95bf80_o10","a2fa1e5a301c21a2b0f6bace42a2b125d172d782080c440b05c4ecca8e95bf80_o11","a2fa1e5a301c21a2b0f6bace42a2b125d172d782080c440b05c4ecca8e95bf80_o12","a2fa1e5a301c21a2b0f6bace42a2b125d172d782080c440b05c4ecca8e95bf80_o13","a2fa1e5a301c21a2b0f6bace42a2b125d172d782080c440b05c4ecca8e95bf80_o14","a2fa1e5a301c21a2b0f6bace42a2b125d172d782080c440b05c4ecca8e95bf80_o15","a2fa1e5a301c21a2b0f6bace42a2b125d172d782080c440b05c4ecca8e95bf80_o16","a2fa1e5a301c21a2b0f6bace42a2b125d172d782080c440b05c4ecca8e95bf80_o17","a2fa1e5a301c21a2b0f6bace42a2b125d172d782080c440b05c4ecca8e95bf80_o18","a2fa1e5a301c21a2b0f6bace42a2b125d172d782080c440b05c4ecca8e95bf80_o19","a2fa1e5a301c21a2b0f6bace42a2b125d172d782080c440b05c4ecca8e95bf80_o20","a2fa1e5a301c21a2b0f6bace42a2b125d172d782080c440b05c4ecca8e95bf80_o21","a2fa1e5a301c21a2b0f6bace42a2b125d172d782080c440b05c4ecca8e95bf80_o22","a2fa1e5a301c21a2b0f6bace42a2b125d172d782080c440b05c4ecca8e95bf80_o23","a2fa1e5a301c21a2b0f6bace42a2b125d172d782080c440b05c4ecca8e95bf80_o24","a2fa1e5a301c21a2b0f6bace42a2b125d172d782080c440b05c4ecca8e95bf80_o25","a2fa1e5a301c21a2b0f6bace42a2b125d172d782080c440b05c4ecca8e95bf80_o26","a2fa1e5a301c21a2b0f6bace42a2b125d172d782080c440b05c4ecca8e95bf80_o27","a2fa1e5a301c21a2b0f6bace42a2b125d172d782080c440b05c4ecca8e95bf80_o28","a2fa1e5a301c21a2b0f6bace42a2b125d172d782080c440b05c4ecca8e95bf80_o29","a2fa1e5a301c21a2b0f6bace42a2b125d172d782080c440b05c4ecca8e95bf80_o30","a2fa1e5a301c21a2b0f6bace42a2b125d172d782080c440b05c4ecca8e95bf80_o31","a2fa1e5a301c21a2b0f6bace42a2b125d172d782080c440b05c4ecca8e95bf80_o32","a2fa1e5a301c21a2b0f6bace42a2b125d172d782080c440b05c4ecca8e95bf80_o33","a2fa1e5a301c21a2b0f6bace42a2b125d172d782080c440b05c4ecca8e95bf80_o34","a2fa1e5a301c21a2b0f6bace42a2b125d172d782080c440b05c4ecca8e95bf80_o35","a2fa1e5a301c21a2b0f6bace42a2b125d172d782080c440b05c4ecca8e95bf80_o36","a2fa1e5a301c21a2b0f6bace42a2b125d172d782080c440b05c4ecca8e95bf80_o37","a2fa1e5a301c21a2b0f6bace42a2b125d172d782080c440b05c4ecca8e95bf80_o38","a2fa1e5a301c21a2b0f6bace42a2b125d172d782080c440b05c4ecca8e95bf80_o39","a2fa1e5a301c21a2b0f6bace42a2b125d172d782080c440b05c4ecca8e95bf80_o40","a2fa1e5a301c21a2b0f6bace42a2b125d172d782080c440b05c4ecca8e95bf80_o41","a2fa1e5a301c21a2b0f6bace42a2b125d172d782080c440b05c4ecca8e95bf80_o42","a2fa1e5a301c21a2b0f6bace42a2b125d172d782080c440b05c4ecca8e95bf80_o43","a2fa1e5a301c21a2b0f6bace42a2b125d172d782080c440b05c4ecca8e95bf80_o44","a2fa1e5a301c21a2b0f6bace42a2b125d172d782080c440b05c4ecca8e95bf80_o45","a2fa1e5a301c21a2b0f6bace42a2b125d172d782080c440b05c4ecca8e95bf80_o46","a2fa1e5a301c21a2b0f6bace42a2b125d172d782080c440b05c4ecca8e95bf80_o47","a2fa1e5a301c21a2b0f6bace42a2b125d172d782080c440b05c4ecca8e95bf80_o48","a2fa1e5a301c21a2b0f6bace42a2b125d172d782080c440b05c4ecca8e95bf80_o49","a2fa1e5a301c21a2b0f6bace42a2b125d172d782080c440b05c4ecca8e95bf80_o50","a2fa1e5a301c21a2b0f6bace42a2b125d172d782080c440b05c4ecca8e95bf80_o51","a2fa1e5a301c21a2b0f6bace42a2b125d172d782080c440b05c4ecca8e95bf80_o52","a2fa1e5a301c21a2b0f6bace42a2b125d172d782080c440b05c4ecca8e95bf80_o53","a2fa1e5a301c21a2b0f6bace42a2b125d172d782080c440b05c4ecca8e95bf80_o54","a2fa1e5a301c21a2b0f6bace42a2b125d172d782080c440b05c4ecca8e95bf80_o55","a2fa1e5a301c21a2b0f6bace42a2b125d172d782080c440b05c4ecca8e95bf80_o56","a2fa1e5a301c21a2b0f6bace42a2b125d172d782080c440b05c4ecca8e95bf80_o57","a2fa1e5a301c21a2b0f6bace42a2b125d172d782080c440b05c4ecca8e95bf80_o58","a2fa1e5a301c21a2b0f6bace42a2b125d172d782080c440b05c4ecca8e95bf80_o59","a2fa1e5a301c21a2b0f6bace42a2b125d172d782080c440b05c4ecca8e95bf80_o60","a2fa1e5a301c21a2b0f6bace42a2b125d172d782080c440b05c4ecca8e95bf80_o61","a2fa1e5a301c21a2b0f6bace42a2b125d172d782080c440b05c4ecca8e95bf80_o62","a2fa1e5a301c21a2b0f6bace42a2b125d172d782080c440b05c4ecca8e95bf80_o65","a2fa1e5a301c21a2b0f6bace42a2b125d172d782080c440b05c4ecca8e95bf80_o66","a2fa1e5a301c21a2b0f6bace42a2b125d172d782080c440b05c4ecca8e95bf80_o67","a2fa1e5a301c21a2b0f6bace42a2b125d172d782080c440b05c4ecca8e95bf80_o68","a2fa1e5a301c21a2b0f6bace42a2b125d172d782080c440b05c4ecca8e95bf80_o69","a2fa1e5a301c21a2b0f6bace42a2b125d172d782080c440b05c4ecca8e95bf80_o70","a2fa1e5a301c21a2b0f6bace42a2b125d172d782080c440b05c4ecca8e95bf80_o71","a2fa1e5a301c21a2b0f6bace42a2b125d172d782080c440b05c4ecca8e95bf80_o72","a2fa1e5a301c21a2b0f6bace42a2b125d172d782080c440b05c4ecca8e95bf80_o73","a2fa1e5a301c21a2b0f6bace42a2b125d172d782080c440b05c4ecca8e95bf80_o74","a2fa1e5a301c21a2b0f6bace42a2b125d172d782080c440b05c4ecca8e95bf80_o75","a2fa1e5a301c21a2b0f6bace42a2b125d172d782080c440b05c4ecca8e95bf80_o76","a2fa1e5a301c21a2b0f6bace42a2b125d172d782080c440b05c4ecca8e95bf80_o77","a2fa1e5a301c21a2b0f6bace42a2b125d172d782080c440b05c4ecca8e95bf80_o78","a2fa1e5a301c21a2b0f6bace42a2b125d172d782080c440b05c4ecca8e95bf80_o79","a2fa1e5a301c21a2b0f6bace42a2b125d172d782080c440b05c4ecca8e95bf80_o80","a2fa1e5a301c21a2b0f6bace42a2b125d172d782080c440b05c4ecca8e95bf80_o81","a2fa1e5a301c21a2b0f6bace42a2b125d172d782080c440b05c4ecca8e95bf80_o82","a2fa1e5a301c21a2b0f6bace42a2b125d172d782080c440b05c4ecca8e95bf80_o83","a2fa1e5a301c21a2b0f6bace42a2b125d172d782080c440b05c4ecca8e95bf80_o84","a2fa1e5a301c21a2b0f6bace42a2b125d172d782080c440b05c4ecca8e95bf80_o85","a2fa1e5a301c21a2b0f6bace42a2b125d172d782080c440b05c4ecca8e95bf80_o86","a2fa1e5a301c21a2b0f6bace42a2b125d172d782080c440b05c4ecca8e95bf80_o87","a2fa1e5a301c21a2b0f6bace42a2b125d172d782080c440b05c4ecca8e95bf80_o88","a2fa1e5a301c21a2b0f6bace42a2b125d172d782080c440b05c4ecca8e95bf80_o89","a2fa1e5a301c21a2b0f6bace42a2b125d172d782080c440b05c4ecca8e95bf80_o90","a2fa1e5a301c21a2b0f6bace42a2b125d172d782080c440b05c4ecca8e95bf80_o91","a2fa1e5a301c21a2b0f6bace42a2b125d172d782080c440b05c4ecca8e95bf80_o92","a2fa1e5a301c21a2b0f6bace42a2b125d172d782080c440b05c4ecca8e95bf80_o93","a2fa1e5a301c21a2b0f6bace42a2b125d172d782080c440b05c4ecca8e95bf80_o94","a2fa1e5a301c21a2b0f6bace42a2b125d172d782080c440b05c4ecca8e95bf80_o95","a2fa1e5a301c21a2b0f6bace42a2b125d172d782080c440b05c4ecca8e95bf80_o96","a2fa1e5a301c21a2b0f6bace42a2b125d172d782080c440b05c4ecca8e95bf80_o97","a2fa1e5a301c21a2b0f6bace42a2b125d172d782080c440b05c4ecca8e95bf80_o98","a2fa1e5a301c21a2b0f6bace42a2b125d172d782080c440b05c4ecca8e95bf80_o99","a2fa1e5a301c21a2b0f6bace42a2b125d172d782080c440b05c4ecca8e95bf80_o100","a2fa1e5a301c21a2b0f6bace42a2b125d172d782080c440b05c4ecca8e95bf80_o101","a2fa1e5a301c21a2b0f6bace42a2b125d172d782080c440b05c4ecca8e95bf80_o102","a2fa1e5a301c21a2b0f6bace42a2b125d172d782080c440b05c4ecca8e95bf80_o103","a2fa1e5a301c21a2b0f6bace42a2b125d172d782080c440b05c4ecca8e95bf80_o104","a2fa1e5a301c21a2b0f6bace42a2b125d172d782080c440b05c4ecca8e95bf80_o105","a2fa1e5a301c21a2b0f6bace42a2b125d172d782080c440b05c4ecca8e95bf80_o106","a2fa1e5a301c21a2b0f6bace42a2b125d172d782080c440b05c4ecca8e95bf80_o107","a2fa1e5a301c21a2b0f6bace42a2b125d172d782080c440b05c4ecca8e95bf80_o108","a2fa1e5a301c21a2b0f6bace42a2b125d172d782080c440b05c4ecca8e95bf80_o109","a2fa1e5a301c21a2b0f6bace42a2b125d172d782080c440b05c4ecca8e95bf80_o110","a2fa1e5a301c21a2b0f6bace42a2b125d172d782080c440b05c4ecca8e95bf80_o111","a2fa1e5a301c21a2b0f6bace42a2b125d172d782080c440b05c4ecca8e95bf80_o112","a2fa1e5a301c21a2b0f6bace42a2b125d172d782080c440b05c4ecca8e95bf80_o113","a2fa1e5a301c21a2b0f6bace42a2b125d172d782080c440b05c4ecca8e95bf80_o114","a2fa1e5a301c21a2b0f6bace42a2b125d172d782080c440b05c4ecca8e95bf80_o115","a2fa1e5a301c21a2b0f6bace42a2b125d172d782080c440b05c4ecca8e95bf80_o116","a2fa1e5a301c21a2b0f6bace42a2b125d172d782080c440b05c4ecca8e95bf80_o117","a2fa1e5a301c21a2b0f6bace42a2b125d172d782080c440b05c4ecca8e95bf80_o118","a2fa1e5a301c21a2b0f6bace42a2b125d172d782080c440b05c4ecca8e95bf80_o119","a2fa1e5a301c21a2b0f6bace42a2b125d172d782080c440b05c4ecca8e95bf80_o120","a2fa1e5a301c21a2b0f6bace42a2b125d172d782080c440b05c4ecca8e95bf80_o121","a2fa1e5a301c21a2b0f6bace42a2b125d172d782080c440b05c4ecca8e95bf80_o122","a2fa1e5a301c21a2b0f6bace42a2b125d172d782080c440b05c4ecca8e95bf80_o123","a2fa1e5a301c21a2b0f6bace42a2b125d172d782080c440b05c4ecca8e95bf80_o124","68e5dbd6ffc185496e11041c76b6f8b81b9598332a7df33cf0c17c7c51c62f69_o1","63e0e1268d8ab021d1c578afb8eaa0828ccbba431ffffd9309d04b78ebeb6e56_o1","1f0abf8d94477b1cb57629d861376616f6e1d7b78aba23a19da3e6169caf489e_o2","03e21aa8fcf08fa6985029ad2e697a2309962527700246d47d891add3cfce3ac_o1"],"out":["49368ae4695af5fba0f760b4e5616a916899c7fdb269eb32486ba29a90b1d953","189c100ef67c5e5c1348eec2e5d2dcc00ec27837ef6df917a35af45fb4312650","8fe77dfd070933c6bc8a53bfd29fee22fbe53048ad8670946e84b07a82599897","b28bf82b861b461a596778b6beeb93e76a0950ccb24e13465212840e54e05a5f","6c9a3f08dcd28500f146361729f1113b9ee09adfafe7068c6accc19e171381a2","4b9f0eac946ccb7150d87207fbfd4d67877b8c28fbdbd4e7847c1afc7b3f0115","edfa4cabffb28290aa02118334d0b5951e363f4846f58f4867353dbedde636c9","95214b247d0f5931b5475933fc3b4023e27861f084266a8c2b34ce88df8c1d88","aaa151c005c012a6dd948fe6fae040dd838e43214c5536b9be4f547c6401a956","b41e874b685085b359884e0aecbeb2b6e137e0b4060caa2dbd05230a43cadfec"],"del":[],"cre":["n1V6mVgHLLoZMkzsqgpeAv5SatrA5BGM4G","n1V6mVgHLLoZMkzsqgpeAv5SatrA5BGM4G","n1V6mVgHLLoZMkzsqgpeAv5SatrA5BGM4G","n1V6mVgHLLoZMkzsqgpeAv5SatrA5BGM4G","n1V6mVgHLLoZMkzsqgpeAv5SatrA5BGM4G","n1V6mVgHLLoZMkzsqgpeAv5SatrA5BGM4G"],"exec":[{"op":"CALL","data":[{"$jig":0},"setTapped",[true]]},{"op":"CALL","data":[{"$jig":1},"addMana",["Yellow",1]]},{"op":"CALL","data":[{"$jig":1},"setMana",[{"Black":0,"Blue":0,"Colorless":0,"Green":0,"Red":0,"Yellow":0}]]},{"op":"CALL","data":[{"$jig":2},"addStack",["GNS/10",{"$jig":3}]]},{"op":"DEPLOY","data":["class CardEffect {\n}",{"deps":{}},"class ConditionalEffectAction extends CardEffect {\n}",{"deps":{"CardEffect":{"$jig":129}}},"class PlayAdditionalTreasuresControllerEffect extends ConditionalEffectAction {\n constructor(amount) {\n super();\n this.amount = amount;\n }\n apply(data) {\n const player = data.controllingPlayer;\n if (this.amount === null) {\n this.oldAmount = player.maxPermTreasuresPlayedPerTurn;\n player.maxPermTreasuresPlayedPerTurn = null;\n }\n else {\n player.maxPermTreasuresPlayedPerTurn += this.amount;\n }\n return true;\n }\n remove(data) {\n const player = data.controllingPlayer;\n if (this.amount === null) {\n player.maxPermTreasuresPlayedPerTurn = this.oldAmount;\n this.oldAmount = null;\n }\n else {\n player.maxPermTreasuresPlayedPerTurn -= this.amount;\n }\n return true;\n }\n}",{"deps":{"ConditionalEffectAction":{"$jig":130}}}]},{"op":"DEPLOY","data":["class ZoneChangeEffect {\n constructor(zones, action) {\n this.zones = zones;\n this.action = action;\n }\n apply(data) {\n var _a;\n this.inEffect = this.zones.includes(data.state.zone);\n if (this.inEffect) {\n this.action.apply(data);\n }\n (_a = this.unsub) === null || _a === void 0 ? void 0 : _a.call(this);\n this.unsub = data.localCtx.channel.listen(game_GameEvents__WEBPACK_IMPORTED_MODULE_0__.GameEvent.ZoneChange, e => {\n const state = e.payload.find(x => x.origin === data.cardInstanceId);\n if (state) {\n if (!this.inEffect && this.zones.includes(state.zone)) {\n // regenerate arg\n const player = data.localCtx.getPlayer(data.state.controllingPlayerId);\n this.action.apply({\n def: data.def,\n controllingPlayer: player,\n cardInstanceId: data.cardInstanceId,\n chainCtx: data.chainCtx,\n localCtx: data.localCtx,\n state: player.cardStates.find(x => x.origin === data.cardInstanceId)\n });\n this.inEffect = true;\n }\n else if (this.inEffect && !this.zones.includes(state.zone)) {\n const player = data.localCtx.getPlayer(data.state.controllingPlayerId);\n this.remove({\n def: data.def,\n controllingPlayer: player,\n cardInstanceId: data.cardInstanceId,\n localCtx: data.localCtx,\n chainCtx: data.chainCtx,\n state: player.cardStates.find(x => x.origin === data.cardInstanceId)\n });\n }\n }\n });\n return true;\n }\n remove(data) {\n if (this.unsub) {\n this.unsub();\n this.unsub = null;\n }\n if (this.inEffect) {\n this.inEffect = false;\n return this.action.remove(data);\n }\n else {\n return true;\n }\n }\n}",{"deps":{}}]},{"op":"DEPLOY","data":["class ResolveCastAbility {\n constructor(abilities, effects) {\n this.abilities = abilities;\n this.effects = effects;\n }\n implicitCosts() {\n return null;\n }\n isValid(data) {\n return true;\n }\n text() {\n return null;\n }\n apply(ability, data) {\n if (data.def.isPermanent) {\n data.state.zone = core_Zone__WEBPACK_IMPORTED_MODULE_0__.Zone.Battlefield;\n data.localCtx.channel.send(game_GameEvents__WEBPACK_IMPORTED_MODULE_1__.GameEvent.ETB, data);\n }\n if (this.abilities) {\n for (const ab of this.abilities) {\n if (!(ab.ability instanceof _CastAbility__WEBPACK_IMPORTED_MODULE_2__.CastAbility)) {\n ab.ability.apply(ab, data);\n }\n }\n }\n if (this.effects) {\n for (const ef of this.effects) {\n ef.apply(data);\n }\n }\n return false;\n }\n}",{"deps":{}}]},{"op":"DEPLOY","data":["class ManaCost {\n constructor(...cost) {\n this.cost = cost;\n }\n clone() {\n return new ManaCost(...this.cost.map(x => ({ ...x })));\n }\n text() {\n return this.cost.map(x => `${x.amount}{${core_Mana__WEBPACK_IMPORTED_MODULE_1__.Mana.toSymbol(x.color)}}`).join(\"\");\n }\n canApplyImp(costs, floating) {\n // sort colorless costs last\n let hasChange = false;\n for (const cost of costs.filter(x => x.color !== core_Mana__WEBPACK_IMPORTED_MODULE_1__.Mana.Colorless).concat(costs.filter(x => x.color === core_Mana__WEBPACK_IMPORTED_MODULE_1__.Mana.Colorless))) {\n if (cost.amount <= 0) {\n continue;\n }\n switch (cost.color) {\n case core_Mana__WEBPACK_IMPORTED_MODULE_1__.Mana.Yellow:\n if (cost.color === core_Mana__WEBPACK_IMPORTED_MODULE_1__.Mana.Yellow) {\n if (floating.Yellow > 0) {\n hasChange = true;\n }\n floating.Yellow -= diffAmount(cost, floating.Yellow);\n }\n break;\n case core_Mana__WEBPACK_IMPORTED_MODULE_1__.Mana.Blue:\n if (cost.color === core_Mana__WEBPACK_IMPORTED_MODULE_1__.Mana.Blue) {\n if (floating.Blue > 0) {\n hasChange = true;\n }\n floating.Blue -= diffAmount(cost, floating.Blue);\n }\n break;\n case core_Mana__WEBPACK_IMPORTED_MODULE_1__.Mana.Green:\n if (cost.color === core_Mana__WEBPACK_IMPORTED_MODULE_1__.Mana.Green) {\n if (floating.Green > 0) {\n hasChange = true;\n }\n floating.Green -= diffAmount(cost, floating.Green);\n }\n break;\n case core_Mana__WEBPACK_IMPORTED_MODULE_1__.Mana.Red:\n if (cost.color === core_Mana__WEBPACK_IMPORTED_MODULE_1__.Mana.Red) {\n if (floating.Red > 0) {\n hasChange = true;\n }\n floating.Red -= diffAmount(cost, floating.Red);\n }\n break;\n case core_Mana__WEBPACK_IMPORTED_MODULE_1__.Mana.Black:\n if (cost.color === core_Mana__WEBPACK_IMPORTED_MODULE_1__.Mana.Black) {\n if (floating.Black > 0) {\n hasChange = true;\n }\n floating.Black -= diffAmount(cost, floating.Black);\n }\n break;\n case core_Mana__WEBPACK_IMPORTED_MODULE_1__.Mana.Colorless:\n for (const key /**) */ in core_Mana__WEBPACK_IMPORTED_MODULE_1__.Mana) {\n if (Object.prototype.hasOwnProperty.call(floating, key)) {\n if (floating[key] > 0) {\n hasChange = true;\n }\n floating[key] -= diffAmount(cost, floating[key]);\n }\n }\n break;\n }\n }\n return [hasChange, costs.every(x => x.amount <= 0)];\n }\n canUseAbility(ability, arg) {\n return ability.ability.isValid(arg) && ability.costs.every(x => x.canApply(ability, arg));\n }\n canApply(ability, data) {\n let floating = { ...data.controllingPlayer.floatingMana };\n let costs = this.cost.map(x => ({ ...x }));\n const [fApply, _] = this.canApplyImp(costs, floating);\n if (fApply) {\n return true;\n }\n // check permanents for possible mana\n const manaAbilities = data.localCtx.revealedCards[data.controllingPlayer.owner]\n .filter(x => x.state.zone === core_Zone__WEBPACK_IMPORTED_MODULE_2__.Zone.Battlefield)\n .map(x => ({\n card: x,\n mana: x.def.abilities.filter(a => a.ability instanceof core_abilities_AddManaAbility__WEBPACK_IMPORTED_MODULE_0__.AddManaAbility)\n }))\n .filter(x => x.mana.length > 0);\n const distribute = (m) => {\n const c = costs.find(x => x.color === m.ability.color);\n let colorlessDiff = 0;\n if (c) {\n c.amount -= m.ability.amount;\n if (c.amount < 0) {\n colorlessDiff = c.amount * -1;\n c.amount = 0;\n }\n }\n else {\n colorlessDiff = m.ability.amount;\n }\n if (colorlessDiff) {\n const c = costs.find(x => x.color === core_Mana__WEBPACK_IMPORTED_MODULE_1__.Mana.Colorless);\n if (c) {\n c.amount -= m.ability.amount;\n }\n }\n };\n for (const { card, mana } of manaAbilities) {\n for (const m of mana) {\n if (this.canUseAbility(m, {\n def: card.def,\n cardInstanceId: card.state.origin,\n state: card.state,\n chainCtx: data.chainCtx,\n localCtx: data.localCtx,\n controllingPlayer: data.controllingPlayer\n })) {\n if (m.ability.amount <= 0) {\n continue;\n }\n distribute(m);\n if (costs.every(x => x.amount <= 0)) {\n return true;\n }\n }\n }\n }\n return costs.every(x => x.amount <= 0);\n }\n // get all mana producing abilities and check if can cost\n apply(ability, data) {\n let floating = { ...data.controllingPlayer.floatingMana };\n const [can, hasChange] = this.canApplyImp(this.cost, floating);\n if (hasChange) {\n data.controllingPlayer.setMana(floating);\n }\n return can;\n }\n requiresPrompt() {\n return true;\n }\n}",{"deps":{}}]},{"op":"CALL","data":[{"$jig":3},"pushCardStack",[{"abilities":[{"ability":{"$arb":{"abilities":null,"effects":[{"$arb":{"action":{"$arb":{"amount":1},"T":{"$jig":131}},"zones":["Battlefield"]},"T":{"$jig":132}}]},"T":{"$jig":133}},"costs":[{"$arb":{"cost":[{"amount":1,"color":"Yellow"}]},"T":{"$jig":134}}]}],"cardId":"a2fa1e5a301c21a2b0f6bace42a2b125d172d782080c440b05c4ecca8e95bf80_o4","controllingPlayerId":"n1V6mVgHLLoZMkzsqgpeAv5SatrA5BGM4G"}]]}]}
    https://whatsonchain.com/tx/e111211ecc3e109c14e70094bf38ab39fe24b0e315d71b7e7de837690b29d63f
Total Output:
0.00017510 BSV