@boostxyz/sdk 6.0.3 → 6.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (64) hide show
  1. package/dist/Actions/EventAction.cjs +1 -1
  2. package/dist/Actions/EventAction.js +1 -1
  3. package/dist/AllowLists/AllowList.cjs +1 -1
  4. package/dist/AllowLists/AllowList.js +1 -1
  5. package/dist/AllowLists/SimpleAllowList.cjs +1 -1
  6. package/dist/AllowLists/SimpleAllowList.js +1 -1
  7. package/dist/AllowLists/SimpleDenyList.cjs +1 -1
  8. package/dist/AllowLists/SimpleDenyList.js +2 -2
  9. package/dist/BoostCore.cjs +2 -2
  10. package/dist/BoostCore.cjs.map +1 -1
  11. package/dist/BoostCore.d.ts.map +1 -1
  12. package/dist/BoostCore.js +86 -85
  13. package/dist/BoostCore.js.map +1 -1
  14. package/dist/BoostRegistry.cjs +1 -1
  15. package/dist/BoostRegistry.js +1 -1
  16. package/dist/{Budget-CsqSI4NH.cjs → Budget-Dm6h8giH.cjs} +2 -2
  17. package/dist/{Budget-CsqSI4NH.cjs.map → Budget-Dm6h8giH.cjs.map} +1 -1
  18. package/dist/{Budget-bMiAGF8s.js → Budget-JjYzHgRx.js} +2 -2
  19. package/dist/{Budget-bMiAGF8s.js.map → Budget-JjYzHgRx.js.map} +1 -1
  20. package/dist/Budgets/Budget.cjs +1 -1
  21. package/dist/Budgets/Budget.js +1 -1
  22. package/dist/Budgets/ManagedBudget.cjs +1 -1
  23. package/dist/Budgets/ManagedBudget.js +1 -1
  24. package/dist/{Incentive-Bkq1kdns.cjs → Incentive-BHOurMJr.cjs} +2 -2
  25. package/dist/{Incentive-Bkq1kdns.cjs.map → Incentive-BHOurMJr.cjs.map} +1 -1
  26. package/dist/{Incentive-D_NHLasu.js → Incentive-DCOhfsid.js} +2 -2
  27. package/dist/{Incentive-D_NHLasu.js.map → Incentive-DCOhfsid.js.map} +1 -1
  28. package/dist/Incentives/AllowListIncentive.cjs +1 -1
  29. package/dist/Incentives/AllowListIncentive.js +2 -2
  30. package/dist/Incentives/CGDAIncentive.cjs +1 -1
  31. package/dist/Incentives/CGDAIncentive.js +1 -1
  32. package/dist/Incentives/ERC20Incentive.cjs +1 -1
  33. package/dist/Incentives/ERC20Incentive.js +1 -1
  34. package/dist/Incentives/ERC20VariableCriteriaIncentive.cjs +1 -1
  35. package/dist/Incentives/ERC20VariableCriteriaIncentive.js +1 -1
  36. package/dist/Incentives/ERC20VariableIncentive.cjs +1 -1
  37. package/dist/Incentives/ERC20VariableIncentive.js +1 -1
  38. package/dist/Incentives/Incentive.cjs +1 -1
  39. package/dist/Incentives/Incentive.js +1 -1
  40. package/dist/Incentives/PointsIncentive.cjs +1 -1
  41. package/dist/Incentives/PointsIncentive.js +1 -1
  42. package/dist/{SimpleDenyList-C734XLxt.js → SimpleDenyList-BKfPoTo1.js} +2 -2
  43. package/dist/{SimpleDenyList-C734XLxt.js.map → SimpleDenyList-BKfPoTo1.js.map} +1 -1
  44. package/dist/{SimpleDenyList-BAIrFBAW.cjs → SimpleDenyList-DgjVf7FK.cjs} +2 -2
  45. package/dist/{SimpleDenyList-BAIrFBAW.cjs.map → SimpleDenyList-DgjVf7FK.cjs.map} +1 -1
  46. package/dist/Validators/LimitedSignerValidator.cjs +1 -1
  47. package/dist/Validators/LimitedSignerValidator.cjs.map +1 -1
  48. package/dist/Validators/LimitedSignerValidator.d.ts.map +1 -1
  49. package/dist/Validators/LimitedSignerValidator.js +1 -1
  50. package/dist/Validators/LimitedSignerValidator.js.map +1 -1
  51. package/dist/Validators/SignerValidator.cjs +1 -1
  52. package/dist/Validators/SignerValidator.js +1 -1
  53. package/dist/{deployments-CIXw_WKk.cjs → deployments-CwTZr-cK.cjs} +2 -2
  54. package/dist/deployments-CwTZr-cK.cjs.map +1 -0
  55. package/dist/{deployments-3RHH-eW7.js → deployments-W_LUj833.js} +24 -19
  56. package/dist/{deployments-3RHH-eW7.js.map → deployments-W_LUj833.js.map} +1 -1
  57. package/dist/deployments.json +5 -0
  58. package/dist/index.cjs +1 -1
  59. package/dist/index.js +3 -3
  60. package/package.json +1 -1
  61. package/src/BoostCore.test.ts +82 -1
  62. package/src/BoostCore.ts +15 -6
  63. package/src/Validators/LimitedSignerValidator.ts +1 -3
  64. package/dist/deployments-CIXw_WKk.cjs.map +0 -1
package/dist/BoostCore.js CHANGED
@@ -1,34 +1,34 @@
1
- import { g as C, cr as $, cs as z, ct as j, cu as x, cv as q, cw as k, cx as G, cy as W, cz as U, cA as H, cB as J, cC as K, cD as Q, cE as X, cF as Y, cG as Z, cH as f0, cI as e0, cJ as b0, cK as a0, cL as t0 } from "./generated-CElkFqkY.js";
1
+ import { g as C, cr as $, cs as z, ct as x, cu as j, cv as q, cw as k, cx as G, cy as W, cz as U, cA as H, cB as J, cC as K, cD as Q, cE as X, cF as Y, cG as Z, cH as f0, cI as e0, cJ as b0, cK as a0, cL as t0 } from "./generated-CElkFqkY.js";
2
2
  import { waitForTransactionReceipt as c0, getAccount as d0, getChains as n0, getTransactionReceipt as s0 } from "@wagmi/core";
3
- import { createClient as i0, custom as o0, zeroAddress as m, parseEventLogs as E, zeroHash as l, keccak256 as r0, encodePacked as u0 } from "viem";
4
- import { i as h0 } from "./deployments-3RHH-eW7.js";
3
+ import { createClient as i0, custom as o0, zeroAddress as m, parseEventLogs as F, zeroHash as h, keccak256 as r0, encodePacked as u0 } from "viem";
4
+ import { i as h0 } from "./deployments-W_LUj833.js";
5
5
  import { actionFromAddress as l0 } from "./Actions/Action.js";
6
6
  import { EventAction as g0 } from "./Actions/EventAction.js";
7
7
  import { allowListFromAddress as w0, OpenAllowList as m0 } from "./AllowLists/AllowList.js";
8
8
  import { SimpleAllowList as v0 } from "./AllowLists/SimpleAllowList.js";
9
- import { S as C0 } from "./SimpleDenyList-C734XLxt.js";
9
+ import { S as C0 } from "./SimpleDenyList-BKfPoTo1.js";
10
10
  import { PassthroughAuth as A0 } from "./Auth/PassthroughAuth.js";
11
- import { prepareBoostPayload as F, Boost as R } from "./Boost.js";
12
- import { b as I0, M as y0, a as _0 } from "./Budget-bMiAGF8s.js";
11
+ import { prepareBoostPayload as R, Boost as T } from "./Boost.js";
12
+ import { b as I0, M as y0, a as _0 } from "./Budget-JjYzHgRx.js";
13
13
  import { ManagedBudget as P0 } from "./Budgets/ManagedBudget.js";
14
14
  import { Deployable as B0 } from "./Deployable/Deployable.js";
15
- import { Roles as _ } from "./Deployable/DeployableTargetWithRBAC.js";
15
+ import { Roles as P } from "./Deployable/DeployableTargetWithRBAC.js";
16
16
  import { AllowListIncentive as E0 } from "./Incentives/AllowListIncentive.js";
17
17
  import { CGDAIncentive as F0 } from "./Incentives/CGDAIncentive.js";
18
18
  import { ERC20Incentive as R0 } from "./Incentives/ERC20Incentive.js";
19
- import { i as T0, E as D0, a as L0 } from "./Incentive-D_NHLasu.js";
19
+ import { i as T0, E as D0, a as L0 } from "./Incentive-DCOhfsid.js";
20
20
  import { ERC20VariableCriteriaIncentive as S0 } from "./Incentives/ERC20VariableCriteriaIncentive.js";
21
21
  import { PointsIncentive as N0 } from "./Incentives/PointsIncentive.js";
22
- import { LimitedSignerValidator as V0 } from "./Validators/LimitedSignerValidator.js";
23
- import { SignerValidator as p0 } from "./Validators/SignerValidator.js";
24
- import { BoostValidatorEOA as T, validatorFromAddress as M0 } from "./Validators/Validator.js";
25
- import { BoostCoreNoIdentifierEmitted as O0, DeployableUnknownOwnerProvidedError as $0, InvalidProtocolChainIdError as z0, BudgetMustAuthorizeBoostCore as j0, MustInitializeBudgetError as x0, IncentiveNotCloneableError as q0, BoostNotFoundError as k0 } from "./errors.js";
22
+ import { LimitedSignerValidator as p0 } from "./Validators/LimitedSignerValidator.js";
23
+ import { SignerValidator as V0 } from "./Validators/SignerValidator.js";
24
+ import { validatorFromAddress as M0, BoostValidatorEOA as D } from "./Validators/Validator.js";
25
+ import { BoostCoreNoIdentifierEmitted as O0, DeployableUnknownOwnerProvidedError as $0, InvalidProtocolChainIdError as z0, BudgetMustAuthorizeBoostCore as x0, MustInitializeBudgetError as j0, IncentiveNotCloneableError as q0, BoostNotFoundError as k0 } from "./errors.js";
26
26
  import { assertValidAddressByChainId as u } from "./utils.js";
27
27
  import { ERC20VariableIncentive as G0 } from "./Incentives/ERC20VariableIncentive.js";
28
28
  import { simulateContract as W0, writeContract as U0 } from "viem/actions";
29
29
  import { parseAccount as H0, getAddress as J0 } from "viem/utils";
30
30
  const K0 = "0x608060405260048054607d60a31b600160a01b600160e01b0319909116179055600580546001600160401b0319166103e817905534801561003e575f80fd5b50604051614fb2380380614fb283398101604081905261005d916100e8565b61006681610098565b50600180546001600160a01b039384166001600160a01b03199182161790915560038054929093169116179055610132565b6001600160a01b0316638b78c6d819819055805f7f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08180a35b50565b6001600160a01b03811681146100d1575f80fd5b5f805f606084860312156100fa575f80fd5b8351610105816100d4565b6020850151909350610116816100d4565b6040850151909250610127816100d4565b809150509250925092565b614e738061013f5f395ff3fe6080604052600436106101d0575f3560e01c80637b103999116100fd578063dd7dc9a911610092578063f04e283e11610062578063f04e283e14610551578063f2fde38b14610564578063fee81cf414610577578063fefceca9146105a8575f80fd5b8063dd7dc9a9146104b7578063dd98558c146104d7578063e21ff73114610513578063eccc19a614610532575f80fd5b8063b0e21e8a116100cd578063b0e21e8a14610413578063caa1647b14610464578063d5137b5214610483578063d73792a9146104a2575f80fd5b80637b1039991461038f5780638da5cb5b146103ae5780638fe4f523146103e1578063a92647dc146103f4575f80fd5b806343bc42d3116101735780635edb9eb0116101435780635edb9eb0146103385780635f32c23e14610355578063715018a614610374578063730f9c571461037c575f80fd5b806343bc42d3146102d357806346877b1a146102f25780635045b8661461031157806354d1f13d14610330575f80fd5b8063219f71f0116101ae578063219f71f0146102495780632569296214610268578063346339d51461027057806339a51be51461029c575f80fd5b806313c8e2de146101d457806316614282146102095780631fa2acdc1461022a575b5f80fd5b3480156101df575f80fd5b506101f36101ee366004613e90565b61060b565b6040516102009190613eea565b60405180910390f35b348015610214575f80fd5b50610228610223366004613fe8565b610740565b005b348015610235575f80fd5b5061022861024436600461404b565b610eb3565b348015610254575f80fd5b506102286102633660046140b1565b611628565b61022861166a565b34801561027b575f80fd5b5061028f61028a366004613e90565b6116b7565b6040516102009190614139565b3480156102a7575f80fd5b506003546102bb906001600160a01b031681565b6040516001600160a01b039091168152602001610200565b3480156102de575f80fd5b506102286102ed366004614197565b61176c565b3480156102fd575f80fd5b5061022861030c3660046140b1565b6117c7565b34801561031c575f80fd5b506004546102bb906001600160a01b031681565b610228611809565b348015610343575f80fd5b505f545b604051908152602001610200565b348015610360575f80fd5b5061022861036f3660046141b2565b611842565b6102286119db565b61022861038a3660046141d2565b6119ee565b34801561039a575f80fd5b506001546102bb906001600160a01b031681565b3480156103b9575f80fd5b507fffffffffffffffffffffffffffffffffffffffffffffffffffffffff74873927546102bb565b6102286103ef366004614249565b611e55565b3480156103ff575f80fd5b506002546102bb906001600160a01b031681565b34801561041e575f80fd5b5060045461044b9074010000000000000000000000000000000000000000900467ffffffffffffffff1681565b60405167ffffffffffffffff9091168152602001610200565b34801561046f575f80fd5b5061022861047e366004614197565b611e6a565b34801561048e575f80fd5b506102bb61049d3660046142ae565b611ef2565b3480156104ad575f80fd5b5061044b61271081565b3480156104c2575f80fd5b5060055461044b9067ffffffffffffffff1681565b3480156104e2575f80fd5b506104f66104f13660046142f8565b61211e565b604080519283526001600160a01b03909116602083015201610200565b34801561051e575f80fd5b506101f361052d366004614345565b61257a565b34801561053d575f80fd5b5061022861054c3660046140b1565b612dab565b61022861055f3660046140b1565b612ded565b6102286105723660046140b1565b612e2a565b348015610582575f80fd5b506103476105913660046140b1565b63389a75e1600c9081525f91909152602090205490565b3480156105b3575f80fd5b506105fa6105c2366004613e90565b60066020525f9081526040902080546001820154600283015460039093015460ff8316936101009093046001600160a01b0316929085565b604051610200959493929190614384565b60408051610100810182525f808252602082018190529181018290526060808201839052608082015260a0810182905260c0810182905260e08101919091525f828154811061065c5761065c6143bd565b5f9182526020918290206040805161010081018252600890930290910180546001600160a01b039081168452600182015481168486015260028201548116848401526003820154166060840152600481018054835181870281018701909452808452939491936080860193928301828280156106ff57602002820191905f5260205f20905b81546001600160a01b031681526001909101906020018083116106e1575b5050509183525050600582015467ffffffffffffffff166020820152600682015460408201526007909101546001600160a01b031660609091015292915050565b3068929eee149b4bd21268540361075e5763ab143c065f526004601cfd5b3068929eee149b4bd21268555f80858154811061077d5761077d6143bd565b905f5260205f20906008020190505f8160040185815481106107a1576107a16143bd565b5f9182526020822001546040517f4e7165a20000000000000000000000000000000000000000000000000000000081526001600160a01b0390911692508290634e7165a2906107f69088908890600401614413565b5f60405180830381865afa158015610810573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610837919081019061456d565b905080515f03610873576040517ff92ee8a900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f8180602001905181019061088891906145aa565b90505f8080806001855160028111156108a3576108a36140d3565b14806108c057505f855160028111156108be576108be6140d3565b145b15610924575f85606001518060200190518101906108de9190614652565b805160058b0154909650909150612710906109039067ffffffffffffffff16876146c1565b61090d91906146d8565b93506109198486614710565b9081905291506109da565b600285516002811115610939576109396140d3565b036109a8575f85606001518060200190518101906109579190614723565b602081015160058b01549096509091506127109061097f9067ffffffffffffffff16876146c1565b61098991906146d8565b93506109958486614710565b60208201819052905190925090506109da565b6040517fd623472500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f6109e58d8d612e50565b5f8181526006602052604081206001810180549394509092879290610a0b908490614710565b909155505085159150610e99905057600185516002811115610a2f57610a2f6140d3565b1480610a4c57505f85516002811115610a4a57610a4a6140d3565b145b15610c6b5760208501516040517f23b872dd000000000000000000000000000000000000000000000000000000008152336004820152306024820152604481018490526001600160a01b038216906323b872dd906064016020604051808303815f875af1158015610abf573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ae391906147b0565b506040517f095ea7b30000000000000000000000000000000000000000000000000000000081526001600160a01b0389811660048301526024820187905282169063095ea7b3906044016020604051808303815f875af1158015610b49573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b6d91906147b0565b506040517f30db555f000000000000000000000000000000000000000000000000000000008152600481018690526001600160a01b038916906330db555f906024015f604051808303815f87803b158015610bc6575f80fd5b505af1158015610bd8573d5f803e3d5ffd5b50506040517f095ea7b30000000000000000000000000000000000000000000000000000000081526001600160a01b038b811660048301525f60248301528416925063095ea7b391506044016020604051808303815f875af1158015610c40573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c6491906147b0565b5050610e59565b60208501516040517ff242432a000000000000000000000000000000000000000000000000000000008152336004820152306024820152604481018390526064810184905260a060848201525f60a48201526001600160a01b0382169063f242432a9060c4015f604051808303815f87803b158015610ce8575f80fd5b505af1158015610cfa573d5f803e3d5ffd5b50506040517fa22cb4650000000000000000000000000000000000000000000000000000000081526001600160a01b038b81166004830152600160248301528416925063a22cb46591506044015f604051808303815f87803b158015610d5e575f80fd5b505af1158015610d70573d5f803e3d5ffd5b50506040517f30db555f000000000000000000000000000000000000000000000000000000008152600481018890526001600160a01b038b1692506330db555f91506024015f604051808303815f87803b158015610dcc575f80fd5b505af1158015610dde573d5f803e3d5ffd5b50506040517fa22cb4650000000000000000000000000000000000000000000000000000000081526001600160a01b038b811660048301525f60248301528416925063a22cb46591506044015f604051808303815f87803b158015610e41575f80fd5b505af1158015610e53573d5f803e3d5ffd5b50505050505b604080518581526020810185905233918d918f917f2ad351412a5089670d592612b17f248e8526b92879399b24b35421b4c8f31876910160405180910390a45b50505050505050503868929eee149b4bd212685550505050565b3068929eee149b4bd212685403610ed15763ab143c065f526004601cfd5b3068929eee149b4bd21268555f808681548110610ef057610ef06143bd565b905f5260205f20906008020190505f816004018681548110610f1457610f146143bd565b5f9182526020822001546040517f4e7165a20000000000000000000000000000000000000000000000000000000081526001600160a01b0390911692508290634e7165a290610f699089908990600401614413565b5f60405180830381865afa158015610f83573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610faa919081019061456d565b905080515f03610fe6576040517ff92ee8a900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f81806020019051810190610ffb91906145aa565b90505f6001600160a01b038616156110135785611022565b60038501546001600160a01b03165b905061102d81612e7f565b5f8080600185516002811115611045576110456140d3565b148061106257505f85516002811115611060576110606140d3565b145b156110e9575f85606001518060200190518101906110809190614652565b805160058b0154909550909150612710906110a59067ffffffffffffffff16866146c1565b6110af91906146d8565b92506110bb8385614710565b8082526040805160208101839052919350015b60408051601f19818403018152919052606087015250611174565b6002855160028111156110fe576110fe6140d3565b036109a8575f856060015180602001905181019061111c9190614723565b602081015160058b0154909550909150612710906111449067ffffffffffffffff16866146c1565b61114e91906146d8565b925061115a8385614710565b60208083018290526040519193506110ce918391016147f9565b30604080870191909152515f9061118f908790602001614827565b60408051601f19818403018152908290527ffa4ca9b100000000000000000000000000000000000000000000000000000000825291506001600160a01b0386169063fa4ca9b1906111e4908490600401614878565b6020604051808303815f875af1158015611200573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061122491906147b0565b61125a576040517ff92ee8a900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f6112658f8f612e50565b5f818152600660205260408120600181018054939450909287929061128b908490614710565b90915550508515925061160d915050576001855160028111156112b0576112b06140d3565b14806112cd57505f855160028111156112cb576112cb6140d3565b145b1561145e5760208501516040517f095ea7b30000000000000000000000000000000000000000000000000000000081526001600160a01b0389811660048301526024820186905282169063095ea7b3906044016020604051808303815f875af115801561133c573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061136091906147b0565b506040517f30db555f000000000000000000000000000000000000000000000000000000008152600481018590526001600160a01b038916906330db555f906024015f604051808303815f87803b1580156113b9575f80fd5b505af11580156113cb573d5f803e3d5ffd5b50506040517f095ea7b30000000000000000000000000000000000000000000000000000000081526001600160a01b038b811660048301525f60248301528416925063095ea7b391506044016020604051808303815f875af1158015611433573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061145791906147b0565b50506115be565b60208501516040517fa22cb4650000000000000000000000000000000000000000000000000000000081526001600160a01b0389811660048301526001602483015282169063a22cb465906044015f604051808303815f87803b1580156114c3575f80fd5b505af11580156114d5573d5f803e3d5ffd5b50506040517f30db555f000000000000000000000000000000000000000000000000000000008152600481018790526001600160a01b038b1692506330db555f91506024015f604051808303815f87803b158015611531575f80fd5b505af1158015611543573d5f803e3d5ffd5b50506040517fa22cb4650000000000000000000000000000000000000000000000000000000081526001600160a01b038b811660048301525f60248301528416925063a22cb46591506044015f604051808303815f87803b1580156115a6575f80fd5b505af11580156115b8573d5f803e3d5ffd5b50505050505b336001600160a01b03168c8e7f2ad351412a5089670d592612b17f248e8526b92879399b24b35421b4c8f318768686604051611604929190918252602082015260400190565b60405180910390a45b50505050505050503868929eee149b4bd21268555050505050565b611630612f5e565b600480547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0392909216919091179055565b5f6202a30067ffffffffffffffff164201905063389a75e1600c52335f52806020600c2055337fdbf36a107da19e49527a7176a1babf963b4b0ff8cde35ee35d6cd8f1f9ac7e1d5f80a250565b6116ee6040805160a08101909152805f81526020015f6001600160a01b031681526020015f81526020015f81526020015f81525090565b5f8281526006602052604090819020815160a081019092528054829060ff16600281111561171e5761171e6140d3565b600281111561172f5761172f6140d3565b8152815461010090046001600160a01b03166020820152600182015460408201526002820154606082015260039091015460809091015292915050565b611774612f5e565b6004805467ffffffffffffffff90921674010000000000000000000000000000000000000000027fffffffff0000000000000000ffffffffffffffffffffffffffffffffffffffff909216919091179055565b6117cf612f5e565b600380547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0392909216919091179055565b63389a75e1600c52335f525f6020600c2055337ffa7b8eab7da67f412cc9575ed43464468f9bfbae89d1675917346ca6d8fe3c925f80a2565b3068929eee149b4bd2126854036118605763ab143c065f526004601cfd5b3068929eee149b4bd21268555f6118778383612e50565b5f81815260066020526040812081549293509181908690811061189c5761189c6143bd565b905f5260205f20906008020160040184815481106118bc576118bc6143bd565b5f918252602082200154600284015460018501546001600160a01b039092169350906118eb90612710906146c1565b6118f591906146d8565b90505f6119028484612f93565b9050818111156119c6575f611917838361488a565b90505f61271067ffffffffffffffff1686600201548361193791906146c1565b61194191906146d8565b905061194d86826130e1565b808660010154106119765780866001015f82825461196b919061488a565b9091555061197d9050565b5f60018701555b6003546040518281526001600160a01b039091169089908b907f42ca2b02f2bdb76fff6e99ea9a7b4d9767b45bdd42d6be831eeb9f3d5cb20b179060200160405180910390a450505b50505050503868929eee149b4bd21268555050565b6119e3612f5e565b6119ec5f61321d565b565b3068929eee149b4bd212685403611a0c5763ab143c065f526004601cfd5b3068929eee149b4bd21268555f808781548110611a2b57611a2b6143bd565b905f5260205f20906008020190505f611a448888612e50565b5f81815260066020526040812060048501805493945090928a908110611a6c57611a6c6143bd565b5f9182526020909120015460028501546040517fe3f756de0000000000000000000000000000000000000000000000000000000081526001600160a01b03928316935091169063e3f756de90611aca9088908b908b9060040161489d565b602060405180830381865afa158015611ae5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b0991906147b0565b611b3f576040517f82b4290000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60018401546040517f703b69000000000000000000000000000000000000000000000000000000000081526001600160a01b039091169063703b6900903490611b94908e908e908b908e908e906004016148c8565b60206040518083038185885af1158015611bb0573d5f803e3d5ffd5b50505050506040513d601f19601f82011682018060405250810190611bd591906147b0565b611c0b576040517f82b4290000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b81545f9061010090046001600160a01b0316611c27575f611c31565b611c318383612f93565b6040517fbb1757cf0000000000000000000000000000000000000000000000000000000081529091506001600160a01b0383169063bb1757cf90611c7d9089908c908c9060040161489d565b6020604051808303815f875af1158015611c99573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611cbd91906147b0565b611d02578588886040517f4139d81d000000000000000000000000000000000000000000000000000000008152600401611cf99392919061489d565b60405180910390fd5b82545f9061010090046001600160a01b0316611d1e575f611d28565b611d288484612f93565b90505f818311611d38575f611d42565b611d42828461488a565b90505f61271067ffffffffffffffff16866002015483611d6291906146c1565b611d6c91906146d8565b90508015611df257611d7e86826130e1565b80866001015f828254611d91919061488a565b9250508190555060035f9054906101000a90046001600160a01b03166001600160a01b03168d8f7f42ca2b02f2bdb76fff6e99ea9a7b4d9767b45bdd42d6be831eeb9f3d5cb20b1784604051611de991815260200190565b60405180910390a45b886001600160a01b03168d8f7f0f29bbf4ce25d2346bbeb8a898e24e5d6d7d1d19bb895e71faecac833b2595478f8f8f604051611e319392919061489d565b60405180910390a450505050505050503868929eee149b4bd2126855505050505050565b611e638585858585336119ee565b5050505050565b611e72612f5e565b61271067ffffffffffffffff821610611eb7576040517f82b4290000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600580547fffffffffffffffffffffffffffffffffffffffffffffffff00000000000000001667ffffffffffffffff92909216919091179055565b5f3068929eee149b4bd212685403611f115763ab143c065f526004601cfd5b3068929eee149b4bd21268555f808481548110611f3057611f306143bd565b5f918252602090912060089091020160078101549091506001600160a01b03163314611f88576040517f82b4290000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6003810154611f9f906001600160a01b0316612e7f565b6004808201805491549091905f906001600160a01b0316611fc0575f612052565b6004546040516001600160a01b039091169063c7f1ecff90611fe8908a908a90602001614901565b6040516020818303038152906040526040518263ffffffff1660e01b81526004016120139190614878565b602060405180830381865afa15801561202e573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061205291906149b8565b905061208861206087614a20565b600386015460058701546001600160a01b039091169067ffffffffffffffff16848b87613275565b83546001810185555f858152602080822090920180547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b03851690811790915560405191825292975084918a917f500ae5072ea307af9f1d7b29f92e0379b973527e56e000e5445b7b9f5fbb09ae910160405180910390a4505050503868929eee149b4bd212685592915050565b5f803068929eee149b4bd21268540361213e5763ab143c065f526004601cfd5b3068929eee149b4bd21268555f80858154811061215d5761215d6143bd565b5f9182526020918290206040805161010081018252600890930290910180546001600160a01b0390811684526001820154811684860152600282015481168484015260038201541660608401526004810180548351818702810187019094528084529394919360808601939283018282801561220057602002820191905f5260205f20905b81546001600160a01b031681526001909101906020018083116121e2575b5050509183525050600582015467ffffffffffffffff166020820152600682015460408201526007909101546001600160a01b039081166060928301529082015191925016331461227d576040517f82b4290000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f6122888686612e50565b5f8181526006602052604081209192506122a4898b018b614a89565b90505f81602001518060200190518101906122bf9190614b26565b90505f61271067ffffffffffffffff168460020154836122df91906146c1565b6122e991906146d8565b90508015612457576001845460ff166002811115612309576123096140d3565b148061232957505f845460ff166002811115612327576123276140d3565b145b15612351578251845461234c916101009091046001600160a01b03169083613615565b61240e565b6002845460ff166002811115612369576123696140d3565b0361240e578354835160038601546040517ff242432a0000000000000000000000000000000000000000000000000000000081523060048201526001600160a01b03928316602482015260448101919091526064810184905260a060848201525f60a4820152610100909204169063f242432a9060c4015f604051808303815f87803b1580156123f7575f80fd5b505af1158015612409573d5f803e3d5ffd5b505050505b825f01516001600160a01b0316898b7f42ca2b02f2bdb76fff6e99ea9a7b4d9767b45bdd42d6be831eeb9f3d5cb20b178460405161244e91815260200190565b60405180910390a45b5f8087608001518b8151811061246f5761246f6143bd565b60200260200101516001600160a01b031663474f5a44866040516020016124969190614b3d565b6040516020818303038152906040526040518263ffffffff1660e01b81526004016124c19190614878565b60408051808303815f875af11580156124dc573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906125009190614b6a565b91509150815f0361254357338e8e6040517f9ecd71a9000000000000000000000000000000000000000000000000000000008152600401611cf99392919061489d565b82866001015f828254612556919061488a565b90915550503868929eee149b4bd2126855909d909c509a5050505050505050505050565b60408051610100810182525f808252602082018190529181018290526060808201839052608082015260a0810182905260c0810182905260e081019190915260025433906001600160a01b03161580159061265757506002546040517ffe9fbb800000000000000000000000000000000000000000000000000000000081526001600160a01b0383811660048301529091169063fe9fbb8090602401602060405180830381865afa158015612631573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061265591906147b0565b155b1561268e576040517f82b4290000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b3068929eee149b4bd2126854036126ac5763ab143c065f526004601cfd5b3068929eee149b4bd21268555f6126f785858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061365e92505050565b80602001905181019061270a9190614c92565b9050612718815f0151612e7f565b5f805460018101825590805260e082015160089091027f290decd9548b62a8d60345a988386fc84ba6bc95484008f6362f93160ef3e56a810180547fffffffffffffffffffffffff00000000000000000000000000000000000000009081166001600160a01b039485161790915583517f290decd9548b62a8d60345a988386fc84ba6bc95484008f6362f93160ef3e566830180549092169084161790556004547f290decd9548b62a8d60345a988386fc84ba6bc95484008f6362f93160ef3e563909101911661281c5760a0820151600454612817919074010000000000000000000000000000000000000000900467ffffffffffffffff16614dbd565b6128b4565b60a0820151600480546040517fb1539a6b0000000000000000000000000000000000000000000000000000000081526001600160a01b039091169163b1539a6b9161286b918b918b9101614413565b602060405180830381865afa158015612886573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906128aa9190614ddd565b6128b49190614dbd565b6005820180547fffffffffffffffffffffffffffffffffffffffffffffffff00000000000000001667ffffffffffffffff9290921691909117905560c08201516006820155602082015161292b907fe6715795000000000000000000000000000000000000000000000000000000009060016136f1565b81547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b03919091161781556060820151612990907fe2089f79000000000000000000000000000000000000000000000000000000009060016136f1565b6002820180547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b039283161790556004545f91166129d6575f612a5f565b600480546040517fc7f1ecff0000000000000000000000000000000000000000000000000000000081526001600160a01b039091169163c7f1ecff91612a20918b918b9101614413565b602060405180830381865afa158015612a3b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612a5f91906149b8565b608084015184516005850154929350612a829267ffffffffffffffff1684613712565b8051612a98916004850191602090910190613e01565b506040830151602001516001600160a01b031615612ae557612ae07f5912b89c00000000000000000000000000000000000000000000000000000000846040015160016136f1565b612b9d565b81546040517f01ffc9a70000000000000000000000000000000000000000000000000000000081527f5912b89c0000000000000000000000000000000000000000000000000000000060048201526001600160a01b03909116906301ffc9a790602401602060405180830381865afa158015612b63573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612b8791906147b0565b612b91575f612b9d565b81546001600160a01b03165b6001830180547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b03929092169182179055612c34576040517fe1c444480000000000000000000000000000000000000000000000000000000081527f5912b89c0000000000000000000000000000000000000000000000000000000060048201525f6024820152604401611cf9565b815460078301545f546001600160a01b039283169290911690612c599060019061488a565b6004850154600186015460028701546003880154604080519485526001600160a01b03938416602086015291831684830152919091166060830152517f116812d3ad4507d72f2c428b63246d594ca055a1dc119394285504c23d1f34cd9181900360800190a4604080516101008101825283546001600160a01b03908116825260018501548116602080840191909152600286015482168385015260038601549091166060830152600485018054845181840281018401909552808552929386936080860193919291830182828015612d5957602002820191905f5260205f20905b81546001600160a01b03168152600190910190602001808311612d3b575b5050509183525050600582015467ffffffffffffffff166020820152600682015460408201526007909101546001600160a01b03166060909101523868929eee149b4bd2126855979650505050505050565b612db3612f5e565b600280547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0392909216919091179055565b612df5612f5e565b63389a75e1600c52805f526020600c208054421115612e1b57636f5e88185f526004601cfd5b5f9055612e278161321d565b50565b612e32612f5e565b8060601b612e4757637448fbae5f526004601cfd5b612e278161321d565b604080516020808201859052818301849052825180830384018152606090920190925280519101205b92915050565b612ea97fe49cedd70000000000000000000000000000000000000000000000000000000082613844565b6040517ffe9fbb800000000000000000000000000000000000000000000000000000000081523360048201526001600160a01b0382169063fe9fbb8090602401602060405180830381865afa158015612f04573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612f2891906147b0565b612e27576040517f82b4290000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffff748739275433146119ec576382b429005f526004601cfd5b5f6001835460ff166002811115612fac57612fac6140d3565b1480612fcc57505f835460ff166002811115612fca57612fca6140d3565b145b156130635782546040517f70a082310000000000000000000000000000000000000000000000000000000081526001600160a01b038481166004830152610100909204909116906370a08231906024015b602060405180830381865afa158015613038573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061305c9190614b26565b9050612e79565b6002835460ff16600281111561307b5761307b6140d3565b036130d957825460038401546040517efdd58e0000000000000000000000000000000000000000000000000000000081526001600160a01b0385811660048301526024820192909252610100909204169062fdd58e9060440161301d565b505f92915050565b6001825460ff1660028111156130f9576130f96140d3565b148061311957505f825460ff166002811115613117576131176140d3565b145b1561315c57600354825461313f916001600160a01b036101009092048216911683613615565b81546131589061010090046001600160a01b0316613962565b5050565b6002825460ff166002811115613174576131746140d3565b0361315857815460038054908401546040517ff242432a0000000000000000000000000000000000000000000000000000000081523060048201526001600160a01b03928316602482015260448101919091526064810184905260a060848201525f60a4820152610100909204169063f242432a9060c4015f604051808303815f87803b158015613203575f80fd5b505af1158015613215573d5f803e3d5ffd5b505050505050565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffff7487392780546001600160a01b039092169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e05f80a355565b5f80876040015190506132ac7fa9216705000000000000000000000000000000000000000000000000000000008960200151613844565b875161331b5760208801516040517fe1c444480000000000000000000000000000000000000000000000000000000081527fa92167050000000000000000000000000000000000000000000000000000000060048201526001600160a01b039091166024820152604401611cf9565b6133467fa921670500000000000000000000000000000000000000000000000000000000895f6136f1565b91505f826001600160a01b0316634e7165a2836040518263ffffffff1660e01b81526004016133759190614878565b5f60405180830381865afa15801561338f573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526133b6919081019061456d565b905080515f14613597575f806133cc838a613a1e565b6040517ffa4ca9b100000000000000000000000000000000000000000000000000000000815291935091506001600160a01b038b169063fa4ca9b190613416908590600401614878565b6020604051808303815f875af1158015613432573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061345691906147b0565b61348c576040517ff92ee8a900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6040517ffa4ca9b10000000000000000000000000000000000000000000000000000000081526001600160a01b038b169063fa4ca9b1906134d1908690600401614878565b6020604051808303815f875af11580156134ed573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061351191906147b0565b613547576040517ff92ee8a900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f8380602001905181019061355c91906145aa565b905061359388886001600160a01b038c1661357b57836020015161357d565b8b5b858e67ffffffffffffffff16865f01518b613bb7565b5050505b6040517f439fab910000000000000000000000000000000000000000000000000000000081526001600160a01b0384169063439fab91906135dc908590600401614878565b5f604051808303815f87803b1580156135f3575f80fd5b505af1158015613605573d5f803e3d5ffd5b5050505050509695505050505050565b81601452806034526fa9059cbb0000000000000000000000005f5260205f604460105f875af13d1560015f51141716613655576390b8ec185f526004601cfd5b5f603452505050565b60608151156136ec5760405190506020810160048301805184518501811983525b808610156136d6576001860195508551601f1a806136c7576001870196508651601f1a5f198652607f81116136b657600181013887395b607f1694909401600101935061367f565b8085535060018401935061367f565b509052601f198282030182525f81526020016040525b919050565b5f613700848460200151613844565b61370a8383613cf3565b949350505050565b5f8054606091906137259060019061488a565b9050855167ffffffffffffffff81111561374157613741614426565b60405190808252806020026020018201604052801561376a578160200160208202803683370190505b5091505f5b865181101561383a5761379f87828151811061378d5761378d6143bd565b60200260200101518787878686613275565b8382815181106137b1576137b16143bd565b60200260200101906001600160a01b031690816001600160a01b0316815250508281815181106137e3576137e36143bd565b60200260200101516001600160a01b031681837f500ae5072ea307af9f1d7b29f92e0379b973527e56e000e5445b7b9f5fbb09ae600160405161382a911515815260200190565b60405180910390a460010161376f565b5050949350505050565b6001600160a01b03811615806138f857506040517f01ffc9a70000000000000000000000000000000000000000000000000000000081527fffffffff00000000000000000000000000000000000000000000000000000000831660048201526001600160a01b038216906301ffc9a790602401602060405180830381865afa1580156138d2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906138f691906147b0565b155b15613158576040517fe1c444480000000000000000000000000000000000000000000000000000000081527fffffffff00000000000000000000000000000000000000000000000000000000831660048201526001600160a01b0382166024820152604401611cf9565b6040517f70a082310000000000000000000000000000000000000000000000000000000081523060048201525f906001600160a01b038316906370a0823190602401602060405180830381865afa1580156139bf573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906139e39190614b26565b90505f811180156139ff575060055467ffffffffffffffff1681105b1561315857600354613158906001600160a01b03848116911683613615565b60605f8084806020019051810190613a3691906145aa565b905083600182516002811115613a4e57613a4e6140d3565b1480613a6b57505f82516002811115613a6957613a696140d3565b145b15613b19575f8260600151806020019051810190613a899190614652565b80519091505f9061271090613aa99067ffffffffffffffff8616906146c1565b613ab391906146d8565b6040805160208082018352838252825190810184905292935091015b60408051601f198184030181529181526060870191909152308682015251613afb908690602001614827565b60405160208183030381529060405282965096505050505050613bb0565b600282516002811115613b2e57613b2e6140d3565b036109a8575f8260600151806020019051810190613b4c9190614723565b90505f61271067ffffffffffffffff168367ffffffffffffffff168360200151613b7691906146c1565b613b8091906146d8565b604080516060810182528451815260208082018490528583015182840152915192935091613acf918391016147f9565b9250929050565b5f6002836002811115613bcc57613bcc6140d3565b03613be95781806020019051810190613be59190614df8565b5090505b5f6040518060a00160405280856002811115613c0757613c076140d3565b8152602001886001600160a01b031681526020018781526020018681526020018381525090508060065f613c3b8c8c612e50565b815260208101919091526040015f208151815482907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001836002811115613c8657613c866140d3565b0217905550602082015181546001600160a01b03909116610100027fffffffffffffffffffffff0000000000000000000000000000000000000000ff9091161781556040820151600182015560608201516002820155608090910151600390910155505050505050505050565b81515f90613d05578260200151613d1b565b613d1b83602001516001600160a01b0316613daa565b83519091508015613d295750815b15612e795760408084015190517f439fab910000000000000000000000000000000000000000000000000000000081526001600160a01b0383169163439fab9191613d779190600401614878565b5f604051808303815f87803b158015613d8e575f80fd5b505af1158015613da0573d5f803e3d5ffd5b5050505092915050565b5f612e795f835f6c5af43d3d93803e602a57fd5bf36021528160145273602c3d8160093d39f33d3d3d3d363d3d37363d735f526035600c84f0905080613df75763301164255f526004601cfd5b5f60215292915050565b828054828255905f5260205f20908101928215613e6c579160200282015b82811115613e6c57825182547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b03909116178255602090920191600190910190613e1f565b50613e78929150613e7c565b5090565b5b80821115613e78575f8155600101613e7d565b5f60208284031215613ea0575f80fd5b5035919050565b5f8151808452602084019350602083015f5b82811015613ee05781516001600160a01b0316865260209586019590910190600101613eb9565b5093949350505050565b602081526001600160a01b0382511660208201525f6020830151613f1960408401826001600160a01b03169052565b5060408301516001600160a01b03811660608401525060608301516001600160a01b038116608084015250608083015161010060a0840152613f5f610120840182613ea7565b905060a0840151613f7c60c085018267ffffffffffffffff169052565b5060c084015160e084015260e0840151613fa26101008501826001600160a01b03169052565b509392505050565b5f8083601f840112613fba575f80fd5b50813567ffffffffffffffff811115613fd1575f80fd5b602083019150836020828501011115613bb0575f80fd5b5f805f8060608587031215613ffb575f80fd5b8435935060208501359250604085013567ffffffffffffffff81111561401f575f80fd5b61402b87828801613faa565b95989497509550505050565b6001600160a01b0381168114612e27575f80fd5b5f805f805f6080868803121561405f575f80fd5b8535945060208601359350604086013567ffffffffffffffff811115614083575f80fd5b61408f88828901613faa565b90945092505060608601356140a381614037565b809150509295509295909350565b5f602082840312156140c1575f80fd5b81356140cc81614037565b9392505050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602160045260245ffd5b60038110614135577f4e487b71000000000000000000000000000000000000000000000000000000005f52602160045260245ffd5b9052565b5f60a08201905061414b828451614100565b6001600160a01b03602084015116602083015260408301516040830152606083015160608301526080830151608083015292915050565b67ffffffffffffffff81168114612e27575f80fd5b5f602082840312156141a7575f80fd5b81356140cc81614182565b5f80604083850312156141c3575f80fd5b50508035926020909101359150565b5f805f805f8060a087890312156141e7575f80fd5b8635955060208701359450604087013561420081614037565b9350606087013567ffffffffffffffff81111561421b575f80fd5b61422789828a01613faa565b909450925050608087013561423b81614037565b809150509295509295509295565b5f805f805f6080868803121561425d575f80fd5b8535945060208601359350604086013561427681614037565b9250606086013567ffffffffffffffff811115614291575f80fd5b61429d88828901613faa565b969995985093965092949392505050565b5f80604083850312156142bf575f80fd5b82359150602083013567ffffffffffffffff8111156142dc575f80fd5b8301606081860312156142ed575f80fd5b809150509250929050565b5f805f806060858703121561430b575f80fd5b843567ffffffffffffffff811115614321575f80fd5b61432d87828801613faa565b90989097506020870135966040013595509350505050565b5f8060208385031215614356575f80fd5b823567ffffffffffffffff81111561436c575f80fd5b61437885828601613faa565b90969095509350505050565b60a081016143928288614100565b6001600160a01b03861660208301528460408301528360608301528260808301529695505050505050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b81835281816020850137505f602082840101525f6020601f19601f840116840101905092915050565b602081525f61370a6020830184866143ea565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b6040516080810167ffffffffffffffff8111828210171561447657614476614426565b60405290565b6040516060810167ffffffffffffffff8111828210171561447657614476614426565b604051610100810167ffffffffffffffff8111828210171561447657614476614426565b604051601f8201601f1916810167ffffffffffffffff811182821017156144ec576144ec614426565b604052919050565b5f67ffffffffffffffff82111561450d5761450d614426565b50601f01601f191660200190565b5f82601f83011261452a575f80fd5b815161453d614538826144f4565b6144c3565b818152846020838601011115614551575f80fd5b8160208501602083015e5f918101602001919091529392505050565b5f6020828403121561457d575f80fd5b815167ffffffffffffffff811115614593575f80fd5b61370a8482850161451b565b80516136ec81614037565b5f602082840312156145ba575f80fd5b815167ffffffffffffffff8111156145d0575f80fd5b8201608081850312156145e1575f80fd5b6145e9614453565b8151600381106145f7575f80fd5b8152602082015161460781614037565b6020820152604082015161461a81614037565b6040820152606082015167ffffffffffffffff811115614638575f80fd5b6146448682850161451b565b606083015250949350505050565b5f6020828403128015614663575f80fd5b506040516020810167ffffffffffffffff8111828210171561468757614687614426565b6040529151825250919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b8082028115828204841417612e7957612e79614694565b5f8261470b577f4e487b71000000000000000000000000000000000000000000000000000000005f52601260045260245ffd5b500490565b80820180821115612e7957612e79614694565b5f60208284031215614733575f80fd5b815167ffffffffffffffff811115614749575f80fd5b82016060818503121561475a575f80fd5b61476261447c565b8151815260208083015190820152604082015167ffffffffffffffff811115614789575f80fd5b6147958682850161451b565b604083015250949350505050565b8015158114612e27575f80fd5b5f602082840312156147c0575f80fd5b81516140cc816147a3565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b6020815281516020820152602082015160408201525f604083015160608084015261370a60808401826147cb565b60208152614839602082018351614100565b6001600160a01b0360208301511660408201526001600160a01b0360408301511660608201525f606083015160808084015261370a60a08401826147cb565b602081525f6140cc60208301846147cb565b81810381811115612e7957612e79614694565b6001600160a01b0384168152604060208201525f6148bf6040830184866143ea565b95945050505050565b8581528460208201526001600160a01b0384166040820152608060608201525f6148f66080830184866143ea565b979650505050505050565b828152604060208201525f8235614917816147a3565b15156040830152602083013561492c81614037565b6001600160a01b031660608301526040830135368490037fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe101811261496f575f80fd5b830160208101903567ffffffffffffffff81111561498b575f80fd5b803603821315614999575f80fd5b606060808501526149ae60a0850182846143ea565b9695505050505050565b5f602082840312156149c8575f80fd5b81516140cc81614037565b5f82601f8301126149e2575f80fd5b81356149f0614538826144f4565b818152846020838601011115614a04575f80fd5b816020850160208301375f918101602001919091529392505050565b5f60608236031215614a30575f80fd5b614a3861447c565b8235614a43816147a3565b81526020830135614a5381614037565b6020820152604083013567ffffffffffffffff811115614a71575f80fd5b614a7d368286016149d3565b60408301525092915050565b5f60208284031215614a99575f80fd5b813567ffffffffffffffff811115614aaf575f80fd5b820160408185031215614ac0575f80fd5b6040805190810167ffffffffffffffff81118282101715614ae357614ae3614426565b6040528135614af181614037565b8152602082013567ffffffffffffffff811115614b0c575f80fd5b614b18868285016149d3565b602083015250949350505050565b5f60208284031215614b36575f80fd5b5051919050565b602081526001600160a01b0382511660208201525f602083015160408084015261370a60608401826147cb565b5f8060408385031215614b7b575f80fd5b825160208401519092506142ed81614037565b5f60608284031215614b9e575f80fd5b614ba661447c565b90508151614bb3816147a3565b81526020820151614bc381614037565b6020820152604082015167ffffffffffffffff811115614be1575f80fd5b614a7d8482850161451b565b5f82601f830112614bfc575f80fd5b815167ffffffffffffffff811115614c1657614c16614426565b8060051b614c26602082016144c3565b91825260208185018101929081019086841115614c41575f80fd5b6020860192505b838310156149ae57825167ffffffffffffffff811115614c66575f80fd5b614c75886020838a0101614b8e565b83525060209283019290910190614c48565b80516136ec81614182565b5f60208284031215614ca2575f80fd5b815167ffffffffffffffff811115614cb8575f80fd5b82016101008185031215614cca575f80fd5b614cd261449f565b614cdb8261459f565b8152602082015167ffffffffffffffff811115614cf6575f80fd5b614d0286828501614b8e565b602083015250604082015167ffffffffffffffff811115614d21575f80fd5b614d2d86828501614b8e565b604083015250606082015167ffffffffffffffff811115614d4c575f80fd5b614d5886828501614b8e565b606083015250608082015167ffffffffffffffff811115614d77575f80fd5b614d8386828501614bed565b608083015250614d9560a08301614c87565b60a082015260c08281015190820152614db060e0830161459f565b60e0820152949350505050565b67ffffffffffffffff8181168382160190811115612e7957612e79614694565b5f60208284031215614ded575f80fd5b81516140cc81614182565b5f8060408385031215614e09575f80fd5b8251602084015190925067ffffffffffffffff811115614e27575f80fd5b614e338582860161451b565b915050925092905056fea26469706673582212201ae4465621fddb41ff261280bf98c27ad722212d6adbce644afd906f4677503164736f6c634300081a0033";
31
- function S(d) {
31
+ function N(d) {
32
32
  const e = d.state.current, f = d.state.connections.get(e), b = f == null ? void 0 : f.accounts, a = b == null ? void 0 : b[0], t = d.chains.find((n) => n.id === (f == null ? void 0 : f.chainId)), c = d.state.status;
33
33
  switch (c) {
34
34
  case "connected":
@@ -88,7 +88,7 @@ function S(d) {
88
88
  function Q0(d) {
89
89
  return d.state.chainId;
90
90
  }
91
- function N(d, e, f) {
91
+ function p(d, e, f) {
92
92
  const b = d[e.name];
93
93
  if (typeof b == "function")
94
94
  return b;
@@ -100,7 +100,7 @@ var V = function(d, e, f, b) {
100
100
  if (f === "a" && !b) throw new TypeError("Private accessor was defined without a getter");
101
101
  if (typeof e == "function" ? d !== e || !b : !e.has(d)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
102
102
  return f === "m" ? b : f === "a" ? b.call(d) : b ? b.value : e.get(d);
103
- }, y, p;
103
+ }, _, M;
104
104
  class v extends Error {
105
105
  get docsBaseUrl() {
106
106
  return "https://wagmi.sh/core";
@@ -110,7 +110,7 @@ class v extends Error {
110
110
  }
111
111
  constructor(e, f = {}) {
112
112
  var t;
113
- super(), y.add(this), Object.defineProperty(this, "details", {
113
+ super(), _.add(this), Object.defineProperty(this, "details", {
114
114
  enumerable: !0,
115
115
  configurable: !0,
116
116
  writable: !0,
@@ -150,11 +150,11 @@ class v extends Error {
150
150
  `), f.cause && (this.cause = f.cause), this.details = b, this.docsPath = a, this.metaMessages = f.metaMessages, this.shortMessage = e;
151
151
  }
152
152
  walk(e) {
153
- return V(this, y, "m", p).call(this, this, e);
153
+ return V(this, _, "m", M).call(this, this, e);
154
154
  }
155
155
  }
156
- y = /* @__PURE__ */ new WeakSet(), p = function d(e, f) {
157
- return f != null && f(e) ? e : e.cause ? V(this, y, "m", d).call(this, e.cause, f) : e;
156
+ _ = /* @__PURE__ */ new WeakSet(), M = function d(e, f) {
157
+ return f != null && f(e) ? e : e.cause ? V(this, _, "m", d).call(this, e.cause, f) : e;
158
158
  };
159
159
  class Z0 extends v {
160
160
  constructor() {
@@ -207,7 +207,7 @@ class b1 extends v {
207
207
  });
208
208
  }
209
209
  }
210
- async function M(d, e = {}) {
210
+ async function O(d, e = {}) {
211
211
  let f;
212
212
  if (e.connector) {
213
213
  const { connector: i } = e;
@@ -252,22 +252,22 @@ async function M(d, e = {}) {
252
252
  async function a1(d, e) {
253
253
  const { abi: f, chainId: b, connector: a, ...t } = e;
254
254
  let c;
255
- e.account ? c = e.account : c = (await M(d, {
255
+ e.account ? c = e.account : c = (await O(d, {
256
256
  chainId: b,
257
257
  connector: a
258
258
  })).account;
259
- const n = d.getClient({ chainId: b }), s = N(n, W0, "simulateContract"), { result: i, request: w } = await s({ ...t, abi: f, account: c });
259
+ const n = d.getClient({ chainId: b }), s = p(n, W0, "simulateContract"), { result: i, request: w } = await s({ ...t, abi: f, account: c });
260
260
  return {
261
261
  chainId: n.chain.id,
262
262
  result: i,
263
263
  request: { __mode: "prepared", ...w, chainId: b }
264
264
  };
265
265
  }
266
- async function D(d, e) {
266
+ async function L(d, e) {
267
267
  const { account: f, chainId: b, connector: a, __mode: t, ...c } = e;
268
268
  let n;
269
- typeof f == "object" && f.type === "local" ? n = d.getClient({ chainId: b }) : n = await M(d, { account: f, chainId: b, connector: a });
270
- const { connector: s } = S(d);
269
+ typeof f == "object" && f.type === "local" ? n = d.getClient({ chainId: b }) : n = await O(d, { account: f, chainId: b, connector: a });
270
+ const { connector: s } = N(d);
271
271
  let i;
272
272
  if (t === "prepared" || s != null && s.supportsSimulation)
273
273
  i = c;
@@ -279,7 +279,7 @@ async function D(d, e) {
279
279
  });
280
280
  i = o;
281
281
  }
282
- return await N(n, U0, "writeContract")({
282
+ return await p(n, U0, "writeContract")({
283
283
  ...i,
284
284
  ...f ? { account: f } : {},
285
285
  chain: b ? { id: b } : null
@@ -288,32 +288,32 @@ async function D(d, e) {
288
288
  function t1(d) {
289
289
  return d.address !== void 0 && typeof d.address == "object" ? (e, f) => {
290
290
  var c;
291
- const b = Q0(e), a = S(e);
291
+ const b = Q0(e), a = N(e);
292
292
  let t;
293
- return f.chainId ? t = f.chainId : f.account && f.account === a.address || f.account === void 0 ? t = a.chainId : t = b, D(e, {
293
+ return f.chainId ? t = f.chainId : f.account && f.account === a.address || f.account === void 0 ? t = a.chainId : t = b, L(e, {
294
294
  ...f,
295
295
  ...d.functionName ? { functionName: d.functionName } : {},
296
296
  address: t ? (c = d.address) == null ? void 0 : c[t] : void 0,
297
297
  abi: d.abi
298
298
  });
299
- } : (e, f) => D(e, {
299
+ } : (e, f) => L(e, {
300
300
  ...f,
301
301
  ...d.address ? { address: d.address } : {},
302
302
  ...d.functionName ? { functionName: d.functionName } : {},
303
303
  abi: d.abi
304
304
  });
305
305
  }
306
- const A = 10000n, P = {
306
+ const A = 10000n, B = {
307
307
  31337: void 0,
308
308
  ...h0
309
- }, M1 = P[11155111] || m;
309
+ }, M1 = B[11155111] || m;
310
310
  function c1(d) {
311
311
  return d.address;
312
312
  }
313
313
  function d1(d) {
314
314
  return d.registryAddress && d.protocolFeeReceiver && d.owner;
315
315
  }
316
- const B = class B extends B0 {
316
+ const E = class E extends B0 {
317
317
  /**
318
318
  * A getter that will return Boost core's static addresses by numerical chain ID
319
319
  *
@@ -345,7 +345,7 @@ const B = class B extends B0 {
345
345
  else {
346
346
  const { address: a } = u(
347
347
  e,
348
- P
348
+ B
349
349
  );
350
350
  super({ account: f, config: e }, a);
351
351
  }
@@ -380,10 +380,10 @@ const B = class B extends B0 {
380
380
  // biome-ignore lint/suspicious/noExplicitAny: Accept any shape of valid wagmi/viem parameters, wagmi does the same thing internally
381
381
  ...f,
382
382
  chainId: c,
383
- args: [F(i)]
383
+ args: [R(i)]
384
384
  }), g = await c0(a.config, {
385
385
  hash: w
386
- }), o = E({
386
+ }), o = F({
387
387
  abi: C,
388
388
  eventName: "BoostCreated",
389
389
  logs: g.logs
@@ -391,22 +391,22 @@ const B = class B extends B0 {
391
391
  let r = 0n;
392
392
  if (!o) throw new O0();
393
393
  r = o == null ? void 0 : o.args.boostId;
394
- const h = await this.readBoost(r);
395
- return new R({
394
+ const l = await this.readBoost(r);
395
+ return new T({
396
396
  id: r,
397
- budget: b.budget.at(h.budget),
398
- action: b.action.at(h.action),
399
- validator: b.validator.at(h.validator),
400
- allowList: b.allowList.at(h.allowList),
397
+ budget: b.budget.at(l.budget),
398
+ action: b.action.at(l.action),
399
+ validator: b.validator.at(l.validator),
400
+ allowList: b.allowList.at(l.allowList),
401
401
  incentives: b.incentives.map(
402
- (I, O) => (
402
+ (I, y) => (
403
403
  // biome-ignore lint/style/noNonNullAssertion: this will never be undefined
404
- I.at(h.incentives.at(O))
404
+ I.at(l.incentives.at(y))
405
405
  )
406
406
  ),
407
- protocolFee: h.protocolFee,
408
- maxParticipants: h.maxParticipants,
409
- owner: h.owner
407
+ protocolFee: l.protocolFee,
408
+ maxParticipants: l.maxParticipants,
409
+ owner: l.owner
410
410
  });
411
411
  }
412
412
  /**
@@ -451,7 +451,7 @@ const B = class B extends B0 {
451
451
  ...f,
452
452
  address: n,
453
453
  chainId: c,
454
- args: [F(s)]
454
+ args: [R(s)]
455
455
  });
456
456
  }
457
457
  // This function mutates payload, which isn't awesome but it's fine
@@ -461,41 +461,42 @@ const B = class B extends B0 {
461
461
  throw new $0();
462
462
  if (!b.validator) {
463
463
  const r = n0(a.config).filter(
464
- (I) => !!this.addresses[I.id] && I.id === f
464
+ (y) => !!this.addresses[y.id] && y.id === f
465
465
  ).at(0);
466
466
  if (!r)
467
467
  throw new z0(
468
468
  f,
469
469
  Object.keys(this.addresses).map(Number)
470
470
  );
471
- const h = r.testnet || r.id === 31337;
472
- b.validator = this.SignerValidator({
473
- signers: [
474
- h ? T.TESTNET : T.MAINNET
475
- ],
476
- validatorCaller: e
471
+ const I = [
472
+ r.testnet || r.id === 31337 ? D.TESTNET : D.MAINNET
473
+ ];
474
+ r.id === 31337 && I.push("0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266"), b.validator = this.LimitedSignerValidator({
475
+ signers: I,
476
+ validatorCaller: e,
477
+ maxClaimCount: 1
477
478
  });
478
479
  }
479
480
  let t = m;
480
481
  if (b.budget.address) {
481
482
  if (t = b.budget.address, !await b.budget.isAuthorized(e))
482
- throw new j0(e);
483
+ throw new x0(e);
483
484
  } else
484
- throw new x0();
485
+ throw new j0();
485
486
  let c = {
486
487
  instance: m,
487
488
  isBase: !0,
488
- parameters: l
489
+ parameters: h
489
490
  };
490
491
  if (b.action.address) {
491
492
  const o = b.action.isBase;
492
493
  c = {
493
494
  isBase: o,
494
495
  instance: b.action.address,
495
- parameters: o ? b.action.buildParameters(void 0, a).args.at(0) || l : l
496
+ parameters: o ? b.action.buildParameters(void 0, a).args.at(0) || h : h
496
497
  };
497
498
  } else
498
- c.parameters = b.action.buildParameters(void 0, a).args.at(0) || l, c.instance = u(
499
+ c.parameters = b.action.buildParameters(void 0, a).args.at(0) || h, c.instance = u(
499
500
  a.config,
500
501
  b.action.bases,
501
502
  f
@@ -503,17 +504,17 @@ const B = class B extends B0 {
503
504
  let n = {
504
505
  instance: m,
505
506
  isBase: !0,
506
- parameters: l
507
+ parameters: h
507
508
  };
508
509
  if (b.validator.address) {
509
510
  const o = b.validator.isBase;
510
511
  n = {
511
512
  isBase: o,
512
513
  instance: b.validator.address,
513
- parameters: o ? b.validator.buildParameters(void 0, a).args.at(0) || l : l
514
+ parameters: o ? b.validator.buildParameters(void 0, a).args.at(0) || h : h
514
515
  };
515
516
  } else
516
- n.parameters = b.validator.buildParameters(void 0, a).args.at(0) || l, n.instance = u(
517
+ n.parameters = b.validator.buildParameters(void 0, a).args.at(0) || h, n.instance = u(
517
518
  a.config,
518
519
  b.validator.bases,
519
520
  f
@@ -521,17 +522,17 @@ const B = class B extends B0 {
521
522
  let s = {
522
523
  instance: m,
523
524
  isBase: !0,
524
- parameters: l
525
+ parameters: h
525
526
  };
526
527
  if (b.allowList || (b.allowList = this.OpenAllowList()), b.allowList.address) {
527
528
  const o = b.allowList.isBase;
528
529
  s = {
529
530
  isBase: o,
530
531
  instance: b.allowList.address,
531
- parameters: o ? l : l
532
+ parameters: o ? h : h
532
533
  };
533
534
  } else
534
- s.parameters = b.allowList.buildParameters(void 0, a).args.at(0) || l, s.instance = u(
535
+ s.parameters = b.allowList.buildParameters(void 0, a).args.at(0) || h, s.instance = u(
535
536
  a.config,
536
537
  b.allowList.bases,
537
538
  f
@@ -539,20 +540,20 @@ const B = class B extends B0 {
539
540
  const i = b.incentives.map(() => ({
540
541
  instance: m,
541
542
  isBase: !0,
542
- parameters: l
543
+ parameters: h
543
544
  }));
544
545
  for (let o = 0; o < b.incentives.length; o++) {
545
546
  const r = b.incentives.at(o);
546
547
  if (r.address) {
547
- const h = r.isBase;
548
- if (!h) throw new q0(r);
548
+ const l = r.isBase;
549
+ if (!l) throw new q0(r);
549
550
  i[o] = {
550
- isBase: h,
551
+ isBase: l,
551
552
  instance: r.address,
552
- parameters: h ? r.buildParameters(void 0, a).args.at(0) || l : l
553
+ parameters: l ? r.buildParameters(void 0, a).args.at(0) || h : h
553
554
  };
554
555
  } else
555
- i[o].parameters = r.buildParameters(void 0, a).args.at(0) || l, i[o].instance = u(
556
+ i[o].parameters = r.buildParameters(void 0, a).args.at(0) || h, i[o].instance = u(
556
557
  a.config,
557
558
  r.bases,
558
559
  f
@@ -599,7 +600,7 @@ const B = class B extends B0 {
599
600
  * @returns {Promise<{ hash: `0x${string}`; result: void; }>}
600
601
  */
601
602
  async claimIncentiveRaw(e, f, b, a, t) {
602
- const { request: c, result: n } = await j(
603
+ const { request: c, result: n } = await x(
603
604
  this._config,
604
605
  {
605
606
  ...u(
@@ -613,7 +614,7 @@ const B = class B extends B0 {
613
614
  ...t
614
615
  }
615
616
  );
616
- return { hash: await x(this._config, c), result: n };
617
+ return { hash: await j(this._config, c), result: n };
617
618
  }
618
619
  /**
619
620
  * Claims one incentive for a given `Boost` on behalf of another user by `boostId` and `incentiveId`
@@ -722,11 +723,11 @@ const B = class B extends B0 {
722
723
  w0(s, n.allowList, f),
723
724
  Promise.all(
724
725
  n.incentives.map(
725
- (h) => T0(s, h, f)
726
+ (l) => T0(s, l, f)
726
727
  )
727
728
  )
728
729
  ]);
729
- return new R({
730
+ return new T({
730
731
  id: b,
731
732
  action: i,
732
733
  budget: w,
@@ -981,7 +982,7 @@ const B = class B extends B0 {
981
982
  async getClaimFromTransaction(e) {
982
983
  var a;
983
984
  const f = await s0(this._config, e);
984
- return (a = E({
985
+ return (a = F({
985
986
  abi: C,
986
987
  eventName: "BoostClaimed",
987
988
  logs: f.logs
@@ -1175,7 +1176,7 @@ const B = class B extends B0 {
1175
1176
  * @returns {ManagedBudget}
1176
1177
  */
1177
1178
  ManagedBudget(e) {
1178
- return typeof e != "string" && !e.authorized.includes(this.assertValidAddress()) && (e.authorized = [this.assertValidAddress(), ...e.authorized], e.roles = [_.MANAGER, ...e.roles]), new P0(
1179
+ return typeof e != "string" && !e.authorized.includes(this.assertValidAddress()) && (e.authorized = [this.assertValidAddress(), ...e.authorized], e.roles = [P.MANAGER, ...e.roles]), new P0(
1179
1180
  { config: this._config, account: this._account },
1180
1181
  e
1181
1182
  );
@@ -1193,7 +1194,7 @@ const B = class B extends B0 {
1193
1194
  * @returns {ManagedBudgetWithFees}
1194
1195
  */
1195
1196
  ManagedBudgetWithFees(e) {
1196
- return typeof e != "string" && !e.authorized.includes(this.assertValidAddress()) && (e.authorized = [this.assertValidAddress(), ...e.authorized], e.roles = [_.MANAGER, ...e.roles]), new y0(
1197
+ return typeof e != "string" && !e.authorized.includes(this.assertValidAddress()) && (e.authorized = [this.assertValidAddress(), ...e.authorized], e.roles = [P.MANAGER, ...e.roles]), new y0(
1197
1198
  { config: this._config, account: this._account },
1198
1199
  e
1199
1200
  );
@@ -1211,7 +1212,7 @@ const B = class B extends B0 {
1211
1212
  * @returns {ManagedBudgetWithFeesV2}
1212
1213
  */
1213
1214
  ManagedBudgetWithFeesV2(e) {
1214
- return typeof e != "string" && !e.authorized.includes(this.assertValidAddress()) && (e.authorized = [this.assertValidAddress(), ...e.authorized], e.roles = [_.MANAGER, ...e.roles]), new _0(
1215
+ return typeof e != "string" && !e.authorized.includes(this.assertValidAddress()) && (e.authorized = [this.assertValidAddress(), ...e.authorized], e.roles = [P.MANAGER, ...e.roles]), new _0(
1215
1216
  { config: this._config, account: this._account },
1216
1217
  e
1217
1218
  );
@@ -1350,7 +1351,7 @@ const B = class B extends B0 {
1350
1351
  * @returns {SignerValidator}
1351
1352
  */
1352
1353
  SignerValidator(e, f) {
1353
- return new p0(
1354
+ return new V0(
1354
1355
  { config: this._config, account: this._account },
1355
1356
  e,
1356
1357
  f
@@ -1369,7 +1370,7 @@ const B = class B extends B0 {
1369
1370
  * @returns {LimitedSignerValidator}
1370
1371
  */
1371
1372
  LimitedSignerValidator(e, f) {
1372
- return new V0(
1373
+ return new p0(
1373
1374
  { config: this._config, account: this._account },
1374
1375
  e,
1375
1376
  f
@@ -1615,12 +1616,12 @@ const B = class B extends B0 {
1615
1616
  ), result: n };
1616
1617
  }
1617
1618
  };
1618
- B.addresses = P;
1619
- let L = B;
1619
+ E.addresses = B;
1620
+ let S = E;
1620
1621
  export {
1621
1622
  M1 as BOOST_CORE_ADDRESS,
1622
- P as BOOST_CORE_ADDRESSES,
1623
- L as BoostCore,
1623
+ B as BOOST_CORE_ADDRESSES,
1624
+ S as BoostCore,
1624
1625
  A as FEE_DENOMINATOR,
1625
1626
  C as boostCoreAbi
1626
1627
  };