{
  "schemaVersion": 1,
  "videoId": "VGfiraMUe-I",
  "videoUrl": "https://www.youtube.com/watch?v=VGfiraMUe-I",
  "title": "Every Division Picks a Winner",
  "speakerCredit": "Dhairya Sethi · Tomer Ganor",
  "programmeTalkId": "dss26-0fb640093d60ae94",
  "language": "en",
  "captionType": "auto-generated",
  "humanAccuracyReviewed": false,
  "spokenAudioCompletenessVerified": false,
  "cueEndTimesAvailable": false,
  "source": {
    "provider": "YouTube",
    "method": "native browser transcript export",
    "sha256": "6d70bbf936cee194f6d2389ac15be5fd7518d4a2c87b53e6eccdd9e3759cc279",
    "exportedAt": "2026-11-16T07:36:37.715771+00:00"
  },
  "qualityCaveats": [
    "Names, organizations, technical terms, code and numbers may be misrecognized.",
    "Source wording and disfluencies are preserved; no editorial corrections were applied.",
    "Export contains whole-second cue starts only; cue ends and subsecond timing are unavailable.",
    "A full caption-track export does not establish that every spoken word is represented.",
    "Automatic YouTube captions; not human-verified against the audio."
  ],
  "timingValidation": {
    "first_cue_start_seconds": 1,
    "last_cue_start_seconds": 794,
    "video_duration_seconds": 797,
    "seconds_after_last_cue_start": 3,
    "cue_start_gaps_over_30_seconds": [],
    "boundary_check": "pass",
    "criterion": "first cue <=15 seconds; last cue start within 30 seconds of player duration, allowing 1-second precision",
    "meaning": "Timing plausibility only; silence/applause or source caption omissions require audio review."
  },
  "segments": [
    {
      "index": 0,
      "start_seconds": 1,
      "source_timestamp": "0:01",
      "end_seconds": null,
      "text": "Hi everyone."
    },
    {
      "index": 1,
      "start_seconds": 2,
      "source_timestamp": "0:02",
      "end_seconds": null,
      "text": "I'm Thomas Gano from Thomas Security"
    },
    {
      "index": 2,
      "start_seconds": 4,
      "source_timestamp": "0:04",
      "end_seconds": null,
      "text": "First."
    },
    {
      "index": 3,
      "start_seconds": 5,
      "source_timestamp": "0:05",
      "end_seconds": null,
      "text": ">> I'm Darius Seti, smart contracts"
    },
    {
      "index": 4,
      "start_seconds": 7,
      "source_timestamp": "0:07",
      "end_seconds": null,
      "text": "developer at Ave Labs. We are here as"
    },
    {
      "index": 5,
      "start_seconds": 9,
      "source_timestamp": "0:09",
      "end_seconds": null,
      "text": "mentioned to talk about rounding,"
    },
    {
      "index": 6,
      "start_seconds": 11,
      "source_timestamp": "0:11",
      "end_seconds": null,
      "text": "especially because it's such an"
    },
    {
      "index": 7,
      "start_seconds": 13,
      "source_timestamp": "0:13",
      "end_seconds": null,
      "text": "important field. It's such an important"
    },
    {
      "index": 8,
      "start_seconds": 15,
      "source_timestamp": "0:15",
      "end_seconds": null,
      "text": "aspect while thinking about DeFi, while"
    },
    {
      "index": 9,
      "start_seconds": 17,
      "source_timestamp": "0:17",
      "end_seconds": null,
      "text": "thinking about arithmetic, while"
    },
    {
      "index": 10,
      "start_seconds": 18,
      "source_timestamp": "0:18",
      "end_seconds": null,
      "text": "thinking about finance on chain. So"
    },
    {
      "index": 11,
      "start_seconds": 21,
      "source_timestamp": "0:21",
      "end_seconds": null,
      "text": "we'll just give a quick primer because I"
    },
    {
      "index": 12,
      "start_seconds": 22,
      "source_timestamp": "0:22",
      "end_seconds": null,
      "text": "think everyone is aware,"
    },
    {
      "index": 13,
      "start_seconds": 24,
      "source_timestamp": "0:24",
      "end_seconds": null,
      "text": "but because we cannot because we use"
    },
    {
      "index": 14,
      "start_seconds": 25,
      "source_timestamp": "0:25",
      "end_seconds": null,
      "text": "fixed point arithmetic,"
    },
    {
      "index": 15,
      "start_seconds": 27,
      "source_timestamp": "0:27",
      "end_seconds": null,
      "text": "decimals have probabilistic problems"
    },
    {
      "index": 16,
      "start_seconds": 29,
      "source_timestamp": "0:29",
      "end_seconds": null,
      "text": "inside."
    },
    {
      "index": 17,
      "start_seconds": 31,
      "source_timestamp": "0:31",
      "end_seconds": null,
      "text": "In any scenario, you have to work with"
    },
    {
      "index": 18,
      "start_seconds": 33,
      "source_timestamp": "0:33",
      "end_seconds": null,
      "text": "rounding in any case. So very very"
    },
    {
      "index": 19,
      "start_seconds": 36,
      "source_timestamp": "0:36",
      "end_seconds": null,
      "text": "simple example just to get us warmed up."
    },
    {
      "index": 20,
      "start_seconds": 39,
      "source_timestamp": "0:39",
      "end_seconds": null,
      "text": "If you have 10 assets with a share price"
    },
    {
      "index": 21,
      "start_seconds": 41,
      "source_timestamp": "0:41",
      "end_seconds": null,
      "text": "of three because it's not perfectly"
    },
    {
      "index": 22,
      "start_seconds": 42,
      "source_timestamp": "0:42",
      "end_seconds": null,
      "text": "divisible, there is a remainder that"
    },
    {
      "index": 23,
      "start_seconds": 45,
      "source_timestamp": "0:45",
      "end_seconds": null,
      "text": "modulus that you have to decide who to"
    },
    {
      "index": 24,
      "start_seconds": 47,
      "source_timestamp": "0:47",
      "end_seconds": null,
      "text": "allocate because you cannot vanish it"
    },
    {
      "index": 25,
      "start_seconds": 49,
      "source_timestamp": "0:49",
      "end_seconds": null,
      "text": "into thin air. Either you gift it to the"
    },
    {
      "index": 26,
      "start_seconds": 51,
      "source_timestamp": "0:51",
      "end_seconds": null,
      "text": "protocol, either you gift it to the"
    },
    {
      "index": 27,
      "start_seconds": 52,
      "source_timestamp": "0:52",
      "end_seconds": null,
      "text": "user, or you gift it to an arbitrary"
    },
    {
      "index": 28,
      "start_seconds": 54,
      "source_timestamp": "0:54",
      "end_seconds": null,
      "text": "entity. You can keep it aside, but there"
    },
    {
      "index": 29,
      "start_seconds": 56,
      "source_timestamp": "0:56",
      "end_seconds": null,
      "text": "is something that you have to do with"
    },
    {
      "index": 30,
      "start_seconds": 57,
      "source_timestamp": "0:57",
      "end_seconds": null,
      "text": "that. So whoever gets this"
    },
    {
      "index": 31,
      "start_seconds": 61,
      "source_timestamp": "1:01",
      "end_seconds": null,
      "text": "leftover piece is the winner that we're"
    },
    {
      "index": 32,
      "start_seconds": 63,
      "source_timestamp": "1:03",
      "end_seconds": null,
      "text": "talking about."
    },
    {
      "index": 33,
      "start_seconds": 64,
      "source_timestamp": "1:04",
      "end_seconds": null,
      "text": "So rounding whenever you have to make"
    },
    {
      "index": 34,
      "start_seconds": 66,
      "source_timestamp": "1:06",
      "end_seconds": null,
      "text": "them, it forces you to pick a winner."
    },
    {
      "index": 35,
      "start_seconds": 69,
      "source_timestamp": "1:09",
      "end_seconds": null,
      "text": "Now who"
    },
    {
      "index": 36,
      "start_seconds": 71,
      "source_timestamp": "1:11",
      "end_seconds": null,
      "text": "wins actually? Let's try to define these"
    },
    {
      "index": 37,
      "start_seconds": 74,
      "source_timestamp": "1:14",
      "end_seconds": null,
      "text": "entities, let's call them."
    },
    {
      "index": 38,
      "start_seconds": 76,
      "source_timestamp": "1:16",
      "end_seconds": null,
      "text": "So the types of entities when we're"
    },
    {
      "index": 39,
      "start_seconds": 78,
      "source_timestamp": "1:18",
      "end_seconds": null,
      "text": "dealing with rounding can be thought of"
    },
    {
      "index": 40,
      "start_seconds": 80,
      "source_timestamp": "1:20",
      "end_seconds": null,
      "text": "as active or passive. Active entities"
    },
    {
      "index": 41,
      "start_seconds": 83,
      "source_timestamp": "1:23",
      "end_seconds": null,
      "text": "are entities which initiate operations"
    },
    {
      "index": 42,
      "start_seconds": 85,
      "source_timestamp": "1:25",
      "end_seconds": null,
      "text": "which are very proactive. They're the"
    },
    {
      "index": 43,
      "start_seconds": 87,
      "source_timestamp": "1:27",
      "end_seconds": null,
      "text": "ones who determine when an action will"
    },
    {
      "index": 44,
      "start_seconds": 89,
      "source_timestamp": "1:29",
      "end_seconds": null,
      "text": "take place. They determine"
    },
    {
      "index": 45,
      "start_seconds": 92,
      "source_timestamp": "1:32",
      "end_seconds": null,
      "text": "the time and"
    },
    {
      "index": 46,
      "start_seconds": 94,
      "source_timestamp": "1:34",
      "end_seconds": null,
      "text": "under what scenario, under what price,"
    },
    {
      "index": 47,
      "start_seconds": 96,
      "source_timestamp": "1:36",
      "end_seconds": null,
      "text": "under what market conditions, under what"
    },
    {
      "index": 48,
      "start_seconds": 99,
      "source_timestamp": "1:39",
      "end_seconds": null,
      "text": "integration and so on."
    },
    {
      "index": 49,
      "start_seconds": 101,
      "source_timestamp": "1:41",
      "end_seconds": null,
      "text": "The polar opposite is a passive entity."
    },
    {
      "index": 50,
      "start_seconds": 103,
      "source_timestamp": "1:43",
      "end_seconds": null,
      "text": "A passive entity is the entity on whom"
    },
    {
      "index": 51,
      "start_seconds": 106,
      "source_timestamp": "1:46",
      "end_seconds": null,
      "text": "the action takes place or who is bearing"
    },
    {
      "index": 52,
      "start_seconds": 108,
      "source_timestamp": "1:48",
      "end_seconds": null,
      "text": "the benefit, like who loses or who wins"
    },
    {
      "index": 53,
      "start_seconds": 110,
      "source_timestamp": "1:50",
      "end_seconds": null,
      "text": "or whose account is being modified."
    },
    {
      "index": 54,
      "start_seconds": 113,
      "source_timestamp": "1:53",
      "end_seconds": null,
      "text": "These entities because they don't"
    },
    {
      "index": 55,
      "start_seconds": 114,
      "source_timestamp": "1:54",
      "end_seconds": null,
      "text": "initiate, they"
    },
    {
      "index": 56,
      "start_seconds": 116,
      "source_timestamp": "1:56",
      "end_seconds": null,
      "text": "only have their position updated."
    },
    {
      "index": 57,
      "start_seconds": 118,
      "source_timestamp": "1:58",
      "end_seconds": null,
      "text": "Hence they're usually not incentivized"
    },
    {
      "index": 58,
      "start_seconds": 120,
      "source_timestamp": "2:00",
      "end_seconds": null,
      "text": "to for this. And for active entities to"
    },
    {
      "index": 59,
      "start_seconds": 123,
      "source_timestamp": "2:03",
      "end_seconds": null,
      "text": "perform this action maybe during a"
    },
    {
      "index": 60,
      "start_seconds": 124,
      "source_timestamp": "2:04",
      "end_seconds": null,
      "text": "callback, maybe during a certain event"
    },
    {
      "index": 61,
      "start_seconds": 126,
      "source_timestamp": "2:06",
      "end_seconds": null,
      "text": "trigger, maybe during"
    },
    {
      "index": 62,
      "start_seconds": 128,
      "source_timestamp": "2:08",
      "end_seconds": null,
      "text": "a certain liquidation. These entities"
    },
    {
      "index": 63,
      "start_seconds": 129,
      "source_timestamp": "2:09",
      "end_seconds": null,
      "text": "are usually incentivized to perform the"
    },
    {
      "index": 64,
      "start_seconds": 131,
      "source_timestamp": "2:11",
      "end_seconds": null,
      "text": "operation."
    },
    {
      "index": 65,
      "start_seconds": 132,
      "source_timestamp": "2:12",
      "end_seconds": null,
      "text": "So let's just formally define what these"
    },
    {
      "index": 66,
      "start_seconds": 135,
      "source_timestamp": "2:15",
      "end_seconds": null,
      "text": "entities are. In case of lending"
    },
    {
      "index": 67,
      "start_seconds": 137,
      "source_timestamp": "2:17",
      "end_seconds": null,
      "text": "protocols, more or less broadly you have"
    },
    {
      "index": 68,
      "start_seconds": 139,
      "source_timestamp": "2:19",
      "end_seconds": null,
      "text": "four types of entities, protocol,"
    },
    {
      "index": 69,
      "start_seconds": 142,
      "source_timestamp": "2:22",
      "end_seconds": null,
      "text": "the treasury which can come under"
    },
    {
      "index": 70,
      "start_seconds": 143,
      "source_timestamp": "2:23",
      "end_seconds": null,
      "text": "protocol, but let's treat it separate."
    },
    {
      "index": 71,
      "start_seconds": 146,
      "source_timestamp": "2:26",
      "end_seconds": null,
      "text": "Users and external entities like"
    },
    {
      "index": 72,
      "start_seconds": 147,
      "source_timestamp": "2:27",
      "end_seconds": null,
      "text": "liquidators, keepers, bots and so on."
    },
    {
      "index": 73,
      "start_seconds": 151,
      "source_timestamp": "2:31",
      "end_seconds": null,
      "text": "The protocol is always the most most"
    },
    {
      "index": 74,
      "start_seconds": 153,
      "source_timestamp": "2:33",
      "end_seconds": null,
      "text": "passive because it is the entity on"
    },
    {
      "index": 75,
      "start_seconds": 156,
      "source_timestamp": "2:36",
      "end_seconds": null,
      "text": "which the rounding gets taken place on."
    },
    {
      "index": 76,
      "start_seconds": 159,
      "source_timestamp": "2:39",
      "end_seconds": null,
      "text": "Treasury can be passive or active. It"
    },
    {
      "index": 77,
      "start_seconds": 162,
      "source_timestamp": "2:42",
      "end_seconds": null,
      "text": "depends on the kind of structure that"
    },
    {
      "index": 78,
      "start_seconds": 164,
      "source_timestamp": "2:44",
      "end_seconds": null,
      "text": "you have. If you want your treasury to"
    },
    {
      "index": 79,
      "start_seconds": 165,
      "source_timestamp": "2:45",
      "end_seconds": null,
      "text": "be"
    },
    {
      "index": 80,
      "start_seconds": 167,
      "source_timestamp": "2:47",
      "end_seconds": null,
      "text": "taking some action on each place, but"
    },
    {
      "index": 81,
      "start_seconds": 168,
      "source_timestamp": "2:48",
      "end_seconds": null,
      "text": "usually it's passive."
    },
    {
      "index": 82,
      "start_seconds": 170,
      "source_timestamp": "2:50",
      "end_seconds": null,
      "text": "That's why it falls more on the passive"
    },
    {
      "index": 83,
      "start_seconds": 171,
      "source_timestamp": "2:51",
      "end_seconds": null,
      "text": "side of the graph. The user"
    },
    {
      "index": 84,
      "start_seconds": 174,
      "source_timestamp": "2:54",
      "end_seconds": null,
      "text": "can be both. That's the most interesting"
    },
    {
      "index": 85,
      "start_seconds": 176,
      "source_timestamp": "2:56",
      "end_seconds": null,
      "text": "case because the user initiates most"
    },
    {
      "index": 86,
      "start_seconds": 177,
      "source_timestamp": "2:57",
      "end_seconds": null,
      "text": "transactions to set up his position, to"
    },
    {
      "index": 87,
      "start_seconds": 179,
      "source_timestamp": "2:59",
      "end_seconds": null,
      "text": "modify and so on. But whenever his"
    },
    {
      "index": 88,
      "start_seconds": 182,
      "source_timestamp": "3:02",
      "end_seconds": null,
      "text": "position, let's say in a lending"
    },
    {
      "index": 89,
      "start_seconds": 183,
      "source_timestamp": "3:03",
      "end_seconds": null,
      "text": "protocol falls below a certain"
    },
    {
      "index": 90,
      "start_seconds": 184,
      "source_timestamp": "3:04",
      "end_seconds": null,
      "text": "threshold, he needs to get liquidated."
    },
    {
      "index": 91,
      "start_seconds": 186,
      "source_timestamp": "3:06",
      "end_seconds": null,
      "text": "We need another external entity to"
    },
    {
      "index": 92,
      "start_seconds": 188,
      "source_timestamp": "3:08",
      "end_seconds": null,
      "text": "perform the callback because we cannot"
    },
    {
      "index": 93,
      "start_seconds": 189,
      "source_timestamp": "3:09",
      "end_seconds": null,
      "text": "have on-chain timers. We have the"
    },
    {
      "index": 94,
      "start_seconds": 191,
      "source_timestamp": "3:11",
      "end_seconds": null,
      "text": "liquidator. Liquidator is always the"
    },
    {
      "index": 95,
      "start_seconds": 193,
      "source_timestamp": "3:13",
      "end_seconds": null,
      "text": "most most active entity. So when"
    },
    {
      "index": 96,
      "start_seconds": 196,
      "source_timestamp": "3:16",
      "end_seconds": null,
      "text": "deciding when what direction to round up"
    },
    {
      "index": 97,
      "start_seconds": 199,
      "source_timestamp": "3:19",
      "end_seconds": null,
      "text": "or down, who to gift this donation, we"
    },
    {
      "index": 98,
      "start_seconds": 202,
      "source_timestamp": "3:22",
      "end_seconds": null,
      "text": "always round we always give the donation"
    },
    {
      "index": 99,
      "start_seconds": 205,
      "source_timestamp": "3:25",
      "end_seconds": null,
      "text": "to the most active entity. So you should"
    },
    {
      "index": 100,
      "start_seconds": 206,
      "source_timestamp": "3:26",
      "end_seconds": null,
      "text": "always round in favor of the protocol"
    },
    {
      "index": 101,
      "start_seconds": 208,
      "source_timestamp": "3:28",
      "end_seconds": null,
      "text": "over anybody else. You should round in"
    },
    {
      "index": 102,
      "start_seconds": 210,
      "source_timestamp": "3:30",
      "end_seconds": null,
      "text": "favor of the treasury over the user."
    },
    {
      "index": 103,
      "start_seconds": 213,
      "source_timestamp": "3:33",
      "end_seconds": null,
      "text": "That's where it falls on the graph."
    },
    {
      "index": 104,
      "start_seconds": 215,
      "source_timestamp": "3:35",
      "end_seconds": null,
      "text": "And any when thinking about"
    },
    {
      "index": 105,
      "start_seconds": 216,
      "source_timestamp": "3:36",
      "end_seconds": null,
      "text": "liquidations, the most interesting"
    },
    {
      "index": 106,
      "start_seconds": 217,
      "source_timestamp": "3:37",
      "end_seconds": null,
      "text": "cases, you should always round in favor"
    },
    {
      "index": 107,
      "start_seconds": 220,
      "source_timestamp": "3:40",
      "end_seconds": null,
      "text": "of the non-liquidator over the"
    },
    {
      "index": 108,
      "start_seconds": 222,
      "source_timestamp": "3:42",
      "end_seconds": null,
      "text": "liquidator."
    },
    {
      "index": 109,
      "start_seconds": 226,
      "source_timestamp": "3:46",
      "end_seconds": null,
      "text": ">> Okay, thank you, Dhara."
    },
    {
      "index": 110,
      "start_seconds": 228,
      "source_timestamp": "3:48",
      "end_seconds": null,
      "text": "So basically this is the role. We want"
    },
    {
      "index": 111,
      "start_seconds": 230,
      "source_timestamp": "3:50",
      "end_seconds": null,
      "text": "to round in favor of the passive entity"
    },
    {
      "index": 112,
      "start_seconds": 232,
      "source_timestamp": "3:52",
      "end_seconds": null,
      "text": "because when you are the passive entity,"
    },
    {
      "index": 113,
      "start_seconds": 234,
      "source_timestamp": "3:54",
      "end_seconds": null,
      "text": "you cannot, as Dhara said, you cannot"
    },
    {
      "index": 114,
      "start_seconds": 235,
      "source_timestamp": "3:55",
      "end_seconds": null,
      "text": "force the operation. You are basically"
    },
    {
      "index": 115,
      "start_seconds": 238,
      "source_timestamp": "3:58",
      "end_seconds": null,
      "text": "forced the operation is forced upon you"
    },
    {
      "index": 116,
      "start_seconds": 240,
      "source_timestamp": "4:00",
      "end_seconds": null,
      "text": "and that 's why you want to round"
    },
    {
      "index": 117,
      "start_seconds": 241,
      "source_timestamp": "4:01",
      "end_seconds": null,
      "text": "against you when you're active."
    },
    {
      "index": 118,
      "start_seconds": 247,
      "source_timestamp": "4:07",
      "end_seconds": null,
      "text": "Okay. So let's go to the trivial cases."
    },
    {
      "index": 119,
      "start_seconds": 250,
      "source_timestamp": "4:10",
      "end_seconds": null,
      "text": "So the trivial cases in lending"
    },
    {
      "index": 120,
      "start_seconds": 251,
      "source_timestamp": "4:11",
      "end_seconds": null,
      "text": "protocols are the four"
    },
    {
      "index": 121,
      "start_seconds": 254,
      "source_timestamp": "4:14",
      "end_seconds": null,
      "text": "trivial functions, which is the supply,"
    },
    {
      "index": 122,
      "start_seconds": 255,
      "source_timestamp": "4:15",
      "end_seconds": null,
      "text": "the withdraw, the borrow, and the repay."
    },
    {
      "index": 123,
      "start_seconds": 257,
      "source_timestamp": "4:17",
      "end_seconds": null,
      "text": "Let's go over them real quick and then"
    },
    {
      "index": 124,
      "start_seconds": 259,
      "source_timestamp": "4:19",
      "end_seconds": null,
      "text": "we go to the more interesting cases."
    },
    {
      "index": 125,
      "start_seconds": 261,
      "source_timestamp": "4:21",
      "end_seconds": null,
      "text": "So when we supply to the protocol, then"
    },
    {
      "index": 126,
      "start_seconds": 264,
      "source_timestamp": "4:24",
      "end_seconds": null,
      "text": "this is an active operation. We are the"
    },
    {
      "index": 127,
      "start_seconds": 265,
      "source_timestamp": "4:25",
      "end_seconds": null,
      "text": "user, we supply to the protocol. It's"
    },
    {
      "index": 128,
      "start_seconds": 267,
      "source_timestamp": "4:27",
      "end_seconds": null,
      "text": "very trivial that we need to get paid"
    },
    {
      "index": 129,
      "start_seconds": 269,
      "source_timestamp": "4:29",
      "end_seconds": null,
      "text": "less. Otherwise, what we'll do, we just"
    },
    {
      "index": 130,
      "start_seconds": 271,
      "source_timestamp": "4:31",
      "end_seconds": null,
      "text": "split our operation to many small"
    },
    {
      "index": 131,
      "start_seconds": 272,
      "source_timestamp": "4:32",
      "end_seconds": null,
      "text": "operations and we're going to make"
    },
    {
      "index": 132,
      "start_seconds": 274,
      "source_timestamp": "4:34",
      "end_seconds": null,
      "text": "profit each operation and then we're"
    },
    {
      "index": 133,
      "start_seconds": 276,
      "source_timestamp": "4:36",
      "end_seconds": null,
      "text": "just going to get either the protocol is"
    },
    {
      "index": 134,
      "start_seconds": 278,
      "source_timestamp": "4:38",
      "end_seconds": null,
      "text": "insolvent or we're going to steal money"
    },
    {
      "index": 135,
      "start_seconds": 279,
      "source_timestamp": "4:39",
      "end_seconds": null,
      "text": "from someone else, which is of course"
    },
    {
      "index": 136,
      "start_seconds": 281,
      "source_timestamp": "4:41",
      "end_seconds": null,
      "text": "not good."
    },
    {
      "index": 137,
      "start_seconds": 283,
      "source_timestamp": "4:43",
      "end_seconds": null,
      "text": "When we withdraw from the protocol, we"
    },
    {
      "index": 138,
      "start_seconds": 284,
      "source_timestamp": "4:44",
      "end_seconds": null,
      "text": "want to round against the user again,"
    },
    {
      "index": 139,
      "start_seconds": 286,
      "source_timestamp": "4:46",
      "end_seconds": null,
      "text": "which basically mean in this context"
    },
    {
      "index": 140,
      "start_seconds": 288,
      "source_timestamp": "4:48",
      "end_seconds": null,
      "text": "we're going to round up the amount we"
    },
    {
      "index": 141,
      "start_seconds": 290,
      "source_timestamp": "4:50",
      "end_seconds": null,
      "text": "decrease from the user. So if I want to"
    },
    {
      "index": 142,
      "start_seconds": 292,
      "source_timestamp": "4:52",
      "end_seconds": null,
      "text": "withdraw 10 assets, then maybe my"
    },
    {
      "index": 143,
      "start_seconds": 295,
      "source_timestamp": "4:55",
      "end_seconds": null,
      "text": "balance in the protocol will decrease by"
    },
    {
      "index": 144,
      "start_seconds": 296,
      "source_timestamp": "4:56",
      "end_seconds": null,
      "text": "11. Maybe it decrease by 10, which is"
    },
    {
      "index": 145,
      "start_seconds": 298,
      "source_timestamp": "4:58",
      "end_seconds": null,
      "text": "great and it's precise. But if we need"
    },
    {
      "index": 146,
      "start_seconds": 300,
      "source_timestamp": "5:00",
      "end_seconds": null,
      "text": "to round, we need to round against the"
    },
    {
      "index": 147,
      "start_seconds": 301,
      "source_timestamp": "5:01",
      "end_seconds": null,
      "text": "user, we might decrease it by 11."
    },
    {
      "index": 148,
      "start_seconds": 303,
      "source_timestamp": "5:03",
      "end_seconds": null,
      "text": "Again,"
    },
    {
      "index": 149,
      "start_seconds": 304,
      "source_timestamp": "5:04",
      "end_seconds": null,
      "text": "with the borrow, we round up, which"
    },
    {
      "index": 150,
      "start_seconds": 306,
      "source_timestamp": "5:06",
      "end_seconds": null,
      "text": "means that if I borrow 10, I might owe"
    },
    {
      "index": 151,
      "start_seconds": 308,
      "source_timestamp": "5:08",
      "end_seconds": null,
      "text": "11 afterwards because again, otherwise,"
    },
    {
      "index": 152,
      "start_seconds": 311,
      "source_timestamp": "5:11",
      "end_seconds": null,
      "text": "if we round down, let's say we been"
    },
    {
      "index": 153,
      "start_seconds": 312,
      "source_timestamp": "5:12",
      "end_seconds": null,
      "text": "instead of owing 10, I would owe nine."
    },
    {
      "index": 154,
      "start_seconds": 314,
      "source_timestamp": "5:14",
      "end_seconds": null,
      "text": "So I just borrow 10, repay, borrow 10,"
    },
    {
      "index": 155,
      "start_seconds": 316,
      "source_timestamp": "5:16",
      "end_seconds": null,
      "text": "repay, and I get paid more than what"
    },
    {
      "index": 156,
      "start_seconds": 318,
      "source_timestamp": "5:18",
      "end_seconds": null,
      "text": "than what I repay, so I get free money"
    },
    {
      "index": 157,
      "start_seconds": 321,
      "source_timestamp": "5:21",
      "end_seconds": null,
      "text": "stealing money from the protocol."
    },
    {
      "index": 158,
      "start_seconds": 323,
      "source_timestamp": "5:23",
      "end_seconds": null,
      "text": "And same [clears throat] with the repay,"
    },
    {
      "index": 159,
      "start_seconds": 324,
      "source_timestamp": "5:24",
      "end_seconds": null,
      "text": "of course, the same context as borrow."
    },
    {
      "index": 160,
      "start_seconds": 326,
      "source_timestamp": "5:26",
      "end_seconds": null,
      "text": "We were going to round down the amount"
    },
    {
      "index": 161,
      "start_seconds": 328,
      "source_timestamp": "5:28",
      "end_seconds": null,
      "text": "of debt whether we are decreasing from"
    },
    {
      "index": 162,
      "start_seconds": 330,
      "source_timestamp": "5:30",
      "end_seconds": null,
      "text": "the borrower, which means that if I"
    },
    {
      "index": 163,
      "start_seconds": 332,
      "source_timestamp": "5:32",
      "end_seconds": null,
      "text": "repay 10, we're going to decrease the"
    },
    {
      "index": 164,
      "start_seconds": 334,
      "source_timestamp": "5:34",
      "end_seconds": null,
      "text": "debt by nine, maybe by eight in some"
    },
    {
      "index": 165,
      "start_seconds": 335,
      "source_timestamp": "5:35",
      "end_seconds": null,
      "text": "cases depending on the rounding, but"
    },
    {
      "index": 166,
      "start_seconds": 337,
      "source_timestamp": "5:37",
      "end_seconds": null,
      "text": "never by more."
    },
    {
      "index": 167,
      "start_seconds": 339,
      "source_timestamp": "5:39",
      "end_seconds": null,
      "text": "Because then the active entity is the"
    },
    {
      "index": 168,
      "start_seconds": 341,
      "source_timestamp": "5:41",
      "end_seconds": null,
      "text": "user, so we want to round against them"
    },
    {
      "index": 169,
      "start_seconds": 343,
      "source_timestamp": "5:43",
      "end_seconds": null,
      "text": "and in favor of the other users which"
    },
    {
      "index": 170,
      "start_seconds": 345,
      "source_timestamp": "5:45",
      "end_seconds": null,
      "text": "are the protocol in this context. So"
    },
    {
      "index": 171,
      "start_seconds": 347,
      "source_timestamp": "5:47",
      "end_seconds": null,
      "text": "those are the trivial cases."
    },
    {
      "index": 172,
      "start_seconds": 349,
      "source_timestamp": "5:49",
      "end_seconds": null,
      "text": "So"
    },
    {
      "index": 173,
      "start_seconds": 350,
      "source_timestamp": "5:50",
      "end_seconds": null,
      "text": "now what we care about is the the fee."
    },
    {
      "index": 174,
      "start_seconds": 354,
      "source_timestamp": "5:54",
      "end_seconds": null,
      "text": "So the fee of the treasury or the fee"
    },
    {
      "index": 175,
      "start_seconds": 356,
      "source_timestamp": "5:56",
      "end_seconds": null,
      "text": "the fee that we pay to the treasury"
    },
    {
      "index": 176,
      "start_seconds": 358,
      "source_timestamp": "5:58",
      "end_seconds": null,
      "text": "doing the flow of the of the flow of the"
    },
    {
      "index": 177,
      "start_seconds": 361,
      "source_timestamp": "6:01",
      "end_seconds": null,
      "text": "action, it always needs to be rounded"
    },
    {
      "index": 178,
      "start_seconds": 364,
      "source_timestamp": "6:04",
      "end_seconds": null,
      "text": "correctly. So one of the fees or one of"
    },
    {
      "index": 179,
      "start_seconds": 366,
      "source_timestamp": "6:06",
      "end_seconds": null,
      "text": "the ways that the fee rounding happens"
    },
    {
      "index": 180,
      "start_seconds": 369,
      "source_timestamp": "6:09",
      "end_seconds": null,
      "text": "is when we actually realize the fee,"
    },
    {
      "index": 181,
      "start_seconds": 371,
      "source_timestamp": "6:11",
      "end_seconds": null,
      "text": "which means that we take the asset that"
    },
    {
      "index": 182,
      "start_seconds": 373,
      "source_timestamp": "6:13",
      "end_seconds": null,
      "text": "we have and then we supply them back to"
    },
    {
      "index": 183,
      "start_seconds": 375,
      "source_timestamp": "6:15",
      "end_seconds": null,
      "text": "the protocol. So, when we do this"
    },
    {
      "index": 184,
      "start_seconds": 377,
      "source_timestamp": "6:17",
      "end_seconds": null,
      "text": "operation, this part of the fee minting,"
    },
    {
      "index": 185,
      "start_seconds": 380,
      "source_timestamp": "6:20",
      "end_seconds": null,
      "text": "it's treated as supply, which means that"
    },
    {
      "index": 186,
      "start_seconds": 381,
      "source_timestamp": "6:21",
      "end_seconds": null,
      "text": "we want against the protocol against the"
    },
    {
      "index": 187,
      "start_seconds": 383,
      "source_timestamp": "6:23",
      "end_seconds": null,
      "text": "treasury and and not against the"
    },
    {
      "index": 188,
      "start_seconds": 386,
      "source_timestamp": "6:26",
      "end_seconds": null,
      "text": "protocol."
    },
    {
      "index": 189,
      "start_seconds": 387,
      "source_timestamp": "6:27",
      "end_seconds": null,
      "text": "That means that when we charge the fee,"
    },
    {
      "index": 190,
      "start_seconds": 389,
      "source_timestamp": "6:29",
      "end_seconds": null,
      "text": "we need to round against the user"
    },
    {
      "index": 191,
      "start_seconds": 391,
      "source_timestamp": "6:31",
      "end_seconds": null,
      "text": "because we charge the fee from them and"
    },
    {
      "index": 192,
      "start_seconds": 393,
      "source_timestamp": "6:33",
      "end_seconds": null,
      "text": "the treasury is passive. But when the"
    },
    {
      "index": 193,
      "start_seconds": 395,
      "source_timestamp": "6:35",
      "end_seconds": null,
      "text": "the treasury is credited this money,"
    },
    {
      "index": 194,
      "start_seconds": 397,
      "source_timestamp": "6:37",
      "end_seconds": null,
      "text": "then we round against the treasury. So,"
    },
    {
      "index": 195,
      "start_seconds": 399,
      "source_timestamp": "6:39",
      "end_seconds": null,
      "text": "this treasury, as before, it's not"
    },
    {
      "index": 196,
      "start_seconds": 401,
      "source_timestamp": "6:41",
      "end_seconds": null,
      "text": "always passive, it's not always active."
    },
    {
      "index": 197,
      "start_seconds": 403,
      "source_timestamp": "6:43",
      "end_seconds": null,
      "text": "It's not completely trivial case, but"
    },
    {
      "index": 198,
      "start_seconds": 405,
      "source_timestamp": "6:45",
      "end_seconds": null,
      "text": "this part, the the minting for the of"
    },
    {
      "index": 199,
      "start_seconds": 409,
      "source_timestamp": "6:49",
      "end_seconds": null,
      "text": "the fee to the treasury when it reinvest"
    },
    {
      "index": 200,
      "start_seconds": 411,
      "source_timestamp": "6:51",
      "end_seconds": null,
      "text": "the money in the protocol, we need to"
    },
    {
      "index": 201,
      "start_seconds": 412,
      "source_timestamp": "6:52",
      "end_seconds": null,
      "text": "round against it exactly like we do in"
    },
    {
      "index": 202,
      "start_seconds": 414,
      "source_timestamp": "6:54",
      "end_seconds": null,
      "text": "supply."
    },
    {
      "index": 203,
      "start_seconds": 416,
      "source_timestamp": "6:56",
      "end_seconds": null,
      "text": "In liquidation, which is the most scary"
    },
    {
      "index": 204,
      "start_seconds": 418,
      "source_timestamp": "6:58",
      "end_seconds": null,
      "text": "operation, there is a couple of"
    },
    {
      "index": 205,
      "start_seconds": 420,
      "source_timestamp": "7:00",
      "end_seconds": null,
      "text": "different roundings we need to take into"
    },
    {
      "index": 206,
      "start_seconds": 421,
      "source_timestamp": "7:01",
      "end_seconds": null,
      "text": "account. So, we always want to round"
    },
    {
      "index": 207,
      "start_seconds": 423,
      "source_timestamp": "7:03",
      "end_seconds": null,
      "text": "against the liquidator. So, in what"
    },
    {
      "index": 208,
      "start_seconds": 425,
      "source_timestamp": "7:05",
      "end_seconds": null,
      "text": "context is this relevant? So, one of"
    },
    {
      "index": 209,
      "start_seconds": 427,
      "source_timestamp": "7:07",
      "end_seconds": null,
      "text": "them is the amount of debt the"
    },
    {
      "index": 210,
      "start_seconds": 428,
      "source_timestamp": "7:08",
      "end_seconds": null,
      "text": "liquidator repays because liquidation is"
    },
    {
      "index": 211,
      "start_seconds": 430,
      "source_timestamp": "7:10",
      "end_seconds": null,
      "text": "basically I'm the liquidator, I pay the"
    },
    {
      "index": 212,
      "start_seconds": 432,
      "source_timestamp": "7:12",
      "end_seconds": null,
      "text": "debt, I get repaid some collateral, and"
    },
    {
      "index": 213,
      "start_seconds": 434,
      "source_timestamp": "7:14",
      "end_seconds": null,
      "text": "I need to pay some liquidation fee"
    },
    {
      "index": 214,
      "start_seconds": 436,
      "source_timestamp": "7:16",
      "end_seconds": null,
      "text": "usually to the treasury"
    },
    {
      "index": 215,
      "start_seconds": 437,
      "source_timestamp": "7:17",
      "end_seconds": null,
      "text": "and and"
    },
    {
      "index": 216,
      "start_seconds": 439,
      "source_timestamp": "7:19",
      "end_seconds": null,
      "text": "maybe also to the users."
    },
    {
      "index": 217,
      "start_seconds": 441,
      "source_timestamp": "7:21",
      "end_seconds": null,
      "text": "Um but what happens in every single"
    },
    {
      "index": 218,
      "start_seconds": 443,
      "source_timestamp": "7:23",
      "end_seconds": null,
      "text": "point, every single decision we can get,"
    },
    {
      "index": 219,
      "start_seconds": 445,
      "source_timestamp": "7:25",
      "end_seconds": null,
      "text": "we always round against the liquidator."
    },
    {
      "index": 220,
      "start_seconds": 447,
      "source_timestamp": "7:27",
      "end_seconds": null,
      "text": "So, one time we round up the amount the"
    },
    {
      "index": 221,
      "start_seconds": 448,
      "source_timestamp": "7:28",
      "end_seconds": null,
      "text": "liquidator pays, other time we round"
    },
    {
      "index": 222,
      "start_seconds": 450,
      "source_timestamp": "7:30",
      "end_seconds": null,
      "text": "down the amount the liquidator gets, and"
    },
    {
      "index": 223,
      "start_seconds": 453,
      "source_timestamp": "7:33",
      "end_seconds": null,
      "text": "again we round up the amount of fee we"
    },
    {
      "index": 224,
      "start_seconds": 454,
      "source_timestamp": "7:34",
      "end_seconds": null,
      "text": "charge from the liquidator as the"
    },
    {
      "index": 225,
      "start_seconds": 456,
      "source_timestamp": "7:36",
      "end_seconds": null,
      "text": "liquidation fee and what we repay and"
    },
    {
      "index": 226,
      "start_seconds": 459,
      "source_timestamp": "7:39",
      "end_seconds": null,
      "text": "what we feed it we give to the treasury."
    },
    {
      "index": 227,
      "start_seconds": 461,
      "source_timestamp": "7:41",
      "end_seconds": null,
      "text": "So, here round up the amount the"
    },
    {
      "index": 228,
      "start_seconds": 463,
      "source_timestamp": "7:43",
      "end_seconds": null,
      "text": "treasury gets, but when we mint later,"
    },
    {
      "index": 229,
      "start_seconds": 465,
      "source_timestamp": "7:45",
      "end_seconds": null,
      "text": "we round down against the treasury."
    },
    {
      "index": 230,
      "start_seconds": 468,
      "source_timestamp": "7:48",
      "end_seconds": null,
      "text": "So, this is very there is a lot of"
    },
    {
      "index": 231,
      "start_seconds": 470,
      "source_timestamp": "7:50",
      "end_seconds": null,
      "text": "roundings happening in this function"
    },
    {
      "index": 232,
      "start_seconds": 471,
      "source_timestamp": "7:51",
      "end_seconds": null,
      "text": "specifically, not only one place. It's"
    },
    {
      "index": 233,
      "start_seconds": 473,
      "source_timestamp": "7:53",
      "end_seconds": null,
      "text": "very important to notice that"
    },
    {
      "index": 234,
      "start_seconds": 475,
      "source_timestamp": "7:55",
      "end_seconds": null,
      "text": "this is very this is like the mechanism,"
    },
    {
      "index": 235,
      "start_seconds": 478,
      "source_timestamp": "7:58",
      "end_seconds": null,
      "text": "this is the engine of settling the the"
    },
    {
      "index": 236,
      "start_seconds": 481,
      "source_timestamp": "8:01",
      "end_seconds": null,
      "text": "score in the lending protocol. So, it's"
    },
    {
      "index": 237,
      "start_seconds": 483,
      "source_timestamp": "8:03",
      "end_seconds": null,
      "text": "very important to use right."
    },
    {
      "index": 238,
      "start_seconds": 485,
      "source_timestamp": "8:05",
      "end_seconds": null,
      "text": "And the last place is the index. So, in"
    },
    {
      "index": 239,
      "start_seconds": 489,
      "source_timestamp": "8:09",
      "end_seconds": null,
      "text": "any protocols like Aave V3 for example,"
    },
    {
      "index": 240,
      "start_seconds": 491,
      "source_timestamp": "8:11",
      "end_seconds": null,
      "text": "there is two places, there is indexes,"
    },
    {
      "index": 241,
      "start_seconds": 493,
      "source_timestamp": "8:13",
      "end_seconds": null,
      "text": "two different indexes. One of them is"
    },
    {
      "index": 242,
      "start_seconds": 494,
      "source_timestamp": "8:14",
      "end_seconds": null,
      "text": "the debt index. The debt index is the"
    },
    {
      "index": 243,
      "start_seconds": 496,
      "source_timestamp": "8:16",
      "end_seconds": null,
      "text": "way to calculate what is the total"
    },
    {
      "index": 244,
      "start_seconds": 499,
      "source_timestamp": "8:19",
      "end_seconds": null,
      "text": "total debt it is owed by the users, by"
    },
    {
      "index": 245,
      "start_seconds": 501,
      "source_timestamp": "8:21",
      "end_seconds": null,
      "text": "all of the users together or by every"
    },
    {
      "index": 246,
      "start_seconds": 503,
      "source_timestamp": "8:23",
      "end_seconds": null,
      "text": "single user"
    },
    {
      "index": 247,
      "start_seconds": 504,
      "source_timestamp": "8:24",
      "end_seconds": null,
      "text": "alone. And they always round up the"
    },
    {
      "index": 248,
      "start_seconds": 506,
      "source_timestamp": "8:26",
      "end_seconds": null,
      "text": "calculation based on the debt."
    },
    {
      "index": 249,
      "start_seconds": 509,
      "source_timestamp": "8:29",
      "end_seconds": null,
      "text": "For example, if we multiply the index by"
    },
    {
      "index": 250,
      "start_seconds": 511,
      "source_timestamp": "8:31",
      "end_seconds": null,
      "text": "the amount of debt shares that the user"
    },
    {
      "index": 251,
      "start_seconds": 513,
      "source_timestamp": "8:33",
      "end_seconds": null,
      "text": "has, we round up. That that's easy."
    },
    {
      "index": 252,
      "start_seconds": 515,
      "source_timestamp": "8:35",
      "end_seconds": null,
      "text": "Also, when we calculate the index"
    },
    {
      "index": 253,
      "start_seconds": 517,
      "source_timestamp": "8:37",
      "end_seconds": null,
      "text": "itself, the debt index itself, we need"
    },
    {
      "index": 254,
      "start_seconds": 519,
      "source_timestamp": "8:39",
      "end_seconds": null,
      "text": "to round up because it means that we"
    },
    {
      "index": 255,
      "start_seconds": 521,
      "source_timestamp": "8:41",
      "end_seconds": null,
      "text": "otherwise we could just ping the"
    },
    {
      "index": 256,
      "start_seconds": 523,
      "source_timestamp": "8:43",
      "end_seconds": null,
      "text": "protocol every single block if we round"
    },
    {
      "index": 257,
      "start_seconds": 525,
      "source_timestamp": "8:45",
      "end_seconds": null,
      "text": "down and then effectively the index"
    },
    {
      "index": 258,
      "start_seconds": 527,
      "source_timestamp": "8:47",
      "end_seconds": null,
      "text": "might stay the same because the"
    },
    {
      "index": 259,
      "start_seconds": 529,
      "source_timestamp": "8:49",
      "end_seconds": null,
      "text": "calculation, the extra small amount"
    },
    {
      "index": 260,
      "start_seconds": 531,
      "source_timestamp": "8:51",
      "end_seconds": null,
      "text": "would be not enough to get us to the"
    },
    {
      "index": 261,
      "start_seconds": 533,
      "source_timestamp": "8:53",
      "end_seconds": null,
      "text": "next number. So, we stay the same index."
    },
    {
      "index": 262,
      "start_seconds": 534,
      "source_timestamp": "8:54",
      "end_seconds": null,
      "text": "So, effectively there is no interest"
    },
    {
      "index": 263,
      "start_seconds": 536,
      "source_timestamp": "8:56",
      "end_seconds": null,
      "text": "charged from the users, which is of"
    },
    {
      "index": 264,
      "start_seconds": 537,
      "source_timestamp": "8:57",
      "end_seconds": null,
      "text": "course very bad. We want to round up."
    },
    {
      "index": 265,
      "start_seconds": 539,
      "source_timestamp": "8:59",
      "end_seconds": null,
      "text": "That way no one has an incentive to ping"
    },
    {
      "index": 266,
      "start_seconds": 542,
      "source_timestamp": "9:02",
      "end_seconds": null,
      "text": "the protocol every single block. They"
    },
    {
      "index": 267,
      "start_seconds": 544,
      "source_timestamp": "9:04",
      "end_seconds": null,
      "text": "could do it if they want legitimately,"
    },
    {
      "index": 268,
      "start_seconds": 545,
      "source_timestamp": "9:05",
      "end_seconds": null,
      "text": "but they don't have an incentive to do"
    },
    {
      "index": 269,
      "start_seconds": 547,
      "source_timestamp": "9:07",
      "end_seconds": null,
      "text": "it every single block or if they"
    },
    {
      "index": 270,
      "start_seconds": 548,
      "source_timestamp": "9:08",
      "end_seconds": null,
      "text": "actually want to do the operation."
    },
    {
      "index": 271,
      "start_seconds": 551,
      "source_timestamp": "9:11",
      "end_seconds": null,
      "text": "With supply index, it's the opposite."
    },
    {
      "index": 272,
      "start_seconds": 553,
      "source_timestamp": "9:13",
      "end_seconds": null,
      "text": "So, we round down the supply index. So,"
    },
    {
      "index": 273,
      "start_seconds": 554,
      "source_timestamp": "9:14",
      "end_seconds": null,
      "text": "every calculation based on the supply"
    },
    {
      "index": 274,
      "start_seconds": 556,
      "source_timestamp": "9:16",
      "end_seconds": null,
      "text": "index, which is the credit the user has"
    },
    {
      "index": 275,
      "start_seconds": 558,
      "source_timestamp": "9:18",
      "end_seconds": null,
      "text": "in the protocol, the the collateral they"
    },
    {
      "index": 276,
      "start_seconds": 560,
      "source_timestamp": "9:20",
      "end_seconds": null,
      "text": "have, all of the assets they own. So,"
    },
    {
      "index": 277,
      "start_seconds": 562,
      "source_timestamp": "9:22",
      "end_seconds": null,
      "text": "they always round down against the user"
    },
    {
      "index": 278,
      "start_seconds": 564,
      "source_timestamp": "9:24",
      "end_seconds": null,
      "text": "in favor of the protocol. In this in"
    },
    {
      "index": 279,
      "start_seconds": 566,
      "source_timestamp": "9:26",
      "end_seconds": null,
      "text": "this way that we calculate the supply"
    },
    {
      "index": 280,
      "start_seconds": 568,
      "source_timestamp": "9:28",
      "end_seconds": null,
      "text": "index, we just round down always every"
    },
    {
      "index": 281,
      "start_seconds": 571,
      "source_timestamp": "9:31",
      "end_seconds": null,
      "text": "time when we multiply we round down,"
    },
    {
      "index": 282,
      "start_seconds": 572,
      "source_timestamp": "9:32",
      "end_seconds": null,
      "text": "always round down. And that way"
    },
    {
      "index": 283,
      "start_seconds": 574,
      "source_timestamp": "9:34",
      "end_seconds": null,
      "text": "everything is always over conservative"
    },
    {
      "index": 284,
      "start_seconds": 577,
      "source_timestamp": "9:37",
      "end_seconds": null,
      "text": "and everything is safe."
    },
    {
      "index": 285,
      "start_seconds": 580,
      "source_timestamp": "9:40",
      "end_seconds": null,
      "text": ">> So, now we know who wins and what"
    },
    {
      "index": 286,
      "start_seconds": 583,
      "source_timestamp": "9:43",
      "end_seconds": null,
      "text": "direction to take because it's very"
    },
    {
      "index": 287,
      "start_seconds": 585,
      "source_timestamp": "9:45",
      "end_seconds": null,
      "text": "important. But one thing that's common"
    },
    {
      "index": 288,
      "start_seconds": 587,
      "source_timestamp": "9:47",
      "end_seconds": null,
      "text": "not commonly talked about is when. It's"
    },
    {
      "index": 289,
      "start_seconds": 589,
      "source_timestamp": "9:49",
      "end_seconds": null,
      "text": "also equally as important to think about"
    },
    {
      "index": 290,
      "start_seconds": 591,
      "source_timestamp": "9:51",
      "end_seconds": null,
      "text": "your rounding directions or your"
    },
    {
      "index": 291,
      "start_seconds": 593,
      "source_timestamp": "9:53",
      "end_seconds": null,
      "text": "donations when"
    },
    {
      "index": 292,
      "start_seconds": 595,
      "source_timestamp": "9:55",
      "end_seconds": null,
      "text": "in terms of times, in terms of actions"
    },
    {
      "index": 293,
      "start_seconds": 597,
      "source_timestamp": "9:57",
      "end_seconds": null,
      "text": "we don't actually commit to the"
    },
    {
      "index": 294,
      "start_seconds": 599,
      "source_timestamp": "9:59",
      "end_seconds": null,
      "text": "rounding. So, we will take a simple and"
    },
    {
      "index": 295,
      "start_seconds": 602,
      "source_timestamp": "10:02",
      "end_seconds": null,
      "text": "quick case study depending on the time."
    },
    {
      "index": 296,
      "start_seconds": 603,
      "source_timestamp": "10:03",
      "end_seconds": null,
      "text": "The idea would be that you take a"
    },
    {
      "index": 297,
      "start_seconds": 604,
      "source_timestamp": "10:04",
      "end_seconds": null,
      "text": "lending protocol which"
    },
    {
      "index": 298,
      "start_seconds": 607,
      "source_timestamp": "10:07",
      "end_seconds": null,
      "text": "has an invariant that its share price"
    },
    {
      "index": 299,
      "start_seconds": 609,
      "source_timestamp": "10:09",
      "end_seconds": null,
      "text": "always goes up. So, case of shortfalls"
    },
    {
      "index": 300,
      "start_seconds": 611,
      "source_timestamp": "10:11",
      "end_seconds": null,
      "text": "or deficits, it does not socialize the"
    },
    {
      "index": 301,
      "start_seconds": 613,
      "source_timestamp": "10:13",
      "end_seconds": null,
      "text": "losses, but it keeps the counter"
    },
    {
      "index": 302,
      "start_seconds": 615,
      "source_timestamp": "10:15",
      "end_seconds": null,
      "text": "separately such that maybe another"
    },
    {
      "index": 303,
      "start_seconds": 616,
      "source_timestamp": "10:16",
      "end_seconds": null,
      "text": "entity at the later later point can"
    },
    {
      "index": 304,
      "start_seconds": 619,
      "source_timestamp": "10:19",
      "end_seconds": null,
      "text": "claim that from an insurance fund. So"
    },
    {
      "index": 305,
      "start_seconds": 620,
      "source_timestamp": "10:20",
      "end_seconds": null,
      "text": "remember the invariant of our protocol"
    },
    {
      "index": 306,
      "start_seconds": 622,
      "source_timestamp": "10:22",
      "end_seconds": null,
      "text": "is that the share price is monotonic."
    },
    {
      "index": 307,
      "start_seconds": 625,
      "source_timestamp": "10:25",
      "end_seconds": null,
      "text": "Now the idea would be with the"
    },
    {
      "index": 308,
      "start_seconds": 627,
      "source_timestamp": "10:27",
      "end_seconds": null,
      "text": "commitment that we always look at the"
    },
    {
      "index": 309,
      "start_seconds": 630,
      "source_timestamp": "10:30",
      "end_seconds": null,
      "text": "rounding direction when you do a preview"
    },
    {
      "index": 310,
      "start_seconds": 632,
      "source_timestamp": "10:32",
      "end_seconds": null,
      "text": "action and when you do"
    },
    {
      "index": 311,
      "start_seconds": 634,
      "source_timestamp": "10:34",
      "end_seconds": null,
      "text": "an actual action which commits to the"
    },
    {
      "index": 312,
      "start_seconds": 636,
      "source_timestamp": "10:36",
      "end_seconds": null,
      "text": "rounding."
    },
    {
      "index": 313,
      "start_seconds": 637,
      "source_timestamp": "10:37",
      "end_seconds": null,
      "text": "So let's take a simple example. Let's"
    },
    {
      "index": 314,
      "start_seconds": 638,
      "source_timestamp": "10:38",
      "end_seconds": null,
      "text": "say that"
    },
    {
      "index": 315,
      "start_seconds": 640,
      "source_timestamp": "10:40",
      "end_seconds": null,
      "text": "value is being"
    },
    {
      "index": 316,
      "start_seconds": 642,
      "source_timestamp": "10:42",
      "end_seconds": null,
      "text": "started. Let's say we started a share"
    },
    {
      "index": 317,
      "start_seconds": 643,
      "source_timestamp": "10:43",
      "end_seconds": null,
      "text": "price of one. The snapshot is one. We"
    },
    {
      "index": 318,
      "start_seconds": 645,
      "source_timestamp": "10:45",
      "end_seconds": null,
      "text": "don't commit anything. Let's say over"
    },
    {
      "index": 319,
      "start_seconds": 647,
      "source_timestamp": "10:47",
      "end_seconds": null,
      "text": "time the share price increases. Now we"
    },
    {
      "index": 320,
      "start_seconds": 650,
      "source_timestamp": "10:50",
      "end_seconds": null,
      "text": "have accumulated 0.6 worth of a share"
    },
    {
      "index": 321,
      "start_seconds": 653,
      "source_timestamp": "10:53",
      "end_seconds": null,
      "text": "price. So these are like incremental"
    },
    {
      "index": 322,
      "start_seconds": 655,
      "source_timestamp": "10:55",
      "end_seconds": null,
      "text": "steps because this is not perfectly"
    },
    {
      "index": 323,
      "start_seconds": 657,
      "source_timestamp": "10:57",
      "end_seconds": null,
      "text": "divisible. We have to take a decision on"
    },
    {
      "index": 324,
      "start_seconds": 659,
      "source_timestamp": "10:59",
      "end_seconds": null,
      "text": "where to round. Now let's say that here"
    },
    {
      "index": 325,
      "start_seconds": 661,
      "source_timestamp": "11:01",
      "end_seconds": null,
      "text": "we're talking about treasury fee. Like"
    },
    {
      "index": 326,
      "start_seconds": 663,
      "source_timestamp": "11:03",
      "end_seconds": null,
      "text": "like Thomas said, in the non-trivial"
    },
    {
      "index": 327,
      "start_seconds": 665,
      "source_timestamp": "11:05",
      "end_seconds": null,
      "text": "cases, fees should be treated as a"
    },
    {
      "index": 328,
      "start_seconds": 667,
      "source_timestamp": "11:07",
      "end_seconds": null,
      "text": "supply. So you should always round down"
    },
    {
      "index": 329,
      "start_seconds": 669,
      "source_timestamp": "11:09",
      "end_seconds": null,
      "text": "against"
    },
    {
      "index": 330,
      "start_seconds": 671,
      "source_timestamp": "11:11",
      "end_seconds": null,
      "text": "the supplier. So in favor of the"
    },
    {
      "index": 331,
      "start_seconds": 673,
      "source_timestamp": "11:13",
      "end_seconds": null,
      "text": "protocol. So here what you would do is"
    },
    {
      "index": 332,
      "start_seconds": 675,
      "source_timestamp": "11:15",
      "end_seconds": null,
      "text": "that if let's say that this is the"
    },
    {
      "index": 333,
      "start_seconds": 677,
      "source_timestamp": "11:17",
      "end_seconds": null,
      "text": "treasury accrual, you would treat this"
    },
    {
      "index": 334,
      "start_seconds": 679,
      "source_timestamp": "11:19",
      "end_seconds": null,
      "text": "as a supply if treasury was supplying"
    },
    {
      "index": 335,
      "start_seconds": 681,
      "source_timestamp": "11:21",
      "end_seconds": null,
      "text": "0.6 rounded down to zero. It will round"
    },
    {
      "index": 336,
      "start_seconds": 684,
      "source_timestamp": "11:24",
      "end_seconds": null,
      "text": "down to zero shares. So the treasury"
    },
    {
      "index": 337,
      "start_seconds": 686,
      "source_timestamp": "11:26",
      "end_seconds": null,
      "text": "doesn't get anything and the 0.6 gets"
    },
    {
      "index": 338,
      "start_seconds": 687,
      "source_timestamp": "11:27",
      "end_seconds": null,
      "text": "donated to the users essentially. It"
    },
    {
      "index": 339,
      "start_seconds": 689,
      "source_timestamp": "11:29",
      "end_seconds": null,
      "text": "gets socialized to all the suppliers."
    },
    {
      "index": 340,
      "start_seconds": 691,
      "source_timestamp": "11:31",
      "end_seconds": null,
      "text": "So here we donate"
    },
    {
      "index": 341,
      "start_seconds": 694,
      "source_timestamp": "11:34",
      "end_seconds": null,
      "text": "0.6. Now imagine that another external"
    },
    {
      "index": 342,
      "start_seconds": 697,
      "source_timestamp": "11:37",
      "end_seconds": null,
      "text": "lending protocol or any other DeFi"
    },
    {
      "index": 343,
      "start_seconds": 699,
      "source_timestamp": "11:39",
      "end_seconds": null,
      "text": "protocol tries to interact with"
    },
    {
      "index": 344,
      "start_seconds": 702,
      "source_timestamp": "11:42",
      "end_seconds": null,
      "text": "protocol and let's say it just snapshots"
    },
    {
      "index": 345,
      "start_seconds": 704,
      "source_timestamp": "11:44",
      "end_seconds": null,
      "text": "the price. Let's say it previews the"
    },
    {
      "index": 346,
      "start_seconds": 705,
      "source_timestamp": "11:45",
      "end_seconds": null,
      "text": "share price for an operation. Let's say"
    },
    {
      "index": 347,
      "start_seconds": 707,
      "source_timestamp": "11:47",
      "end_seconds": null,
      "text": "just converting some shares, but it's"
    },
    {
      "index": 348,
      "start_seconds": 709,
      "source_timestamp": "11:49",
      "end_seconds": null,
      "text": "not actually doing any action which"
    },
    {
      "index": 349,
      "start_seconds": 711,
      "source_timestamp": "11:51",
      "end_seconds": null,
      "text": "commits to this. In this example here we"
    },
    {
      "index": 350,
      "start_seconds": 714,
      "source_timestamp": "11:54",
      "end_seconds": null,
      "text": "are compounding the fees on each action,"
    },
    {
      "index": 351,
      "start_seconds": 716,
      "source_timestamp": "11:56",
      "end_seconds": null,
      "text": "for example."
    },
    {
      "index": 352,
      "start_seconds": 717,
      "source_timestamp": "11:57",
      "end_seconds": null,
      "text": "Now"
    },
    {
      "index": 353,
      "start_seconds": 718,
      "source_timestamp": "11:58",
      "end_seconds": null,
      "text": "let's say after some time"
    },
    {
      "index": 354,
      "start_seconds": 720,
      "source_timestamp": "12:00",
      "end_seconds": null,
      "text": "the share price has grown to 2.3. At"
    },
    {
      "index": 355,
      "start_seconds": 723,
      "source_timestamp": "12:03",
      "end_seconds": null,
      "text": "this point, remember that we did not"
    },
    {
      "index": 356,
      "start_seconds": 725,
      "source_timestamp": "12:05",
      "end_seconds": null,
      "text": "commit here. Only"
    },
    {
      "index": 357,
      "start_seconds": 727,
      "source_timestamp": "12:07",
      "end_seconds": null,
      "text": "external protocol previewed the share"
    },
    {
      "index": 358,
      "start_seconds": 728,
      "source_timestamp": "12:08",
      "end_seconds": null,
      "text": "price. So they previewed zero shares to"
    },
    {
      "index": 359,
      "start_seconds": 730,
      "source_timestamp": "12:10",
      "end_seconds": null,
      "text": "the treasury and 0.6 that was donated to"
    },
    {
      "index": 360,
      "start_seconds": 732,
      "source_timestamp": "12:12",
      "end_seconds": null,
      "text": "all suppliers."
    },
    {
      "index": 361,
      "start_seconds": 734,
      "source_timestamp": "12:14",
      "end_seconds": null,
      "text": "Now at this point if"
    },
    {
      "index": 362,
      "start_seconds": 736,
      "source_timestamp": "12:16",
      "end_seconds": null,
      "text": "anybody tries to preview or they commit"
    },
    {
      "index": 363,
      "start_seconds": 738,
      "source_timestamp": "12:18",
      "end_seconds": null,
      "text": "to an action, we can take either case."
    },
    {
      "index": 364,
      "start_seconds": 740,
      "source_timestamp": "12:20",
      "end_seconds": null,
      "text": "But here if anybody tries to commit an"
    },
    {
      "index": 365,
      "start_seconds": 742,
      "source_timestamp": "12:22",
      "end_seconds": null,
      "text": "action or preview,"
    },
    {
      "index": 366,
      "start_seconds": 743,
      "source_timestamp": "12:23",
      "end_seconds": null,
      "text": "the the donation that was given out"
    },
    {
      "index": 367,
      "start_seconds": 745,
      "source_timestamp": "12:25",
      "end_seconds": null,
      "text": "previously to the users is reclaimed"
    },
    {
      "index": 368,
      "start_seconds": 747,
      "source_timestamp": "12:27",
      "end_seconds": null,
      "text": "back because we never committed to that"
    },
    {
      "index": 369,
      "start_seconds": 748,
      "source_timestamp": "12:28",
      "end_seconds": null,
      "text": "rounding. And now we donate 0.3 above."
    },
    {
      "index": 370,
      "start_seconds": 751,
      "source_timestamp": "12:31",
      "end_seconds": null,
      "text": "So if you calculate the share prices"
    },
    {
      "index": 371,
      "start_seconds": 753,
      "source_timestamp": "12:33",
      "end_seconds": null,
      "text": "before and after this case, here if you"
    },
    {
      "index": 372,
      "start_seconds": 755,
      "source_timestamp": "12:35",
      "end_seconds": null,
      "text": "commit the share price, it comes out to"
    },
    {
      "index": 373,
      "start_seconds": 756,
      "source_timestamp": "12:36",
      "end_seconds": null,
      "text": "0.06 and after it comes down to 0.03"
    },
    {
      "index": 374,
      "start_seconds": 760,
      "source_timestamp": "12:40",
      "end_seconds": null,
      "text": "because what you did was you reclaimed"
    },
    {
      "index": 375,
      "start_seconds": 762,
      "source_timestamp": "12:42",
      "end_seconds": null,
      "text": "part of the donation that you had given"
    },
    {
      "index": 376,
      "start_seconds": 763,
      "source_timestamp": "12:43",
      "end_seconds": null,
      "text": "to some other entity to to the fees to"
    },
    {
      "index": 377,
      "start_seconds": 765,
      "source_timestamp": "12:45",
      "end_seconds": null,
      "text": "the fee receiver here. So here your"
    },
    {
      "index": 378,
      "start_seconds": 768,
      "source_timestamp": "12:48",
      "end_seconds": null,
      "text": "invariance can break."
    },
    {
      "index": 379,
      "start_seconds": 769,
      "source_timestamp": "12:49",
      "end_seconds": null,
      "text": "The so this is why it's very important"
    },
    {
      "index": 380,
      "start_seconds": 771,
      "source_timestamp": "12:51",
      "end_seconds": null,
      "text": "to think about when you're rounding"
    },
    {
      "index": 381,
      "start_seconds": 774,
      "source_timestamp": "12:54",
      "end_seconds": null,
      "text": "in which context. So the way to the way"
    },
    {
      "index": 382,
      "start_seconds": 777,
      "source_timestamp": "12:57",
      "end_seconds": null,
      "text": "RV V4 RV V3 solves this is that we do"
    },
    {
      "index": 383,
      "start_seconds": 780,
      "source_timestamp": "13:00",
      "end_seconds": null,
      "text": "not have rounding on preview actions."
    },
    {
      "index": 384,
      "start_seconds": 783,
      "source_timestamp": "13:03",
      "end_seconds": null,
      "text": "Anytime you have fees that is"
    },
    {
      "index": 385,
      "start_seconds": 784,
      "source_timestamp": "13:04",
      "end_seconds": null,
      "text": "accumulated, we keep it aside to"
    },
    {
      "index": 386,
      "start_seconds": 786,
      "source_timestamp": "13:06",
      "end_seconds": null,
      "text": "simplify the interactions with the"
    },
    {
      "index": 387,
      "start_seconds": 788,
      "source_timestamp": "13:08",
      "end_seconds": null,
      "text": "protocol and you only mint for the"
    },
    {
      "index": 388,
      "start_seconds": 790,
      "source_timestamp": "13:10",
      "end_seconds": null,
      "text": "treasury on demand."
    },
    {
      "index": 389,
      "start_seconds": 792,
      "source_timestamp": "13:12",
      "end_seconds": null,
      "text": "Uh that's all from us folks. Uh thank"
    },
    {
      "index": 390,
      "start_seconds": 794,
      "source_timestamp": "13:14",
      "end_seconds": null,
      "text": "you so much. Any questions?"
    }
  ]
}
