{
  "chainId": 56,
  "address": "0x974942EF283c224bC7A029577FCEBD1A7D14C630",
  "verification": {
    "bscscan": "https://bscscan.com/address/0x974942EF283c224bC7A029577FCEBD1A7D14C630#code",
    "sourcify": "https://repo.sourcify.dev/56/0x974942EF283c224bC7A029577FCEBD1A7D14C630"
  },
  "abi": [
    {
      "type": "constructor",
      "inputs": [
        {
          "name": "registry",
          "type": "address",
          "internalType": "address"
        },
        {
          "name": "daily",
          "type": "address",
          "internalType": "address"
        },
        {
          "name": "hourly",
          "type": "address",
          "internalType": "address"
        },
        {
          "name": "third",
          "type": "address",
          "internalType": "address"
        }
      ],
      "stateMutability": "nonpayable"
    },
    {
      "type": "function",
      "name": "agentIdRegistry",
      "inputs": [],
      "outputs": [
        {
          "name": "",
          "type": "address",
          "internalType": "address"
        }
      ],
      "stateMutability": "view"
    },
    {
      "type": "function",
      "name": "approve",
      "inputs": [
        {
          "name": "to",
          "type": "address",
          "internalType": "address"
        },
        {
          "name": "tokenId",
          "type": "uint256",
          "internalType": "uint256"
        }
      ],
      "outputs": [],
      "stateMutability": "nonpayable"
    },
    {
      "type": "function",
      "name": "balanceOf",
      "inputs": [
        {
          "name": "owner",
          "type": "address",
          "internalType": "address"
        }
      ],
      "outputs": [
        {
          "name": "",
          "type": "uint256",
          "internalType": "uint256"
        }
      ],
      "stateMutability": "view"
    },
    {
      "type": "function",
      "name": "boutOf",
      "inputs": [
        {
          "name": "tokenId",
          "type": "uint256",
          "internalType": "uint256"
        }
      ],
      "outputs": [
        {
          "name": "",
          "type": "tuple",
          "internalType": "struct SidecooLuckLadder.BoutView",
          "components": [
            {
              "name": "boutId",
              "type": "uint256",
              "internalType": "uint256"
            },
            {
              "name": "challengerKey",
              "type": "bytes32",
              "internalType": "bytes32"
            },
            {
              "name": "opponentKey",
              "type": "bytes32",
              "internalType": "bytes32"
            },
            {
              "name": "challenger",
              "type": "tuple",
              "internalType": "struct SidecooLuckLadder.Slip",
              "components": [
                {
                  "name": "wallet",
                  "type": "address",
                  "internalType": "address"
                },
                {
                  "name": "id",
                  "type": "uint32",
                  "internalType": "uint32"
                },
                {
                  "name": "rating",
                  "type": "uint40",
                  "internalType": "uint40"
                },
                {
                  "name": "luck",
                  "type": "uint8",
                  "internalType": "uint8"
                },
                {
                  "name": "bonus",
                  "type": "int8",
                  "internalType": "int8"
                },
                {
                  "name": "sign",
                  "type": "uint8",
                  "internalType": "uint8"
                }
              ]
            },
            {
              "name": "opponent",
              "type": "tuple",
              "internalType": "struct SidecooLuckLadder.Slip",
              "components": [
                {
                  "name": "wallet",
                  "type": "address",
                  "internalType": "address"
                },
                {
                  "name": "id",
                  "type": "uint32",
                  "internalType": "uint32"
                },
                {
                  "name": "rating",
                  "type": "uint40",
                  "internalType": "uint40"
                },
                {
                  "name": "luck",
                  "type": "uint8",
                  "internalType": "uint8"
                },
                {
                  "name": "bonus",
                  "type": "int8",
                  "internalType": "int8"
                },
                {
                  "name": "sign",
                  "type": "uint8",
                  "internalType": "uint8"
                }
              ]
            },
            {
              "name": "challengerWon",
              "type": "bool",
              "internalType": "bool"
            }
          ]
        }
      ],
      "stateMutability": "view"
    },
    {
      "type": "function",
      "name": "claim",
      "inputs": [],
      "outputs": [
        {
          "name": "",
          "type": "uint256",
          "internalType": "uint256"
        }
      ],
      "stateMutability": "nonpayable"
    },
    {
      "type": "function",
      "name": "crest",
      "inputs": [],
      "outputs": [
        {
          "name": "tokenId",
          "type": "uint256",
          "internalType": "uint256"
        }
      ],
      "stateMutability": "nonpayable"
    },
    {
      "type": "function",
      "name": "crestOf",
      "inputs": [
        {
          "name": "tokenId",
          "type": "uint256",
          "internalType": "uint256"
        }
      ],
      "outputs": [
        {
          "name": "",
          "type": "tuple",
          "internalType": "struct SidecooLuckLadder.CrestView",
          "components": [
            {
              "name": "day",
              "type": "uint32",
              "internalType": "uint32"
            },
            {
              "name": "rating",
              "type": "uint40",
              "internalType": "uint40"
            },
            {
              "name": "tier",
              "type": "uint8",
              "internalType": "uint8"
            },
            {
              "name": "agentKey",
              "type": "bytes32",
              "internalType": "bytes32"
            }
          ]
        }
      ],
      "stateMutability": "view"
    },
    {
      "type": "function",
      "name": "dailyCollection",
      "inputs": [],
      "outputs": [
        {
          "name": "",
          "type": "address",
          "internalType": "address"
        }
      ],
      "stateMutability": "view"
    },
    {
      "type": "function",
      "name": "duel",
      "inputs": [
        {
          "name": "opponent",
          "type": "address",
          "internalType": "address"
        },
        {
          "name": "tactic",
          "type": "uint8",
          "internalType": "uint8"
        }
      ],
      "outputs": [
        {
          "name": "",
          "type": "uint256",
          "internalType": "uint256"
        }
      ],
      "stateMutability": "nonpayable"
    },
    {
      "type": "function",
      "name": "fighter",
      "inputs": [
        {
          "name": "wallet",
          "type": "address",
          "internalType": "address"
        }
      ],
      "outputs": [
        {
          "name": "view_",
          "type": "tuple",
          "internalType": "struct SidecooLuckLadder.FighterView",
          "components": [
            {
              "name": "entered",
              "type": "bool",
              "internalType": "bool"
            },
            {
              "name": "rating",
              "type": "uint40",
              "internalType": "uint40"
            },
            {
              "name": "peakRating",
              "type": "uint40",
              "internalType": "uint40"
            },
            {
              "name": "bouts",
              "type": "uint32",
              "internalType": "uint32"
            },
            {
              "name": "wins",
              "type": "uint32",
              "internalType": "uint32"
            },
            {
              "name": "stamina",
              "type": "uint8",
              "internalType": "uint8"
            },
            {
              "name": "nextStaminaAt",
              "type": "uint64",
              "internalType": "uint64"
            },
            {
              "name": "guard",
              "type": "uint8",
              "internalType": "uint8"
            },
            {
              "name": "canCrest",
              "type": "bool",
              "internalType": "bool"
            }
          ]
        }
      ],
      "stateMutability": "view"
    },
    {
      "type": "function",
      "name": "freeMint",
      "inputs": [],
      "outputs": [
        {
          "name": "",
          "type": "uint256",
          "internalType": "uint256"
        }
      ],
      "stateMutability": "nonpayable"
    },
    {
      "type": "function",
      "name": "getApproved",
      "inputs": [
        {
          "name": "tokenId",
          "type": "uint256",
          "internalType": "uint256"
        }
      ],
      "outputs": [
        {
          "name": "",
          "type": "address",
          "internalType": "address"
        }
      ],
      "stateMutability": "view"
    },
    {
      "type": "function",
      "name": "hourlyCollection",
      "inputs": [],
      "outputs": [
        {
          "name": "",
          "type": "address",
          "internalType": "address"
        }
      ],
      "stateMutability": "view"
    },
    {
      "type": "function",
      "name": "isApprovedForAll",
      "inputs": [
        {
          "name": "owner",
          "type": "address",
          "internalType": "address"
        },
        {
          "name": "operator",
          "type": "address",
          "internalType": "address"
        }
      ],
      "outputs": [
        {
          "name": "",
          "type": "bool",
          "internalType": "bool"
        }
      ],
      "stateMutability": "view"
    },
    {
      "type": "function",
      "name": "ladderState",
      "inputs": [],
      "outputs": [
        {
          "name": "fightersCount",
          "type": "uint32",
          "internalType": "uint32"
        },
        {
          "name": "boutsCount",
          "type": "uint64",
          "internalType": "uint64"
        },
        {
          "name": "leader",
          "type": "address",
          "internalType": "address"
        },
        {
          "name": "rating",
          "type": "uint40",
          "internalType": "uint40"
        },
        {
          "name": "recentWallets",
          "type": "address[]",
          "internalType": "address[]"
        }
      ],
      "stateMutability": "view"
    },
    {
      "type": "function",
      "name": "mint",
      "inputs": [],
      "outputs": [
        {
          "name": "",
          "type": "uint256",
          "internalType": "uint256"
        }
      ],
      "stateMutability": "nonpayable"
    },
    {
      "type": "function",
      "name": "mint",
      "inputs": [
        {
          "name": "",
          "type": "uint256",
          "internalType": "uint256"
        }
      ],
      "outputs": [
        {
          "name": "",
          "type": "uint256",
          "internalType": "uint256"
        }
      ],
      "stateMutability": "nonpayable"
    },
    {
      "type": "function",
      "name": "name",
      "inputs": [],
      "outputs": [
        {
          "name": "",
          "type": "string",
          "internalType": "string"
        }
      ],
      "stateMutability": "view"
    },
    {
      "type": "function",
      "name": "ownerOf",
      "inputs": [
        {
          "name": "tokenId",
          "type": "uint256",
          "internalType": "uint256"
        }
      ],
      "outputs": [
        {
          "name": "",
          "type": "address",
          "internalType": "address"
        }
      ],
      "stateMutability": "view"
    },
    {
      "type": "function",
      "name": "quote",
      "inputs": [
        {
          "name": "wallet",
          "type": "address",
          "internalType": "address"
        }
      ],
      "outputs": [
        {
          "name": "",
          "type": "tuple",
          "internalType": "struct SidecooLuckLadder.Quote",
          "components": [
            {
              "name": "canDuel",
              "type": "bool",
              "internalType": "bool"
            },
            {
              "name": "reason",
              "type": "uint8",
              "internalType": "enum SidecooLuckLadder.Reason"
            },
            {
              "name": "readyAt",
              "type": "uint64",
              "internalType": "uint64"
            },
            {
              "name": "action",
              "type": "uint8",
              "internalType": "enum SidecooLuckLadder.Action"
            },
            {
              "name": "suggestions",
              "type": "tuple[]",
              "internalType": "struct SidecooLuckLadder.Suggestion[]",
              "components": [
                {
                  "name": "wallet",
                  "type": "address",
                  "internalType": "address"
                },
                {
                  "name": "rating",
                  "type": "uint40",
                  "internalType": "uint40"
                },
                {
                  "name": "guard",
                  "type": "uint8",
                  "internalType": "uint8"
                },
                {
                  "name": "tactic",
                  "type": "uint8",
                  "internalType": "uint8"
                }
              ]
            }
          ]
        }
      ],
      "stateMutability": "view"
    },
    {
      "type": "function",
      "name": "renderer",
      "inputs": [],
      "outputs": [
        {
          "name": "",
          "type": "address",
          "internalType": "contract LadderArt"
        }
      ],
      "stateMutability": "view"
    },
    {
      "type": "function",
      "name": "safeTransferFrom",
      "inputs": [
        {
          "name": "from",
          "type": "address",
          "internalType": "address"
        },
        {
          "name": "to",
          "type": "address",
          "internalType": "address"
        },
        {
          "name": "tokenId",
          "type": "uint256",
          "internalType": "uint256"
        }
      ],
      "outputs": [],
      "stateMutability": "nonpayable"
    },
    {
      "type": "function",
      "name": "safeTransferFrom",
      "inputs": [
        {
          "name": "from",
          "type": "address",
          "internalType": "address"
        },
        {
          "name": "to",
          "type": "address",
          "internalType": "address"
        },
        {
          "name": "tokenId",
          "type": "uint256",
          "internalType": "uint256"
        },
        {
          "name": "data",
          "type": "bytes",
          "internalType": "bytes"
        }
      ],
      "outputs": [],
      "stateMutability": "nonpayable"
    },
    {
      "type": "function",
      "name": "setApprovalForAll",
      "inputs": [
        {
          "name": "operator",
          "type": "address",
          "internalType": "address"
        },
        {
          "name": "approved",
          "type": "bool",
          "internalType": "bool"
        }
      ],
      "outputs": [],
      "stateMutability": "nonpayable"
    },
    {
      "type": "function",
      "name": "startBlock",
      "inputs": [],
      "outputs": [
        {
          "name": "",
          "type": "uint256",
          "internalType": "uint256"
        }
      ],
      "stateMutability": "view"
    },
    {
      "type": "function",
      "name": "supportsInterface",
      "inputs": [
        {
          "name": "interfaceId",
          "type": "bytes4",
          "internalType": "bytes4"
        }
      ],
      "outputs": [
        {
          "name": "",
          "type": "bool",
          "internalType": "bool"
        }
      ],
      "stateMutability": "view"
    },
    {
      "type": "function",
      "name": "symbol",
      "inputs": [],
      "outputs": [
        {
          "name": "",
          "type": "string",
          "internalType": "string"
        }
      ],
      "stateMutability": "view"
    },
    {
      "type": "function",
      "name": "thirdCollection",
      "inputs": [],
      "outputs": [
        {
          "name": "",
          "type": "address",
          "internalType": "address"
        }
      ],
      "stateMutability": "view"
    },
    {
      "type": "function",
      "name": "tokenURI",
      "inputs": [
        {
          "name": "tokenId",
          "type": "uint256",
          "internalType": "uint256"
        }
      ],
      "outputs": [
        {
          "name": "",
          "type": "string",
          "internalType": "string"
        }
      ],
      "stateMutability": "view"
    },
    {
      "type": "function",
      "name": "transferFrom",
      "inputs": [
        {
          "name": "from",
          "type": "address",
          "internalType": "address"
        },
        {
          "name": "to",
          "type": "address",
          "internalType": "address"
        },
        {
          "name": "tokenId",
          "type": "uint256",
          "internalType": "uint256"
        }
      ],
      "outputs": [],
      "stateMutability": "nonpayable"
    },
    {
      "type": "function",
      "name": "website",
      "inputs": [],
      "outputs": [
        {
          "name": "",
          "type": "string",
          "internalType": "string"
        }
      ],
      "stateMutability": "view"
    },
    {
      "type": "event",
      "name": "Approval",
      "inputs": [
        {
          "name": "owner",
          "type": "address",
          "indexed": true,
          "internalType": "address"
        },
        {
          "name": "approved",
          "type": "address",
          "indexed": true,
          "internalType": "address"
        },
        {
          "name": "tokenId",
          "type": "uint256",
          "indexed": true,
          "internalType": "uint256"
        }
      ],
      "anonymous": false
    },
    {
      "type": "event",
      "name": "ApprovalForAll",
      "inputs": [
        {
          "name": "owner",
          "type": "address",
          "indexed": true,
          "internalType": "address"
        },
        {
          "name": "operator",
          "type": "address",
          "indexed": true,
          "internalType": "address"
        },
        {
          "name": "approved",
          "type": "bool",
          "indexed": false,
          "internalType": "bool"
        }
      ],
      "anonymous": false
    },
    {
      "type": "event",
      "name": "LadderBout",
      "inputs": [
        {
          "name": "boutId",
          "type": "uint256",
          "indexed": true,
          "internalType": "uint256"
        },
        {
          "name": "challenger",
          "type": "address",
          "indexed": true,
          "internalType": "address"
        },
        {
          "name": "opponent",
          "type": "address",
          "indexed": true,
          "internalType": "address"
        },
        {
          "name": "challengerKey",
          "type": "bytes32",
          "indexed": false,
          "internalType": "bytes32"
        },
        {
          "name": "opponentKey",
          "type": "bytes32",
          "indexed": false,
          "internalType": "bytes32"
        },
        {
          "name": "tactic",
          "type": "uint8",
          "indexed": false,
          "internalType": "uint8"
        },
        {
          "name": "guard",
          "type": "uint8",
          "indexed": false,
          "internalType": "uint8"
        },
        {
          "name": "challengerLuck",
          "type": "uint8",
          "indexed": false,
          "internalType": "uint8"
        },
        {
          "name": "opponentLuck",
          "type": "uint8",
          "indexed": false,
          "internalType": "uint8"
        },
        {
          "name": "challengerWon",
          "type": "bool",
          "indexed": false,
          "internalType": "bool"
        },
        {
          "name": "challengerRating",
          "type": "uint40",
          "indexed": false,
          "internalType": "uint40"
        },
        {
          "name": "opponentRating",
          "type": "uint40",
          "indexed": false,
          "internalType": "uint40"
        },
        {
          "name": "tokenId",
          "type": "uint256",
          "indexed": false,
          "internalType": "uint256"
        }
      ],
      "anonymous": false
    },
    {
      "type": "event",
      "name": "LadderCrest",
      "inputs": [
        {
          "name": "wallet",
          "type": "address",
          "indexed": true,
          "internalType": "address"
        },
        {
          "name": "agentKey",
          "type": "bytes32",
          "indexed": true,
          "internalType": "bytes32"
        },
        {
          "name": "day",
          "type": "uint32",
          "indexed": false,
          "internalType": "uint32"
        },
        {
          "name": "rating",
          "type": "uint40",
          "indexed": false,
          "internalType": "uint40"
        },
        {
          "name": "tier",
          "type": "uint8",
          "indexed": false,
          "internalType": "uint8"
        },
        {
          "name": "tokenId",
          "type": "uint256",
          "indexed": false,
          "internalType": "uint256"
        }
      ],
      "anonymous": false
    },
    {
      "type": "event",
      "name": "LadderEntered",
      "inputs": [
        {
          "name": "wallet",
          "type": "address",
          "indexed": true,
          "internalType": "address"
        },
        {
          "name": "agentKey",
          "type": "bytes32",
          "indexed": true,
          "internalType": "bytes32"
        },
        {
          "name": "tokenId",
          "type": "uint256",
          "indexed": false,
          "internalType": "uint256"
        },
        {
          "name": "rating",
          "type": "uint40",
          "indexed": false,
          "internalType": "uint40"
        }
      ],
      "anonymous": false
    },
    {
      "type": "event",
      "name": "Transfer",
      "inputs": [
        {
          "name": "from",
          "type": "address",
          "indexed": true,
          "internalType": "address"
        },
        {
          "name": "to",
          "type": "address",
          "indexed": true,
          "internalType": "address"
        },
        {
          "name": "tokenId",
          "type": "uint256",
          "indexed": true,
          "internalType": "uint256"
        }
      ],
      "anonymous": false
    },
    {
      "type": "error",
      "name": "ERC721IncorrectOwner",
      "inputs": [
        {
          "name": "sender",
          "type": "address",
          "internalType": "address"
        },
        {
          "name": "tokenId",
          "type": "uint256",
          "internalType": "uint256"
        },
        {
          "name": "owner",
          "type": "address",
          "internalType": "address"
        }
      ]
    },
    {
      "type": "error",
      "name": "ERC721InsufficientApproval",
      "inputs": [
        {
          "name": "operator",
          "type": "address",
          "internalType": "address"
        },
        {
          "name": "tokenId",
          "type": "uint256",
          "internalType": "uint256"
        }
      ]
    },
    {
      "type": "error",
      "name": "ERC721InvalidApprover",
      "inputs": [
        {
          "name": "approver",
          "type": "address",
          "internalType": "address"
        }
      ]
    },
    {
      "type": "error",
      "name": "ERC721InvalidOperator",
      "inputs": [
        {
          "name": "operator",
          "type": "address",
          "internalType": "address"
        }
      ]
    },
    {
      "type": "error",
      "name": "ERC721InvalidOwner",
      "inputs": [
        {
          "name": "owner",
          "type": "address",
          "internalType": "address"
        }
      ]
    },
    {
      "type": "error",
      "name": "ERC721InvalidReceiver",
      "inputs": [
        {
          "name": "receiver",
          "type": "address",
          "internalType": "address"
        }
      ]
    },
    {
      "type": "error",
      "name": "ERC721InvalidSender",
      "inputs": [
        {
          "name": "sender",
          "type": "address",
          "internalType": "address"
        }
      ]
    },
    {
      "type": "error",
      "name": "ERC721NonexistentToken",
      "inputs": [
        {
          "name": "tokenId",
          "type": "uint256",
          "internalType": "uint256"
        }
      ]
    },
    {
      "type": "error",
      "name": "LadderAgentIdRequired",
      "inputs": []
    },
    {
      "type": "error",
      "name": "LadderChallengeToday",
      "inputs": [
        {
          "name": "availableFrom",
          "type": "uint64",
          "internalType": "uint64"
        }
      ]
    },
    {
      "type": "error",
      "name": "LadderCrestClaimed",
      "inputs": [
        {
          "name": "retryAt",
          "type": "uint64",
          "internalType": "uint64"
        }
      ]
    },
    {
      "type": "error",
      "name": "LadderInvalidDeployment",
      "inputs": []
    },
    {
      "type": "error",
      "name": "LadderInvalidTactic",
      "inputs": [
        {
          "name": "tactic",
          "type": "uint8",
          "internalType": "uint8"
        }
      ]
    },
    {
      "type": "error",
      "name": "LadderNoOpponent",
      "inputs": [
        {
          "name": "retryAt",
          "type": "uint64",
          "internalType": "uint64"
        }
      ]
    },
    {
      "type": "error",
      "name": "LadderNoStamina",
      "inputs": [
        {
          "name": "retryAt",
          "type": "uint64",
          "internalType": "uint64"
        }
      ]
    },
    {
      "type": "error",
      "name": "LadderPairUsed",
      "inputs": [
        {
          "name": "retryAt",
          "type": "uint64",
          "internalType": "uint64"
        }
      ]
    },
    {
      "type": "error",
      "name": "LadderSelfDuel",
      "inputs": []
    },
    {
      "type": "error",
      "name": "LadderUnknownOpponent",
      "inputs": [
        {
          "name": "opponent",
          "type": "address",
          "internalType": "address"
        }
      ]
    },
    {
      "type": "error",
      "name": "LadderWrongCard",
      "inputs": [
        {
          "name": "tokenId",
          "type": "uint256",
          "internalType": "uint256"
        }
      ]
    },
    {
      "type": "error",
      "name": "ReentrancyGuardReentrantCall",
      "inputs": []
    }
  ]
}
